Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:marec2000:cryptocoins:ports
saffroncoin
saffroncoin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File saffroncoin.spec of Package saffroncoin
# # spec file for package saffroncoin # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # Name: saffroncoin Version: 2.6.2 Release: 0 Summary: P2P digital currency License: MIT Group: Productivity/Networking/Other Url: http://%{name}.com/ Source0: %{name}-%{version}.tar.xz Source1: Makefile Patch0: %{name}-boost1.patch Patch1: %{name}-boost2.patch Patch2: %{name}-net.patch Patch3: %{name}-qtpro.patch Patch4: %{name}-rpcrawtransaction.patch ExcludeArch: aarch64 %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: libminiupnpc-devel BuildRequires: qrencode-devel %if 0%{?suse_version} && 0%{?suse_version} > 1320 BuildRequires: libopenssl-1_0_0-devel %else BuildRequires: libopenssl-devel %endif BuildRequires: libQt5WebKit5-devel BuildRequires: libQt5WebKitWidgets-devel BuildRequires: libqt5-qtbase-devel BuildRequires: libqt5-qttools-devel BuildRequires: update-desktop-files %global qt4_version qt %global qt5_version qt5 %define qt_version %{qt5_version} %define qt_version_obsolete %{qt4_version} %define daemon_name %{name}d %define display_name SaffronCoin %define gui_name %{name}-qt %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} > 1320 %define ___qmake_cxxflags QMAKE_CXXFLAGS="${QMAKE_CXXFLAGS} -DBOOST_ASIO_ENABLE_OLD_SERVICES" %endif %if 0%{?suse_version} && 0%{?suse_version} > 1500 %define ___qmake_cxxflags QMAKE_CXXFLAGS="${QMAKE_CXXFLAGS} -std=c++14" %endif %define description_text_1 SaffronCoin is a new hybrid digital currency from India that enables instant payments to anyone, anywhere in the world. SaffronCoin uses peer-to-peer technology to operate with no central authority: managing transactions and issuing money are carried out collectively by the network. %define description_text_2 Specifications: %define description_text_3 - Proof of Work based. Mine using any of the 5 algorithms: sha256d(default), scrypt, groestl, X11 or Blake256. %define description_text_4 - Difficulty is retargeted every block. %define description_text_5 - 450 second block target per algorithm (90 second average across 5 algorithms). %define description_text_6 - Gradual Reduction of Block rewards. %define description_text_7 - Random superblock with 5 times the reward. %define description_text_8 - Bonus 1st 2 days after launch where Block reward is 3*72 Coins. %description %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_1} %{description_text_2} %{description_text_3} %{description_text_4} %{description_text_5} %{description_text_6} %{description_text_7} %{description_text_8} 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_1} %{description_text_2} %{description_text_3} %{description_text_4} %{description_text_5} %{description_text_6} %{description_text_7} %{description_text_8} 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 %endif %patch2 %patch3 %if 0%{?suse_version} && 0%{?suse_version} > 1320 %patch4 %endif %{__cp} %{S:1} src/leveldb/ %{__chmod} +x src/leveldb/build_detect_platform %build %{__make} -C src/leveldb %{?_smp_mflags} qmake-qt5 USE_QRCODE=1 USE_DBUS=1 %{?___qmake_cxxflags} %{__make} %{?_smp_mflags} %{__strip} -s %{gui_name} %if 0%{?suse_version} && 0%{?suse_version} > 1320 export CXXFLAGS="${CXXFLAGS} -DBOOST_ASIO_ENABLE_OLD_SERVICES" %endif %if 0%{?suse_version} && 0%{?suse_version} > 1500 export CXXFLAGS="${CXXFLAGS} -std=c++14" %endif %{__make} -C src -f makefile.unix %{?_smp_mflags} %{__strip} -s src/%{daemon_name} %install %{__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/bitcoin.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