Remove no longer required AppData files

This commit is contained in:
Richard Hughes 2015-09-18 11:58:46 +01:00
parent a7c1a2eed7
commit 2bb202ee6d

View File

@ -25,7 +25,7 @@
Summary: Specialist tools for ALSA
Name: alsa-tools
Version: 1.0.29
Release: 4%{?dist}
Release: 5%{?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,53 +163,6 @@ 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
@ -240,7 +193,6 @@ 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
@ -281,6 +233,9 @@ install -m 644 %{SOURCE5} %{buildroot}/lib/udev/rules.d
%endif
%changelog
* Fri Sep 18 2015 Richard Hughes <rhughes@redhat.com> - 1.0.29-5
- Remove no longer required AppData files
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.29-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild