pavucontrol/pavucontrol.spec
Julian Sikorski a7eb978e1c Update to 5.0
- Update to 5.0
- Drop included patch
- Switch to rpmautospec
- Switch BuildRequires to pkgconfig(foo) where possible
2021-08-28 16:35:02 +02:00

57 lines
1.5 KiB
RPMSpec

Name: pavucontrol
Version: 5.0
Release: %autorelease
Summary: Volume control for PulseAudio
License: GPLv2+
URL: http://freedesktop.org/software/pulseaudio/%{name}
Source0: http://freedesktop.org/software/pulseaudio/%{name}/%{name}-%{version}.tar.xz
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
BuildRequires: intltool
BuildRequires: lynx
BuildRequires: make
BuildRequires: pkgconfig(gtkmm-3.0)
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(libcanberra-gtk3)
BuildRequires: pkgconfig(libpulse-mainloop-glib)
BuildRequires: pkgconfig(sigc++-2.0)
%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
%autosetup -p1
%build
%configure \
--disable-silent-rules
%make_build V=1
%install
%make_install V=1
rm $RPM_BUILD_ROOT/usr/share/doc/pavucontrol/README
rm $RPM_BUILD_ROOT/usr/share/doc/pavucontrol/README.html
rm $RPM_BUILD_ROOT/usr/share/doc/pavucontrol/style.css
%find_lang %{name}
%check
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/pavucontrol.desktop
%files -f %{name}.lang
%license LICENSE
%doc doc/README
%{_bindir}/pavucontrol
%{_datadir}/pavucontrol
%{_datadir}/applications/pavucontrol.desktop
%changelog
%autochangelog