pavucontrol/pavucontrol.spec

64 lines
1.8 KiB
RPMSpec
Raw Normal View History

Name: pavucontrol
Version: 5.0
Release: %autorelease
Summary: Volume control for PulseAudio
2007-09-05 00:30:52 +00:00
License: GPLv2+
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
BuildRequires: desktop-file-utils
2022-03-28 20:32:19 +00:00
BuildRequires: libappstream-glib
BuildRequires: gcc-c++
2008-09-09 13:31:17 +00:00
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 -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}
2022-03-28 20:32:19 +00:00
mkdir -p $RPM_BUILD_ROOT%{_metainfodir}
install -pm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_metainfodir}/
%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
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
%{_bindir}/pavucontrol
%{_datadir}/pavucontrol
%{_datadir}/applications/pavucontrol.desktop
2022-03-28 20:32:19 +00:00
%{_metainfodir}/org.pulseaudio.pavucontrol.appdata.xml
%changelog
%autochangelog