File gstreamer-plugins-bad.spec of Package gstreamer-plugins-bad.31940
#
# spec file for package gstreamer-plugins-bad
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# Use rpmbuild -D 'BUILD_ORIG 1' to build original code.
# Use rpmbuild -D 'BUILD_ORIG 1' -D 'BUILD_ORIG_ADDON 1' to build patched build plus original as addon.
%define ENABLE_OPENH264 0
%define _name gst-plugins-bad
%define gst_branch 1.0
Name: gstreamer-plugins-bad
Version: 1.12.5
Release: 0
Summary: GStreamer Streaming-Media Framework Plug-Ins
License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: Productivity/Multimedia/Other
Url: http://gstreamer.freedesktop.org/
Source: https://gstreamer.freedesktop.org/src/gst-plugins-bad/%{_name}-%{version}.tar.xz
Source2: gstreamer-plugins-bad.appdata.xml
Source99: baselibs.conf
# PATCH-FIX-UPSTREAM gstreamer-plugins-bad-reproducible.patch boo#1048207 bwiedemann@suse.com -- Fix reproducible build
Patch0: gstreamer-plugins-bad-reproducible.patch
# PATCH-FIX-OPENSUSE gst-bad-revert-automake-autoconf-versions.patch bjorn.lie@gmail.com -- Revert the autoconf and automake version bump
Patch1: gst-bad-revert-automake-autoconf-versions.patch
# PATCH-FIX-UPSTREAM gst-bad-fdkaac2-fix.patch boo#1120299 bjorn.lie@gmail.com -- fdkaac: Fixes for compatibility with libfdk-aac 2.0.0
Patch2: gst-bad-fdkaac2-fix.patch
# PATCH-FIX-UPSTREAM gstreamer-h264parser-fix-overflow.patch CVE-2021-3185 bsc#1181255 zcjia@suse.com -- h264parser: guard against ref_pic_markings overflow
Patch3: gstreamer-h264parser-fix-overflow.patch
# PATCH-FIX-UPSTREAM gstreamer-plugins-bad-CVE-2023-37329.patch CVE-2023-37329 bsc#1213126 alarrosa@suse.com -- Fix a heap overwrite in PGS subtitle overlay decoder.
Patch4: gstreamer-plugins-bad-CVE-2023-37329.patch
# PATCH-FIX-UPSTREAM gstreamer-plugins-bad-CVE-2023-40476.patch CVE-2023-40476 bsc#1215793 qzhao@suse.com -- Fix possible overflow using max_sub_layers_minus1.
Patch5: gstreamer-plugins-bad-CVE-2023-40476.patch
# PATCH-FIX-UPSTREAM gstreamer-plugins-bad-CVE-2023-40474.patch CVE-2023-40474 bsc#1215796 qzhao@suse.com -- Fix integer overflow causing out of bounds writes when handling invalid uncompressed video.
Patch6: gstreamer-plugins-bad-CVE-2023-40474.patch
# PATCH-FIX-UPSTREAM gstreamer-plugins-bad-CVE-2023-40475.patch CVE-2023-40475 bsc#1215792 qzhao@suse.com -- Check number of channels for AES3 audio.
Patch7: gstreamer-plugins-bad-CVE-2023-40475.patch
BuildRequires: Mesa-libGLESv3-devel
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc
BuildRequires: ladspa-devel
BuildRequires: libgme-devel
BuildRequires: libgsm-devel
BuildRequires: libjasper-devel
BuildRequires: libmpcdec-devel
# Needed for patches 0 and 1
BuildRequires: libtool
BuildRequires: orc >= 0.4.11
BuildRequires: pkgconfig
BuildRequires: python3-base
BuildRequires: python3-xml
BuildRequires: pkgconfig(OpenEXR)
BuildRequires: pkgconfig(bluez)
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(dirac) >= 0.10
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(gio-2.0) >= 2.25.0
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glesv1_cm)
BuildRequires: pkgconfig(glesv2)
BuildRequires: pkgconfig(glib-2.0) >= 2.40.0
BuildRequires: pkgconfig(gmodule-export-2.0)
BuildRequires: pkgconfig(gstreamer-1.0) >= 1.12.0
BuildRequires: pkgconfig(gstreamer-allocators-1.0)
BuildRequires: pkgconfig(gstreamer-audio-1.0) >= 1.12.0
BuildRequires: pkgconfig(gstreamer-pbutils-1.0) >= 1.12.0
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= 1.12.0
BuildRequires: pkgconfig(gstreamer-video-1.0) >= 1.12.0
BuildRequires: pkgconfig(gtk+-3.0) >= 2.91.3
BuildRequires: pkgconfig(gtk+-x11-3.0) >= 2.91.3
BuildRequires: pkgconfig(gudev-1.0)
BuildRequires: pkgconfig(kate) >= 0.1.7
BuildRequires: pkgconfig(libass) >= 0.10.2
BuildRequires: pkgconfig(libcrypto)
BuildRequires: pkgconfig(libcurl) >= 7.35.0
BuildRequires: pkgconfig(libdc1394-2) >= 2.0.0
BuildRequires: pkgconfig(libdrm) >= 2.4.55
BuildRequires: pkgconfig(libexif) >= 0.6.16
BuildRequires: pkgconfig(libkms)
BuildRequires: pkgconfig(libmms) >= 0.4
BuildRequires: pkgconfig(libofa) >= 0.9.3
BuildRequires: pkgconfig(libpng) >= 1.2
BuildRequires: pkgconfig(librsvg-2.0) >= 2.14
BuildRequires: pkgconfig(libsrtp)
BuildRequires: pkgconfig(libssh2) >= 1.4.3
BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(libwebp)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(lilv-0) >= 0.16
BuildRequires: pkgconfig(lrdf)
BuildRequires: pkgconfig(mjpegtools)
BuildRequires: pkgconfig(neon)
BuildRequires: pkgconfig(nettle)
BuildRequires: pkgconfig(openssl) >= 0.9.5
BuildRequires: pkgconfig(opus) >= 0.9.4
BuildRequires: pkgconfig(sbc)
BuildRequires: pkgconfig(schroedinger-1.0) >= 1.0.10
BuildRequires: pkgconfig(sndfile) >= 1.0.16
BuildRequires: pkgconfig(soundtouch)
BuildRequires: pkgconfig(spandsp) >= 0.0.6
BuildRequires: pkgconfig(vdpau)
BuildRequires: pkgconfig(webrtc-audio-processing) >= 0.2
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcb) >= 1.10
Requires(post): glib2-tools
Requires(postun): glib2-tools
# FIXME! - this leads to unresolvables currently
#%%define gstreamer_plugins_bad_req %%(xzgrep --text "^GST.*_REQ" %%{S:0} | sort -u | sed 's/GST_REQ=/gstreamer >= /;s/GSTPB_REQ=/gstreamer-plugins-base >= /' | tr '\\n' ' ')
#Requires: %%gstreamer_plugins_bad_req
# FIXME
Recommends: %{name}-lang
Enhances: gstreamer
# Generic name, never used in SuSE:
Provides: gst-plugins-bad = %{version}
# Disabled - checking for opencv2/bgsegm.hpp... no
#BuildRequires: pkgconfig(opencv)
%if 0%{?ENABLE_OPENH264}
BuildRequires: pkgconfig(openh264) >= 1.3.0
%endif
%if 0%{?suse_version} >= 1500
BuildRequires: pkgconfig(wayland-client) >= 1.0.0
BuildRequires: pkgconfig(wayland-cursor) >= 1.0
BuildRequires: pkgconfig(wayland-egl) >= 9.0
BuildRequires: pkgconfig(wayland-protocols) >= 1.4
BuildRequires: pkgconfig(wayland-scanner) >= 1.4.0
%endif
%if 0%{?is_opensuse}
BuildRequires: libbs2b-devel
BuildRequires: pkgconfig(fluidsynth)
BuildRequires: pkgconfig(libchromaprint)
BuildRequires: pkgconfig(libopenjp2)
BuildRequires: pkgconfig(openal)
BuildRequires: pkgconfig(tiger) >= 0.3.2
BuildRequires: pkgconfig(zbar) >= 0.9
BuildRequires: pkgconfig(zvbi-0.2)
%if 0%{?suse_version} >= 1500
BuildRequires: pkgconfig(graphene-1.0) >= 1.4.0
%endif
%endif
%if 0%{?BUILD_ORIG}
BuildRequires: faac-devel
BuildRequires: faad2-devel
BuildRequires: libdca-devel
BuildRequires: pkgconfig(dvdnav) >= 4.1.2
BuildRequires: pkgconfig(dvdread) >= 4.1.2
BuildRequires: pkgconfig(fdk-aac) >= 0.1.4
BuildRequires: pkgconfig(libde265) >= 0.9
BuildRequires: pkgconfig(libmodplug)
BuildRequires: pkgconfig(librtmp)
BuildRequires: pkgconfig(vo-aacenc) >= 0.1.0
BuildRequires: pkgconfig(vo-amrwbenc) >= 0.1.0
BuildRequires: pkgconfig(x265)
%endif
%if 0%{?BUILD_ORIG}
%if 0%{?BUILD_ORIG_ADDON}
Provides: patched_subset
%else
Provides: %{name}-orig-addon = %{version}
Obsoletes: %{name}-orig-addon
%endif
%else
Provides: patched_subset
%endif
%description
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related,from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package chromaprint
Summary: Chromaprint plugin for GStreamer
Group: Productivity/Multimedia/Other
%description chromaprint
Add chromaprint (Audio Fingerprinting) support to any GStreamer based tool.
%package fluidsynth
Summary: Fluidsynth plugin for GStreamer
Group: Productivity/Multimedia/Other
%description fluidsynth
Add fluidsynth midi support to any GStreamer based tool.
%package -n libgstadaptivedemux-1_0-0
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: System/Libraries
%description -n libgstadaptivedemux-1_0-0
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related,from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package -n libgstbadallocators-1_0-0
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: System/Libraries
%description -n libgstbadallocators-1_0-0
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related,from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package -n libgstbadaudio-1_0-0
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: System/Libraries
%description -n libgstbadaudio-1_0-0
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related,from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package -n libgstbasecamerabinsrc-1_0-0
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: System/Libraries
%description -n libgstbasecamerabinsrc-1_0-0
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related,from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package -n libgstbadbase-1_0-0
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: System/Libraries
%description -n libgstbadbase-1_0-0
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related,from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package -n libgstbadvideo-1_0-0
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: System/Libraries
%description -n libgstbadvideo-1_0-0
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related,from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package -n libgstphotography-1_0-0
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: System/Libraries
%description -n libgstphotography-1_0-0
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related,from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package -n libgstplayer-1_0-0
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: System/Libraries
%description -n libgstplayer-1_0-0
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related,from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package -n libgstwayland-1_0-0
Summary: GStreamer Streaming-Media Framework Plug-Ins - Wayland backend
Group: System/Libraries
%description -n libgstwayland-1_0-0
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related,from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package -n libgstcodecparsers-1_0-0
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: System/Libraries
%description -n libgstcodecparsers-1_0-0
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related,from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package -n libgstgl-1_0-0
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: System/Libraries
%description -n libgstgl-1_0-0
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related,from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package -n libgstinsertbin-1_0-0
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: System/Libraries
%description -n libgstinsertbin-1_0-0
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related,from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package -n libgstmpegts-1_0-0
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: System/Libraries
%description -n libgstmpegts-1_0-0
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related,from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package -n libgsturidownloader-1_0-0
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: System/Libraries
%description -n libgsturidownloader-1_0-0
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related,from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package -n libgstvdpau
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: System/Libraries
%description -n libgstvdpau
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related,from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package devel
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Requires: gstreamer-devel
Requires: libgstadaptivedemux-1_0-0 = %{version}
Requires: libgstbadallocators-1_0-0 = %{version}
Requires: libgstbadaudio-1_0-0 = %{version}
Requires: libgstbadbase-1_0-0 = %{version}
Requires: libgstbadvideo-1_0-0 = %{version}
Requires: libgstbasecamerabinsrc-1_0-0 = %{version}
Requires: libgstcodecparsers-1_0-0 = %{version}
Requires: libgstgl-1_0-0 = %{version}
Requires: libgstinsertbin-1_0-0 = %{version}
Requires: libgstmpegts-1_0-0 = %{version}
Requires: libgstphotography-1_0-0 = %{version}
Requires: libgstplayer-1_0-0 = %{version}
Requires: libgsturidownloader-1_0-0 = %{version}
Requires: typelib-1_0-GstBadAllocators-1_0 = %{version}
Requires: typelib-1_0-GstGL-1_0 = %{version}
Requires: typelib-1_0-GstInsertBin-1_0 = %{version}
Requires: typelib-1_0-GstMpegts-1_0 = %{version}
Requires: typelib-1_0-GstPlayer-1_0 = %{version}
%if 0%{?suse_version} >= 1500
Requires: libgstwayland-1_0-0 = %{version}
%endif
%if 0%{?is_opensuse}
Requires: gstreamer-plugins-bad-chromaprint
Requires: gstreamer-plugins-bad-fluidsynth
%endif
%description devel
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related,from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package doc
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
%description doc
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related,from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package orig-addon
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: Productivity/Multimedia/Other
Requires: %{name} >= %{version}
Supplements: %{name}
%description orig-addon
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related,from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package -n typelib-1_0-GstBadAllocators-1_0
Summary: GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-GstBadAllocators-1_0
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related, from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package -n typelib-1_0-GstGL-1_0
Summary: GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-GstGL-1_0
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related, from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package -n typelib-1_0-GstInsertBin-1_0
Summary: GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-GstInsertBin-1_0
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related, from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package -n typelib-1_0-GstMpegts-1_0
Summary: GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-GstMpegts-1_0
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related, from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package -n typelib-1_0-GstPlayer-1_0
Summary: GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-GstPlayer-1_0
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related, from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%lang_package
%prep
%autosetup -n %{_name}-%{version} -p1
%build
# Needed for patch2
autoreconf -fiv
export PYTHON=%{_bindir}/python3
%configure \
%if ! 0%{?BUILD_ORIG}
--with-package-name='openSUSE GStreamer-plugins-bad package' \
--with-package-origin='http://download.opensuse.org' \
--disable-dvdspu \
--disable-resindvd \
--disable-siren \
%endif
--disable-static \
--disable-examples \
--disable-festival \
--enable-gtk-doc \
--with-gtk=3.0 \
--enable-wayland \
--enable-introspection \
%{nil}
make %{?_smp_mflags}
%install
%make_install
# Fail when upstream provides appdata
if [ -f %{buildroot}%{_datadir}/appdata/gstreamer-plugins-bad.appdata.xml ]; then
echo "Please remove the added gstreamer-plugins-bad.appdata.xml file from the sources - the tarball installs it"
false
else
mkdir -p %{buildroot}%{_datadir}/appdata
cp %{SOURCE2} %{buildroot}%{_datadir}/appdata/
fi
# end appdata fail test
find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{_name}-%{gst_branch}
%fdupes %{buildroot}%{_datadir}/gtk-doc/html/
%if 0%{?suse_version} < 1330
%post
%glib2_gsettings_schema_post
%postun
%glib2_gsettings_schema_postun
%endif
%post -n libgstadaptivedemux-1_0-0 -p /sbin/ldconfig
%post -n libgstbadallocators-1_0-0 -p /sbin/ldconfig
%post -n libgstbadaudio-1_0-0 -p /sbin/ldconfig
%post -n libgstbadbase-1_0-0 -p /sbin/ldconfig
%post -n libgstbadvideo-1_0-0 -p /sbin/ldconfig
%post -n libgstbasecamerabinsrc-1_0-0 -p /sbin/ldconfig
%post -n libgstcodecparsers-1_0-0 -p /sbin/ldconfig
%post -n libgstgl-1_0-0 -p /sbin/ldconfig
%post -n libgstinsertbin-1_0-0 -p /sbin/ldconfig
%post -n libgstmpegts-1_0-0 -p /sbin/ldconfig
%post -n libgstphotography-1_0-0 -p /sbin/ldconfig
%post -n libgstplayer-1_0-0 -p /sbin/ldconfig
%post -n libgsturidownloader-1_0-0 -p /sbin/ldconfig
%if 0%{?suse_version} >= 1500
%post -n libgstwayland-1_0-0 -p /sbin/ldconfig
%endif
%postun -n libgstadaptivedemux-1_0-0 -p /sbin/ldconfig
%postun -n libgstbadallocators-1_0-0 -p /sbin/ldconfig
%postun -n libgstbadaudio-1_0-0 -p /sbin/ldconfig
%postun -n libgstbadbase-1_0-0 -p /sbin/ldconfig
%postun -n libgstbadvideo-1_0-0 -p /sbin/ldconfig
%postun -n libgstbasecamerabinsrc-1_0-0 -p /sbin/ldconfig
%postun -n libgstgl-1_0-0 -p /sbin/ldconfig
%postun -n libgstmpegts-1_0-0 -p /sbin/ldconfig
%postun -n libgstphotography-1_0-0 -p /sbin/ldconfig
%postun -n libgstplayer-1_0-0 -p /sbin/ldconfig
%postun -n libgstcodecparsers-1_0-0 -p /sbin/ldconfig
%postun -n libgstinsertbin-1_0-0 -p /sbin/ldconfig
%postun -n libgsturidownloader-1_0-0 -p /sbin/ldconfig
%if 0%{?suse_version} >= 1500
%postun -n libgstwayland-1_0-0 -p /sbin/ldconfig
%endif
%files
%license COPYING
%dir %{_datadir}/gstreamer-%{gst_branch}/presets/
%{_datadir}/gstreamer-%{gst_branch}/presets/GstFreeverb.prs
%dir %{_datadir}/appdata/
%{_datadir}/appdata/gstreamer-plugins-bad.appdata.xml
%{_libdir}/gstreamer-%{gst_branch}/libgstaccurip.so
%{_libdir}/gstreamer-%{gst_branch}/libgstadpcmdec.so
%{_libdir}/gstreamer-%{gst_branch}/libgstadpcmenc.so
%{_libdir}/gstreamer-%{gst_branch}/libgstaiff.so
%{_libdir}/gstreamer-%{gst_branch}/libgstasfmux.so
%{_libdir}/gstreamer-%{gst_branch}/libgstassrender.so
%{_libdir}/gstreamer-%{gst_branch}/libgstaudiobuffersplit.so
%{_libdir}/gstreamer-%{gst_branch}/libgstaudiofxbad.so
%{_libdir}/gstreamer-%{gst_branch}/libgstaudiomixer.so
%{_libdir}/gstreamer-%{gst_branch}/libgstaudiomixmatrix.so
%{_libdir}/gstreamer-%{gst_branch}/libgstaudiovisualizers.so
%{_libdir}/gstreamer-%{gst_branch}/libgstautoconvert.so
%{_libdir}/gstreamer-%{gst_branch}/libgstbayer.so
%{_libdir}/gstreamer-%{gst_branch}/libgstbluez.so
%{_libdir}/gstreamer-%{gst_branch}/libgstbz2.so
%{_libdir}/gstreamer-%{gst_branch}/libgstcamerabin.so
%{_libdir}/gstreamer-%{gst_branch}/libgstcoloreffects.so
%{_libdir}/gstreamer-%{gst_branch}/libgstcompositor.so
%{_libdir}/gstreamer-%{gst_branch}/libgstcurl.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdashdemux.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdc1394.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdebugutilsbad.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdecklink.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdtls.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdvb.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdvbsuboverlay.so
%{_libdir}/gstreamer-%{gst_branch}/libgstfaceoverlay.so
%{_libdir}/gstreamer-%{gst_branch}/libgstfbdevsink.so
%{_libdir}/gstreamer-%{gst_branch}/libgstfieldanalysis.so
%{_libdir}/gstreamer-%{gst_branch}/libgstfreeverb.so
%{_libdir}/gstreamer-%{gst_branch}/libgstfrei0r.so
%{_libdir}/gstreamer-%{gst_branch}/libgstgaudieffects.so
%{_libdir}/gstreamer-%{gst_branch}/libgstgdp.so
%{_libdir}/gstreamer-%{gst_branch}/libgstgeometrictransform.so
%{_libdir}/gstreamer-%{gst_branch}/libgstgme.so
%{_libdir}/gstreamer-%{gst_branch}/libgstgsm.so
%{_libdir}/gstreamer-%{gst_branch}/libgstgtk.so
%{_libdir}/gstreamer-%{gst_branch}/libgsthls.so
%{_libdir}/gstreamer-%{gst_branch}/libgstid3tag.so
%{_libdir}/gstreamer-%{gst_branch}/libgstinter.so
%{_libdir}/gstreamer-%{gst_branch}/libgstinterlace.so
%{_libdir}/gstreamer-%{gst_branch}/libgstivfparse.so
%{_libdir}/gstreamer-%{gst_branch}/libgstivtc.so
%{_libdir}/gstreamer-%{gst_branch}/libgstjp2kdecimator.so
%{_libdir}/gstreamer-%{gst_branch}/libgstjpegformat.so
%{_libdir}/gstreamer-%{gst_branch}/libgstkate.so
%{_libdir}/gstreamer-%{gst_branch}/libgstkms.so
%{_libdir}/gstreamer-%{gst_branch}/libgstladspa.so
%{_libdir}/gstreamer-%{gst_branch}/libgstlv2.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmidi.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmms.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmpeg2enc.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmpegpsdemux.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmpegtsdemux.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmpegpsmux.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmpegtsmux.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmplex.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmusepack.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmxf.so
%{_libdir}/gstreamer-%{gst_branch}/libgstnetsim.so
%{_libdir}/gstreamer-%{gst_branch}/libgstopenexr.so
%{_libdir}/gstreamer-%{gst_branch}/libgstopengl.so
%if 0%{?ENABLE_OPENH264}
%{_libdir}/gstreamer-%{gst_branch}/libgstopenh264.so
%endif
%{_libdir}/gstreamer-%{gst_branch}/libgstopusparse.so
%{_libdir}/gstreamer-%{gst_branch}/libgstneonhttpsrc.so
%{_libdir}/gstreamer-%{gst_branch}/libgstofa.so
%{_libdir}/gstreamer-%{gst_branch}/libgstpcapparse.so
%{_libdir}/gstreamer-%{gst_branch}/libgstpnm.so
%{_libdir}/gstreamer-%{gst_branch}/libgstlegacyrawparse.so
%{_libdir}/gstreamer-%{gst_branch}/libgstremovesilence.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrfbsrc.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrsvg.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrtponvif.so
%{_libdir}/gstreamer-%{gst_branch}/libgstsbc.so
%{_libdir}/gstreamer-%{gst_branch}/libgstschro.so
%{_libdir}/gstreamer-%{gst_branch}/libgstsdpelem.so
%{_libdir}/gstreamer-%{gst_branch}/libgstsegmentclip.so
%{_libdir}/gstreamer-%{gst_branch}/libgstshm.so
%{_libdir}/gstreamer-%{gst_branch}/libgstsmooth.so
%{_libdir}/gstreamer-%{gst_branch}/libgstsmoothstreaming.so
%{_libdir}/gstreamer-%{gst_branch}/libgstsndfile.so
%{_libdir}/gstreamer-%{gst_branch}/libgstsoundtouch.so
%{_libdir}/gstreamer-%{gst_branch}/libgstspandsp.so
%{_libdir}/gstreamer-%{gst_branch}/libgstspeed.so
%{_libdir}/gstreamer-%{gst_branch}/libgstsrtp.so
%{_libdir}/gstreamer-%{gst_branch}/libgststereo.so
%{_libdir}/gstreamer-%{gst_branch}/libgstsubenc.so
%{_libdir}/gstreamer-%{gst_branch}/libgsttimecode.so
%{_libdir}/gstreamer-%{gst_branch}/libgstttmlsubs.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvcdsrc.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvideofiltersbad.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvideoframe_audiolevel.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvideoparsersbad.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvideosignal.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvmnc.so
%if 0%{?suse_version} >= 1500
%{_libdir}/gstreamer-%{gst_branch}/libgstwaylandsink.so
%endif
%{_libdir}/gstreamer-%{gst_branch}/libgstwebrtcdsp.so
%{_libdir}/gstreamer-%{gst_branch}/libgsty4mdec.so
%{_libdir}/gstreamer-%{gst_branch}/libgstyadif.so
%{_libdir}/gstreamer-%{gst_branch}/libgstuvch264.so
%{_libdir}/gstreamer-%{gst_branch}/libgstwebp.so
# Explicitly list openSUSE only plugins
%if 0%{?is_opensuse}
%{_libdir}/gstreamer-%{gst_branch}/libgstbs2b.so
%{_libdir}/gstreamer-%{gst_branch}/libgstopenal.so
%{_libdir}/gstreamer-%{gst_branch}/libgstopenjpeg.so
%{_libdir}/gstreamer-%{gst_branch}/libgstteletext.so
%{_libdir}/gstreamer-%{gst_branch}/libgstzbar.so
%files chromaprint
%{_libdir}/gstreamer-%{gst_branch}/libgstchromaprint.so
%files fluidsynth
%{_libdir}/gstreamer-%{gst_branch}/libgstfluidsynthmidi.so
%endif
%files -n libgstadaptivedemux-1_0-0
%{_libdir}/libgstadaptivedemux-%{gst_branch}.so.0*
%files -n libgstbadallocators-1_0-0
%{_libdir}/libgstbadallocators-%{gst_branch}.so.0*
%files -n libgstbadaudio-1_0-0
%{_libdir}/libgstbadaudio-%{gst_branch}.so.0*
%files -n libgstbadbase-1_0-0
%{_libdir}/libgstbadbase-%{gst_branch}.so.0*
%files -n libgstbadvideo-1_0-0
%{_libdir}/libgstbadvideo-%{gst_branch}.so.0*
%files -n libgstphotography-1_0-0
%{_libdir}/libgstphotography-%{gst_branch}.so.0*
%files -n libgstplayer-1_0-0
%{_libdir}/libgstplayer-%{gst_branch}.so.0*
%files -n libgstgl-1_0-0
%{_libdir}/libgstgl-%{gst_branch}.so.0*
%files -n libgstbasecamerabinsrc-1_0-0
%{_libdir}/libgstbasecamerabinsrc-%{gst_branch}.so.0*
%files -n libgstcodecparsers-1_0-0
%{_libdir}/libgstcodecparsers-%{gst_branch}.so.0*
%files -n libgstinsertbin-1_0-0
%{_libdir}/libgstinsertbin-%{gst_branch}.so.0*
%files -n libgstmpegts-1_0-0
%{_libdir}/libgstmpegts-%{gst_branch}.so.0*
%files -n libgsturidownloader-1_0-0
%{_libdir}/libgsturidownloader-%{gst_branch}.so.0*
%files -n libgstvdpau
%{_libdir}/gstreamer-%{gst_branch}/libgstvdpau.so
%if 0%{?suse_version} >= 1500
%files -n libgstwayland-1_0-0
%{_libdir}/libgstwayland-1.0.so.*
%endif
%files -n typelib-1_0-GstBadAllocators-1_0
%{_libdir}/girepository-1.0/GstBadAllocators-1.0.typelib
%files -n typelib-1_0-GstGL-1_0
%{_libdir}/girepository-1.0/GstGL-1.0.typelib
%files -n typelib-1_0-GstInsertBin-1_0
%{_libdir}/girepository-1.0/GstInsertBin-1.0.typelib
%files -n typelib-1_0-GstMpegts-1_0
%{_libdir}/girepository-1.0/GstMpegts-1.0.typelib
%files -n typelib-1_0-GstPlayer-1_0
%{_libdir}/girepository-1.0/GstPlayer-1.0.typelib
%files devel
%{_includedir}/gstreamer-%{gst_branch}
%dir %{_libdir}/gstreamer-%{gst_branch}/include
%dir %{_libdir}/gstreamer-%{gst_branch}/include/gst
%dir %{_libdir}/gstreamer-%{gst_branch}/include/gst/gl
%{_libdir}/gstreamer-%{gst_branch}/include/gst/gl/gstglconfig.h
%{_libdir}/*.so
%{_libdir}/pkgconfig/gstreamer-bad-allocators-%{gst_branch}.pc
%{_libdir}/pkgconfig/gstreamer-bad-audio-%{gst_branch}.pc
%{_libdir}/pkgconfig/gstreamer-bad-base-%{gst_branch}.pc
%{_libdir}/pkgconfig/gstreamer-bad-video-%{gst_branch}.pc
%{_libdir}/pkgconfig/gstreamer-codecparsers-%{gst_branch}.pc
%{_libdir}/pkgconfig/gstreamer-gl-%{gst_branch}.pc
%{_libdir}/pkgconfig/gstreamer-insertbin-%{gst_branch}.pc
%{_libdir}/pkgconfig/gstreamer-mpegts-%{gst_branch}.pc
%{_libdir}/pkgconfig/gstreamer-player-%{gst_branch}.pc
%{_libdir}/pkgconfig/gstreamer-plugins-bad-%{gst_branch}.pc
%{_datadir}/gir-1.0/*.gir
%files lang -f %{_name}-%{gst_branch}.lang
%files doc
%doc AUTHORS NEWS README RELEASE REQUIREMENTS
%{_datadir}/gtk-doc/html/gst-plugins-bad-plugins-%{gst_branch}/
%{_datadir}/gtk-doc/html/gst-plugins-bad-libs-%{gst_branch}/
%if 0%{?BUILD_ORIG}
%if 0%{?BUILD_ORIG_ADDON}
%files orig-addon
%endif
%{_datadir}/gstreamer-%{gst_branch}/presets/GstVoAmrwbEnc.prs
%{_libdir}/gstreamer-%{gst_branch}/libgstvoamrwbenc.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvoaacenc.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdtsdec.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdvdspu.so
%{_libdir}/gstreamer-%{gst_branch}/libgstfaac.so
%{_libdir}/gstreamer-%{gst_branch}/libgstfaad.so
%{_libdir}/gstreamer-%{gst_branch}/libgstfdkaac.so
%{_libdir}/gstreamer-%{gst_branch}/libgstlibde265.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmodplug.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrtmp.so
%{_libdir}/gstreamer-%{gst_branch}/libgstsiren.so
%{_libdir}/gstreamer-%{gst_branch}/libgstx265.so
%{_libdir}/gstreamer-%{gst_branch}/libgstresindvd.so
%endif
%changelog