Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
gstreamer-0_10-plugins-bad
gstreamer-0_10-plugins-bad.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
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) 2011 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/ # # norootforbuild %bcond_with divx4linux %bcond_with libmms %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.21 Release: 1 %define gst_branch 0.10 # Please remove me when slv2 and lv2core are in factory. %if %{with LV2} BuildRequires: slv2-devel BuildRequires: lv2core-devel %endif BuildRequires: DirectFB-devel BuildRequires: SDL-devel BuildRequires: check-devel BuildRequires: dirac-devel gcc-c++ BuildRequires: gstreamer-0_10-plugins-base-devel BuildRequires: gtk-doc BuildRequires: gtk2-devel BuildRequires: jack-devel BuildRequires: ladspa-devel BuildRequires: libass-devel BuildRequires: libcdaudio-devel BuildRequires: libcelt-devel BuildRequires: libdc1394-devel BuildRequires: libdvdnav-devel BuildRequires: libexempi-devel BuildRequires: libexif-devel BuildRequires: libglade2-devel BuildRequires: libgsm-devel BuildRequires: libiptcdata-devel BuildRequires: libjasper-devel BuildRequires: libkate-devel BuildRequires: libmodplug-devel BuildRequires: libmpcdec-devel BuildRequires: libmusicbrainz-devel BuildRequires: libofa-devel BuildRequires: libpng-devel BuildRequires: librsvg-devel BuildRequires: libsndfile-devel BuildRequires: libtheora-devel BuildRequires: libtimidity-devel BuildRequires: libvdpau-devel BuildRequires: libvpx-devel # FIXME: mpeg2enc: It should be built with mjpegtools-devel, but it isn't. BuildRequires: mjpegtools-devel BuildRequires: neon-devel BuildRequires: openssl-devel BuildRequires: orc BuildRequires: python-devel BuildRequires: schroedinger-devel BuildRequires: sgml-skel BuildRequires: soundtouch-devel BuildRequires: translation-update-upstream %if %{with libmms} BuildRequires: libmms-devel %endif # FIXME: flite: Not in openSUSE # FIXME: gme: Not in openSUSE (but in multimedia:libs) # 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: wildmidi: Requires WildMIDI Open Source Midi Synthesizer # 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} BuildRequires: faac-devel BuildRequires: faad2-devel BuildRequires: libdca-devel BuildRequires: libmpeg2-devel BuildRequires: libxvidcore-devel %ifarch %ix86 # binary only so make conditional %if %{with divx4linux} BuildRequires: divx4linux-devel %endif %endif # FIXME: Enable more modules. %if 0%{?BUILD_ORIG_ADDON} Provides: patched_subset %else Provides: %{name}-orig-addon = %{version} Obsoletes: %{name}-orig-addon %endif %else Provides: patched_subset %endif %ifarch %ix86 ppc x86_64 BuildRequires: valgrind-devel %endif License: GPLv2+ ; LGPLv2.1+ Group: Productivity/Multimedia/Other %if 0%{?BUILD_ORIG} Source: http://gstreamer.freedesktop.org/src/%{_name}/%{_name}-%{version}.tar.bz2 %else # WARNING: This is not a comment, but the real command to repack souce: #%(bash %{_sourcedir}/%{name}-patch-source.sh %{_name}-%{version}.tar.bz2) Source: %{_name}-%{version}-patched.tar.bz2 # 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 Url: http://gstreamer.freedesktop.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: GStreamer Streaming-Media Framework Plug-Ins Enhances: gstreamer-0_10 # 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} %define gstreamer010_plugins_bad_req %(zgrep --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 # ensure clean update after package merge. Provides: gstreamer-0_10-schroedinger = 1.0.8 Obsoletes: gstreamer-0_10-schroedinger <= 1.0.7 %if 0%{?suse_version} >= 1140 Requires(post): glib2-tools Requires(postun): glib2-tools %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. %if 0%{?BUILD_ORIG} %if 0%{?BUILD_ORIG_ADDON} %package orig-addon License: GPLv2+ ; LGPLv2.1+ 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-0 License: GPLv2+ ; LGPLv2.1+ Summary: GStreamer Streaming-Media Framework Plug-Ins Group: Productivity/Multimedia/Other %description -n libgstbasecamerabinsrc-0_10-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-0_10-0 License: GPLv2+ ; LGPLv2.1+ Summary: GStreamer Streaming-Media Framework Plug-Ins Group: Productivity/Multimedia/Other %description -n libgstphotography-0_10-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-0_10-0 License: GPLv2+ ; LGPLv2.1+ Summary: GStreamer Streaming-Media Framework Plug-Ins Group: Productivity/Multimedia/Other %description -n libgstvdp-0_10-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 libgstbasevideo-0_10-0 License: GPLv2+ ; LGPLv2.1+ Summary: GStreamer Streaming-Media Framework Plug-Ins Group: Productivity/Multimedia/Other %description -n libgstbasevideo-0_10-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 libgstsignalprocessor-0_10-0 License: GPLv2+ ; LGPLv2.1+ Summary: GStreamer Streaming-Media Framework Plug-Ins Group: Productivity/Multimedia/Other %description -n libgstsignalprocessor-0_10-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 License: GPLv2+ ; LGPLv2.1+ Summary: GStreamer Streaming-Media Framework Plug-Ins Group: Development/Libraries/C and C++ Requires: libgstphotography-0_10-0 = %{version} gstreamer-0_10-devel %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 License: GPLv2+ ; LGPLv2.1+ 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 %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-0 -p /sbin/ldconfig %post -n libgstphotography-0_10-0 -p /sbin/ldconfig %post -n libgstbasevideo-0_10-0 -p /sbin/ldconfig %post -n libgstsignalprocessor-0_10-0 -p /sbin/ldconfig %post -n libgstvdp-0_10-0 -p /sbin/ldconfig %postun -n libgstbasecamerabinsrc-0_10-0 -p /sbin/ldconfig %postun -n libgstphotography-0_10-0 -p /sbin/ldconfig %postun -n libgstbasevideo-0_10-0 -p /sbin/ldconfig %postun -n libgstsignalprocessor-0_10-0 -p /sbin/ldconfig %postun -n libgstvdp-0_10-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 %{_datadir}/glib-2.0/schemas/org.freedesktop.gstreamer-0.10.default-elements.gschema.xml %{_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}/libgstaudioparsersbad.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 %{_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}/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}/libgstfbdevsink.so %{_libdir}/gstreamer-%{gst_branch}/libgstfestival.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}/libgstgsettingselements.so %{_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}/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}/libgstliveadder.so %if %{with LV2} %{_libdir}/gstreamer-%{gst_branch}/libgstlv2.so %endif %{_libdir}/gstreamer-%{gst_branch}/libgstmodplug.so %{_libdir}/gstreamer-%{gst_branch}/libgstmpeg4videoparse.so %{_libdir}/gstreamer-%{gst_branch}/libgstmpegdemux.so %{_libdir}/gstreamer-%{gst_branch}/libgstmpegpsmux.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}/libgstpcapparse.so %{_libdir}/gstreamer-%{gst_branch}/libgstpnm.so %{_libdir}/gstreamer-%{gst_branch}/libgstqtmux.so %{_libdir}/gstreamer-%{gst_branch}/libgstrawparse.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}/libgstrtpmux.so %{_libdir}/gstreamer-%{gst_branch}/libgstscaletempoplugin.so %{_libdir}/gstreamer-%{gst_branch}/libgstschro.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}/libgstsndfile.so %{_libdir}/gstreamer-%{gst_branch}/libgstsoundtouch.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}/libgstvideomaxrate.so %{_libdir}/gstreamer-%{gst_branch}/libgstvideomeasure.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 %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 %{_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}/libgstsiren.so %{_libdir}/gstreamer-%{gst_branch}/libgstxvid.so %if %{with libmms} %{_libdir}/gstreamer-%{gst_branch}/libgstmms.so %endif %endif %files -n libgstphotography-0_10-0 %defattr(-, root, root) %{_libdir}/libgstphotography-0.10.so.0* %files -n libgstbasevideo-0_10-0 %defattr(-, root, root) %{_libdir}/libgstbasevideo-0.10.so.0* %files -n libgstbasecamerabinsrc-0_10-0 %defattr(-, root, root) %{_libdir}/libgstbasecamerabinsrc-0.10.so.0* %files -n libgstsignalprocessor-0_10-0 %defattr(-, root, root) %{_libdir}/libgstsignalprocessor-0.10.so.0* %files -n libgstvdp-0_10-0 %defattr(-, root, root) %{_libdir}/libgstvdp-0.10.so.0* %files devel %defattr(-, root, root) %{_includedir}/gstreamer-%{gst_branch} %{_libdir}/*.so %{_libdir}/pkgconfig/gstreamer-plugins-bad-0.10.pc %files lang -f %{_name}-%{gst_branch}.lang %files doc %defattr(-, root, root) %{_datadir}/gtk-doc/html/gst-plugins-bad-plugins-%{gst_branch} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor