File asusfan.spec of Package asusfan

#
# spec file for package asusfan (Version 0.1)
#
# Copyright (c) 2010 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/
#

# norootforbuild


Name:           asusfan
BuildRequires:  xorg-x11-devel
Url:            http://www.consultmatt.co.uk/asusfan/
License:        GPLv2+
Group:          System/X11/Utilities
AutoReqProv:    on
Version:        0.1
Release:        190
Summary:        Fan Control for Nvidia-Based ASUS Graphics Cards
Source:         asusfan-0.1-nodocs.tar.bz2
Patch:          asusfan-0.1.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This command line tool allows you to control the speed of your graphics
card's fan, which usually runs at full speed under Linux. It has been
tested with V9999 and V9750TD models and may work with other cards as
well.



Authors:
--------
    Matt Wright

%prep
%setup -q
%patch -p1

%build
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}

%install
make install DESTDIR=$RPM_BUILD_ROOT
%{__rm} -f %{buildroot}%{_libdir}/*.la

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
/usr/bin/asusfan
%_libdir/libasus*

%changelog
openSUSE Build Service is sponsored by