File gstreamer-0_10-plugins-ugly.spec of Package gstreamer-0_10-plugins-ugly
#
# spec file for package gstreamer-0_10-plugins-ugly (Version 0.10.9)
#
# Copyright (c) 2008 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
Name: gstreamer-0_10-plugins-ugly
Version: 0.10.9
Release: 2
# 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-ugly
BuildRequires: check-devel
BuildRequires: gcc-c++
BuildRequires: gstreamer-0_10-plugins-base-devel
BuildRequires: gtk-doc
BuildRequires: libcdio-devel
BuildRequires: libdvdnav-devel
BuildRequires: libdvdread-devel
BuildRequires: libid3tag-devel
BuildRequires: liboil-devel
BuildRequires: libsidplay1-devel
BuildRequires: pyxml
BuildRequires: sgml-skel
BuildRequires: xorg-x11-devel
%if 0%{?BUILD_ORIG}
BuildRequires: a52dec-devel
BuildRequires: amrnb-devel lame
BuildRequires: libmpeg2-devel
BuildRequires: mad-devel
%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: LGPL v2.1 or later
Group: Productivity/Multimedia/Other
%define gst_branch 0.10
%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
%endif
Source1: %{name}-patch-source.sh
Patch: gstreamer010-plugins-ugly-enable-incomplete.patch
Patch1: gstreamer010-plugins-ugly-patched.patch
Patch2: gstreamer010-plugins-ugly-dvdnav.patch
Url: http://gstreamer.freedesktop.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: GStreamer Streaming-Media Framework Plug-Ins
Enhances: gstreamer010
# Name up to 10.3:
Provides: gstreamer010-plugins-ugly = %{version}
Obsoletes: gstreamer010-plugins-ugly < %{version}
# Generic name, never used in SuSE:
Provides: gst-plugins-ugly = %{version}
%define gstreamer010_plugins_ugly_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_ugly_req
Requires: %{name}-lang = %{version}
# xingmux moved from bad (after OpenSUSE 10.3):
Conflicts: gstreamer010-plugins-bad <= 0.10.5
%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 newplug-ins.
Authors:
--------
Erik Walthinsen <omega@temple-baptist.com>
Matt Howell <mhowell@users.sourceforge.net>
Brent Bradburn <bbradburn@users.sourceforge.net>
Wim Taymans <wim.taymans@chello.be>
Richard Boulton <richard@tartarus.org>
Zaheer Abbas Merali <zaheerabbas@merali.org>
David I. Lehn <dlehn@users.sourceforge.net>
Chris Emerson <chris@tartarus.org>
Jens Thiele <karme@unforgettable.com>
Thomas Nyberg <thomas@codefactory.se>
Bastien Nocera <hadess@hadess.net>
Christian Fredrik Kalager Schaller <Uraeus@linuxrising.org>
Thomas Vander Stichele <thomas@apestaart.org>
Andy Wingo <wingo@pobox.com>
Cameron Hutchison <camh@xdna.net>
David Schleef <ds@schleef.org>
Benjamin Otte <in7y118@public.uni-hamburg.de>
Ronald Bultje <rbultje@ronald.bitfreak.net>
Julien Moutte <julien@moutte.net>
Jan Schmidt <thaytan@mad.scientist.com>
Arwed v. Merkatz <v.merkatz@gmx.net>
%if 0%{?BUILD_ORIG}
%if 0%{?BUILD_ORIG_ADDON}
%package orig-addon
License: LGPL v2.1 or later
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: Productivity/Multimedia/Other
Requires: %{name} >= %{version}
Supplements: %{name}
# Name up to 10.3:
Provides: gstreamer010-plugins-ugly-orig-addon = %{version}
Obsoletes: gstreamer010-plugins-ugly-orig-addon < %{version}
# Generic name, never used in SuSE:
Provides: gst-plugins-ugly:%{_libdir}/gstreamer-%{gst_branch}/libgstmad.so
%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 from real-time sound processing to playing videos and just
about anything else media-related. Its plug-in-based architecture
means that new data types or processing capabilities can be added
simply by installing new plug-ins.
Authors:
--------
Erik Walthinsen <omega@temple-baptist.com>
Matt Howell <mhowell@users.sourceforge.net>
Brent Bradburn <bbradburn@users.sourceforge.net>
Wim Taymans <wim.taymans@chello.be>
Richard Boulton <richard@tartarus.org>
Zaheer Abbas Merali <zaheerabbas@merali.org>
David I. Lehn <dlehn@users.sourceforge.net>
Chris Emerson <chris@tartarus.org>
Jens Thiele <karme@unforgettable.com>
Thomas Nyberg <thomas@codefactory.se>
Bastien Nocera <hadess@hadess.net>
Christian Fredrik Kalager Schaller <Uraeus@linuxrising.org>
Thomas Vander Stichele <thomas@apestaart.org>
Andy Wingo <wingo@pobox.com>
Cameron Hutchison <camh@xdna.net>
David Schleef <ds@schleef.org>
Benjamin Otte <in7y118@public.uni-hamburg.de>
Ronald Bultje <rbultje@ronald.bitfreak.net>
Julien Moutte <julien@moutte.net>
Jan Schmidt <thaytan@mad.scientist.com>
Arwed v. Merkatz <v.merkatz@gmx.net>
%endif
%endif
%package doc
License: LGPL v2.1 or later
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
# Name up to 10.3:
Provides: gstreamer010-plugins-ugly-doc = %{version}
Obsoletes: gstreamer010-plugins-ugly-doc < %{version}
%description doc
GStreamer is a streaming media framework, based on graphs of filters
which operate on media data. Applications using this library can do
anything from real-time sound processing to playing videos, and just
about anything else media-related. Its plugin-based architecture means
that new data types or processing capabilities can be added simply by
installing new plug-ins.
Authors:
--------
Erik Walthinsen <omega@temple-baptist.com>
Matt Howell <mhowell@users.sourceforge.net>
Brent Bradburn <bbradburn@users.sourceforge.net>
Wim Taymans <wim.taymans@chello.be>
Richard Boulton <richard@tartarus.org>
Zaheer Abbas Merali <zaheerabbas@merali.org>
David I. Lehn <dlehn@users.sourceforge.net>
Chris Emerson <chris@tartarus.org>
Jens Thiele <karme@unforgettable.com>
Thomas Nyberg <thomas@codefactory.se>
Bastien Nocera <hadess@hadess.net>
Christian Fredrik Kalager Schaller <Uraeus@linuxrising.org>
Thomas Vander Stichele <thomas@apestaart.org>
Andy Wingo <wingo@pobox.com>
Cameron Hutchison <camh@xdna.net>
David Schleef <ds@schleef.org>
Benjamin Otte <in7y118@public.uni-hamburg.de>
Ronald Bultje <rbultje@ronald.bitfreak.net>
Julien Moutte <julien@moutte.net>
Jan Schmidt <thaytan@mad.scientist.com>
Arwed v. Merkatz <v.merkatz@gmx.net>
%lang_package
%prep
%setup -q -n %{_name}-%{version}
# WARNING: Disable this patch for release!
#%patch
%if ! 0%{?BUILD_ORIG}
%patch1
%endif
%patch2
%build
NOCONFIGURE=1 ./autogen.sh
%configure\
--enable-gtk-doc\
--enable-experimental
make %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{gst_branch}/*.*a
%if ! 0%{?BUILD_ORIG}
for MODULE in \
%{_libdir}/gstreamer-%{gst_branch}/libgsta52dec.so \
%{_libdir}/gstreamer-%{gst_branch}/libgstamrnb.so \
%{_libdir}/gstreamer-%{gst_branch}/libgstasf.so \
%{_libdir}/gstreamer-%{gst_branch}/libgstiec958.so \
%{_libdir}/gstreamer-%{gst_branch}/libgstlame.so \
%{_libdir}/gstreamer-%{gst_branch}/libgstmad.so \
%{_libdir}/gstreamer-%{gst_branch}/libgstmpeg2dec.so \
%{_libdir}/gstreamer-%{gst_branch}/libgstmpegaudioparse.so \
%{_libdir}/gstreamer-%{gst_branch}/libgstmpegstream.so \
; do
rm -f $RPM_BUILD_ROOT$MODULE
done
%endif
%find_lang %{_name}-%{gst_branch}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc AUTHORS COPYING NEWS README RELEASE REQUIREMENTS
%{_libdir}/gstreamer-%{gst_branch}/libgstcdio.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdvdlpcmdec.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstdvdnav.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdvdread.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdvdsub.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrmdemux.so
%{_libdir}/gstreamer-%{gst_branch}/libgstsid.so
%{_libdir}/gstreamer-%{gst_branch}/libgstsynaesthesia.so
%if 0%{?BUILD_ORIG}
%if 0%{?BUILD_ORIG_ADDON}
%files orig-addon
%defattr(-, root, root)
%endif
%{_libdir}/gstreamer-%{gst_branch}/libgsta52dec.so
%{_libdir}/gstreamer-%{gst_branch}/libgstamrnb.so
%{_libdir}/gstreamer-%{gst_branch}/libgstasf.so
%{_libdir}/gstreamer-%{gst_branch}/libgstiec958.so
%{_libdir}/gstreamer-%{gst_branch}/libgstlame.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmad.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmpeg2dec.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmpegaudioparse.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmpegstream.so
%endif
%files lang -f %{_name}-%{gst_branch}.lang
%files doc
%defattr(-, root, root)
%{_datadir}/gtk-doc/html/gst-plugins-ugly-plugins-%{gst_branch}
%changelog
* Thu Nov 06 2008 sbrabec@suse.cz
- Fixed valgrid BuildRequires.
- Disabled incomplete dvdnav, resindvd from -bad should be better.
* Wed Sep 17 2008 jpr@novell.com
- Update to version 0.10.9:
* Bug fixes in Xing header muxer
* Real streaming and demuxing improvements
* Bugs fixed: bgo#476149, bgo#490372, bgo#498004, bgo#542646,
bgo#548194, bgo#527572, bgo#518676, bgo#518933, bgo#521459,
bgo#524346, bgo#529488, bgo#532807,bgo#533832
- Build cdio plugin
- Update gstreamer010-plugins-ugly-patched.patch for new configure
check
* Wed Jul 30 2008 ro@suse.de
- fix build (wrong include path for dvdnav header)
* Tue Apr 08 2008 sbrabec@suse.cz
- Updated to version 0.10.7:
* Many bug fixes and improvements
* Accurate seeking support in mp3
* xingmux moved from -bad
* RealMedia and WMS RTSP support
* LAME mp3 encoder fixes
* Support non-square pixels in ASF
* rmdemux fixes
* amrnb fixes
* dvdreadsrc seeking fix
* Initial MPEG-2 reverse playback support
* New element: dvdsubdec
* Bugs fixed: bgo#358891, bgo#337681, bgo#414988, bgo#427309,
bgo#439390, bgo#450879, bgo#452025, bgo#454311, bgo#466442,
bgo#495885, bgo#500467, bgo#500808, bgo#507821, bgo#511497,
bgo#514297, bgo#515575, bgo#515708, bgo#515725, bgo#516278,
bgo#516811, bgo#516989, bgo#308312, bgo#508595, bgo#140136,
bgo#448782, bgo#491305, bgo#504671.
- Fixed Obsoletes (bnc#357153).
* Tue Jan 22 2008 sbrabec@suse.cz
- Rename package according to shared library packaging policy
(#223286).
- Created lang package.
* Tue Oct 16 2007 sbrabec@suse.cz
- Fixed backslash expansion in previous change.
* Mon Oct 15 2007 sbrabec@suse.cz
- Worked around OBS spec file corruption bug (#332132).
* Fri Oct 05 2007 sbrabec@suse.cz
- Use less restrictive Requires based on the sources.
* Mon Sep 17 2007 sbrabec@suse.cz
- Updated to version 0.10.6:
* fixes in handling of MPEG streams, Real streams and MP3
* AMR-NB fixes
* many other bug-fixes and improvements
- Patch utility without untarring the archive.
* Thu Aug 02 2007 sbrabec@suse.cz
- Use Enhances: gstreamer010 instead of Supplements (#294358).
* Wed May 16 2007 sbrabec@suse.cz
- Use Supplements instead of not yet supported Enhances.
- Repack utility without untarring the archive.
* Thu Apr 19 2007 schwab@suse.de
- Fix quoting in autoconf macros.
* Wed Apr 18 2007 sbrabec@suse.cz
- Provide source code patching utility and removed NoSource.
* Tue Apr 17 2007 sbrabec@suse.cz
- Distribute DVD LPCM decoder.
* Tue Mar 27 2007 sbrabec@suse.cz
- Updated to version 0.10.5:
* Improved asf playback
* Fixes to MPEG demuxer
* Improved Real playback
* Fix crasher bugs in the MPEG video decoder
* DVD-read-src improvements
* mp3 parser fixes
* Many bugs fixed
- Moved dvdnav and dvdsub to distributable part.
- Support for feature complete build.
- Support for BUILD_ORIG and BUILD_ORIG_ADDON defines (#237351).
* Mon Dec 18 2006 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Tue Nov 07 2006 abockover@suse.de
- Updated to version 0.10.4
* Lots of bug fixes
* Thu Sep 14 2006 sbrabec@suse.cz
- Disabled AMR-NB by default (#204767).
* Fri Jun 30 2006 sbrabec@suse.cz
- Fixed BuildRequires.
* Mon Jun 26 2006 sbrabec@suse.cz
- Updated to version 0.10.3:
* dvdsubdec ported
* fixes in mpeg2dec, asfdemux, mpegdemux, dvddemux, rmdemux,
mpegparse, amrnb, mad, lame, a52dec
* bug fixes
* Fri Feb 24 2006 jpr@suse.de
- Update to 0.10.2
- This is GStreamer Ugly Plug-ins 0.10.2, "Season to Taste".
Features since 0.10.1:
* Parallel installability with 0.8.x series
* Threadsafe design and API
* DVD Title source (dvdreadsrc) ported (DVD Menus in a future release)
* ASF demuxer ported
* Fixes for MPEG demuxing
* Fixes for the MAD MP3 decoder
* Fixes for the LAME MP3 encoder
* ID3 tag reading has moved to id3demux in gst-plugins-good
* Fixes for the Real Media demuxer
* Various other fixes
Bugs fixed since 0.10.1:
* 171528 : SIGFPE in gstasf with http://joule.via.ecp.fr/~lool/debia...
* 317872 : Cannot demux ASF/WMV files with auxillary (non-audio/vide...
* 319782 : Lame encoding is broken with vbr=vbr-new and vbr-quality=9
* 326711 : [mpegdemux] does not negotiate source pads
* 326734 : [mad] Add 24-bit output support
* 329575 : misc bugfixes for mad from 0.8
* 331035 : [asfdemux] port to 0.10
* 331301 : [mpeg2dec] strides issues when cropping
* 330844 : mpeg2dec crashes with " cropped " MPEG videos
* 331579 : Set asfdemux rank to secondary
* 313838 : totem hangs after playing an amazon sample
* Tue Feb 14 2006 sbrabec@suse.cz
- Fixed Requires.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 24 2006 ro@suse.de
- avoid gstreamer installation (-gstreamer in nfb)
* Wed Jan 18 2006 sbrabec@suse.cz
- Updated to version 0.10.1.
* Fri Jan 06 2006 sbrabec@suse.cz
- New SuSE package, version 0.10.0.
- Worked around -export-symbols-regex libtool problems.