File gstreamer-0_10-plugins-bad.spec of Package gstreamer-0_10-plugins-bad

#
# spec file for package gstreamer-0_10-plugins-bad
#
# Copyright (c) 2012 SUSE LINUX Products 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

Name:           gstreamer-0_10-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:        0.10.23
Release:        0
# FIXME: on new upstream version, double-check that the NOTE before the license tag can be removed
# FIXME: re-enable opencv BuildRequires once bnc#748666 is fixed (we don't want to depend on libxine!)
# FIXME: missing BuildRequires on opus (http://opus-codec.org/)
# FIXME: missing BuildRequires on libtiger (http://code.google.com/p/libtiger/)
# FIXME: missing BuildRequires on zbar (http://zbar.sourceforge.net/)
%define gst_branch 0.10
Summary:        GStreamer Streaming-Media Framework Plug-Ins
License:        GPL-2.0+ ; LGPL-2.1+
Group:          Productivity/Multimedia/Other
# NOTE: Some files for the vdpau plugin in this tarball have a GPL-3.0+ header;
# this was a mistake and is already fixed upstream, see bgo#671142 and
# http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=044df35560bb095f2d244147928f291a4e65f5d3
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 souce:
#%(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
Patch6:         gstreamer010-plugins-bad-real.patch
# Please remove me when slv2 and lv2core are in factory.
%if %{with LV2}
BuildRequires:  lv2core-devel
BuildRequires:  slv2-devel
%endif
BuildRequires:  DirectFB-devel
BuildRequires:  SDL-devel
BuildRequires:  autoconf
BuildRequires:  check-devel
BuildRequires:  dirac-devel
BuildRequires:  gcc-c++
BuildRequires:  glib2-devel >= 2.24
BuildRequires:  gstreamer-0_10-devel >= 0.10.36
BuildRequires:  gstreamer-0_10-plugins-base-devel >= 0.10.36
BuildRequires:  gtk-doc
BuildRequires:  gtk2-devel
BuildRequires:  jack-devel
BuildRequires:  ladspa-devel
BuildRequires:  libass-devel
BuildRequires:  libcdaudio-devel
BuildRequires:  libcelt-devel
%if 0%{?suse_version} >= 1140
BuildRequires:  libcurl-devel >= 7.21.0
%endif
BuildRequires:  libdc1394-devel
BuildRequires:  libdvdnav-devel
BuildRequires:  libexempi-devel
BuildRequires:  libexif-devel
BuildRequires:  libglade2-devel
BuildRequires:  libgme-devel
BuildRequires:  libgsm-devel
BuildRequires:  libiptcdata-devel
BuildRequires:  libjasper-devel
BuildRequires:  libkate-devel
BuildRequires:  liblrdf-devel
BuildRequires:  libmjpegutils-devel
BuildRequires:  libmms-devel
BuildRequires:  libmodplug-devel
BuildRequires:  libmpcdec-devel
BuildRequires:  libmusicbrainz-devel
BuildRequires:  libofa-devel
BuildRequires:  libpng-devel
BuildRequires:  libraptor-devel
BuildRequires:  librsvg-devel
BuildRequires:  libsndfile-devel
BuildRequires:  libtheora-devel
BuildRequires:  libtimidity-devel
BuildRequires:  libvdpau-devel
BuildRequires:  libvpx-devel
BuildRequires:  neon-devel
BuildRequires:  openal-soft-devel
# Disabled because of bnc#748666
#BuildRequires:  opencv-devel
BuildRequires:  openssl-devel
BuildRequires:  orc
BuildRequires:  python-devel
BuildRequires:  schroedinger-devel
BuildRequires:  sgml-skel
BuildRequires:  soundtouch-devel
%if 0%{?suse_version} > 1210
BuildRequires:  spandsp-devel
%endif
BuildRequires:  translation-update-upstream
BuildRequires:  zvbi-devel
%ifarch %ix86 ppc x86_64
BuildRequires:  valgrind-devel
%endif
%if 0%{?suse_version} <= 1210
BuildRequires:  xz
%endif
# 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: opus: Requires opus, not yet in openSUSE.
# FIXME: rtmp: Not 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)
BuildRequires:  pkgconfig(vo-amrwbenc)
%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 gstreamer010_plugins_bad_req %(xzgrep --text "^GST.*_REQ" %{S:0} | sort -u | sed 's/GST_REQ=/gstreamer-0_10 >= /;s/GSTPB_REQ=/gstreamer-0_10-plugins-base >= /' | tr '\\n' ' ')
Requires:       %gstreamer010_plugins_bad_req
Recommends:     %{name}-lang
Enhances:       gstreamer-0_10
# ensure clean update after package merge.
Provides:       gstreamer-0_10-schroedinger = 1.0.8
Obsoletes:      gstreamer-0_10-schroedinger <= 1.0.7
# Name up to 10.3:
Provides:       gstreamer010-plugins-bad = %{version}
Obsoletes:      gstreamer010-plugins-bad < %{version}
# 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}
# Name up to 10.3:
Provides:       gstreamer010-plugins-bad-orig-addon = %{version}
Obsoletes:      gstreamer010-plugins-bad-orig-addon < %{version}
# Generic name, never used in SuSE:
Provides:       gst-plugins-bad:%{_libdir}/gstreamer-%{gst_branch}/libgstxvid.so = %{version}
# For update from == 11.0 (mpeg4videoparse mpegtsparse mpegvideoparse):
Conflicts:      gstreamer-0_10-plugins-bad < 0.10.8

%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-0_10-23
Summary:        GStreamer Streaming-Media Framework Plug-Ins
Group:          Productivity/Multimedia/Other

%description -n libgstbasecamerabinsrc-0_10-23
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 libgstbasevideo-0_10-23
Summary:        GStreamer Streaming-Media Framework Plug-Ins
Group:          Productivity/Multimedia/Other

%description -n libgstbasevideo-0_10-23
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-0_10-23
Summary:        GStreamer Streaming-Media Framework Plug-Ins
Group:          Productivity/Multimedia/Other

%description -n libgstcodecparsers-0_10-23
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-0_10-23
Summary:        GStreamer Streaming-Media Framework Plug-Ins
Group:          Productivity/Multimedia/Other

%description -n libgstphotography-0_10-23
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 libgstsignalprocessor-0_10-23
Summary:        GStreamer Streaming-Media Framework Plug-Ins
Group:          Productivity/Multimedia/Other

%description -n libgstsignalprocessor-0_10-23
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-0_10-23
Summary:        GStreamer Streaming-Media Framework Plug-Ins
Group:          Productivity/Multimedia/Other

%description -n libgstvdp-0_10-23
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-0_10-devel
Requires:       libgstbasecamerabinsrc-0_10-23 = %{version}
Requires:       libgstbasevideo-0_10-23 = %{version}
Requires:       libgstcodecparsers-0_10-23 = %{version}
Requires:       libgstphotography-0_10-23 = %{version}
Requires:       libgstsignalprocessor-0_10-23 = %{version}
Requires:       libgstvdp-0_10-23 = %{version}

%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}
# Name up to 10.3:
Provides:       gstreamer010-plugins-bad-doc = %{version}
Obsoletes:      gstreamer010-plugins-bad-doc < %{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-0.10
%patch6

%build
autoconf
%configure\
	--disable-static\
	--enable-experimental\
	--enable-gtk-doc
%__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-0_10-23 -p /sbin/ldconfig

%post -n libgstbasevideo-0_10-23 -p /sbin/ldconfig

%post -n libgstcodecparsers-0_10-23 -p /sbin/ldconfig

%post -n libgstphotography-0_10-23 -p /sbin/ldconfig

%post -n libgstsignalprocessor-0_10-23 -p /sbin/ldconfig

%post -n libgstvdp-0_10-23 -p /sbin/ldconfig

%postun -n libgstbasevideo-0_10-23 -p /sbin/ldconfig

%postun -n libgstbasecamerabinsrc-0_10-23 -p /sbin/ldconfig

%postun -n libgstcodecparsers-0_10-23 -p /sbin/ldconfig

%postun -n libgstphotography-0_10-23 -p /sbin/ldconfig

%postun -n libgstsignalprocessor-0_10-23 -p /sbin/ldconfig

%postun -n libgstvdp-0_10-23 -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}/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}/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}/libgstcelt.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}/libgstdtmf.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}/libgstfestival.so
%{_libdir}/gstreamer-%{gst_branch}/libgstfieldanalysis.so
%{_libdir}/gstreamer-%{gst_branch}/libgstfragmented.so
%{_libdir}/gstreamer-%{gst_branch}/libgstfreeverb.so
%{_libdir}/gstreamer-%{gst_branch}/libgstfreeze.so
%{_libdir}/gstreamer-%{gst_branch}/libgstfrei0r.so
%{_libdir}/gstreamer-%{gst_branch}/libgstgaudieffects.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}/libgstinterlace.so
%{_libdir}/gstreamer-%{gst_branch}/libgstivfparse.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}/libgstmms.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmodplug.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmpegdemux.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
%{_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}/libgstopenal.so
# Disabled because of bnc#748666
#%{_libdir}/gstreamer-%{gst_branch}/libgstopencv.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
%ifarch %ix86 x86_64 ppc
%{_libdir}/gstreamer-%{gst_branch}/libgstreal.so
%endif
%{_libdir}/gstreamer-%{gst_branch}/libgstremovesilence.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrfbsrc.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrsvg.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrtpmux.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrtpvp8.so
%{_libdir}/gstreamer-%{gst_branch}/libgstscaletempoplugin.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
%if 0%{?suse_version} > 1210
%{_libdir}/gstreamer-%{gst_branch}/libgstspandsp.so
%endif
%{_libdir}/gstreamer-%{gst_branch}/libgstspeed.so
%{_libdir}/gstreamer-%{gst_branch}/libgststereo.so
%{_libdir}/gstreamer-%{gst_branch}/libgstsubenc.so
%{_libdir}/gstreamer-%{gst_branch}/libgstteletextdec.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
%{_libdir}/gstreamer-%{gst_branch}/libgstvp8.so
%{_libdir}/gstreamer-%{gst_branch}/libgsty4mdec.so
%{_libdir}/gstreamer-%{gst_branch}/libresindvd.so
%{_libdir}/gstreamer-%{gst_branch}/libgstinter.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}/libgstvoaacenc.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvoamrwbenc.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 libgstbasecamerabinsrc-0_10-23
%defattr(-, root, root)
%{_libdir}/libgstbasecamerabinsrc-0.10.so.23*

%files -n libgstbasevideo-0_10-23
%defattr(-, root, root)
%{_libdir}/libgstbasevideo-0.10.so.23*

%files -n libgstcodecparsers-0_10-23
%defattr(-, root, root)
%{_libdir}/libgstcodecparsers-0.10.so.23*

%files -n libgstphotography-0_10-23
%defattr(-, root, root)
%{_libdir}/libgstphotography-0.10.so.23*

%files -n libgstsignalprocessor-0_10-23
%defattr(-, root, root)
%{_libdir}/libgstsignalprocessor-0.10.so.23*

%files -n libgstvdp-0_10-23
%defattr(-, root, root)
%{_libdir}/libgstvdp-0.10.so.23*

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

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

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

%changelog