Summary: Bitcoin is a peer-to-peer currency Name: bitcoin Version: 0.9.3 Release: 1 License: MIT/X11 Group: X11/Applications Source0: https://github.com/bitcoin/bitcoin/archive/v%{version}.tar.gz # Source0-md5: 719ac255715deffafc2ae7554c66ba70 URL: http://www.bitcoin.org BuildRequires: QtCore-devel BuildRequires: QtDBus-devel BuildRequires: QtGui-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: boost-devel BuildRequires: db-cxx-devel BuildRequires: libtool BuildRequires: miniupnpc-devel >= 1.5 BuildRequires: openssl-devel BuildRequires: protobuf-devel BuildRequires: qrencode-devel Requires: perl-base BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Bitcoin is a peer-to-peer currency. Peer-to-peer means that no central authority issues new money or tracks transactions. These tasks are managed collectively by the network. %package qt Summary: Qt-based Bitcoin Wallet Group: X11/Applications %description qt Qt-based Bitcoin Wallet. %prep %setup -q %build %{__libtoolize} %{__aclocal} %{__autoconf} %{__autoheader} %{__automake} %configure \ --disable-silent-rules \ --with-miniupnpc \ --with-qrencode \ --with-incompatible-bdb \ --with-boost \ --with-gui=qt4 \ --with-qtdbus %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_mandir}/man{1,5},%{_localedir},%{_desktopdir},%{_pixmapsdir},%{_datadir}/kde4/services} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT install contrib/debian/bitcoin-qt.desktop $RPM_BUILD_ROOT%{_desktopdir} install contrib/debian/bitcoin-qt.protocol $RPM_BUILD_ROOT%{_datadir}/kde4/services install share/pixmaps/bitcoin{32,64,128,256}.png $RPM_BUILD_ROOT%{_pixmapsdir} install contrib/debian/manpages/bitcoind.1 $RPM_BUILD_ROOT%{_mandir}/man1 install contrib/debian/manpages/bitcoin.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc doc/*.txt contrib/debian/examples/bitcoin.conf %attr(755,root,root) %{_bindir}/bitcoin-cli %attr(755,root,root) %{_bindir}/bitcoind %{_mandir}/man1/bitcoind.1* %{_mandir}/man5/bitcoin.conf.5* %files qt %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/bitcoin-qt %{_datadir}/kde4/services/bitcoin-qt.protocol %{_desktopdir}/bitcoin-qt.desktop %{_pixmapsdir}/bitcoin*.png