File pavucontrol.spec of Package pavucontrol

#
# spec file for package pavucontrol (Version 0.9.10)
#
# Copyright (c) 2010 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:           pavucontrol
BuildRequires:  gcc-c++
BuildRequires:  intltool
BuildRequires:  libcanberra-devel
BuildRequires:  libcanberra-gtk
BuildRequires:  libglademm-devel
BuildRequires:  libpulse-devel
BuildRequires:  libsndfile-devel
BuildRequires:  update-desktop-files
Summary:        PulseAudio Volume Control
Version:        0.9.10
Release:        1.<RELEASE1>
License:        GPLv2+
Group:          Productivity/Multimedia/Sound/Mixers
Url:            http://0pointer.de/lennart/projects/pavucontrol/
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
PulseAudio Volume Control (pavucontrol) is a simple GTK based volume
control tool ("mixer") for the PulseAudio sound server. In contrast to
classic mixer tools this one allows you to control both the volume of
hardware devices and of each playback stream separately.

%prep
%setup -q

%build
%configure --disable-lynx
%__make %{?jobs:-j%jobs}

%install
%makeinstall
%{find_lang} %{name}
%suse_update_desktop_file %{name}
# This is documentation we prefer to have in the package doc directory
rm -r %{buildroot}%{_datadir}/doc/pavucontrol

%clean
rm -rf $RPM_BUILD_ROOT

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

%changelog
openSUSE Build Service is sponsored by