2006-09-09 14:45:02 +00:00
|
|
|
Name: pavucontrol
|
2021-08-28 14:35:02 +00:00
|
|
|
Version: 5.0
|
|
|
|
Release: %autorelease
|
2006-09-09 14:45:02 +00:00
|
|
|
Summary: Volume control for PulseAudio
|
|
|
|
|
2007-09-05 00:30:52 +00:00
|
|
|
License: GPLv2+
|
2012-09-03 21:09:31 +00:00
|
|
|
URL: http://freedesktop.org/software/pulseaudio/%{name}
|
|
|
|
Source0: http://freedesktop.org/software/pulseaudio/%{name}/%{name}-%{version}.tar.xz
|
2022-03-28 20:32:19 +00:00
|
|
|
Source1: org.pulseaudio.pavucontrol.appdata.xml
|
2006-09-09 14:45:02 +00:00
|
|
|
|
|
|
|
BuildRequires: desktop-file-utils
|
2022-03-28 20:32:19 +00:00
|
|
|
BuildRequires: libappstream-glib
|
2021-08-28 14:35:02 +00:00
|
|
|
BuildRequires: gcc-c++
|
2008-09-09 13:31:17 +00:00
|
|
|
BuildRequires: intltool
|
2021-08-28 14:35:02 +00:00
|
|
|
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)
|
2006-09-09 14:45:02 +00:00
|
|
|
|
|
|
|
%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
|
2020-06-13 02:59:45 +00:00
|
|
|
%autosetup -p1
|
2006-09-09 14:45:02 +00:00
|
|
|
|
|
|
|
%build
|
2018-03-07 17:22:14 +00:00
|
|
|
%configure \
|
|
|
|
--disable-silent-rules
|
|
|
|
|
|
|
|
%make_build V=1
|
2006-09-09 14:45:02 +00:00
|
|
|
|
|
|
|
%install
|
2018-03-07 17:22:14 +00:00
|
|
|
%make_install V=1
|
2006-09-09 14:45:02 +00:00
|
|
|
|
2021-12-22 21:16:14 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_docdir}/pavucontrol/README
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_docdir}/pavucontrol/README.html
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_docdir}/pavucontrol/style.css
|
2009-03-05 13:49:45 +00:00
|
|
|
|
2008-10-09 05:52:31 +00:00
|
|
|
%find_lang %{name}
|
2006-09-09 14:45:02 +00:00
|
|
|
|
2022-03-28 20:32:19 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_metainfodir}
|
|
|
|
install -pm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_metainfodir}/
|
|
|
|
|
2015-03-24 18:09:18 +00:00
|
|
|
%check
|
|
|
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/pavucontrol.desktop
|
2022-03-28 20:32:19 +00:00
|
|
|
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_metainfodir}/org.pulseaudio.pavucontrol.appdata.xml
|
2015-03-24 18:09:18 +00:00
|
|
|
|
2008-10-09 05:52:31 +00:00
|
|
|
%files -f %{name}.lang
|
2015-03-24 18:05:23 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc doc/README
|
2006-09-09 14:45:02 +00:00
|
|
|
%{_bindir}/pavucontrol
|
|
|
|
%{_datadir}/pavucontrol
|
|
|
|
%{_datadir}/applications/pavucontrol.desktop
|
2022-03-28 20:32:19 +00:00
|
|
|
%{_metainfodir}/org.pulseaudio.pavucontrol.appdata.xml
|
2006-09-09 14:45:02 +00:00
|
|
|
|
|
|
|
%changelog
|
2021-08-28 14:35:02 +00:00
|
|
|
%autochangelog
|