File gtkpbbuttons.spec of Package gtkpbbuttons

#
# spec file for package gtkpbbuttons (Version 0.6.10)
#
# Copyright (c) 2008 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/
#



Name:           gtkpbbuttons
BuildRequires:  audiofile-devel gtk2-devel pbbuttonsd popt-devel update-desktop-files
Url:            http://pbbuttons.berlios.de/projects/gtkpbbuttons/
Summary:        Graphical PBButtons Client
Version:        0.6.10
Release:        138
Group:          System/Daemons
License:        GPL v2 or later
Source:         %{name}-%{version}.tar.gz
Patch:          %{name}-%{version}.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch:  ppc ppc64 %ix86 x86_64

%description
This package contains a PBButtons Client: GTKPBButtons.

This client for pbbuttonsd displays small pop-up windows each time a
message from the daemon pbbuttonsd appears. The view of each pop-up can
be individually configured. The following windows could pop up:

- brightness level The current display brightness level would be
   displayed.

- keyboard illumination level The current keyboard brightness level
   would be displayed.

- volume level The current volume level would be displayed

- mute The window shows if the speakers were muted.

- battery warning This window shows that battery is running low and
   how long it would last until shutdown. The last warning level
   indicates that the machine will be shut down immediately to save
   data integrity.

- sleep warning This windows shows that the computer is going to
   enter sleep mode.

- trackpad This window shows the current trackpad operating mode.

- ejecting CD-ROM This window signals that a CD-ROM will be ejected
   or why it cannot be.

The window appears after someone has pressed one of the special keys or
an event message has been received. After approximately two seconds
without any changes, the pop-up window vanishes again.



Authors:
--------
    Matthias Grimm <matthiasgrimm@users.sourceforge.net>

%prep
%setup -q
%patch

%build
./configure CFLAGS="$RPM_OPT_FLAGS" --prefix=/usr --mandir=%{_mandir}
make

%install
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %name

%clean
rm -fr $RPM_BUILD_ROOT

%files -f %name.lang
%defattr(-, root, root)
/usr/bin/*
%{_mandir}/man?/*.gz
/usr/share/gtkpbbuttons

%changelog
* Mon Oct 20 2008 schwab@suse.de
- Add ExclusiveArch.
* Mon Jul 09 2007 schwab@suse.de
- Update to gtkpbbuttons 0.6.10.
  * no sound if started as daemon - fixed.
  * update source to compile with autotools 1.9.
  * update copyright notice
* Mon Oct 09 2006 schwab@suse.de
- Update to gtkpbbuttons 0.6.9.
  * fix a possible seqfault
  * correct display if no backlight controler is available
  * fix a bug in session handling.
  * LCD and keyboard max values increased to 100 becasue since version
  0.7.9 pbbuttonsd sends values in percent.
* Mon Jun 05 2006 schwab@suse.de
- Don't keep audio device open.
- Don't clobber CFLAGS.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jul 07 2005 schwab@suse.de
- Update to gtkpbbuttons 0.6.8.
* Wed May 04 2005 schwab@suse.de
- Update to gtkpbbuttons 0.6.7.
* Sun Apr 17 2005 schwab@suse.de
- Add audiofile-devel to nfb.
* Mon Apr 11 2005 schwab@suse.de
- Update to gtkpbbuttons 0.6.6.
* Fri Apr 08 2005 schwab@suse.de
- Fix for new libpbbipc API.
* Thu Jan 27 2005 schwab@suse.de
- Update to gtkpbbuttons 0.6.5.
* Sun Sep 19 2004 schwab@suse.de
- Initial version 0.6.4.
openSUSE Build Service is sponsored by