File feathercoin.spec of Package feathercoin
#
# spec file for package
#
# Copyright (c) 2013 SUSE LINUX Products 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: feathercoin
Version: 0.13
Release: 0
License: MIT
Summary: Port of Cryptocoin Wallet implementation for Feathercoinwallet
Url: https://github.com/FeatherCoin/FeatherCoin.git
Group: Productivity/Office/Finance
Source0: %{name}-%{version}.tar.gz
Source1: %{name}.desktop
Icon: %{name}.gif
#Patch:
%if 0%{?fedora} || 0%{?centos}
BuildRequires: miniupnpc-devel libdb-cxx-devel
BuildRequires: qt4-devel
BuildRequires: boost-devel
BuildRequires: qrencode-devel compat-openssl10-devel
%else
BuildRequires: libminiupnpc-devel
BuildRequires: libQt5Core-devel libQt5Gui-devel libQt5Network-devel libQt5Widgets-devel
BuildRequires: libQt5PrintSupport-devel libqt5-qtbase-devel libqt5-linguist
BuildRequires: db-devel
BuildRequires: update-desktop-files
BuildRequires: boost-devel libboost_system-devel libboost_filesystem-devel
BuildRequires: libboost_program_options-devel libboost_thread-devel gcc-c++
BuildRequires: protobuf-devel libevent-devel
BuildRequires: qrencode-devel libopenssl-1_1-devel
%endif
BuildRequires: autoconf automake libtool
BuildRequires: zeromq-devel libQt5Gui-devel
#Requires:
Provides: feathercoin-qt = %{version} feathercoind = %{version}
Obsoletes: feathercoin-qt < %{version} feathercoind < %{version}
#BuildRoot:
%description
A Wallet for the cryptocoin Feathercoin
Original sources and actual versions of the source can be found at: https://github.com/FeatherCoin/FeatherCoin
Feathercoin is an Open Source cryptographic Internet currency
For more information visit http://www.feathercoin.com
If you want to support the Feathercoin development donate to: 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A
%package -n feathercoin-qt
Group:Productivity/Office/Finance
Summary: Feathercoin GUI
%description -n feathercoin-qt
The GUI interface to the Feathercoin wallet. It's designed for end users running an X11 environment
%package -n feathercoind
Group: Productivity/Office/Finance
Summary: The feathercoin daemon and command line interface
%description -n feathercoind
The daemon and command line interface for the Feathercoin wallet. The daemon can be used for server
only environments, e.g. by pool operators.
The command line interface provides command line access to the wallet functions without the need of
a X11 environment.
%prep
%setup -n feathercoin-%{version}
%build
#echo "starting build section"
#echo "snmp_flags: %{?_smp_mflags}"
./autogen.sh
export QT_SELECT=5
# original configure statemment
#./configure --disable-tests --with-incompatible-bdb --enable-static=no --with-gui=qt5 --with-qt-bindir=/usr/bin CFLAGS="-fPIC"
./configure --disable-tests --with-incompatible-bdb --enable-shared=no CFLAGS="-fPIC"
#PreReq:
#compile the forms into ui_ headerfiles
#cd contrib
#qmake feathercoin-qt.pro
#qmake bitcoin-qt.pro
#make compiler_uic_make_all
#mv ui_* ../src/qt/forms/
#cd -
# build the executables
make
%pre -n feathercoind
%install
install -D -m 0755 src/%{name}d %{buildroot}%{_bindir}/%{name}d
install -D -m 0755 src/%{name}-cli %{buildroot}%{_bindir}/%{name}-cli
install -D -m 0755 src/qt/%{name}-qt %{buildroot}%{_bindir}/%{name}-qt
install -p -D -m 644 ../../SOURCES/%{name}.png %{buildroot}/usr/share/icons/%{name}.png
install -p -D -m 644 ../../SOURCES/%{name}.png %{buildroot}/usr/share/pixmaps/%{name}.png
install -p -D -m 644 ../../SOURCES/%{name}.desktop %{buildroot}/usr/share/applications/%{name}.desktop
pwd
install -p -D -m 644 doc/man/%{name}-qt.1 %{buildroot}%{_mandir}/man1/%{name}-qt.1
install -p -D -m 644 doc/man/%{name}d.1 %{buildroot}%{_mandir}/man1/%{name}d.1
install -p -D -m 644 doc/man/%{name}d.1 %{buildroot}%{_mandir}/man1/%{name}-cli.1
#install -p -D -m 644 doc/man%{name}.conf.5 %{buildroot}%{_mandir}/man5/%{name}.conf.5
%if 0%{?suse_version}
%suse_update_desktop_file -i %{name} Office Finance
%endif
#%%make_install
%post
echo "post"
%postun
%files
%defattr (-,root,root,-)
%{_bindir}/feathercoind
%{_bindir}/feathercoin-qt
%{_bindir}/feathercoin-cli
/usr/share/applications/%{name}.desktop
/%{_mandir}/man1/feathercoin-qt.1.gz
/%{_mandir}/man1/feathercoin-cli.1.gz
/%{_mandir}/man1/feathercoind.1.gz
#/%{_mandir}/man5/feathercoin.conf.5.gz
#%{_mandir}/%{name}
/usr/share/icons/feathercoin.png
/usr/share/pixmaps/feathercoin.png
%defattr(-,root,root)
%changelog
* Fri Aug 07 2020 wellenreiter01@t-online.de
- version 0.19.1
* push to bitcoin equivaltne coder version 0.19
* bug fixes and improvements to ACP
* new default transaction fee
* Mon Aug 19 2019 wellenreiter01@t-online.de
- version 0.18.1
* Push to Bitcoin equivaltent code version 0.18
* Mon Oct 30 2018 wellenreiter01@t-online.de
- version 0.17.0
* Push to Bitcoin equivaltent code version 0.17
* Fast synchronisation at first run
* several bug Fixes
* Mon Jan 30 2017 wellenreiter01@t-online.de
- version 0.9.6
* Automated build tests fixed - Feathercoin v0.9.6 now includes automated unit tests from Bitcoin v0.9
* Fixed Miniupnpc > 1.6 - There was a bug in the code that didn’t agree with versions of miniupnpc greater than version 1.6
* Fixed “Ambiguous Overload” build error from chainparams.cpp when building with C++11 support
* Fixed buffer overflow bug in Coins.cpp
* Refreshed MacOS DMG background -updated icon size and position
* Fixed a build issue with MacOS build and the Multi-Sig QT page
* Fixed a C++11 build error “C++11 requires a space between literal and identifier” on main.cpp, wallet.cpp, walletmodel.cpp
* Feathercoin-cli manpage added
* updated feathercoind, feathercoin-qt, feathercoin.conf manpages
* Fri Mar 18 2016 wellenreiter01@t-online.de
- version 0.9.3.1
* patch to fix compability problem with future versions
* Thu Mar 17 2016 wellenreiter01@t-online.de
-fixed errors in spec and dsc file
* Mon Mar 7 2016 wellenreiter01@t-online.de
- version 0.9.3 initial
* BIP66 support