File asusfan.spec of Package asusfan

#
# spec file for package asusfan (Version 0.1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# 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:        112
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

%install
make install DESTDIR=$RPM_BUILD_ROOT

%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
* 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)
openSUSE Build Service is sponsored by