rhughes pushed to gstreamer1-plugins-bad-free (master). "Register as an AppStream component"
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu Mar 26 10:17:00 UTC 2015
>From b9fec2f18a1fe0ea98befd437504eaf1a8db8fc5 Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard at hughsie.com>
Date: Thu, 26 Mar 2015 10:14:23 +0000
Subject: Register as an AppStream component
diff --git a/gstreamer1-plugins-bad-free.spec b/gstreamer1-plugins-bad-free.spec
index 9dd70b7..2e9c80b 100644
--- a/gstreamer1-plugins-bad-free.spec
+++ b/gstreamer1-plugins-bad-free.spec
@@ -10,7 +10,7 @@
Name: gstreamer1-plugins-bad-free
Version: 1.4.5
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: GStreamer streaming media framework "bad" plugins
License: LGPLv2+ and LGPLv2
@@ -171,6 +171,47 @@ make %{?_smp_mflags}
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
+# Register as an AppStream component to be visible in the software center
+#
+# NOTE: It would be *awesome* if this file was maintained by the upstream
+# project, translated and installed into the right place during `make install`.
+#
+# See http://www.freedesktop.org/software/appstream/docs/ for more details.
+#
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
+cat > $RPM_BUILD_ROOT%{_datadir}/appdata/gstreamer-bad-free.appdata.xml <<EOF
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2013 Richard Hughes <richard at hughsie.com> -->
+<component type="codec">
+ <id>gstreamer-bad-free</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <name>GStreamer Multimedia Codecs - Extra</name>
+ <description>
+ <p>
+ This addon includes several additional codecs that are missing
+ something - perhaps a good code review, some documentation, a set of
+ tests, a real live maintainer, or some actual wide use.
+ However, they might be good enough to play your media files.
+ </p>
+ <p>
+ These codecs can be used to encode and decode media files where the
+ format is not patent encumbered.
+ </p>
+ <p>
+ A codec decodes audio and video for for playback or editing and is also
+ used for transmission or storage.
+ Different codecs are used in video-conferencing, streaming media and
+ video editing applications.
+ </p>
+ </description>
+ <url type="homepage">http://gstreamer.freedesktop.org/</url>
+ <url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer</url>
+ <url type="help">http://gstreamer.freedesktop.org/documentation/</url>
+ <url type="donation">http://www.gnome.org/friends/</url>
+ <update_contact><!-- upstream-contact_at_email.com --></update_contact>
+</component>
+EOF
+
%find_lang gst-plugins-bad-%{majorminor}
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
# Kill rpath
@@ -187,6 +228,7 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstcamerab
%files -f gst-plugins-bad-%{majorminor}.lang
%doc AUTHORS COPYING COPYING.LIB README REQUIREMENTS
+%{_datadir}/appdata/*.appdata.xml
%{_libdir}/libgstbasecamerabinsrc-%{majorminor}.so.*
%{_libdir}/libgstbadbase-%{majorminor}.so.*
%{_libdir}/libgstbadvideo-%{majorminor}.so.*
@@ -345,6 +387,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstcamerab
%{_libdir}/pkgconfig/gstreamer-plugins-bad-%{majorminor}.pc
%changelog
+* Wed Mar 25 2015 Richard Hughes <rhughes at redhat.com> - 1.4.5-3
+- Register as an AppStream component.
+
* Fri Mar 06 2015 David Woodhouse <dwmw2 at infradead.org> - 1.4.5-2
- Fix RTP/RTCP muxing (#1199578)
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/gstreamer1-plugins-bad-free.git/commit/?h=master&id=b9fec2f18a1fe0ea98befd437504eaf1a8db8fc5
More information about the scm-commits
mailing list