Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:marec2000:cryptocoins
stealthcoin
stealthcoin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File stealthcoin.spec of Package stealthcoin
# # spec file for package stealthcoin # # Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: stealthcoin Version: 3.1.8.0 Release: 0 Summary: P2P digital currency License: MIT Group: Productivity/Networking/Other URL: https://www.stealth-coin.com/ Source0: %{name}-%{version}.tar.xz Patch0: %{name}-boost1.patch Patch1: %{name}-boost2.patch Patch2: %{name}-makefile.patch Patch3: %{name}-qt1.patch Patch4: %{name}-qt2.patch Patch5: %{name}-qtpro.patch Patch6: %{name}-tor.patch Patch7: %{name}-util.patch Patch8: %{name}-coutput.patch ExclusiveArch: x86_64 BuildRequires: cmake %if 0%{?suse_version} && 0%{?suse_version} > 1320 BuildRequires: libboost_filesystem-devel BuildRequires: libboost_program_options-devel BuildRequires: libboost_system-devel BuildRequires: libboost_thread-devel %else BuildRequires: boost-devel %endif BuildRequires: libdb-4_8-devel BuildRequires: libevent-devel BuildRequires: libminiupnpc-devel %if 0%{?suse_version} && 0%{?suse_version} >= 1315 BuildRequires: libQt5PrintSupport-devel BuildRequires: libQt5WebKit5-devel BuildRequires: libQt5WebKitWidgets-devel BuildRequires: libQt5Widgets-devel BuildRequires: libopenssl-devel BuildRequires: libqt5-qtbase-devel BuildRequires: libqt5-qttools-devel BuildRequires: libqt5-qtwebengine-devel %else BuildRequires: libQtWebKit-devel BuildRequires: libqt4-devel %endif BuildRequires: qrencode-devel BuildRequires: update-desktop-files %global qt4_version qt %global qt5_version qt5 %if 0%{?suse_version} && 0%{?suse_version} >= 1315 %define qt_version %{qt5_version} %define qt_version_obsolete %{qt4_version} %define ___qmake qmake-%{qt_version} %else %define qt_version %{qt4_version} %define qt_version_obsolete %{qt5_version} %define ___qmake qmake %endif %if 0%{?suse_version} && 0%{?suse_version} < 1315 %define ___qmake_cflags QMAKE_CFLAGS="-DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1" %endif %if 0%{?suse_version} && 0%{?is_opensuse} && 0%{?suse_version} == 1315 && 0%{?sle_version} && 0%{?sle_version} >= 120200 %define ___qmake_cxxflags QMAKE_CXXFLAGS="${QMAKE_CXXFLAGS} -DBOOST_NO_CXX11_SCOPED_ENUMS" %endif %if 0%{?suse_version} && 0%{?suse_version} >= 1315 %define ___qmake_cxxflags QMAKE_CXXFLAGS="${QMAKE_CXXFLAGS} -lm" %endif %if 0%{?suse_version} && 0%{?suse_version} > 1500 %define ___qmake_cxxflags QMAKE_CXXFLAGS="${QMAKE_CXXFLAGS} -std=c++14" %endif %define daemon_name %{name}d %define display_name StealthCoin %define gui_name %{name}-qt %define description_text StealthCoin provides a complete anonymity solution for cryptocurrencies. It combines the network analysis resistance of Tor with the blockchain analysis resistance of stealth send. StealthCoin has a fair distribution with nearly four hours of low reward blocks, a small premine of 1%, and the long-term energy efficiency of proof-of-stake minting. %description %{description_text} %package %{qt_version} Summary: GUI for the %{display_name} crypto-currency Group: Productivity/Networking/Other Obsoletes: %{name}-%{qt_version_obsolete} %description %{qt_version} %{description_text} This package provides %{display_name}-Qt, a GUI for %{display_name} based on Qt. %package -n %{daemon_name} Summary: Headless daemon for %{name} crypto-currency Group: Productivity/Networking/Other %description -n %{daemon_name} %{description_text} This package provides %{daemon_name}, a headless %{name} daemon. %prep %setup -q %if 0%{?suse_version} && 0%{?suse_version} > 1320 %patch0 %endif %if 0%{?suse_version} && 0%{?suse_version} > 1500 %patch1 %patch6 %endif %if 0%{?suse_version} && 0%{?is_opensuse} && 0%{?suse_version} >= 1500 && 0%{?sle_version} && 0%{?sle_version} >= 150400 %patch4 %endif %patch2 %patch3 %patch5 %patch7 %patch8 headers_main=(bip32/hash.h bip32/hdkeys.h bip32/scrypt.h bip32/typedefs.h bip32/uchar_vector.h blockchain/chainparams.hpp blockchain/checkpoints.h blockchain/kernel.h blockchain/main.h blockchain/script.h client/clientversion.h client/init.h client/sync.h client/ui_interface.h client/version.h crypto/argon2/include/argon2.h db-bdb/db.h db-bdb/walletdb.h db-leveldb/txdb-leveldb.h explore/AddrInOutInfo.hpp explore/AddrTxInfo.hpp explore/ExploreConstants.hpp explore/ExploreDestination.hpp explore/ExploreInOutList.hpp explore/ExploreInOutLookup.hpp explore/ExploreInput.hpp explore/ExploreOutput.hpp explore/ExploreTx.hpp explore/HDTxInfo.hpp explore/InOutInfo.hpp explore/explore.hpp feeless/Feework.hpp feeless/FeeworkBuffer.hpp feeless/feeless.hpp network/addrman.h network/alert.h network/compat.h network/net.h network/netbase.h network/protocol.h primitives/base58.h primitives/bignum.h primitives/mruset.h primitives/uint256.h primitives/valtype.hpp primitives/vchnum.hpp qpos/QPConstants.hpp qpos/QPNft.hpp qpos/QPPowerElement.hpp qpos/QPPowerRound.hpp qpos/QPQueue.hpp qpos/QPRegistry.hpp qpos/QPSlotInfo.hpp qpos/QPStaker.hpp qpos/QPTxDetails.hpp qpos/QPWindow.hpp qpos/aliases.hpp qpos/meta.hpp qpos/nfts.hpp qpos/qPoS.hpp rpc/bitcoinrpc.h util/allocators.h util/serialize.h util/strlcpy.h util/util.h wallet/coincontrol.h wallet/crypter.h wallet/key.h wallet/keystore.h wallet/stealthaddress.h wallet/wallet.h) headers_hashblock=(../crypto/hashblock/hashblock.h ../crypto/hashblock/sph_blake.h ../crypto/hashblock/sph_bmw.h ../crypto/hashblock/sph_cubehash.h ../crypto/hashblock/sph_echo.h ../crypto/hashblock/sph_fugue.h ../crypto/hashblock/sph_groestl.h ../crypto/hashblock/sph_hamsi.h ../crypto/hashblock/sph_jh.h ../crypto/hashblock/sph_keccak.h ../crypto/hashblock/sph_luffa.h ../crypto/hashblock/sph_shavite.h ../crypto/hashblock/sph_simd.h ../crypto/hashblock/sph_skein.h ../crypto/hashblock/sph_types.h) headers_xorshift1024=(../crypto/xorshift1024/XORShift1024Star.hpp) %{__mkdir_p} src/hashblock %{__mkdir_p} src/xorshift1024 %{__ln_s} -t src ${headers_main[@]} %{__ln_s} -t src/hashblock ${headers_hashblock[@]} %{__ln_s} -t src/xorshift1024 ${headers_xorshift1024[@]} %build cd src/leveldb %cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release .. %cmake_build cd ../../.. %if 0%{?suse_version} && 0%{?suse_version} > 1500 export CXXFLAGS="${CXXFLAGS} -std=c++14" %endif %{__make} -C src/libcryptopp -f GNUmakefile-cross %{?_smp_mflags} libcryptopp.a %{___qmake} USE_QRCODE=1 USE_UPNP=1 USE_DBUS=1 %{?___qmake_cflags} %{?___qmake_cxxflags} %{__make} %{?_smp_mflags} %{__mv} "Stealth Qt" %{gui_name} %{__strip} -s %{gui_name} %if 0%{?suse_version} && 0%{?suse_version} > 1500 export CXXFLAGS="${CXXFLAGS} -std=c++14" %endif %{__make} -C src -f makefile.unix %{?_smp_mflags} %{__mv} src/StealthCoind src/%{daemon_name} %{__strip} -s src/%{daemon_name} %install export NO_BRP_CHECK_RPATH=true %{__install} -dm 0755 %{buildroot}%{_bindir} %{__install} -m 0755 %{gui_name} %{buildroot}%{_bindir} %{__install} -m 0755 src/%{daemon_name} %{buildroot}%{_bindir} %{__install} -dm 0755 %{buildroot}%{_datadir}/pixmaps %{__install} -m 0644 src/qt/res/icons/StealthCoin.png %{buildroot}%{_datadir}/pixmaps/%{name}.png %suse_update_desktop_file -c %{gui_name} %{display_name} "%{display_name} Wallet" %{gui_name} %{name} Office Finance %if 0%{?suse_version} && 0%{?suse_version} < 1500 %post %{qt_version} %desktop_database_post %postun %{qt_version} %desktop_database_postun %endif %files %{qt_version} %defattr(-,root,root,-) %attr(755,root,root) %{_bindir}/%{gui_name} %{_datadir}/pixmaps/%{name}.png %{_datadir}/applications/%{gui_name}.desktop %doc README.md %files -n %{daemon_name} %defattr(-,root,root,-) %attr(755,root,root) %{_bindir}/%{daemon_name} %doc README.md %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor