diff --git a/gstreamer1-plugins-good.spec b/gstreamer1-plugins-good.spec index 31579afa0c9c98560ce26d633b0f8c4912a4a85d..d8e0724ec3c3033b62d993cf3a4f0c19d682af24 100644 --- a/gstreamer1-plugins-good.spec +++ b/gstreamer1-plugins-good.spec @@ -1,3 +1,4 @@ +%define anolis_release .0.1 %global majorminor 1.0 # Only build extras on Fedora @@ -15,7 +16,7 @@ Name: gstreamer1-plugins-good Version: 1.16.1 -Release: 2%{?gitcommit:.git%{shortcommit}}%{?dist} +Release: 2%{?gitcommit:.git%{shortcommit}}%{anolis_release}%{?dist} Summary: GStreamer plugins with good code and licensing License: LGPLv2+ @@ -87,6 +88,8 @@ Provides: gstreamer1-plugin-mpg123 = %{version}-%{release} # mpg123, lame, twolame were moved -> conflict old package version Conflicts: gstreamer1-plugins-ugly-free < 1.13.1 +Requires: glibc + %description GStreamer is a streaming media framework, based on graphs of filters which operate on media data. Applications using this library can do anything @@ -98,6 +101,14 @@ plugins. GStreamer Good Plugins is a collection of well-supported plugins of good quality and under the LGPL license. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + + +%description doc +Doc pages for %{name}. %package gtk Summary: GStreamer "good" plugins gtk plugin @@ -244,7 +255,6 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %files -f gst-plugins-good-%{majorminor}.lang %license COPYING -%doc AUTHORS README REQUIREMENTS %{_datadir}/appdata/*.appdata.xml %doc %{_datadir}/gtk-doc/html/gst-plugins-good-plugins-%{majorminor} @@ -328,6 +338,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %{_libdir}/gstreamer-%{majorminor}/libgst1394.so %endif +%files doc +%doc AUTHORS README REQUIREMENTS + %files gtk # Plugins with external dependencies %{_libdir}/gstreamer-%{majorminor}/libgstgtk.so @@ -345,6 +358,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %changelog +* Sat Jul 16 2022 mgb01105731 - 1.16.1-2.0.1 +- Add doc sub package + * Wed Dec 9 2020 Wim Taymans - 1.16.1-2 - Suppress documentation in Flatpak builds - Resolves: rhbz#1895938