Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:marec2000:cryptocoins
eccoin
eccoin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File eccoin.spec of Package eccoin
# # spec file for package eccoin # # Copyright (c) 2020 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: eccoin Version: 0.3.0.0 Release: 0 Summary: P2P digital currency License: MIT Group: Productivity/Networking/Other URL: http://www.trustedcryptos.com/ Source0: %{name}-%{version}.tar.xz Patch0: %{name}-boost.patch ExclusiveArch: i586 x86_64 BuildRequires: automake %if 0%{?suse_version} && 0%{?suse_version} > 1320 BuildRequires: libboost_chrono-devel BuildRequires: libboost_filesystem-devel BuildRequires: libboost_program_options-devel BuildRequires: libboost_system-devel BuildRequires: libboost_thread-devel %else BuildRequires: boost_1_58_0-devel %endif %if 0%{?suse_version} && 0%{?is_opensuse} && 0%{?suse_version} == 1315 %if 0%{?sle_version} && 0%{?sle_version} == 120300 BuildRequires: gcc8 BuildRequires: gcc8-c++ %else BuildRequires: gcc5 BuildRequires: gcc5-c++ %endif %else BuildRequires: gcc-c++ %endif BuildRequires: libdb-4_8-devel BuildRequires: libevent-devel BuildRequires: libminiupnpc-devel %if 0%{?suse_version} && 0%{?suse_version} > 1320 BuildRequires: libopenssl-1_0_0-devel %else BuildRequires: libopenssl-devel %endif BuildRequires: libtool BuildRequires: libunivalue-devel BuildRequires: zeromq-devel %define daemon_name %{name}d %define display_name ECCoin %define description_text_1 Easy Clear Coin: %define description_text_3 - PoS 25% Annual %define description_text_4 - 25 Billion ECC Max. %define description_text_5 - Low transaction fees %define description_text_6 - 4 conf.for a transaction %define description_text_7 - 50 conf.for blocks to mature %description %{description_text_1} %{description_text_3} %{description_text_4} %{description_text_5} %{description_text_6} %{description_text_7} %package -n %{daemon_name} Summary: Headless daemon for %{name} crypto-currency Group: Productivity/Networking/Other %description -n %{daemon_name} %{description_text_1} %{description_text_3} %{description_text_4} %{description_text_5} %{description_text_6} %{description_text_7} This package provides %{daemon_name}, a headless %{name} daemon. %package doc Summary: Documentation for %{name} Group: Documentation/Man BuildArch: noarch %description doc %{description_text_1} %{description_text_3} %{description_text_4} %{description_text_5} %{description_text_6} %{description_text_7} This package contains the documentation for %{name}. %prep %setup -q %if 0%{?suse_version} && 0%{?is_opensuse} && 0%{?suse_version} > 1500 %patch0 %endif %build %if 0%{?suse_version} && 0%{?is_opensuse} && 0%{?suse_version} == 1315 %if 0%{?sle_version} && 0%{?sle_version} == 120300 export CC=gcc-8 CXX=g++-8 %else export CC=gcc-5 CXX=g++-5 %endif %endif ./autogen.sh %configure --docdir=%{_defaultdocdir}/%{name} --enable-silent-rules --enable-hardening --enable-reduce-exports --enable-wallet --enable-upnp-default --disable-bench --disable-tests --with-miniupnpc --without-qrencode --with-boost --without-utils --without-libs --with-daemon --with-system-univalue --disable-static CXXFLAGS="${CXXFLAGS} -DBUILD_SUFFIX=%{_host_vendor}" %if 0%{?suse_version} && 0%{?suse_version} >= 1500 %make_build %else %{__make} %{?_smp_mflags} %endif %{__strip} -s src/%{daemon_name} %install %{__install} -dm 0755 %{buildroot}%{_bindir} %{__install} -m 0755 src/%{daemon_name} %{buildroot}%{_bindir} # install documentation %{__install} -d -m 0755 %{buildroot}%{_defaultdocdir}/%{name} %{__install} -m 0644 -p -t %{buildroot}%{_defaultdocdir}/%{name} contributing.md README.md %{__install} -d -m 0755 %{buildroot}%{_defaultlicensedir}/%{name} %{__install} -m 0644 -p -t %{buildroot}%{_defaultlicensedir}/%{name} COPYING %{__install} -d -m 0755 %{buildroot}%{_defaultdocdir}/%{name}/doc %{__cp} -a -t %{buildroot}%{_defaultdocdir}/%{name}/doc doc/*.md %check %{__make} %{?_smp_mflags} check %files -n %{daemon_name} %defattr(-,root,root,-) %attr(755,root,root) %{_bindir}/%{daemon_name} %files doc %defattr(-,root,root,-) %{_defaultdocdir}/%{name}/ %{_defaultlicensedir}/%{name}/ %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