]> git.pld-linux.org Git - packages/litecoin.git/blame - litecoin.spec
- updated to 0.16.3
[packages/litecoin.git] / litecoin.spec
CommitLineData
d8766286 1Summary: Litecoin is a peer-to-peer currency
02fa6eee 2Summary(pl.UTF-8): Litecoin - waluta peer-to-peer
d8766286 3Name: litecoin
3ec6a0cf
JB
4Version: 0.16.3
5Release: 1
02fa6eee 6License: MIT
d8766286 7Group: X11/Applications
3ec6a0cf
JB
8#Sourrce0Download: https://github.com/litecoin-project/litecoin/releases
9Source0: https://download.litecoin.org/litecoin-%{version}/src/%{name}-%{version}.tar.gz
10# Source0-md5: 071bf10b2077d56645cb549bc184e81d
9719e2ba 11URL: http://www.litecoin.org/
02fa6eee
JB
12BuildRequires: QtCore-devel >= 4
13BuildRequires: QtDBus-devel >= 4
14BuildRequires: QtGui-devel >= 4
15BuildRequires: automake >= 2.60
14f2443c 16BuildRequires: autoconf
02fa6eee
JB
17BuildRequires: boost-devel >= 1.49
18BuildRequires: db-cxx-devel >= 4.8
19BuildRequires: gettext-tools
20BuildRequires: libevent-devel
21BuildRequires: libstdc++-devel >= 6:4.7
22BuildRequires: libtool >= 2:2
23BuildRequires: libunivalue-devel
d8766286
AM
24BuildRequires: miniupnpc-devel >= 1.5
25BuildRequires: openssl-devel
02fa6eee 26BuildRequires: pkgconfig
3ec6a0cf 27BuildRequires: python3 >= 1:3.4
02fa6eee 28BuildRequires: protobuf-devel
d8766286 29BuildRequires: qrencode-devel
02fa6eee
JB
30BuildRequires: qt4-linguist >= 4
31BuildRequires: qt4-qmake >= 4
32BuildRequires: zeromq-devel >= 4
d8766286
AM
33Requires: perl-base
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36%description
9719e2ba
ER
37Litecoin is a peer-to-peer currency. Peer-to-peer means that no
38central authority issues new money or tracks transactions. These tasks
39are managed collectively by the network.
d8766286 40
02fa6eee
JB
41%description -l pl.UTF-8
42Litecoin to waluta peer-to-peer. Oznacza to, że nie ma centralnej
43instytucji emitującej nowe pieniądze czy śledzącej transakcje. Zadania
44te są zarządzane kolektywnie przez sieć.
45
d8766286
AM
46%package qt
47Summary: Qt-based Litecoin Wallet
02fa6eee 48Summary(pl.UTF-8): Portfel na litecoiny oparty na Qt
d8766286 49Group: X11/Applications
02fa6eee 50Requires: %{name} = %{version}-%{release}
d8766286
AM
51
52%description qt
53Qt-based Litecoin Wallet.
54
02fa6eee
JB
55%description qt -l pl.UTF-8
56Portfel na litecoiny oparty na Qt.
57
d8766286
AM
58%prep
59%setup -q
60
61%build
02fa6eee
JB
62%{__libtoolize}
63%{__aclocal} -I build-aux/m4
64%{__autoconf}
65%{__autoheader}
66%{__automake}
2d02f65f
JB
67cd src/secp256k1
68%{__libtoolize}
69%{__aclocal} -I build-aux/m4
70%{__autoconf}
71%{__autoheader}
72%{__automake}
73cd ../..
14f2443c
AM
74%configure \
75 --disable-shared \
76 --disable-silent-rules \
14f2443c
AM
77 --with-boost \
78 --with-gui=qt4 \
02fa6eee
JB
79 --with-incompatible-bdb \
80 --with-miniupnpc \
81 --with-qrencode \
82 --with-qtdbus \
83 --with-system-univalue
14f2443c 84%{__make}
d8766286
AM
85
86%install
87rm -rf $RPM_BUILD_ROOT
14f2443c 88install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{_datadir}/kde4/services}
d8766286 89
14f2443c
AM
90%{__make} install \
91 DESTDIR=$RPM_BUILD_ROOT
92
02fa6eee
JB
93# shared disabled, development packages present in bitcoin.spec and feathercoin.spec
94%{__rm} -r $RPM_BUILD_ROOT{%{_libdir}/libbitcoinconsensus.*,%{_includedir}/bitcoinconsensus.h,%{_pkgconfigdir}/libbitcoinconsensus.pc}
95
3ec6a0cf
JB
96# see contrib/rpm/bitcoin.spec
97
98cat <<EOF >$RPM_BUILD_ROOT%{_desktopdir}/litecoin-qt.desktop
99[Desktop Entry]
100Encoding=UTF-8
101Name=Bitcoin
102Comment=Litecoin P2P Cryptocurrency
103Comment[fr]=Litecoin, monnaie virtuelle cryptographique pair à pair
104Comment[pl]=Litecoin - kryptowaluta P2P
105Comment[tr]=Litecoin, eşten eşe kriptografik sanal para birimi
106Exec=litecoin-qt %u
107Terminal=false
108Type=Application
109Icon=bitcoin128
110MimeType=x-scheme-handler/bitcoin;
111Categories=Office;Finance;
112EOF
113
114cat <<EOF >$RPM_BUILD_ROOT%{_datadir}/kde4/services/litecoin-qt.protocol
115[Protocol]
116exec=litecoin-qt '%u'
117protocol=litecoin
118input=none
119output=none
120helper=true
121listing=
122reading=false
123writing=false
124makedir=false
125deleting=false
126EOF
127
128cp -p share/pixmaps/bitcoin.ico $RPM_BUILD_ROOT%{_pixmapsdir}
129cp -p share/pixmaps/nsis-*.bmp $RPM_BUILD_ROOT%{_pixmapsdir}
d8766286
AM
130
131%clean
132rm -rf $RPM_BUILD_ROOT
133
134%files
135%defattr(644,root,root,755)
3ec6a0cf 136%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
d8766286 137%attr(755,root,root) %{_bindir}/litecoind
14f2443c
AM
138%attr(755,root,root) %{_bindir}/litecoin-cli
139%attr(755,root,root) %{_bindir}/litecoin-tx
3ec6a0cf
JB
140%{_mandir}/man1/litecoin-cli.1*
141%{_mandir}/man1/litecoin-tx.1*
142%{_mandir}/man1/litecoind.1*
d8766286
AM
143
144%files qt
145%defattr(644,root,root,755)
146%attr(755,root,root) %{_bindir}/litecoin-qt
147%{_datadir}/kde4/services/litecoin-qt.protocol
148%{_desktopdir}/litecoin-qt.desktop
3ec6a0cf
JB
149%{_pixmapsdir}/bitcoin.ico
150%{_pixmapsdir}/nsis-*.bmp
151%{_mandir}/man1/litecoin-qt.1*
This page took 0.219052 seconds and 4 git commands to generate.