bitcoin/bitcoin.spec

178 lines
5.7 KiB
RPMSpec

Name: bitcoin
Version: 0.12.1
Release: 1mamba
Summary: A frontend for the bitcoin cryptocurrency
Group: Graphical Desktop/Applications/Other
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://sourceforge.net/projects/bitcoin/?_test=
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: libboost-devel
BuildRequires: libdb51-devel
BuildRequires: libgcc
BuildRequires: libGL-devel
BuildRequires: libopenssl-devel
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
BuildRequires: miniupnpc-devel
## AUTOBUILDREQ-END
BuildRequires: miniupnpc-devel >= 1.9.20150206-1mamba
BuildRequires: protobuf-devel
Conflicts: bitcoinclassic
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Obsoletes: bitcoin-qt
%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}.
%debug_package
%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.
%prep
%setup -q -n %{name}-%{version}
%build
%configure \
--with-gui \
--with-incompatible-bdb
%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 %{_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 %{_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-qt
%{_bindir}/bitcoin-cli
%{_bindir}/bitcoin-tx
%{_bindir}/bitcoind
%{_bindir}/bench_bitcoin
%{_bindir}/test_bitcoin
%{_libdir}/libbitcoinconsensus.so.*
%{_datadir}/applications/bitcoin-qt.desktop
%{_datadir}/icons/bitcoin-qt.svg
%files devel
%defattr(-,root,root)
%{_includedir}/bitcoinconsensus.h
%{_libdir}/libbitcoinconsensus.a
%{_libdir}/libbitcoinconsensus.la
%{_libdir}/libbitcoinconsensus.so
%{_libdir}/pkgconfig/libbitcoinconsensus.pc
%changelog
* 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.