File cgminer.spec of Package cgminer

#
# spec file for package cgminer
#
# Copyright (c) 2013 Bernhard M. Wiedemann
#
# 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:           cgminer
Version:        3.3.1
Release:        0
Summary:        GPU, FPGA and ASIC bitcoin miner
License:        GPL-3.0+
Group:          Hardware/Other
Url:            https://github.com/ckolivas/cgminer
Source0:        %name.tar.gz
#Requires:       
BuildRequires:  autoconf automake pkg-config curl-devel ncurses-devel libusb-1_0-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
cgminer is a bitcoin miner with support for GPU, FPGA and ASIC hardware

%prep
%setup -n %name

%build
autoreconf -if
%configure --enable-icarus --disable-opencl --disable-adl
make %{?_smp_mflags}

%install
make install DESTDIR=$RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/cgminer
%{_bindir}/*.cl

%changelog
openSUSE Build Service is sponsored by