]> git.pld-linux.org Git - packages/cpuminer.git/blob - cpuminer.spec
efa09285a67ca95d738243b685436053fae31405
[packages/cpuminer.git] / cpuminer.spec
1 Summary:        CPU miner for Litecoin and Bitcoin
2 Name:           cpuminer
3 Version:        2.3.2
4 Release:        1
5 License:        GPL v2
6 Group:          Applications/Networking
7 Source0:        http://downloads.sourceforge.net/cpuminer/pooler-%{name}-%{version}.tar.gz
8 # Source0-md5:  fdb6b92957bc9a500cce4c2cce8dd937
9 URL:            https://bitcointalk.org/index.php?topic=55038.0
10 BuildRequires:  curl-devel
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 This is a CPU miner for Litecoin and Bitcoin.
15
16 %prep
17 %setup -q
18
19 %build
20 %configure
21
22 %{__make}
23
24 %install
25 rm -rf $RPM_BUILD_ROOT
26
27 install -d $RPM_BUILD_ROOT%{_bindir}
28
29 %{__make} install \
30         DESTDIR="$RPM_BUILD_ROOT" \
31         bindir=%{_libdir}/%{name}
32
33 ln -s %{_libdir}/%{name}/minerd $RPM_BUILD_ROOT%{_bindir}/%{name}
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %doc AUTHORS ChangeLog README NEWS
41 %attr(755,root,root) %{_bindir}/%{name}
42 %dir %{_libdir}/%{name}
43 %attr(755,root,root) %{_libdir}/%{name}/minerd
This page took 0.037164 seconds and 2 git commands to generate.