]>
Commit | Line | Data |
---|---|---|
d8766286 | 1 | Summary: Litecoin is a peer-to-peer currency |
02fa6eee | 2 | Summary(pl.UTF-8): Litecoin - waluta peer-to-peer |
d8766286 | 3 | Name: litecoin |
0633492b | 4 | Version: 0.13.2 |
02fa6eee JB |
5 | Release: 7 |
6 | License: MIT | |
d8766286 | 7 | Group: X11/Applications |
02fa6eee | 8 | Source0: https://github.com/litecoin-project/litecoin/archive/v%{version}/%{name}-%{version}.tar.gz |
0633492b | 9 | # Source0-md5: c0944edfe7ef8612556d3bbf543b6974 |
9719e2ba | 10 | URL: http://www.litecoin.org/ |
02fa6eee JB |
11 | BuildRequires: QtCore-devel >= 4 |
12 | BuildRequires: QtDBus-devel >= 4 | |
13 | BuildRequires: QtGui-devel >= 4 | |
14 | BuildRequires: automake >= 2.60 | |
14f2443c | 15 | BuildRequires: autoconf |
02fa6eee JB |
16 | BuildRequires: boost-devel >= 1.49 |
17 | BuildRequires: db-cxx-devel >= 4.8 | |
18 | BuildRequires: gettext-tools | |
19 | BuildRequires: libevent-devel | |
20 | BuildRequires: libstdc++-devel >= 6:4.7 | |
21 | BuildRequires: libtool >= 2:2 | |
22 | BuildRequires: libunivalue-devel | |
d8766286 AM |
23 | BuildRequires: miniupnpc-devel >= 1.5 |
24 | BuildRequires: openssl-devel | |
02fa6eee JB |
25 | BuildRequires: pkgconfig |
26 | BuildRequires: protobuf-devel | |
d8766286 | 27 | BuildRequires: qrencode-devel |
02fa6eee JB |
28 | BuildRequires: qt4-linguist >= 4 |
29 | BuildRequires: qt4-qmake >= 4 | |
30 | BuildRequires: zeromq-devel >= 4 | |
d8766286 AM |
31 | Requires: perl-base |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
33 | ||
34 | %description | |
9719e2ba ER |
35 | Litecoin is a peer-to-peer currency. Peer-to-peer means that no |
36 | central authority issues new money or tracks transactions. These tasks | |
37 | are managed collectively by the network. | |
d8766286 | 38 | |
02fa6eee JB |
39 | %description -l pl.UTF-8 |
40 | Litecoin to waluta peer-to-peer. Oznacza to, że nie ma centralnej | |
41 | instytucji emitującej nowe pieniądze czy śledzącej transakcje. Zadania | |
42 | te są zarządzane kolektywnie przez sieć. | |
43 | ||
d8766286 AM |
44 | %package qt |
45 | Summary: Qt-based Litecoin Wallet | |
02fa6eee | 46 | Summary(pl.UTF-8): Portfel na litecoiny oparty na Qt |
d8766286 | 47 | Group: X11/Applications |
02fa6eee | 48 | Requires: %{name} = %{version}-%{release} |
d8766286 AM |
49 | |
50 | %description qt | |
51 | Qt-based Litecoin Wallet. | |
52 | ||
02fa6eee JB |
53 | %description qt -l pl.UTF-8 |
54 | Portfel na litecoiny oparty na Qt. | |
55 | ||
d8766286 AM |
56 | %prep |
57 | %setup -q | |
58 | ||
59 | %build | |
02fa6eee JB |
60 | %{__libtoolize} |
61 | %{__aclocal} -I build-aux/m4 | |
62 | %{__autoconf} | |
63 | %{__autoheader} | |
64 | %{__automake} | |
2d02f65f JB |
65 | cd src/secp256k1 |
66 | %{__libtoolize} | |
67 | %{__aclocal} -I build-aux/m4 | |
68 | %{__autoconf} | |
69 | %{__autoheader} | |
70 | %{__automake} | |
71 | cd ../.. | |
14f2443c AM |
72 | %configure \ |
73 | --disable-shared \ | |
74 | --disable-silent-rules \ | |
14f2443c AM |
75 | --with-boost \ |
76 | --with-gui=qt4 \ | |
02fa6eee JB |
77 | --with-incompatible-bdb \ |
78 | --with-miniupnpc \ | |
79 | --with-qrencode \ | |
80 | --with-qtdbus \ | |
81 | --with-system-univalue | |
14f2443c | 82 | %{__make} |
d8766286 AM |
83 | |
84 | %install | |
85 | rm -rf $RPM_BUILD_ROOT | |
14f2443c | 86 | install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{_datadir}/kde4/services} |
d8766286 | 87 | |
3e02029c JK |
88 | sed -e 's#bitcoin#litecoin#g' -e 's#Bitcoin#Litecoin#g' contrib/debian/bitcoin-qt.desktop > $RPM_BUILD_ROOT%{_desktopdir}/litecoin-qt.desktop |
89 | sed -e 's#bitcoin#litecoin#g' -e 's#Bitcoin#Litecoin#g' contrib/debian/bitcoin-qt.protocol > $RPM_BUILD_ROOT%{_datadir}/kde4/services/litecoin-qt.protocol | |
90 | ||
14f2443c AM |
91 | %{__make} install \ |
92 | DESTDIR=$RPM_BUILD_ROOT | |
93 | ||
02fa6eee JB |
94 | # shared disabled, development packages present in bitcoin.spec and feathercoin.spec |
95 | %{__rm} -r $RPM_BUILD_ROOT{%{_libdir}/libbitcoinconsensus.*,%{_includedir}/bitcoinconsensus.h,%{_pkgconfigdir}/libbitcoinconsensus.pc} | |
96 | ||
9719e2ba ER |
97 | cp -p share/pixmaps/bitcoin32.png $RPM_BUILD_ROOT%{_pixmapsdir}/litecoin32.png |
98 | cp -p share/pixmaps/bitcoin64.png $RPM_BUILD_ROOT%{_pixmapsdir}/litecoin64.png | |
99 | cp -p share/pixmaps/bitcoin128.png $RPM_BUILD_ROOT%{_pixmapsdir}/litecoin128.png | |
100 | cp -p share/pixmaps/bitcoin256.png $RPM_BUILD_ROOT%{_pixmapsdir}/litecoin256.png | |
d8766286 AM |
101 | |
102 | %clean | |
103 | rm -rf $RPM_BUILD_ROOT | |
104 | ||
105 | %files | |
106 | %defattr(644,root,root,755) | |
02fa6eee | 107 | %doc COPYING README.md doc/*.txt contrib/debian/examples/bitcoin.conf |
d8766286 | 108 | %attr(755,root,root) %{_bindir}/litecoind |
14f2443c AM |
109 | %attr(755,root,root) %{_bindir}/litecoin-cli |
110 | %attr(755,root,root) %{_bindir}/litecoin-tx | |
d8766286 AM |
111 | |
112 | %files qt | |
113 | %defattr(644,root,root,755) | |
114 | %attr(755,root,root) %{_bindir}/litecoin-qt | |
115 | %{_datadir}/kde4/services/litecoin-qt.protocol | |
116 | %{_desktopdir}/litecoin-qt.desktop | |
3e02029c | 117 | %{_pixmapsdir}/litecoin*.png |