1 Summary: Litecoin is a peer-to-peer currency
2 Summary(pl.UTF-8): Litecoin - waluta peer-to-peer
7 Group: X11/Applications
8 #Sourrce0Download: https://github.com/litecoin-project/litecoin/releases
9 Source0: https://download.litecoin.org/litecoin-%{version}/src/%{name}-%{version}.tar.gz
10 # Source0-md5: 7a486f0b5edcbbe3ea959ae8877e9672
12 URL: http://www.litecoin.org/
13 BuildRequires: Qt5Core-devel >= 5.4
14 BuildRequires: Qt5DBus-devel >= 4
15 BuildRequires: Qt5Gui-devel >= 4
16 BuildRequires: Qt5Network-devel >= 4
17 BuildRequires: Qt5Widgets-devel >= 4
18 BuildRequires: autoconf >= 2.60
19 BuildRequires: automake
20 BuildRequires: boost-devel >= 1.49
21 BuildRequires: db-cxx-devel >= 4.8
22 BuildRequires: gettext-tools
23 BuildRequires: libevent-devel >= 2
24 BuildRequires: libstdc++-devel >= 6:4.7
25 BuildRequires: libtool >= 2:2
26 BuildRequires: libunivalue-devel >= 1.0.4
27 BuildRequires: miniupnpc-devel >= 1.5
28 BuildRequires: openssl-devel
29 BuildRequires: pkgconfig
30 BuildRequires: python3 >= 1:3.4
31 BuildRequires: protobuf-devel
32 BuildRequires: qrencode-devel
33 BuildRequires: qt5-linguist >= 5.4
34 BuildRequires: qt5-qmake >= 5.4
35 BuildRequires: zeromq-devel >= 4
36 Requires: libunivalue >= 1.0.4
38 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 Litecoin is a peer-to-peer currency. Peer-to-peer means that no
42 central authority issues new money or tracks transactions. These tasks
43 are managed collectively by the network.
45 %description -l pl.UTF-8
46 Litecoin to waluta peer-to-peer. Oznacza to, że nie ma centralnej
47 instytucji emitującej nowe pieniądze czy śledzącej transakcje. Zadania
48 te są zarządzane kolektywnie przez sieć.
51 Summary: Qt-based Litecoin Wallet
52 Summary(pl.UTF-8): Portfel na litecoiny oparty na Qt
53 Group: X11/Applications
54 Requires: %{name} = %{version}-%{release}
57 Qt-based Litecoin Wallet.
59 %description qt -l pl.UTF-8
60 Portfel na litecoiny oparty na Qt.
68 %{__aclocal} -I build-aux/m4
74 %{__aclocal} -I build-aux/m4
81 --disable-silent-rules \
84 --with-incompatible-bdb \
88 --with-system-univalue
92 rm -rf $RPM_BUILD_ROOT
93 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{_datadir}/kde4/services}
96 DESTDIR=$RPM_BUILD_ROOT
98 # shared disabled, development packages present in bitcoin.spec and feathercoin.spec
99 %{__rm} -r $RPM_BUILD_ROOT{%{_libdir}/libbitcoinconsensus.*,%{_includedir}/bitcoinconsensus.h,%{_pkgconfigdir}/libbitcoinconsensus.pc}
101 # see contrib/rpm/bitcoin.spec
103 cat <<EOF >$RPM_BUILD_ROOT%{_desktopdir}/litecoin-qt.desktop
107 Comment=Litecoin P2P Cryptocurrency
108 Comment[fr]=Litecoin, monnaie virtuelle cryptographique pair à pair
109 Comment[pl]=Litecoin - kryptowaluta P2P
110 Comment[tr]=Litecoin, eşten eşe kriptografik sanal para birimi
115 MimeType=x-scheme-handler/litecoin;
116 Categories=Office;Finance;
119 cat <<EOF >$RPM_BUILD_ROOT%{_datadir}/kde4/services/litecoin-qt.protocol
121 exec=litecoin-qt '%u'
133 cp -p share/pixmaps/bitcoin.ico $RPM_BUILD_ROOT%{_pixmapsdir}
134 cp -p share/pixmaps/nsis-*.bmp $RPM_BUILD_ROOT%{_pixmapsdir}
137 rm -rf $RPM_BUILD_ROOT
140 %defattr(644,root,root,755)
141 %doc COPYING doc/{README,REST-interface,assets-attribution,benchmarking,bips,dependencies,dnsseed-policy,reduce-traffic,release-notes*,shared-libraries,tor,zmq}.md doc/release-notes
142 %attr(755,root,root) %{_bindir}/litecoind
143 %attr(755,root,root) %{_bindir}/litecoin-cli
144 %attr(755,root,root) %{_bindir}/litecoin-tx
145 %{_mandir}/man1/litecoin-cli.1*
146 %{_mandir}/man1/litecoin-tx.1*
147 %{_mandir}/man1/litecoind.1*
150 %defattr(644,root,root,755)
151 %attr(755,root,root) %{_bindir}/litecoin-qt
152 %{_datadir}/kde4/services/litecoin-qt.protocol
153 %{_desktopdir}/litecoin-qt.desktop
154 %{_pixmapsdir}/bitcoin.ico
155 %{_pixmapsdir}/nsis-*.bmp
156 %{_mandir}/man1/litecoin-qt.1*