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
11 URL: http://www.litecoin.org/
12 BuildRequires: Qt5Core-devel >= 5.4
13 BuildRequires: Qt5DBus-devel >= 4
14 BuildRequires: Qt5Gui-devel >= 4
15 BuildRequires: Qt5Network-devel >= 4
16 BuildRequires: Qt5Widgets-devel >= 4
17 BuildRequires: autoconf >= 2.60
18 BuildRequires: automake
19 BuildRequires: boost-devel >= 1.49
20 BuildRequires: db-cxx-devel >= 4.8
21 BuildRequires: gettext-tools
22 BuildRequires: libevent-devel >= 2
23 BuildRequires: libstdc++-devel >= 6:4.7
24 BuildRequires: libtool >= 2:2
25 BuildRequires: libunivalue-devel >= 1.0.4
26 BuildRequires: miniupnpc-devel >= 1.5
27 BuildRequires: openssl-devel
28 BuildRequires: pkgconfig
29 BuildRequires: python3 >= 1:3.4
30 BuildRequires: protobuf-devel
31 BuildRequires: qrencode-devel
32 BuildRequires: qt5-linguist >= 5.4
33 BuildRequires: qt5-qmake >= 5.4
34 BuildRequires: zeromq-devel >= 4
35 Requires: libunivalue >= 1.0.4
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40 Litecoin is a peer-to-peer currency. Peer-to-peer means that no
41 central authority issues new money or tracks transactions. These tasks
42 are managed collectively by the network.
44 %description -l pl.UTF-8
45 Litecoin to waluta peer-to-peer. Oznacza to, że nie ma centralnej
46 instytucji emitującej nowe pieniądze czy śledzącej transakcje. Zadania
47 te są zarządzane kolektywnie przez sieć.
50 Summary: Qt-based Litecoin Wallet
51 Summary(pl.UTF-8): Portfel na litecoiny oparty na Qt
52 Group: X11/Applications
53 Requires: %{name} = %{version}-%{release}
56 Qt-based Litecoin Wallet.
58 %description qt -l pl.UTF-8
59 Portfel na litecoiny oparty na Qt.
66 %{__aclocal} -I build-aux/m4
72 %{__aclocal} -I build-aux/m4
79 --disable-silent-rules \
82 --with-incompatible-bdb \
86 --with-system-univalue
90 rm -rf $RPM_BUILD_ROOT
91 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{_datadir}/kde4/services}
94 DESTDIR=$RPM_BUILD_ROOT
96 # shared disabled, development packages present in bitcoin.spec and feathercoin.spec
97 %{__rm} -r $RPM_BUILD_ROOT{%{_libdir}/libbitcoinconsensus.*,%{_includedir}/bitcoinconsensus.h,%{_pkgconfigdir}/libbitcoinconsensus.pc}
99 # see contrib/rpm/bitcoin.spec
101 cat <<EOF >$RPM_BUILD_ROOT%{_desktopdir}/litecoin-qt.desktop
105 Comment=Litecoin P2P Cryptocurrency
106 Comment[fr]=Litecoin, monnaie virtuelle cryptographique pair à pair
107 Comment[pl]=Litecoin - kryptowaluta P2P
108 Comment[tr]=Litecoin, eşten eşe kriptografik sanal para birimi
113 MimeType=x-scheme-handler/litecoin;
114 Categories=Office;Finance;
117 cat <<EOF >$RPM_BUILD_ROOT%{_datadir}/kde4/services/litecoin-qt.protocol
119 exec=litecoin-qt '%u'
131 cp -p share/pixmaps/bitcoin.ico $RPM_BUILD_ROOT%{_pixmapsdir}
132 cp -p share/pixmaps/nsis-*.bmp $RPM_BUILD_ROOT%{_pixmapsdir}
135 rm -rf $RPM_BUILD_ROOT
138 %defattr(644,root,root,755)
139 %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
140 %attr(755,root,root) %{_bindir}/litecoind
141 %attr(755,root,root) %{_bindir}/litecoin-cli
142 %attr(755,root,root) %{_bindir}/litecoin-tx
143 %{_mandir}/man1/litecoin-cli.1*
144 %{_mandir}/man1/litecoin-tx.1*
145 %{_mandir}/man1/litecoind.1*
148 %defattr(644,root,root,755)
149 %attr(755,root,root) %{_bindir}/litecoin-qt
150 %{_datadir}/kde4/services/litecoin-qt.protocol
151 %{_desktopdir}/litecoin-qt.desktop
152 %{_pixmapsdir}/bitcoin.ico
153 %{_pixmapsdir}/nsis-*.bmp
154 %{_mandir}/man1/litecoin-qt.1*