File xfce4-volumed.spec of Package xfce4-volumed
#
# spec file for package xfce4-volumed
#
# Copyright (c) 2011 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/
#
Name: xfce4-volumed
Version: 0.1.11
Release: 3
License: GPLv3+
Summary: Daemon providing support for sound volume keys
Url: http://launchpad.net/xfce4-volumed
Group: Productivity/Multimedia/Sound/Utilities
Source: %{name}-%{version}.tar.bz2
Patch0: xfce4-volumed-0.1.11-honor-cflags.patch
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gstreamer-0.10)
BuildRequires: pkgconfig(gstreamer-audio-0.10)
BuildRequires: pkgconfig(keybinder)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libxfconf-0)
BuildRequires: xfce4-dev-tools
BuildRequires: update-desktop-files
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Recommends: xfce4-mixer
%description
xfce4-volumed is a daemon providing support for sound volume keys present on
some keyboards. It can also display notifications on sound volume change and
mute using a notification server.
%prep
%setup -q -c %{name}-%{version}
%patch0 -p1
%build
touch config.h.in
./autogen.sh
%configure
make %{?_smp_mflags}
%install
%make_install
%suse_update_desktop_file xfce4-volumed
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README THANKS
%config %{_sysconfdir}/xdg/autostart/xfce4-volumed.desktop
%{_bindir}/xfce4-volumed
%changelog