File paman.spec of Package paman

#
# spec file for package paman (Version 0.9.4)
#
# 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:           paman
BuildRequires:  gcc-c++ libglademm-devel libpulse-devel update-desktop-files
Summary:        PulseAudio Manager
Version:        0.9.4
Release:        4
License:        GPL v2 or later
Group:          Productivity/Multimedia/Sound/Utilities
Url:            http://0pointer.de/lennart/projects/paman/
Source:         %{name}-%{version}.tar.bz2
Source1:        paman.png
Patch:          paman-desktop-fix.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
PulseAudio Manager (paman) is a simple GTK frontend for the PulseAudio
sound server.



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

%prep
%setup -q
%patch

%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 Mixer

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

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

%changelog
* Fri Jan 11 2008 - rodrigo@suse.de
- Depend on libpulse-devel, not pulseaudio-devel
* Fri Jan 04 2008 - rodrigo@suse.de
- Updated to version 0.9.4:
  * Build fixes
  * Licensing update in all source files
  * Minor UI tweaks
  * Move sink input/source list items if they are moved between
  sinks/sources.
- Changed source to a tar.bz2
* Wed Nov 21 2007 - cyberorg@cyberorg.info
- Initial spec for openSUSE based on Fedora 8 package
* Wed Jun 13 2007 - tiwai@suse.de
- initial version: 0.9.3