File gstreamer-plugins-bad.spec of Package gstreamer-plugins-bad.3891

#
# spec file for package gstreamer-plugins-bad
#
# Copyright (c) 2016 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/
#


%bcond_with divx4linux
%bcond_with LV2

# Disabled for now in upstream tarball, not ported
%define build_gstvdp 0
%define build_wayland 0

Name:           gstreamer-plugins-bad
# Patched code is built by default.
# 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 _name gst-plugins-bad
Version:        1.2.4
Release:        0
# FIXME: missing BuildRequires on pkgconfig(wayland-client)
# FIXME: re-enable opencv BuildRequires once bnc#748666 is fixed (we don't want to depend on libxine!)
# FIXME: missing BuildRequires on libtiger (http://code.google.com/p/libtiger/)
# FIXME: missing BuildRequires on chromaprint (http://acoustid.org/chromaprint)
# FIXME: missing BuildRequires on zbar (http://zbar.sourceforge.net/)
%define gst_branch 1.0
Summary:        GStreamer Streaming-Media Framework Plug-Ins
License:        GPL-2.0+ and LGPL-2.1+
Group:          Productivity/Multimedia/Other
Url:            http://gstreamer.freedesktop.org/
%if 0%{?BUILD_ORIG}
Source:         http://gstreamer.freedesktop.org/src/gst-plugins-bad/%{_name}-%{version}.tar.xz
%else
# WARNING: This is not a comment, but the real command to repack source:
#%(bash %{_sourcedir}/%{name}-patch-source.sh %{_name}-%{version}.tar.xz)
Source:         %{_name}-%{version}-patched.tar.xz
# If the above patch source script fails due to a change in source tarball contents, you need
# to unpack the sources (this should already have happened) and examine the new plugin source for
# blacklisted content and if it's clean, edit the script and add to the allowed list in the script
%endif
Source1:        %{name}-patch-source.sh
Patch0:         gstreamer-plugins-bad-real.patch
# PATCH-FIX-UPSTREAM gstreamer-plugins-bad-vmncdec-sanity-check.patch bnc#1010829 aplazas@suse.com -- CVE-2016-9445 CVE-2016-9446
Patch1:         gstreamer-plugins-bad-vmncdec-sanity-check.patch
# PATCH-FIX-UPSTREAM gstreamer-h264-size.patch bsc#1013659 mgorse@suse.com -- h264parse: Ensure codec_data has the required size when reading number of SPS
Patch2:         gstreamer-h264-size.patch
# PATCH-FIX-UPSTREAM gstreamer-mptssection-add-checks.patch bsc#1013678 mgorse@suse.com -- add more section size checks.
Patch3:         gstreamer-mptssection-add-checks.patch
# PATCH-FIX-UPSTREAM gstreamer-mptssection-fix-pat-parsing.patch bsc#1013680 mgorse@suse.com -- mptssection: fix pat parsing.
Patch4:         gstreamer-mptssection-fix-pat-parsing.patch
BuildRequires:  SDL-devel
# needed for patch0
BuildRequires:  gcc-c++
BuildRequires:  glib2-devel >= 2.31.14
BuildRequires:  gnome-common
BuildRequires:  gstreamer-devel >= 1.0.10
BuildRequires:  gstreamer-plugins-base-devel >= 1.0.10
BuildRequires:  gtk-doc
BuildRequires:  ladspa-devel
BuildRequires:  libgme-devel
BuildRequires:  libgsm-devel
BuildRequires:  libjasper-devel
BuildRequires:  libmpcdec-devel
BuildRequires:  orc >= 0.4.11
BuildRequires:  python-base
BuildRequires:  translation-update-upstream
%ifarch %ix86 ppc x86_64
BuildRequires:  valgrind-devel
%endif
BuildRequires:  pkgconfig(bzip2)
BuildRequires:  pkgconfig(cairo)
BuildRequires:  pkgconfig(dirac) >= 0.10
BuildRequires:  pkgconfig(dvdnav) >= 4.1.2
BuildRequires:  pkgconfig(dvdread) >= 4.1.2
BuildRequires:  pkgconfig(gio-2.0) >= 2.25.0
BuildRequires:  pkgconfig(glesv2)
# Not yet in openSUSE
#BuildRequires:  pkgconfig(gmyth)
BuildRequires:  pkgconfig(gtk+-3.0) >= 2.91.3
BuildRequires:  pkgconfig(gtk+-x11-3.0) >= 2.91.3
BuildRequires:  pkgconfig(kate) >= 0.1.7
BuildRequires:  pkgconfig(libass) >= 0.9.4
BuildRequires:  pkgconfig(libcdaudio)
# Not yet in openSUSE
#BuildRequires:  pkgconfig(libchromaprint)
BuildRequires:  pkgconfig(libcrypto)
BuildRequires:  pkgconfig(libcurl) >= 7.21.0
BuildRequires:  pkgconfig(libdc1394-2) >= 2.0.0
BuildRequires:  pkgconfig(libexif) >= 0.6.16
# Not yet in openSUSE
#BuildRequires:  pkgconfig(libmimic) >= 1.0
BuildRequires:  pkgconfig(libmms) >= 0.4
BuildRequires:  pkgconfig(libmodplug)
BuildRequires:  pkgconfig(libmusicbrainz) >= 2.1.0
BuildRequires:  pkgconfig(libofa) >= 0.9.3
# SLE12 doesn't ship libopenjpeg
%if 0%{?suse_version} != 1315
BuildRequires:  pkgconfig(libopenjpeg1)
%endif
BuildRequires:  pkgconfig(libpng) >= 1.2
BuildRequires:  pkgconfig(librsvg-2.0) >= 2.14
# Not yet in openSUSE
#BuildRequires:  pkgconfig(librtmp)
BuildRequires:  pkgconfig(libtimidity)
BuildRequires:  pkgconfig(lrdf)
BuildRequires:  pkgconfig(mjpegtools)
BuildRequires:  pkgconfig(neon)
# Disabled because of bnc#748666
#BuildRequires:  pkgconfig(opencv)
BuildRequires:  pkgconfig(openssl) >= 0.9.5
BuildRequires:  pkgconfig(opus) >= 0.9.4
BuildRequires:  pkgconfig(schroedinger-1.0) >= 1.0.10
%if %{with LV2}
# Not yet in openSUSE
#BuildRequires:  pkgconfig(slv2) >= 0.6.6
%endif
BuildRequires:  pkgconfig(sndfile) >= 1.0.16
BuildRequires:  pkgconfig(soundtouch)
BuildRequires:  pkgconfig(spandsp) >= 0.0.6
# Not yet in openSUSE
#BuildRequires:  pkgconfig(tiger) >= 0.3.2
BuildRequires:  pkgconfig(vdpau)
%if %{build_wayland}
BuildRequires:  pkgconfig(wayland-client) >= 1.0.0
%endif
# Not yet in openSUSE
#BuildRequires:  pkgconfig(wayland-client) >= 0.1
BuildRequires:  pkgconfig(x11)
# Not yet in openSUSE
#BuildRequires:  pkgconfig(zbar) >= 0.9
BuildRequires:  pkgconfig(zvbi-0.2)
# FIXME: chromaprint: Requires libchromaprint, not yet in openSUSE
# FIXME: flite: Not in openSUSE
# FIXME: kate: can be enhanced with libtiger.
# FIXME: lv2: standard for plugins and matching host applications,
# FIXME: mimic: Requires libmimic.
# FIXME: mythtvsrc: Requires gmyth.
# FIXME: nassink: Not in openSUSE
# FIXME: rtmp: Not in openSUSE
# FIXME: wayland: Requires wayland-client, not yet in openSUSE.
# FIXME: wildmidi: Requires  WildMIDI Open Source Midi Synthesizer
# FIXME: zbar: Requires zbar.
# NOTE: acm: Windows ACM library
# NOTE: ivorbisdec: Integer arithmetic OGG Vorbis decoder. Interesting only for platforms without FPU.
# NOTE: swfdec: Requires obsolete swfdec version.
# NOTE: theoraexpdec: It's intender for experimental OGG Theora decoder
# NOTE: qtwrapper directdrawsink wininet: (Probably) not intended for Linux
# NOTE: spc: Requires OpenSPC: SPC music files dumped by ZSNES and SNES9X. libgme already provides better support for such files in an arch-independent way
%if 0%{?BUILD_ORIG}
# FIXME: Enable more modules.
BuildRequires:  faac-devel
BuildRequires:  faad2-devel
BuildRequires:  libaudio-devel
BuildRequires:  libdca-devel
BuildRequires:  libgmyth-devel
BuildRequires:  librtmp-devel
BuildRequires:  libxvidcore-devel
BuildRequires:  pkgconfig(vo-aacenc) >= 0.1.0
BuildRequires:  pkgconfig(vo-amrwbenc) >= 0.1.0
%ifarch %ix86
# binary only so make conditional
%if %{with divx4linux}
BuildRequires:  divx4linux-devel
%endif
%endif
%endif
%if 0%{?suse_version} >= 1140
Requires(post): glib2-tools
Requires(postun): glib2-tools
%endif
%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
Recommends:     %{name}-lang
Enhances:       gstreamer
# Generic name, never used in SuSE:
Provides:       gst-plugins-bad = %{version}
%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
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%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.

%if 0%{?BUILD_ORIG}
%if 0%{?BUILD_ORIG_ADDON}

%package orig-addon
Summary:        GStreamer Streaming-Media Framework Plug-Ins
Group:          Productivity/Multimedia/Other
Requires:       %{name} >= %{version}
Supplements:    %{name}
# Generic name, never used in SuSE:
Provides:       gst-plugins-bad:%{_libdir}/gstreamer-%{gst_branch}/libgstxvid.so = %{version}

%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.

%endif
%endif

%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 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 libgstvdp-1_0-0
Summary:        GStreamer Streaming-Media Framework Plug-Ins
Group:          System/Libraries

%description -n libgstvdp-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 libgstegl-1_0-0
Summary:        GStreamer Streaming-Media Framework Plug-Ins
Group:          System/Libraries

%description -n libgstegl-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 devel
Summary:        GStreamer Streaming-Media Framework Plug-Ins
Group:          Development/Libraries/C and C++
Requires:       gstreamer-devel
Requires:       libgstbasecamerabinsrc-1_0-0 = %{version}
Requires:       libgstcodecparsers-1_0-0 = %{version}
Requires:       libgstegl-1_0-0 = %{version}
Requires:       libgstinsertbin-1_0-0 = %{version}
Requires:       libgstmpegts-1_0-0 = %{version}
Requires:       libgstphotography-1_0-0 = %{version}
Requires:       libgsturidownloader-1_0-0 = %{version}
%if %{build_gstvdp}
Requires:       libgstvdp-1_0-0 = %{version}
%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.

%lang_package
%prep
%setup -q -n %{_name}-%{version}
#translation-update-upstream po gst-plugins-bad-%{gst_branch}
%patch0
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1

%build
# Needed for patch0
alias git=true
NOCONFIGURE=1 ./autogen.sh
%configure\
    --disable-static\
    --disable-examples\
    --enable-experimental\
    --enable-gtk-doc \
    --with-gtk=3.0 \
%if %{build_wayland}
    --enable-wayland
%else
    --disable-wayland
%endif
%__make %{?_smp_mflags} V=1

%install
%makeinstall
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%find_lang %{_name}-%{gst_branch}

%clean
rm -rf $RPM_BUILD_ROOT

%if 0%{?suse_version} >= 1140

%post
%glib2_gsettings_schema_post

%postun
%glib2_gsettings_schema_postun
%endif

%post -n libgstbasecamerabinsrc-1_0-0 -p /sbin/ldconfig

%post -n libgstphotography-1_0-0 -p /sbin/ldconfig

%post -n libgstcodecparsers-1_0-0 -p /sbin/ldconfig

%post -n libgstegl-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 libgsturidownloader-1_0-0 -p /sbin/ldconfig

%post -n libgstvdp-1_0-0 -p /sbin/ldconfig

%postun -n libgstbasecamerabinsrc-1_0-0 -p /sbin/ldconfig

%postun -n libgstegl-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 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

%postun -n libgstvdp-1_0-0 -p /sbin/ldconfig

%files
#    File not found: /usr/lib64/gstreamer-0.10/libgstjack.so
#    File not found: /usr/lib64/gstreamer-0.10/libgstmetadata.so
#    File not found: /usr/lib64/gstreamer-0.10/libgstselector.so
#    File not found: /usr/lib64/gstreamer-0.10/libgstvalve.so
%defattr(-, root, root)
%doc AUTHORS COPYING COPYING.LIB NEWS README RELEASE REQUIREMENTS
%if 0%{?suse_version} >= 1140
#%{_datadir}/glib-2.0/schemas/org.freedesktop.gstreamer-0.10.default-elements.gschema.xml
%endif
%{_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}/libgstapexsink.so
%{_libdir}/gstreamer-%{gst_branch}/libgstasfmux.so
%{_libdir}/gstreamer-%{gst_branch}/libgstassrender.so
%{_libdir}/gstreamer-%{gst_branch}/libgstaudiofxbad.so
%{_libdir}/gstreamer-%{gst_branch}/libgstaudiovisualizers.so
%{_libdir}/gstreamer-%{gst_branch}/libgstautoconvert.so
%{_libdir}/gstreamer-%{gst_branch}/libgstbayer.so
%{_libdir}/gstreamer-%{gst_branch}/libgstbz2.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstcamerabin.so
%{_libdir}/gstreamer-%{gst_branch}/libgstcamerabin2.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstcdaudio.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstcdxaparse.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstcog.so
%{_libdir}/gstreamer-%{gst_branch}/libgstcoloreffects.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstcolorspace.so
%if 0%{?suse_version} >= 1140
%{_libdir}/gstreamer-%{gst_branch}/libgstcurl.so
%endif
%{_libdir}/gstreamer-%{gst_branch}/libgstdataurisrc.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstdc1394.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstdccp.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdebugutilsbad.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdecklink.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstdfbvideosink.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstdirac.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdvb.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdvbsuboverlay.so
%{_libdir}/gstreamer-%{gst_branch}/libgsteglglessink.so
%{_libdir}/gstreamer-%{gst_branch}/libgstfbdevsink.so
%{_libdir}/gstreamer-%{gst_branch}/libgstfestival.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
%if 0%{?suse_version} >= 1140
#%{_libdir}/gstreamer-%{gst_branch}/libgstgsettingselements.so
%endif
%{_libdir}/gstreamer-%{gst_branch}/libgstgsm.so
#%{_libdir}/gstreamer-%{gst_branch}/libgsth264parse.so
#%{_libdir}/gstreamer-%{gst_branch}/libgsthdvparse.so
%{_libdir}/gstreamer-%{gst_branch}/libgstid3tag.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstinvtelecine.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}/libgstjp2k.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstjp2kdecimator.so
%{_libdir}/gstreamer-%{gst_branch}/libgstjpegformat.so
%{_libdir}/gstreamer-%{gst_branch}/libgstkate.so
%{_libdir}/gstreamer-%{gst_branch}/libgstladspa.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstlegacyresample.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstlinsys.so
%{_libdir}/gstreamer-%{gst_branch}/libgstliveadder.so
%if %{with LV2}
#%{_libdir}/gstreamer-%{gst_branch}/libgstlv2.so
%endif
%{_libdir}/gstreamer-%{gst_branch}/libgstmfc.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmidi.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmms.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmodplug.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstmpeg4videoparse.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmpegpsdemux.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmpegpsmux.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmpegtsdemux.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmpegtsmux.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstmpegvideoparse.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmplex.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstmusepack.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstmve.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmxf.so
%if 0%{?suse_version} != 1315
%{_libdir}/gstreamer-%{gst_branch}/libgstopenjpeg.so
%endif
%{_libdir}/gstreamer-%{gst_branch}/libgstopus.so
%{_libdir}/gstreamer-%{gst_branch}/libgstneonhttpsrc.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstnsf.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstnuvdemux.so
%{_libdir}/gstreamer-%{gst_branch}/libgstofa.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstpatchdetect.so
%{_libdir}/gstreamer-%{gst_branch}/libgstpcapparse.so
%{_libdir}/gstreamer-%{gst_branch}/libgstpnm.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrawparse.so
%{_libdir}/gstreamer-%{gst_branch}/libgstremovesilence.so
%ifarch %ix86 x86_64 ppc
#%{_libdir}/gstreamer-%{gst_branch}/libgstreal.so
%endif
%{_libdir}/gstreamer-%{gst_branch}/libgstrfbsrc.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrsvg.so
%{_libdir}/gstreamer-%{gst_branch}/libgstschro.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstsdi.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstsdl.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}/libgstsndfile.so
%{_libdir}/gstreamer-%{gst_branch}/libgstsoundtouch.so
%{_libdir}/gstreamer-%{gst_branch}/libgstspandsp.so
%{_libdir}/gstreamer-%{gst_branch}/libgstspeed.so
#%{_libdir}/gstreamer-%{gst_branch}/libgststereo.so
%{_libdir}/gstreamer-%{gst_branch}/libgstsubenc.so
#%{_libdir}/gstreamer-%{gst_branch}/libgsttimidity.so
#%{_libdir}/gstreamer-%{gst_branch}/libgsttrm.so
#%{_libdir}/gstreamer-%{gst_branch}/libgsttta.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstvcdsrc.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvdpau.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvideofiltersbad.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstvideomaxrate.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstvideomeasure.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvideoparsersbad.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstvideosignal.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstvmnc.so
%if %{build_wayland}
%{_libdir}/gstreamer-%{gst_branch}/libgstwaylandsink.so
%endif
%{_libdir}/gstreamer-%{gst_branch}/libgsty4mdec.so
%{_libdir}/gstreamer-%{gst_branch}/libgstyadif.so
%{_libdir}/gstreamer-%{gst_branch}/libgstresindvd.so
%if 0%{?BUILD_ORIG}
%if 0%{?BUILD_ORIG_ADDON}

%files orig-addon
%defattr(-, root, root)
%endif
%ifarch %ix86
%if %{with divx4linux}
%{_libdir}/gstreamer-%{gst_branch}/libgstdivxdec.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdivxenc.so
%endif
%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}/libgstmpeg2enc.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstmythtvsrc.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstnassink.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrtmp.so
%{_libdir}/gstreamer-%{gst_branch}/libgstsiren.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstxvid.so
%endif

%files -n libgstphotography-1_0-0
%defattr(-, root, root)
%{_libdir}/libgstphotography-%{gst_branch}.so.0*

%files -n libgstegl-1_0-0
%defattr(-, root, root)
%{_libdir}/libgstegl-%{gst_branch}.so.0*

%files -n libgstbasecamerabinsrc-1_0-0
%defattr(-, root, root)
%{_libdir}/libgstbasecamerabinsrc-%{gst_branch}.so.0*

%files -n libgstcodecparsers-1_0-0
%defattr(-, root, root)
%{_libdir}/libgstcodecparsers-%{gst_branch}.so.0*

%files -n libgstinsertbin-1_0-0
%defattr(-, root, root)
%{_libdir}/libgstinsertbin-%{gst_branch}.so.0*

%files -n libgstmpegts-1_0-0
%defattr(-, root, root)
%{_libdir}/libgstmpegts-%{gst_branch}.so.0*

%files -n libgsturidownloader-1_0-0
%defattr(-, root, root)
%{_libdir}/libgsturidownloader-%{gst_branch}.so.0*

%if %{build_gstvdp}
%files -n libgstvdp-1_0-0
%defattr(-, root, root)
%{_libdir}/libgstvdp-%{gst_branch}.so.0*
%endif

%files devel
%defattr(-, root, root)
%{_includedir}/gstreamer-%{gst_branch}
%{_libdir}/*.so
%{_libdir}/pkgconfig/gstreamer-codecparsers-%{gst_branch}.pc
%{_libdir}/pkgconfig/gstreamer-egl-%{gst_branch}.pc
%{_libdir}/pkgconfig/gstreamer-insertbin-%{gst_branch}.pc
%{_libdir}/pkgconfig/gstreamer-mpegts-1.0.pc
%{_libdir}/pkgconfig/gstreamer-plugins-bad-%{gst_branch}.pc

%files lang -f %{_name}-%{gst_branch}.lang

%files doc
%defattr(-, root, root)
%{_datadir}/gtk-doc/html/gst-plugins-bad-plugins-%{gst_branch}/
%{_datadir}/gtk-doc/html/gst-plugins-bad-libs-%{gst_branch}/

%changelog