File powerprefs.spec of Package powerprefs

#
# spec file for package powerprefs (Version 0.8.0)
#
# 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:           powerprefs
BuildRequires:  gtk2-devel pbbuttonsd update-desktop-files
Url:            http://pbbuttons.berlios.de/projects/powerprefs/
Summary:        Configuration frontend for the PBButtons daemon
Version:        0.8.0
Release:        170
Group:          System/Management
License:        GPL v2 or later
Source:         %{name}-%{version}.tar.gz
Patch:          powerprefs-segfault.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch:  ppc ppc64 %ix86 x86_64

%description
This package contains a PBButtons Client: PowerPrefs.

This client is a program to make pbbuttonsd fully configurable through
a comfortable GUI.



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/powerprefs

%changelog
* Mon Oct 20 2008 schwab@suse.de
- Add ExclusiveArch.
* Thu Apr 19 2007 ro@suse.de
- prevent segfault in th_radiobutton
* Fri Feb 23 2007 schwab@suse.de
- Update to powerprefs 0.8.0.
  * increase version number to match pbbuttonsds version
  * move powerprefs to GNU gettext because the GLIB gettext
  API won't work with automake 2.60+
  * add ccdv.c to beautify the compile process
  * updated Spanish translation. Thanks to Gustavo Boksar Cámpora
  <gustavo@boksar.info>.
* Mon Oct 09 2006 schwab@suse.de
- Update to powerprefs 0.5.1.
  * fix compiler warning in msghandler.c
  * implement changes of pbbuttonsd client API
  * Change GUI to display brightness values in percent
  * Update GUI to handle new fading behaviour. Update
  tooltips as well.
  * react to two new sysflags and disable/enable trackpad
  mode and/or the third keyboard mode.
  * german language file updated
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Jul 10 2005 schwab@suse.de
- Update to powerprefs 0.5.0.
* Sun Mar 27 2005 schwab@suse.de
- Update to powerprefs 0.4.9.
* Sun Sep 19 2004 schwab@suse.de
- Initial version 0.4.6.
openSUSE Build Service is sponsored by