Add AppStream metadata
This commit is contained in:
parent
1318a274ed
commit
e4b382799e
@ -1,3 +1,6 @@
|
||||
* Mon Mar 28 2022 Daniel Rusek <mail@asciiwolf.com> - 4.0-8
|
||||
- Add AppStream metadata
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
|
43
org.pulseaudio.pavucontrol.appdata.xml
Normal file
43
org.pulseaudio.pavucontrol.appdata.xml
Normal file
@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2019 Endless Mobile -->
|
||||
<component type="desktop-application">
|
||||
<id>org.pulseaudio.pavucontrol</id>
|
||||
<translation type="gettext">pavucontrol</translation>
|
||||
<launchable type="desktop-id">pavucontrol.desktop</launchable>
|
||||
<name>PulseAudio Volume Control</name>
|
||||
<summary>Adjust the volume level of hardware devices and applications</summary>
|
||||
<description>
|
||||
<p>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.</p>
|
||||
</description>
|
||||
<provides>
|
||||
<id>pavucontrol.desktop</id>
|
||||
</provides>
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<caption>The “Playback” tab</caption>
|
||||
<image type="source" width="1600" height="900">https://freedesktop.org/software/pulseaudio/pavucontrol/screenshots/pavucontrol-playback.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>The “Recording” tab</caption>
|
||||
<image type="source" width="1600" height="900">https://freedesktop.org/software/pulseaudio/pavucontrol/screenshots/pavucontrol-record.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>The “Output” tab</caption>
|
||||
<image type="source" width="1600" height="900">https://freedesktop.org/software/pulseaudio/pavucontrol/screenshots/pavucontrol-output.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>The “Input” tab</caption>
|
||||
<image type="source" width="1600" height="900">https://freedesktop.org/software/pulseaudio/pavucontrol/screenshots/pavucontrol-input.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>The “Configuration” tab</caption>
|
||||
<image type="source" width="1600" height="900">https://freedesktop.org/software/pulseaudio/pavucontrol/screenshots/pavucontrol-config.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
<content_rating type="oars-1.1"/>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-2.0+</project_license>
|
||||
<url type="homepage">https://freedesktop.org/software/pulseaudio/pavucontrol/</url>
|
||||
<url type="bugtracker">https://gitlab.freedesktop.org/pulseaudio/pavucontrol/issues</url>
|
||||
<update_contact>https://gitlab.freedesktop.org/pulseaudio/pavucontrol/issues/new</update_contact>
|
||||
</component>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user