]> git.pld-linux.org Git - packages/cpuminer.git/commitdiff
- initial auto/th/cpuminer-2.3.1-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 27 Jun 2013 12:34:12 +0000 (14:34 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 27 Jun 2013 12:34:12 +0000 (14:34 +0200)
cpuminer.spec [new file with mode: 0644]

diff --git a/cpuminer.spec b/cpuminer.spec
new file mode 100644 (file)
index 0000000..4d0016f
--- /dev/null
@@ -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
This page took 0.051824 seconds and 4 git commands to generate.