bitcoin/bitcoin.spec

244 lines
8.2 KiB
RPMSpec

%define maj123ver %(echo %version | cut -d. -f1-3)
Name: bitcoin
Version: 24.0.1
Release: 1mamba
Summary: A frontend for the bitcoin cryptocurrency
Group: Graphical Desktop/Applications/Other
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://bitcoincore.org/en/download/
Source: https://github.com/bitcoin/bitcoin.git/v%{version}/bitcoin-%{version}.tar.bz2
#Source: https://bitcoin.org/bin/bitcoin-core-%{version}/bitcoin-%{version}.tar.gz
Source1: bitcoin-qt.desktop
Source2: bitcoin-qt.svg
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libdb53-cxx
BuildRequires: libevent-devel
BuildRequires: libgcc
BuildRequires: libminiupnpc-devel
BuildRequires: libnatpmp-devel
BuildRequires: libqrencode-devel
BuildRequires: libsodium-devel
BuildRequires: libsqlite-devel
BuildRequires: libstdc++6-devel
BuildRequires: libzeromq-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: miniupnpc-devel >= 1.9.20150206-1mamba
BuildRequires: protobuf-devel >= 1.6.1
Conflicts: bitcoinclassic
Obsoletes: bitcoin-qt < 22.0
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%description
A frontend for the bitcoin cryptocurrency. Bitcoin is a decentralized P2P electronic cash system without a central server or trusted parties. Users hold the crypto keys to their own money and transact directly with each other, with the help of the network to check for double-spending.
%debug_package
%prep
%setup -q
#-D -T
#:<< _EOF
./autogen.sh
%build
#:<< _EOF
%configure \
--with-gui \
--with-incompatible-bdb \
--with-boost-system=boost_system \
--with-boost-filesystem=boost_filesystem \
--with-boost-thread=boost_thread \
--with-boost-chrono=boost_chrono \
--with-boost-unit-test-framework=boost_unit_test_framework
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -D %SOURCE1 %{buildroot}%{_datadir}/applications/bitcoin-qt.desktop
install -D %SOURCE2 %{buildroot}%{_datadir}/icons/bitcoin-qt.svg
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null
touch --no-create %{_kde4_icondir}/oxygen &>/dev/null
exit 0
%posttrans
update-desktop-database -q &>/dev/null
update-mime-database -n %{_kde4_mimedir} &>/dev/null
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
gtk-update-icon-cache %{_kde4_icondir}/oxygen &>/dev/null
exit 0
%postun
/sbin/ldconfig
if [ $1 -eq 0 ]; then
update-desktop-database -q &>/dev/null
update-mime-database -n %{_kde4_mimedir} &>/dev/null
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null
touch --no-create %{_kde4_icondir}/oxygen &>/dev/null
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
gtk-update-icon-cache %{_kde4_icondir}/oxygen &>/dev/null
fi
exit 0
%files
%defattr(-,root,root)
%{_bindir}/test_bitcoin-qt
%{_bindir}/bitcoin-*
%{_bindir}/bitcoind
%{_bindir}/bench_bitcoin
%{_bindir}/test_bitcoin
%{_libdir}/libbitcoinconsensus.so.*
%{_datadir}/applications/bitcoin-qt.desktop
%{_datadir}/icons/bitcoin-qt.svg
%{_mandir}/man1/bitcoin-*.1*
%{_mandir}/man1/bitcoind.1*
%files devel
%defattr(-,root,root)
%{_includedir}/bitcoinconsensus.h
%{_libdir}/libbitcoinconsensus.a
%{_libdir}/libbitcoinconsensus.so
%{_libdir}/pkgconfig/libbitcoinconsensus.pc
%changelog
* Tue Dec 06 2022 Automatic Build System <autodist@mambasoft.it> 24.0.1-1mamba
- automatic version update by autodist
* Fri Nov 18 2022 Automatic Build System <autodist@mambasoft.it> 24.0-1mamba
- automatic version update by autodist
* Sat Apr 23 2022 Automatic Build System <autodist@mambasoft.it> 23.0-1mamba
- automatic version update by autodist
* Wed Sep 29 2021 Automatic Build System <autodist@mambasoft.it> 22.0-1mamba
- automatic version update by autodist
* Fri Apr 30 2021 Automatic Build System <autodist@mambasoft.it> 0.21.1-1mamba
- automatic version update by autodist
* Thu Jan 14 2021 Automatic Build System <autodist@mambasoft.it> 0.21.0-1mamba
- automatic version update by autodist
* Fri Jul 31 2020 Automatic Build System <autodist@mambasoft.it> 0.20.1-1mamba
- automatic version update by autodist
* Tue Jun 02 2020 Automatic Build System <autodist@mambasoft.it> 0.20.0-1mamba
- automatic version update by autodist
* Fri Mar 06 2020 Automatic Build System <autodist@mambasoft.it> 0.19.1-1mamba
- automatic version update by autodist
* Mon Nov 18 2019 Automatic Build System <autodist@mambasoft.it> 0.19.0.1-1mamba
- automatic version update by autodist
* Sat Nov 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.19.0-1mamba
- update to 0.19.0
* Wed Aug 28 2019 Automatic Build System <autodist@mambasoft.it> 0.18.1-1mamba
- automatic version update by autodist
* Mon Aug 05 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.18.0-1mamba
- update to 0.18.0
* Tue Dec 25 2018 Automatic Build System <autodist@mambasoft.it> 0.17.1-1mamba
- automatic version update by autodist
* Fri Nov 02 2018 Automatic Build System <autodist@mambasoft.it> 0.17.0.1-1mamba
- automatic version update by autodist
* Tue Sep 04 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.2-2mamba
- rebuilt with libprotobuf 1.6.1
* Tue Aug 28 2018 Automatic Build System <autodist@mambasoft.it> 0.16.2-1mamba
- automatic version update by autodist
* Tue Aug 23 2016 Automatic Build System <autodist@mambasoft.it> 0.13.0-1mamba
- automatic version update by autodist
* Wed May 04 2016 Automatic Build System <autodist@mambasoft.it> 0.12.1-1mamba
- automatic version update by autodist
* Wed Dec 30 2015 Automatic Build System <autodist@mambasoft.it> 0.11.2-1mamba
- automatic version update by autodist
* Sun Aug 02 2015 Automatic Build System <autodist@mambasoft.it> 0.11.0-1mamba
- automatic version update by autodist
* Fri May 22 2015 Automatic Build System <autodist@mambasoft.it> 0.10.2-1mamba
- automatic update by autodist
* Thu May 07 2015 Automatic Build System <autodist@mambasoft.it> 0.10.1-1mamba
- automatic update by autodist
* Sat Mar 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.0-2mamba
- rebuilt by autoport with build requirements: miniupnpc-devel>=1.9.20150206-1mamba
* Sat Mar 14 2015 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.10.0-1mamba
- update to 0.10.0
* Thu Oct 16 2014 Automatic Build System <autodist@mambasoft.it> 0.9.3-1mamba
- automatic update by autodist
* Thu Aug 07 2014 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.9.1-2mamba
- addedd qt frontend
* Sun Jul 27 2014 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
- automatic update by autodist
* Sun Jul 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.6-2mamba
- rebuilt by autoport with build requirements: miniupnpc-devel>=1.9.20140610-1mamba
* Fri Dec 13 2013 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.8.6-1mamba
- update to 0.8.6
* Sat Sep 14 2013 openmamba WebBuild System <webbuild@openmamba.org> 0.8.5-1mamba
- update to 0.8.5
* Mon Jul 22 2013 Automatic Build System <autodist@mambasoft.it> 0.8.3-1mamba
- automatic update by autodist
* Tue Mar 19 2013 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
- automatic version update by autodist
* Sat Feb 23 2013 openmamba WebBuild System <webbuild@openmamba.org> 0.8.0-1mamba
- update to 0.8.0
* Sun Dec 16 2012 openmamba WebBuild System <webbuild@openmamba.org> 0.7.2-1mamba
- update to 0.7.2
* Sat Oct 20 2012 openmamba WebBuild System <webbuild@openmamba.org> 0.7.1-1mamba
- update to 0.7.1
* Mon Oct 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0-2mamba
- rebuilt with miniupnpc 1.7.20120830
* Wed Sep 19 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.7.0-1mamba
- update to 0.7.0
* Wed Jul 04 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.6.3-1mamba
- update to 0.6.3
* Tue May 08 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.6.1-1mamba
- updated to version 0.6.1
* Thu Apr 05 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.6.0-1mamba
- package created by autospec.