Add an AppData file for the software center
This commit is contained in:
parent
0252a817cc
commit
67d746d45e
@ -25,7 +25,7 @@
|
||||
Summary: Specialist tools for ALSA
|
||||
Name: alsa-tools
|
||||
Version: 1.0.29
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
|
||||
# Checked at least one source file from all the sub-projects contained in
|
||||
# the source tarball and they are consistent GPLv2+ - TJ 2007-11-15
|
||||
@ -163,6 +163,53 @@ do
|
||||
fi
|
||||
done
|
||||
|
||||
# Merge applications into one software center item
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
|
||||
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/echomixer.appdata.xml <<EOF
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
|
||||
<component type="desktop">
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<id>echomixer.desktop</id>
|
||||
<metadata>
|
||||
<value key="X-Merge-With-Parent">hwmixvolume.desktop</value>
|
||||
</metadata>
|
||||
</component>
|
||||
EOF
|
||||
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/envy24control.appdata.xml <<EOF
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
|
||||
<component type="desktop">
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<id>envy24control.desktop</id>
|
||||
<metadata>
|
||||
<value key="X-Merge-With-Parent">hwmixvolume.desktop</value>
|
||||
</metadata>
|
||||
</component>
|
||||
EOF
|
||||
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/hdspconf.appdata.xml <<EOF
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
|
||||
<component type="desktop">
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<id>hdspconf.desktop</id>
|
||||
<metadata>
|
||||
<value key="X-Merge-With-Parent">hwmixvolume.desktop</value>
|
||||
</metadata>
|
||||
</component>
|
||||
EOF
|
||||
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/hdspmixer.appdata.xml <<EOF
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
|
||||
<component type="desktop">
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<id>hdspmixer.desktop</id>
|
||||
<metadata>
|
||||
<value key="X-Merge-With-Parent">hwmixvolume.desktop</value>
|
||||
</metadata>
|
||||
</component>
|
||||
EOF
|
||||
|
||||
# convert hotplug stuff to udev
|
||||
rm -f %{buildroot}/lib/udev/tascam_fw.usermap
|
||||
mkdir -p %{buildroot}/lib/udev/rules.d
|
||||
@ -193,6 +240,7 @@ install -m 644 %{SOURCE5} %{buildroot}/lib/udev/rules.d
|
||||
%{_bindir}/us428control
|
||||
%{_bindir}/hda-verb
|
||||
%{_bindir}/hdajackretask
|
||||
%{_datadir}/appdata/*.appdata.xml
|
||||
%{_datadir}/applications/echomixer.desktop
|
||||
%{_datadir}/applications/envy24control.desktop
|
||||
%{_datadir}/applications/hdspconf.desktop
|
||||
@ -233,6 +281,9 @@ install -m 644 %{SOURCE5} %{buildroot}/lib/udev/rules.d
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 1.0.29-2
|
||||
- Add an AppData file for the software center
|
||||
|
||||
* Thu Feb 26 2015 Jaroslav Kysela <perex@perex.cz> - 1.0.29-1
|
||||
- updated to 1.0.29
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user