Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:cabelo
cpuminer-multi-legacy
cpuminer-multi-legacy.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cpuminer-multi-legacy.spec of Package cpuminer-multi-legacy
# # spec file for package modoki # # Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: cpuminer-multi-legacy Version: 1.3.5 Release: 1.1 License: GPL-3 Packager: Alessandro de Oliveira Faria (A.K.A CABELO) <cabelo@opensuse.org> Summary: CPUMiner of the Cryptocurrency URL: https://github.com/cabelo/cpuminer-multi Source0: %{name}-%{version}.tar.gz Group: Productivity/Networking/Web/Servers #BuildRequires: fdupes BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: -post-build-checks -rpmlint-Factory -rpmlint-mini -rpmlint BuildRequires: gcc-c++, make, libcurl-devel, automake, libgcrypt-devel %if 0%{?suse_version} || 0%{?sles_version} BuildRequires: libopenssl-devel, libjansson-devel Requires: libcurl4 libjansson4 %else BuildRequires: jansson-devel, openssl-devel Requires: libcurl jansson %endif %description This is a multi-threaded CPU miner (without AES flag processor), fork of pooler's cpuminer. %prep #cd $RPM_SOURCE_DIR #if [ -s %{name}.tar.gz ] ; then # if [ -d %{name} ] ; then rm -rf %{name} ; fi # tar zxf %{name}.tar.gz #else # if [ -f %{name}-git.tar.gz ] ; then # if [ -d %{name} ] ; then rm -rf modoki ; fi # mkdir %{name} # cd %{name} # tar zxf ../%{name}-git.tar.gz --strip=1 # elif [ -d %{name} ] ; then # cd %{name} # git pull # cd .. # else # git clone https://github.com/lucasjones/cpuminer-multi # fi #fi %setup -q %build #ls -l ./autogen.sh %configure -disable-aes-ni #ls -l export CPPFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="%{optflags} $(getconf LFS_CFLAGS)" #CFLAGS="-march=native" ./configure --disable-aes-ni make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install mv %{buildroot}/usr/bin/minerd %{buildroot}/usr/bin/minerd-legacy mv %{buildroot}/usr/share/man/man1/minerd.1 %{buildroot}/usr/share/man/man1/minerd-legacy.1 %files %{_prefix}/bin/* %{_prefix}/share/man/man1/* %clean %post %postun %changelog * Mon Dec 03 2017 - cabelo (at) opensuse.org 1.0.3 - Initial version
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor