[packages/primecoin] - up to 0.8.3 snap 20131127
arekm
arekm at pld-linux.org
Wed Nov 27 13:48:12 CET 2013
commit bc9e72f655ffc1f05b5f1c3e647db3b79729ad40
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Nov 27 13:48:09 2013 +0100
- up to 0.8.3 snap 20131127
primecoin.spec | 25 +++++++++++--------------
1 file changed, 11 insertions(+), 14 deletions(-)
---
diff --git a/primecoin.spec b/primecoin.spec
index 150bd1e..9de28e6 100644
--- a/primecoin.spec
+++ b/primecoin.spec
@@ -1,11 +1,13 @@
+%define snap 20131127
Summary: Primecoin - First Scientific Computing Cryptocurrency
Name: primecoin
-Version: 0.1.2
-Release: 1
+Version: 0.8.3
+Release: 0.%{snap}.1
License: MIT/X11
Group: X11/Applications
-Source0: https://github.com/primecoin/primecoin/archive/v%{version}xpm.tar.gz
-# Source0-md5: 5db20b3cc9891dfcf932fa2be3dda850
+# Source0: https://github.com/primecoin/primecoin/archive/v%{version}.tar.gz
+Source0: %{name}-20131127.tar.bz2
+# Source0-md5: 10ae9950aba9232a3c035e499c38aa74
URL: http://primecoin.org
BuildRequires: QtCore-devel
BuildRequires: QtDBus-devel
@@ -30,10 +32,10 @@ Group: X11/Applications
Qt-based Primecoin Wallet.
%prep
-%setup -q -n %{name}-%{version}xpm
+%setup -q -n %{name}-%{snap}
%build
-qmake-qt4 \
+qmake-qt4 bitcoin-qt.pro \
USE_UPNP=1 \
USE_DBUS=1 \
USE_QRCODE=1
@@ -49,12 +51,9 @@ rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name},%{_mandir}/man{1,5},%{_localedir},%{_desktopdir},%{_pixmapsdir},%{_datadir}/kde4/services}
-install src/primecoind $RPM_BUILD_ROOT%{_libdir}/%{name}/primecoind
-ln -s %{_libdir}/%{name}/primecoind $RPM_BUILD_ROOT%{_bindir}/primecoind
-#sed -e 's#/usr/lib/#%{_libdir}/#g' -e 's#bitcoin#primecoin#g' contrib/debian/bin/bitcoind > $RPM_BUILD_ROOT%{_bindir}/primecoind
-#chmod 755 $RPM_BUILD_ROOT%{_bindir}/primecoind
-
+install src/primeminer $RPM_BUILD_ROOT%{_bindir}/primeminer
install primecoin-qt $RPM_BUILD_ROOT%{_bindir}
+
sed -e 's#bitcoin#primecoin#g' contrib/debian/bitcoin-qt.desktop > $RPM_BUILD_ROOT%{_desktopdir}/primecoin-qt.desktop
sed -e 's#bitcoin#primecoin#g' contrib/debian/bitcoin-qt.protocol > $RPM_BUILD_ROOT%{_datadir}/kde4/services/primecoin-qt.protocol
@@ -64,9 +63,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc doc/*.txt contrib/debian/examples/bitcoin.conf
-%attr(755,root,root) %{_bindir}/primecoind
-%dir %{_libdir}/%{name}
-%attr(755,root,root) %{_libdir}/%{name}/primecoind
+%attr(755,root,root) %{_bindir}/primeminer
%files qt
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/primecoin.git/commitdiff/bc9e72f655ffc1f05b5f1c3e647db3b79729ad40
More information about the pld-cvs-commit
mailing list