File padevchooser.spec of Package padevchooser
#
# spec file for package padevchooser (Version 0.9.4)
#
# Copyright (c) 2009 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: padevchooser
Version: 0.9.4
Release: 132
Summary: PulseAudio Device Chooser
Group: Productivity/Multimedia/Sound/Utilities
License: GPL v2 or later
Url: http://0pointer.de/lennart/projects/padevchooser/
Source0: padevchooser-0.9.4.svn20070925.tar.gz
#Source0: http://0pointer.de/lennart/projects/padevchooser/padevchooser-%{version}.tar.gz
Source1: padevchooser.png
Patch: padevchooser-desktop-fix.diff
# PATCH-FIX-UPSTREAM padevchooser-no-symlinks.patch http://pulseaudio.org/ticket/279 rodrigo@novell.com
Patch1: padevchooser-no-symlinks.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++ gtk2-devel libnotify-devel libpulse-devel
BuildRequires: gconf2-devel libglade2-devel lynx update-desktop-files
BuildRequires: desktop-file-utils gnome-desktop-devel libgnomeui-devel
%description
PulseAudio Device Chooser (padevchooser) is a simple GTK tool which
registers an icon in the tray area and allows quick access to
some features of the PulseAudio sound server. Specifically it can
do for you: * Notify about new sink/sources becoming available on
the LAN
* Quickly change the default PulseAudio sink/source/server assigned
to the current X11 display, selecting devices available on the
LAN
* Start the auxiliary tools PulseAudio Volume Control, PulseAudio
Volume Meter, PulseAudio Manager, PulseAudio Preferences
Authors:
--------
Lennart Poettering <mzcnzna@0pointer.de>
%prep
%setup -q
%patch
%patch1 -p1
%build
%configure
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/pixmaps/
#mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome/autostart/
#cp $RPM_BUILD_ROOT%{_datadir}/applications/padevchooser.desktop $RPM_BUILD_ROOT%{_datadir}/gnome/autostart/padevchooser-autostart.desktop
%suse_update_desktop_file -r padevchooser AudioVideo Mixer
#suse_update_desktop_file -r $RPM_BUILD_ROOT%{_datadir}/gnome/autostart/padevchooser-autostart.desktop AudioVideo Audio Tuner
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc LICENSE doc/README
%{_bindir}/padevchooser
%{_datadir}/applications/padevchooser.desktop
%{_datadir}/pixmaps/padevchooser.png
%{_datadir}/padevchooser
#%{_datadir}/gnome/autostart/padevchooser-autostart.desktop
%changelog