File xfce4-volumed.spec of Package xfce4-volumed
#
# spec file for package xfce4-volumed
#
# Copyright (c) 2018 SUSE LINUX 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: @SERVICE@
Release: 0
Summary: Daemon Providing Support for Sound Volume Keys
License: GPL-3.0-or-later
Group: Productivity/Multimedia/Sound/Utilities
URL: http://git.xfce.org/apps/xfce4-volumed
Source: %{name}-%{version}.tar.bz2
Patch1: xfce4-mixer-alsa.patch
BuildRequires: alsa-devel
BuildRequires: automake
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: xfce4-dev-tools
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(keybinder)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libxfconf-0)
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
%patch1 -p1
%build
NOCONFIGURE=1 ./autogen.sh
%configure \
--enable-maintainer-mode \
--with-libnotify
make %{?_smp_mflags}
%install
%make_install
%suse_update_desktop_file xfce4-volumed
%files
%doc AUTHORS COPYING ChangeLog README THANKS
%config %{_sysconfdir}/xdg/autostart/xfce4-volumed.desktop
%{_bindir}/xfce4-volumed
%changelog