%global forgeurl0 https://github.com/monero-project/monero %global version0 0.18.3.4 %global tag0 v%{version0} # vendor libs because upstream is paranoid our libs are untrustworthy # https://github.com/monero-project/monero/issues/9561 %global forgeurl1 https://github.com/monero-project/supercop %global branch1 monero %global commit1 633500ad8c8759995049ccd022107d1fa8a1bbc9 %global forgeurl2 https://github.com/trezor/trezor-common %global commit2 bc28c316d05bf1e9ebfe3d7df1ab25831d98d168 %global forgeurl3 https://github.com/tevador/RandomX/ %global commit3 102f8acf90a7649ada410de5499a7ec62e49e1da %global forgeurl4 https://github.com/miniupnp/miniupnp/ %global commit4 544e6fcc73c5ad9af48a8985c94f0f1d742ef2e0 %forgemeta -a Name: monero-cli Version: %{version0} Release: %autorelease Summary: Monero: the secure, private, untraceable cryptocurrency License: BSD-2-Clause AND MIT URL: getmonero.org Source0: %{forgesource0} Source1: %{forgesource1} Source2: %{forgesource2} Source3: %{forgesource3} Source4: %{forgesource4} BuildRequires: gcc BuildRequires: g++ BuildRequires: cmake BuildRequires: pkgconf BuildRequires: boost-devel BuildRequires: openssl-devel BuildRequires: zeromq-devel BuildRequires: openpgm-devel BuildRequires: unbound-devel BuildRequires: libsodium-devel BuildRequires: libunwind-devel BuildRequires: xz-devel BuildRequires: readline-devel BuildRequires: expat-devel BuildRequires: gtest-devel BuildRequires: ccache BuildRequires: doxygen BuildRequires: graphviz BuildRequires: qt5-linguist BuildRequires: hidapi-devel BuildRequires: libusbx-devel BuildRequires: protobuf-devel BuildRequires: protobuf-compiler BuildRequires: systemd-devel BuildRequires: miniupnpc-devel BuildRequires: rapidjson-devel BuildRequires: ninja-build #build system is superior %description Monero Means Money Private, decentralized cryptocurrency that keeps your finances confidential and secure. %prep %forgesetup -z 0 tar -xvf %{SOURCE1} -C ./external/supercop --strip-components=1 tar -xvf %{SOURCE2} -C ./external/trezor-common --strip-components=1 tar -xvf %{SOURCE3} -C ./external/randomx --strip-components=1 tar -xvf %{SOURCE4} -C ./external/miniupnp --strip-components=1 %build %cmake -G Ninja -DMANUAL_SUBMODULES=ON %cmake_build %install %cmake_install %check %ctest %changelog %autochangelog