]> git.pld-linux.org Git - packages/feathercoin.git/blame - feathercoin.spec
- - rebuild with boost 1.55.0
[packages/feathercoin.git] / feathercoin.spec
CommitLineData
0f77417f
AM
1Summary: Feathercoin is a peer-to-peer currency
2Name: feathercoin
3Version: 0.0.1
3d43fff4 4Release: 4
0f77417f
AM
5License: MIT/X11
6Group: X11/Applications
7Source0: https://github.com/FeatherCoin/FeatherCoin/archive/master.zip?/%{name}-%{version}.zip
8# Source0-md5: 9662befa9e33b7ab7ded60d41cd12eea
9URL: http://www.feathercoin.org
10BuildRequires: QtCore-devel
11BuildRequires: QtDBus-devel
12BuildRequires: QtGui-devel
13BuildRequires: boost-devel
14BuildRequires: db-cxx-devel
15BuildRequires: miniupnpc-devel >= 1.5
16BuildRequires: openssl-devel
17BuildRequires: qrencode-devel
18BuildRequires: qt4-qmake
19Requires: perl-base
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Feathercoin is a peer-to-peer currency. Peer-to-peer means that no central
24authority issues new money or tracks transactions. These tasks are
25managed collectively by the network.
26
27%package qt
28Summary: Qt-based Feathercoin Wallet
29Group: X11/Applications
30
31%description qt
32Qt-based Feathercoin Wallet.
33
34%prep
35%setup -q -c
36
37%build
38cd FeatherCoin-master
39qmake-qt4 \
40 USE_UPNP=1 \
41 USE_DBUS=1 \
42 USE_QRCODE=1
43
44%{__make}
45
46%{__make} -C src -f makefile.unix \
47 CXX="%{__cxx}" \
48 CXXFLAGS="%{rpmcflags} %{rpmcxxflags} %{rpmcppflags}"
49
50%install
51rm -rf $RPM_BUILD_ROOT
52cd FeatherCoin-master
53
54install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name},%{_mandir}/man{1,5},%{_localedir},%{_desktopdir},%{_pixmapsdir},%{_datadir}/kde4/services}
55
56install src/feathercoind $RPM_BUILD_ROOT%{_libdir}/%{name}/feathercoind
57sed -e 's#/usr/lib/#%{_libdir}/#g' -e 's#bitcoin#feathercoin#g' contrib/debian/bin/bitcoind > $RPM_BUILD_ROOT%{_bindir}/feathercoind
58chmod 755 $RPM_BUILD_ROOT%{_bindir}/feathercoind
59
60install feathercoin-qt $RPM_BUILD_ROOT%{_bindir}
61sed -e 's#bitcoin#feathercoin#g' contrib/debian/bitcoin-qt.desktop > $RPM_BUILD_ROOT%{_desktopdir}/feathercoin-qt.desktop
62sed -e 's#bitcoin#feathercoin#g' contrib/debian/bitcoin-qt.protocol > $RPM_BUILD_ROOT%{_datadir}/kde4/services/feathercoin-qt.protocol
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%files
68%defattr(644,root,root,755)
69%doc FeatherCoin-master/doc/*.txt FeatherCoin-master/contrib/debian/examples/bitcoin.conf
70%attr(755,root,root) %{_bindir}/feathercoind
71%dir %{_libdir}/%{name}
72%attr(755,root,root) %{_libdir}/%{name}/feathercoind
73
74%files qt
75%defattr(644,root,root,755)
76%attr(755,root,root) %{_bindir}/feathercoin-qt
77%{_datadir}/kde4/services/feathercoin-qt.protocol
78%{_desktopdir}/feathercoin-qt.desktop
This page took 0.072298 seconds and 4 git commands to generate.