[packages/protoshares] - up to snap
arekm
arekm at pld-linux.org
Tue Dec 3 11:40:35 CET 2013
commit 307a510f53ef3864e102dd4a91ac21966dc0cb52
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Dec 3 11:40:32 2013 +0100
- up to snap
protoshares.spec | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/protoshares.spec b/protoshares.spec
index 8eda2a2..5182cb4 100644
--- a/protoshares.spec
+++ b/protoshares.spec
@@ -1,11 +1,12 @@
+%define snap 20131203
Summary: ProtoShares
Name: protoshares
Version: 0.8.5
-Release: 1
+Release: 1.%{snap}.1
License: MIT/X11
Group: X11/Applications
-Source0: https://github.com/InvictusInnovations/ProtoShares/archive/v%{version}.tar.gz
-# Source0-md5: 1723b15fe5628e21d49d31df2793366c
+Source0: ProtoShares-%{snap}.tar.bz2
+# Source0-md5: f18b07195152c72a1e322444d84b4543
URL: http://invictus-innovations.com/protoshares
BuildRequires: QtCore-devel
BuildRequires: QtDBus-devel
@@ -30,26 +31,24 @@ Group: X11/Applications
Qt-based ProtoShares Wallet.
%prep
-%setup -q -n ProtoShares-%{version}
+%setup -q -n ProtoShares
%build
-qmake-qt4 bitcoin-qt.pro \
+qmake-qt4 protoshares-qt.pro \
USE_UPNP=1 \
USE_DBUS=1 \
USE_QRCODE=1
%{__make}
-%{__make} -C src -f makefile.unix \
- CXX="%{__cxx}" \
- CXXFLAGS="%{rpmcflags} %{rpmcxxflags} %{rpmcppflags}"
+qmake-qt4 protosharesd.pro
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name},%{_mandir}/man{1,5},%{_localedir},%{_desktopdir},%{_pixmapsdir},%{_datadir}/kde4/services}
-install bitcoin-qt $RPM_BUILD_ROOT%{_bindir}/protoshares-qt
+install protoshares-qt $RPM_BUILD_ROOT%{_bindir}/protoshares-qt
sed -e 's#bitcoin#protoshares#g' contrib/debian/bitcoin-qt.desktop > $RPM_BUILD_ROOT%{_desktopdir}/protoshares-qt.desktop
sed -e 's#bitcoin#protoshares#g' contrib/debian/bitcoin-qt.protocol > $RPM_BUILD_ROOT%{_datadir}/kde4/services/protoshares-qt.protocol
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/protoshares.git/commitdiff/307a510f53ef3864e102dd4a91ac21966dc0cb52
More information about the pld-cvs-commit
mailing list