2024-01-05 20:48:54 +01:00
|
|
|
Name: bitcoin
|
2024-01-05 20:48:54 +01:00
|
|
|
Version: 0.9.1
|
2024-01-05 20:48:54 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 20:48:54 +01:00
|
|
|
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=b
|
|
|
|
Source: http://downloads.sourceforge.net/project/bitcoin/Bitcoin/bitcoin-%{version}/bitcoin-%{version}-linux.tar.gz
|
|
|
|
#Source: http://downloads.sourceforge.net/project/bitcoin/Bitcoin/bitcoin-%{version}/bitcoin-%{version}-linux.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
|
2024-01-05 20:48:54 +01:00
|
|
|
BuildRequires: miniupnpc-devel >= 1.9.20140610-1mamba
|
2024-01-05 20:48:54 +01:00
|
|
|
BuildRequires: protobuf-devel
|
2024-01-05 20:48:54 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
Obsoletes: bitcoin-qt
|
|
|
|
|
|
|
|
%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}-linux
|
|
|
|
|
|
|
|
%build
|
|
|
|
cd src
|
2024-01-05 20:48:54 +01:00
|
|
|
tar -xzf bitcoin-%{version}.tar.gz
|
|
|
|
cd %{name}-%{version}
|
|
|
|
%configure \
|
|
|
|
--with-gui \
|
|
|
|
--with-incompatible-bdb
|
|
|
|
|
|
|
|
#qmake-qt4 BOOST_LIB_SUFFIX=-mt
|
2024-01-05 20:48:54 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 20:48:54 +01:00
|
|
|
|
|
|
|
cd src/%{name}-%{version}
|
|
|
|
%makeinstall
|
|
|
|
#install -D src/bitcoin-%{version} %{buildroot}%{_bindir}/bitcoin-qt
|
2024-01-05 20:48:54 +01:00
|
|
|
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
|
|
|
|
## remove the following line if no dynamic libraries are provided by this package
|
|
|
|
/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)
|
2024-01-05 20:48:54 +01:00
|
|
|
%{_bindir}/test_bitcoin-qt
|
2024-01-05 20:48:54 +01:00
|
|
|
%{_bindir}/bitcoin-qt
|
2024-01-05 20:48:54 +01:00
|
|
|
%{_bindir}/bitcoin-cli
|
|
|
|
%{_bindir}/bitcoind
|
|
|
|
%{_bindir}/test_bitcoin
|
2024-01-05 20:48:54 +01:00
|
|
|
%{_datadir}/applications/bitcoin-qt.desktop
|
|
|
|
%{_datadir}/icons/bitcoin-qt.svg
|
2024-01-05 20:48:54 +01:00
|
|
|
#%doc COPYING
|
2024-01-05 20:48:54 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 20:48:54 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-05 20:48:54 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-05 20:48:54 +01:00
|
|
|
* 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.
|