File paprefs.spec of Package paprefs

#
# spec file for package paprefs (Version 0.9.6)
#
# Copyright (c) 2008 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:           paprefs
BuildRequires:  gcc-c++ gconfmm-devel intltool libglademm-devel libpulse-devel update-desktop-files
Summary:        PulseAudio Preferences
Version:        0.9.6
Release:        52
License:        GPL v2 or later
Group:          Productivity/Multimedia/Sound/Utilities
Url:            http://0pointer.de/lennart/projects/paprefs/
Source:         %{name}-%{version}.tar.bz2
Source1:        paprefs.png
Patch:          paprefs-desktop-fix.diff
Patch1:         paprefs-0.9.6-libintl-fix.diff
Patch2:		paprefs-speaker-setup.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
PulseAudio Preferences (paprefs) is a simple GTK based configuration
dialog for the PulseAudio sound server.

Please note that this program can only configure local servers, and
requires that a special module module-gconf is loaded in the sound
server.



Authors:
--------
    Lennart Poettering <mzcnzna@0pointer.de>

%prep
%setup -q
%patch
%patch1
%patch2

%build
autoreconf -fi
%configure --disable-lynx
make

%install
%makeinstall
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/pixmaps
%suse_update_desktop_file %{name} AudioVideo SystemSetup Music
%find_lang %{name}

%clean
test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root)
%doc doc/README doc/README.html
%doc LICENSE
%{_bindir}/*
%{_datadir}/paprefs
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/*.png

%changelog
* Fri Jan 11 2008 - rodrigo@suse.de
- Depend on libpulse-devel, not pulseaudio-devel
* Mon Nov 05 2007 - tiwai@suse.de
- add missing inclusion of libintl.h
* Wed Oct 31 2007 - tiwai@suse.de
- updated to version 0.9.6:
  * rework UI
  * add support to enable automatic zeroconf discovery
  * automatic device combination
  * i18n support
* Wed Jun 13 2007 - tiwai@suse.de
- initial version: 0.9.5
openSUSE Build Service is sponsored by