File asusfan.spec of Package asusfan
#
# spec file for package asusfan (Version 0.1)
#
# Copyright (c) 2009 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: GPL v2 or later
Group: System/X11/Utilities
AutoReqProv: on
Version: 0.1
Release: 182
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
* Wed Jan 28 2009 crrodriguez@suse.de
- remove "la" file with empty dependency_libs
* Thu Dec 27 2007 crrodriguez@suse.de
- fix library-without-ldconfig-post* errors
- remove useless static library
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Dec 07 2005 uli@suse.de
- fixed format string (bug #137380)
* Thu Sep 29 2005 dmueller@suse.de
- add norootforbuild
* Tue May 17 2005 uli@suse.de
- initial package
- removed datasheet from source tarball (not redistributable)