]> git.pld-linux.org Git - packages/litecoin.git/blame - litecoin.spec
- autogen in subdir
[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
0633492b 4Version: 0.13.2
02fa6eee
JB
5Release: 7
6License: MIT
d8766286 7Group: X11/Applications
02fa6eee 8Source0: https://github.com/litecoin-project/litecoin/archive/v%{version}/%{name}-%{version}.tar.gz
0633492b 9# Source0-md5: c0944edfe7ef8612556d3bbf543b6974
9719e2ba 10URL: http://www.litecoin.org/
02fa6eee
JB
11BuildRequires: QtCore-devel >= 4
12BuildRequires: QtDBus-devel >= 4
13BuildRequires: QtGui-devel >= 4
14BuildRequires: automake >= 2.60
14f2443c 15BuildRequires: autoconf
02fa6eee
JB
16BuildRequires: boost-devel >= 1.49
17BuildRequires: db-cxx-devel >= 4.8
18BuildRequires: gettext-tools
19BuildRequires: libevent-devel
20BuildRequires: libstdc++-devel >= 6:4.7
21BuildRequires: libtool >= 2:2
22BuildRequires: libunivalue-devel
d8766286
AM
23BuildRequires: miniupnpc-devel >= 1.5
24BuildRequires: openssl-devel
02fa6eee
JB
25BuildRequires: pkgconfig
26BuildRequires: protobuf-devel
d8766286 27BuildRequires: qrencode-devel
02fa6eee
JB
28BuildRequires: qt4-linguist >= 4
29BuildRequires: qt4-qmake >= 4
30BuildRequires: zeromq-devel >= 4
d8766286
AM
31Requires: perl-base
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
9719e2ba
ER
35Litecoin is a peer-to-peer currency. Peer-to-peer means that no
36central authority issues new money or tracks transactions. These tasks
37are managed collectively by the network.
d8766286 38
02fa6eee
JB
39%description -l pl.UTF-8
40Litecoin to waluta peer-to-peer. Oznacza to, że nie ma centralnej
41instytucji emitującej nowe pieniądze czy śledzącej transakcje. Zadania
42te są zarządzane kolektywnie przez sieć.
43
d8766286
AM
44%package qt
45Summary: Qt-based Litecoin Wallet
02fa6eee 46Summary(pl.UTF-8): Portfel na litecoiny oparty na Qt
d8766286 47Group: X11/Applications
02fa6eee 48Requires: %{name} = %{version}-%{release}
d8766286
AM
49
50%description qt
51Qt-based Litecoin Wallet.
52
02fa6eee
JB
53%description qt -l pl.UTF-8
54Portfel 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
65cd src/secp256k1
66%{__libtoolize}
67%{__aclocal} -I build-aux/m4
68%{__autoconf}
69%{__autoheader}
70%{__automake}
71cd ../..
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
85rm -rf $RPM_BUILD_ROOT
14f2443c 86install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{_datadir}/kde4/services}
d8766286 87
3e02029c
JK
88sed -e 's#bitcoin#litecoin#g' -e 's#Bitcoin#Litecoin#g' contrib/debian/bitcoin-qt.desktop > $RPM_BUILD_ROOT%{_desktopdir}/litecoin-qt.desktop
89sed -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
97cp -p share/pixmaps/bitcoin32.png $RPM_BUILD_ROOT%{_pixmapsdir}/litecoin32.png
98cp -p share/pixmaps/bitcoin64.png $RPM_BUILD_ROOT%{_pixmapsdir}/litecoin64.png
99cp -p share/pixmaps/bitcoin128.png $RPM_BUILD_ROOT%{_pixmapsdir}/litecoin128.png
100cp -p share/pixmaps/bitcoin256.png $RPM_BUILD_ROOT%{_pixmapsdir}/litecoin256.png
d8766286
AM
101
102%clean
103rm -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
This page took 0.661018 seconds and 4 git commands to generate.