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