File spicctrl.spec of Package spicctrl

#
# spec file for package spicctrl (Version 1.8)
#
# Copyright (c) 2006 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:           spicctrl
Version:        1.8
Release:        36
Summary:        Control LCD Brightness and Bluetooth Power on Sony Vaio Laptops
License:        GNU General Public License (GPL)
Group:          Hardware/Other
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
URL:            http://popies.net/sonypi/
Autoreqprov:    on
Source0:        spicctrl-%{version}.tar.bz2

%description
spicctrl is a utility that uses the Sony Programmable I/O Control
device (SPIC), which is part of most Sony Vaio laptops, to perform
several functions, such as changing the display brightness, controlling
Bluetooth power, or reporting battery status.



Authors:
--------
    Stelian Pop <stelian@popies.net>
    Jean Delvare <khali@linux-fr.org>
    David Robinson <drtr@enjura.com>
    Richard Bullington-McGuire <rbulling@pkrinternet.com>

%prep
%setup0

%build
make CFLAGS="$RPM_OPT_FLAGS"

%install
make install PREFIX=%buildroot/usr DESTMAN=%buildroot/%_mandir/man1 DESTDOC=%buildroot/%_docdir/%name

%files
%defattr(-,root,root)
/usr/bin/spicctrl
%doc %_mandir/man1/spicctrl.1*
%doc %_docdir/%name

%clean
[ "%{buildroot}" != "/" ] && [ -d %{buildroot} ] && rm -rf %{buildroot}

%changelog -n spicctrl
* Fri Dec 22 2006 - ro@suse.de
- removed apmd from buildreq (dropped package)
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Sep 29 2005 - dmueller@suse.de
- add norootforbuild
* Wed Jun 15 2005 - uli@suse.de
- update -> 1.8 (methods to get/set the FAN status and to get the
  current temperature)
* Mon Aug 23 2004 - uli@suse.de
- initial package