diff --git a/changelog b/changelog index f730a37..fdd0d53 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,6 @@ +* Mon Mar 28 2022 Daniel Rusek - 4.0-8 +- Add AppStream metadata + * Thu Jul 22 2021 Fedora Release Engineering - 4.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/org.pulseaudio.pavucontrol.appdata.xml b/org.pulseaudio.pavucontrol.appdata.xml new file mode 100644 index 0000000..eee5255 --- /dev/null +++ b/org.pulseaudio.pavucontrol.appdata.xml @@ -0,0 +1,43 @@ + + + + org.pulseaudio.pavucontrol + pavucontrol + pavucontrol.desktop + PulseAudio Volume Control + Adjust the volume level of hardware devices and applications + +

PulseAudio Volume Control (pavucontrol) is a 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.

+
+ + pavucontrol.desktop + + + + The “Playback” tab + https://freedesktop.org/software/pulseaudio/pavucontrol/screenshots/pavucontrol-playback.png + + + The “Recording” tab + https://freedesktop.org/software/pulseaudio/pavucontrol/screenshots/pavucontrol-record.png + + + The “Output” tab + https://freedesktop.org/software/pulseaudio/pavucontrol/screenshots/pavucontrol-output.png + + + The “Input” tab + https://freedesktop.org/software/pulseaudio/pavucontrol/screenshots/pavucontrol-input.png + + + The “Configuration” tab + https://freedesktop.org/software/pulseaudio/pavucontrol/screenshots/pavucontrol-config.png + + + + CC0-1.0 + GPL-2.0+ + https://freedesktop.org/software/pulseaudio/pavucontrol/ + https://gitlab.freedesktop.org/pulseaudio/pavucontrol/issues + https://gitlab.freedesktop.org/pulseaudio/pavucontrol/issues/new +
diff --git a/pavucontrol.spec b/pavucontrol.spec index d63da2d..9c7f121 100644 --- a/pavucontrol.spec +++ b/pavucontrol.spec @@ -6,8 +6,10 @@ 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 +Source1: org.pulseaudio.pavucontrol.appdata.xml BuildRequires: desktop-file-utils +BuildRequires: libappstream-glib BuildRequires: gcc-c++ BuildRequires: intltool BuildRequires: lynx @@ -42,8 +44,12 @@ rm -f $RPM_BUILD_ROOT%{_docdir}/pavucontrol/style.css %find_lang %{name} +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 +appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_metainfodir}/org.pulseaudio.pavucontrol.appdata.xml %files -f %{name}.lang %license LICENSE @@ -51,6 +57,7 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/pavucontrol.deskto %{_bindir}/pavucontrol %{_datadir}/pavucontrol %{_datadir}/applications/pavucontrol.desktop +%{_metainfodir}/org.pulseaudio.pavucontrol.appdata.xml %changelog %autochangelog