]>
Commit | Line | Data |
---|---|---|
4ffb1fcd AM |
1 | Summary: Bitcoin is a peer-to-peer currency |
2 | Name: bitcoin | |
3 | Version: 0.3.21 | |
4 | Release: 0.1 | |
5 | License: MIT/X11 | |
6 | Group: X11/Applications | |
7 | Source0: http://downloads.sourceforge.net/bitcoin/%{name}-%{version}-linux.tar.gz | |
8 | # Source0-md5: 19e530a9b60e3a0987998a87b30d8cdc | |
9 | URL: http://www.bitcoin.org | |
10 | BuildRequires: boost-devel | |
11 | BuildRequires: miniupnpc-devel | |
12 | BuildRequires: openssl-devel | |
13 | BuildRequires: wxGTK2-unicode-devel | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | Bitcoin is a peer-to-peer currency. Peer-to-peer means that no central | |
18 | authority issues new money or tracks transactions. These tasks are | |
19 | managed collectively by the network. | |
20 | ||
21 | %prep | |
22 | %setup -q | |
23 | ||
24 | %build | |
25 | %{__make} -C src -f makefile.unix \ | |
26 | CXX="%{__cxx}" \ | |
27 | WXINCLUDEPATHS="$(wx-gtk2-unicode-config --cxxflags)" \ | |
28 | WXLIBS="$(wx-gtk2-unicode-config --libs)" \ | |
29 | USE_UPNP=1 \ | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | ||
34 | %clean | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %files -f %{name}.lang | |
38 | %defattr(644,root,root,755) | |
39 | %attr(755,root,root) %{_bindir}/* |