File xfce4-volumed-pulse.spec of Package xfce4-volumed-pulse
#
# spec file for package xfce4-volumed-pulse
#
# Copyright (c) 2025 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define xfce_version 4.18.0
Name: xfce4-volumed-pulse
Version: 0.3.0
Release: 0
Summary: Volume keys control daemon for Xfce
License: GPL-3.0-only
URL: https://git.xfce.org/apps/xfce4-volumed-pulse/about/
Source0: https://archive.xfce.org/src/apps/xfce4-volumed-pulse/0.3/%{name}-%{version}.tar.xz
BuildRequires: meson >= 0.54.0
BuildRequires: pkgconfig(glib-2.0) >= 2.66.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.24.0
BuildRequires: pkgconfig(keybinder-3.0)
BuildRequires: pkgconfig(libnotify) >= 0.1.3
BuildRequires: pkgconfig(libpulse) >= 0.9.10
BuildRequires: pkgconfig(libxfce4ui-2) >= %{xfce_version}
BuildRequires: pkgconfig(libxfce4util-1.0) >= %{xfce_version}
BuildRequires: pkgconfig(libxfconf-0) >= %{xfce_version}
Requires: xfce4-mixer
%description
Xfce4-volumed is a volume keys control daemon for Xfce Desktop
environment. It controls the volume using multimedia keys, for the card
configured in xfce4-mixer. It also provides volume change
notifications.
%lang_package
%prep
%autosetup
%build
%meson
%meson_build
%install
%meson_install
%find_lang xfce4-volumed-pulse %{?no_lang_C}
%files
%license COPYING
%doc AUTHORS NEWS README THANKS TODO
%{_bindir}/xfce4-volumed-pulse
%dir %{_sysconfdir}/xdg/autostart/
%config %{_sysconfdir}/xdg/autostart/xfce4-volumed-pulse.desktop
%files lang -f xfce4-volumed-pulse.lang
%changelog