File paprefs.spec of Package paprefs
#
# spec file for package paprefs (Version 0.9.7)
#
# 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/
#
# norootforbuild
Name: paprefs
BuildRequires: gcc-c++ gconfmm-devel intltool libglademm-devel libpulse-devel update-desktop-files
Summary: PulseAudio Preferences
Version: 0.9.7
Release: 1
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
# PATCH-FIX-UPSTREAM paprefs-speaker-setup.patch http://pulseaudio.org/ticket/164
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
* Mon Sep 15 2008 rodrigo@suse.de
- Update to version 0.9.7 (fate#303943):
+ Explicitly include libintl.h for FreeBSD compat
+ Modernize bootstrap.sh
+ Revert accidental license change
+ Minor updates
+ Updated translations
* Mon Jun 02 2008 rodrigo@suse.de
- Upstream patch that hadn't been upstreamed
* Wed May 14 2008 rodrigo@suse.de
- Added paprefs-speaker-setup.patch to add a GUI for setting
different speaker setups (bnc#381686)
* 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