diff --git a/scripts/packaging/octez/rpm/SPECS/octez-baker.spec b/scripts/packaging/octez/rpm/SPECS/octez-baker.spec new file mode 100644 index 0000000000000000000000000000000000000000..e0c35c2b3a9ec5ae611dc8376d58a13ac74ac309 --- /dev/null +++ b/scripts/packaging/octez/rpm/SPECS/octez-baker.spec @@ -0,0 +1,24 @@ +Name: octez-baker +Version: 0.0.1 +Release: 1%{?dist} +Summary: Octez baking software for the Tezos blockchain. +License: MIT +Requires: octez-node curl systemd +Recommends: octez-signer +Requires(pre): octez-client +%description + The Octez baker includes the necessary tools and functionalities for + participating in the baking process, such as block creation, attestations, and + protocol-specific consensus mechanisms. + + This package installs the baker, the accuser and the Octez node. For key + management it is recommended to install a remote signer of a different host. +%install +mkdir -p %{buildroot}/usr/bin/ +install -m 0755 $HOME/rpmbuild/SPECS/binaries/octez-baker-* %{buildroot}/usr/bin/ +install -m 0755 $HOME/rpmbuild/SPECS/binaries/octez-accuser-* %{buildroot}/usr/bin/ +install -m 0755 $HOME/rpmbuild/SPECS/scripts/wait-for-node-up.sh %{buildroot}/usr/share/octez-baker/ +%files +/usr/bin/octez-baker-* +/usr/bin/octez-accuser-* +/usr/share/octez-baker/wait-for-node-up.sh diff --git a/scripts/packaging/octez/rpm/SPECS/octez-client.spec b/scripts/packaging/octez/rpm/SPECS/octez-client.spec new file mode 100644 index 0000000000000000000000000000000000000000..faf1583440f7a6450a3fa4d3809d19e278a7042c --- /dev/null +++ b/scripts/packaging/octez/rpm/SPECS/octez-client.spec @@ -0,0 +1,22 @@ +Name: octez-client +Version: 0.0.1 +Release: 1%{?dist} +Summary: Client for interacting with the Tezos blockchain +License: MIT +%description + This package serves as the client-side interface for interacting with the + Tezos blockchain. It includes command-line tools and functionalities for + querying blockchain data, broadcasting transactions, and interacting with + smart contracts on the Tezos network. + + This package installs the Octez client. For key management it is + recommended to install a remote signer of a different host. +%install +mkdir -p %{buildroot}/usr/bin/ +install -m 0755 $HOME/rpmbuild/SPECS/binaries/octez-client %{buildroot}/usr/bin/ +install -m 0755 $HOME/rpmbuild/SPECS/binaries/octez-admin-client %{buildroot}/usr/bin/ +install -m 0755 $HOME/rpmbuild/SPECS/binaries/octez-codec %{buildroot}/usr/bin/ +%files +/usr/bin/octez-client +/usr/bin/octez-admin-client +/usr/bin/octez-codec diff --git a/scripts/packaging/octez/rpm/SPECS/octez-dal-node.spec b/scripts/packaging/octez/rpm/SPECS/octez-dal-node.spec new file mode 100644 index 0000000000000000000000000000000000000000..bd5904376f943b9979c7f8038389acc497a3f9a3 --- /dev/null +++ b/scripts/packaging/octez/rpm/SPECS/octez-dal-node.spec @@ -0,0 +1,18 @@ +Name: octez-dal-node +Version: 0.0.1 +Release: 1%{?dist} +Summary: Octez distribution Availability Layer (DAL) node +License: MIT +Requires: octez-zcash-dal-params systemd +Suggests: octez-baker +%description + The DAL node is responsible for temporarily storing data and providing it to + bakers and Smart Rollups. Similar to the Octez node, it offers an + HTTP-accessible RPC interface. + + This package installs the Octez DAL node. +%install +mkdir -p %{buildroot}/usr/bin/ +install -m 0755 $HOME/rpmbuild/SPECS/binaries/octez-dal-node %{buildroot}/usr/bin/ +%files +/usr/bin/octez-dal-node diff --git a/scripts/packaging/octez/rpm/SPECS/octez-experimental.spec b/scripts/packaging/octez/rpm/SPECS/octez-experimental.spec new file mode 100644 index 0000000000000000000000000000000000000000..e048500da160a7b680103f224c34c22024e61886 --- /dev/null +++ b/scripts/packaging/octez/rpm/SPECS/octez-experimental.spec @@ -0,0 +1,25 @@ +Name: octez-experimental +Version: 0.0.1 +Release: 1%{?dist} +Summary: Octez experimental binaries +License: MIT +%description + This package is a collection of debug and experimental binaries from the + octez software suite. + + This package installs: + * octez-snoop: is a tool for benchmarking and fitting statistical models + which predict the performance of any piece of code of interest. + * octez-smart-rollup-wasm-debugger: runs Smart Rollups in debug mode to + make it easier to test and observe them. + * octez-protocol-compiler: used by the node to compile new protocols on + the fly, and that can be used for developing new protocols. +%install +mkdir -p %{buildroot}/usr/bin/ +install -m 0755 $HOME/rpmbuild/SPECS/binaries/octez-protocol-compiler %{buildroot}/usr/bin/ +install -m 0755 $HOME/rpmbuild/SPECS/binaries/octez-smart-rollup-wasm-debugger %{buildroot}/usr/bin/ +install -m 0755 $HOME/rpmbuild/SPECS/binaries/octez-snoop %{buildroot}/usr/bin/ +%files +/usr/bin/octez-protocol-compiler +/usr/bin/octez-smart-rollup-wasm-debugger +/usr/bin/octez-snoop diff --git a/scripts/packaging/octez/rpm/SPECS/octez-node.spec b/scripts/packaging/octez/rpm/SPECS/octez-node.spec new file mode 100644 index 0000000000000000000000000000000000000000..50e83e765d23fea21b986556f0f63732772764ef --- /dev/null +++ b/scripts/packaging/octez/rpm/SPECS/octez-node.spec @@ -0,0 +1,19 @@ +Name: octez-node +Version: 0.0.1 +Release: 1%{?dist} +Summary: L1 Octez node for the Tezos network +License: MIT +Requires: shadow-utils logrotate octez-zcash-params systemd +Recommends: octez-client +Suggests: lz4 curl +%description + This package serves as the core implementation for the Tezos blockchain node. + It contains the fundamental components required for protocol execution, + consensus, and network communication within the Tezos blockchain network + + This package installs the Octez node. +%install +mkdir -p %{buildroot}/usr/bin/ +install -m 0755 $HOME/rpmbuild/SPECS/binaries/octez-node %{buildroot}/usr/bin/ +%files +/usr/bin/octez-node diff --git a/scripts/packaging/octez/rpm/SPECS/octez-signer.spec b/scripts/packaging/octez/rpm/SPECS/octez-signer.spec new file mode 100644 index 0000000000000000000000000000000000000000..73c3cb3cfba8186938ede6673a870fbd7a53b795 --- /dev/null +++ b/scripts/packaging/octez/rpm/SPECS/octez-signer.spec @@ -0,0 +1,21 @@ +Name: octez-signer +Version: 0.0.1 +Release: 1%{?dist} +Summary: Signing client for the Tezos blockchain. +License: MIT +Requires: octez-client +Recommends: systemd +Suggests: wireguard openssh-client +%description + The Octez signer provides the essential tools and functionalities for securely + signing transactions, blocks, and other protocol-related data within the Tezos + network. + + This package installs the Octez remote signer. It's recommended to run the + signer and the baker on different hosts and use a hardware ledger for key + management. +%install +mkdir -p %{buildroot}/usr/bin/ +install -m 0755 $HOME/rpmbuild/SPECS/binaries/octez-signer %{buildroot}/usr/bin/ +%files +/usr/bin/octez-signer diff --git a/scripts/packaging/octez/rpm/SPECS/octez-smart-rollup-node.spec b/scripts/packaging/octez/rpm/SPECS/octez-smart-rollup-node.spec new file mode 100644 index 0000000000000000000000000000000000000000..7a51e66080399b452b8b2f5f49551c6ba8fe07e0 --- /dev/null +++ b/scripts/packaging/octez/rpm/SPECS/octez-smart-rollup-node.spec @@ -0,0 +1,18 @@ +Name: octez-smart-rollup-node +Version: 0.0.1 +Release: 1%{?dist} +Summary: Smart Rollup node for the Tezos blockchain. +License: MIT +Requires: octez-node systemd +Recommends: octez-client +%description + The Octez Smart Rollup node enables rollup deployment, managing progress + through commitment publication and refutation games. Similar to the Octez + node, it offers an HTTP-accessible RPC interface. + + This package installs the Octez rollup node. +%install +mkdir -p %{buildroot}/usr/bin/ +install -m 0755 $HOME/rpmbuild/SPECS/binaries/octez-smart-rollup-node %{buildroot}/usr/bin/ +%files +/usr/bin/octez-smart-rollup-node