]> git.pld-linux.org Git - SPECS.git/blob - ptsminer.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / ptsminer.spec
1 %define snap    20131203
2 %define rel     3
3 Summary:        Protoshares Pool Miner
4 Name:           ptsminer
5 Version:        0.1
6 Release:        0.%{snap}.%{rel}
7 License:        GPL v2
8 Group:          Applications/Networking
9 URL:            https://github.com/thbaumbach/ptsminer
10 Source0:        %{name}-%{snap}.tar.bz2
11 # Source0-md5:  72eec7618cf33166a598c7c6f835c763
12 BuildRequires:  boost-devel
13 BuildRequires:  pkgconfig >= 0.9.0
14 BuildRequires:  yasm >= 1.1.0
15 BuildRequires:  zlib-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 This is a miner for Bitcoin.
20
21 %prep
22 %setup -q -n %{name}
23
24 %build
25 %{__make} -C src -f makefile.unix
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29
30 install -d $RPM_BUILD_ROOT%{_bindir}
31
32 install src/ptsminer $RPM_BUILD_ROOT%{_bindir}/%{name}
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %doc README.md
40 %attr(755,root,root) %{_bindir}/%{name}
This page took 0.281482 seconds and 3 git commands to generate.