[packages/cpuminer] - initial

arekm arekm at pld-linux.org
Thu Jun 27 14:34:24 CEST 2013


commit 595a5847655f4c926381ccbf9499342bdf15ae83
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Jun 27 14:34:12 2013 +0200

    - initial

 cpuminer.spec | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
---
diff --git a/cpuminer.spec b/cpuminer.spec
new file mode 100644
index 0000000..4d0016f
--- /dev/null
+++ b/cpuminer.spec
@@ -0,0 +1,43 @@
+Summary:	CPU miner for Litecoin and Bitcoin
+Name:		cpuminer
+Version:	2.3.1
+Release:	1
+License:	GPL v2
+Group:		Applications/Networking
+Source0:	http://downloads.sourceforge.net/cpuminer/pooler-%{name}-%{version}.tar.gz
+# Source0-md5:	32c73ee5c5d84886f299f8bc7517f86a
+URL:		https://bitcointalk.org/index.php?topic=55038.0
+BuildRequires:	curl-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a CPU miner for Litecoin and Bitcoin.
+
+%prep
+%setup -q
+
+%build
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+%{__make} install \
+	DESTDIR="$RPM_BUILD_ROOT" \
+	bindir=%{_libdir}/%{name}
+
+ln -s %{_libdir}/%{name}/%{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README NEWS
+%attr(755,root,root) %{_bindir}/%{name}
+%dir %{_libdir}/%{name}
+%attr(755,root,root) %{_libdir}/%{name}/minerd
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cpuminer.git/commitdiff/595a5847655f4c926381ccbf9499342bdf15ae83



More information about the pld-cvs-commit mailing list