File gstreamer-0_10-doc.spec of Package gstreamer-0_10
#
# spec file for package gstreamer-0_10-doc (Version 0.10.21)
#
# 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-doc
%define build_doc 1
%define _name gstreamer
Version: 0.10.21
Release: 3
%define gst_branch 0.10
BuildRequires: bison check-devel fdupes flex glib2-devel libxml2-devel pyxml
%ifarch %ix86 ppc x86_64
BuildRequires: valgrind-devel
%endif
%if %build_doc
BuildRequires: docbook-toys docbook-utils gtk-doc transfig
%if %suse_version <= 1020
# Missing in transfig:
BuildRequires: ghostscript-fonts-std ghostscript-library
%endif
%if %suse_version > 1030
BuildRequires: texlive-latex texlive-latex-doc
%endif
# Name up to 10.3:
Provides: gstreamer010-doc = %{version}
Obsoletes: gstreamer010-doc < %{version}
# Generic name, never used in SuSE:
Provides: gstreamer-doc = %{version}
# Ensure that the documentation corresponds with the installed version:
Requires: libgstreamer-0_10-0 = %{version}
%else
Requires: %{name}-lang = %{version}
# Name up to 10.3:
Provides: gstreamer010 = %{version}
Obsoletes: gstreamer010 < %{version} gstreamer010-lang < %{version}
# Generic name, never used in SuSE:
Provides: gstreamer = %{version}
# Core modules may depend on new enough libraries:
Requires: libgstreamer-0_10-0 >= %{version}
%endif
License: LGPL v2.1 or later
Group: Development/Libraries/C and C++
Summary: Streaming-Media Framework Runtime: Documentation for Developers
Source: %{_name}-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE gstreamer-0_10-no-gtk-doc-for-reals.patch maw@novell.com -- to build without gtk-doc, like totally for reals
Patch0: gstreamer-0_10-no-gtk-doc-for-reals.patch
# PATCH-FIX-OPENSUSE gstreamer-0_10-protect-caps-bnc439323.patch gburt@novell.com -- fix bad GST_CAPS bug, already fixed upstream
# but recommended for distros to apply to 0.10.21 - see http://bugzilla.gnome.org/show_bug.cgi?id=555631
Patch1: gstreamer-0_10-protect-caps-bnc439323.patch
Url: http://gstreamer.freedesktop.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
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 plug-in-based architecture
means that new data types or processing capabilities can be added 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>
David Schleef <ds@schleef.org>
Benjamin Otte <in7y118@public.uni-hamburg.de>
Ronald Bultje <rbultje@ronald.bitfreak.net>
Andy Wingo <wingo@pobox.com>
Julien Moutte <julien@moutte.net>
%if !%build_doc
%package -n libgstreamer-0_10-0
License: LGPL v2.1 or later
Summary: Streaming-Media Framework Runtime
Group: System/Libraries
# We want to have core modules installed:
Requires: %{name}
%description -n libgstreamer-0_10-0
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 plug-in-based architecture
means that new data types or processing capabilities can be added 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>
David Schleef <ds@schleef.org>
Benjamin Otte <in7y118@public.uni-hamburg.de>
Ronald Bultje <rbultje@ronald.bitfreak.net>
Andy Wingo <wingo@pobox.com>
Julien Moutte <julien@moutte.net>
%package utils
License: LGPL v2.1 or later
Summary: Streaming-Media Framework Runtime
Group: Productivity/Multimedia/Other
# Name up to 10.3:
Provides: gstreamer010:%{_bindir}/gst-launch-%{gst_branch} = %{version}
# Generic name, never used in SuSE:
Provides: gstreamer:%{_bindir}/gst-launch-%{gst_branch} = %{version}
# Symbol for unversioned wrappers:
Provides: gstreamer-utils_versioned
%description utils
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 plug-in-based architecture
means that new data types or processing capabilities can be added 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>
David Schleef <ds@schleef.org>
Benjamin Otte <in7y118@public.uni-hamburg.de>
Ronald Bultje <rbultje@ronald.bitfreak.net>
Andy Wingo <wingo@pobox.com>
Julien Moutte <julien@moutte.net>
%package -n gstreamer-utils
License: LGPL v2.1 or later
Summary: Streaming-Media Framework Runtime
Group: Productivity/Multimedia/Other
# Name up to 10.3:
Provides: gstreamer010:%{_bindir}/gst-launch = %{version}
# Generic name, never used in SuSE:
Provides: gstreamer:%{_bindir}/gst-launch = %{version}
# At least one versioned package has to be present:
Requires: gstreamer-utils_versioned
%description -n gstreamer-utils
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 plug-in-based architecture
means that new data types or processing capabilities can be added 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>
David Schleef <ds@schleef.org>
Benjamin Otte <in7y118@public.uni-hamburg.de>
Ronald Bultje <rbultje@ronald.bitfreak.net>
Andy Wingo <wingo@pobox.com>
Julien Moutte <julien@moutte.net>
%package devel
License: LGPL v2.1 or later
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/C and C++
Requires: %{name} = %{version} glib2-devel libxml2-devel popt-devel check-devel
# Name up to 10.3:
Provides: gstreamer010-devel = %{version}
Obsoletes: gstreamer010-devel < %{version}
# Generic name, never used in SuSE:
Provides: gstreamer-devel = %{version}
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
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>
David Schleef <ds@schleef.org>
Benjamin Otte <in7y118@public.uni-hamburg.de>
Ronald Bultje <rbultje@ronald.bitfreak.net>
Andy Wingo <wingo@pobox.com>
Julien Moutte <julien@moutte.net>
%endif
%lang_package
%prep
%setup -q -n %{_name}-%{version}
%if ! %build_doc
%patch0 -p1
%patch1 -p0
%endif
%build
# FIXME: GTKDOC_CFLAGS, GST_OBJ_CFLAGS:
# Silently ignored compilation of uninstalled gtk-doc scanners without RPM_OPT_FLAGS.
NOCONFIGURE=1 ./autogen.sh
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure\
%if %build_doc
--enable-gtk-doc\
--enable-docbook\
%endif
--disable-static
make %{?jobs:-j%jobs}
%install
%makeinstall
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
%if %build_doc
mv $RPM_BUILD_ROOT%{_datadir}/doc/gstreamer-*/* $RPM_BUILD_ROOT%{_docdir}/%{name}
rmdir $RPM_BUILD_ROOT%{_datadir}/doc/gstreamer-*
%else
# TODO is empty
cp AUTHORS COPYING ChangeLog NEWS README RELEASE $RPM_BUILD_ROOT%{_docdir}/%{name}
%find_lang %{_name}-%{gst_branch}
rm $RPM_BUILD_ROOT%{_libdir}/gstreamer-*/*.*a
%endif
%if %build_doc
rm -rf $RPM_BUILD_ROOT/%{_bindir}/*
rm -rf $RPM_BUILD_ROOT/%{_libdir}
rm -rf $RPM_BUILD_ROOT/%{_datadir}/aclocal
rm -rf $RPM_BUILD_ROOT/%{_includedir}/*
rm -rf $RPM_BUILD_ROOT/%{_datadir}/locale
rm -rf $RPM_BUILD_ROOT/%{_mandir}
%else
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gtk-doc
rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}/manual
rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}/pwg
%endif
%fdupes %{buildroot}
%clean
rm -rf $RPM_BUILD_ROOT
%if ! %build_doc
%post -n libgstreamer-0_10-0 -p /sbin/ldconfig
%postun -n libgstreamer-0_10-0 -p /sbin/ldconfig
%endif
%if %build_doc
%files
%defattr(-,root,root)
%doc %dir %{_docdir}/%{name}
%{_datadir}/gtk-doc/html/*
%doc %{_docdir}/%{name}/manual
%doc %{_docdir}/%{name}/pwg
%doc %{_docdir}/%{name}/faq
%else
%files
%defattr(-, root, root)
%doc %dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/AUTHORS
%doc %{_docdir}/%{name}/COPYING
%doc %{_docdir}/%{name}/ChangeLog
%doc %{_docdir}/%{name}/NEWS
%doc %{_docdir}/%{name}/README
%doc %{_docdir}/%{name}/RELEASE
%dir %{_libdir}/gstreamer-%{gst_branch}
%{_libdir}/gstreamer-%{gst_branch}/*.so
%files lang -f %{_name}-%{gst_branch}.lang
%files -n libgstreamer-0_10-0
%defattr(-, root, root)
%{_libdir}/*.so.*
%files utils
%defattr(-, root, root)
%{_bindir}/*-%{gst_branch}
%doc %{_mandir}/man?/*-%{gst_branch}.*
%files -n gstreamer-utils
%defattr(-, root, root)
%{_bindir}/*
%exclude %{_bindir}/*-%{gst_branch}
%files devel
%defattr(-, root, root)
%{_datadir}/aclocal/*.m4
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/*.*a
%{_libdir}/pkgconfig/*.pc
%endif
%changelog
* Tue Oct 21 2008 maw@suse.de
- Update to version 0.10.21:
+ Basetransform rework
+ Basesink synchronisation extensions
+ New documentation
+ Bugs fixed: bgo#481169, bgo#520694, bgo#538201, bgo#544855,
bgo#339795, bgo#348114, bgo#361718, bgo#533856, bgo#536978,
bgo#537804, bgo#537812, bgo#538568, bgo#539772, bgo#542175,
bgo#543444, bgo#543853, bgo#544174, bgo#544776, bgo#545352,
bgo#545603, bgo#545605, bgo#545607, bgo#545853, bgo#546328,
bgo#546822, bgo#547277, bgo#547728, bgo#548394, bgo#548652,
bgo#549504, bgo#551952, bgo#551978, bgo#547835, bgo#538628,
bgo#546883, and bgo#551509
+ API added:
* Add GST_TAG_ATTACHMENT for generic file attachments to streams.
* Add gst_base_sink_set_render_delay()
* Add gst_base_sink_get_render_delay()
* Add gst_check_setup_src_pad_by_name
* Add gst_check_setup_sink_pad_by_name
* Add gst_check_teardown_pad_by_name
* Add GstBaseTransform::gst_base_transform_suggest()
* GstBaseTransform::gst_base_transform_reconfigure()
* GstPad::gst_pad_set_iterate_internal_links_function()
* GstPad::GstPadIterIntLinkFunction
* GstPad::gst_pad_iterate_internal_links()
* GstPad::gst_pad_iterate_internal_links_default()
+ API deprecated:
* gst_pad_get_internal_links()
* gst_pad_set_internal_link_function()
* gst_pad_get_internal_links_default()
- Add gstreamer-0_10-no-gtk-doc-for-reals.patch.
* Thu Sep 04 2008 mboman@novell.com
- Update to version 0.10.20:
+ Add the Presets interface
+ Use the binary registry by default
+ Deprecate gst_element_get_pad and don't use it anywhere any more.
+ Reverse playback fixes
+ API to get missing element messages from parse_launch parsing.
+ Fixes in latency calculations
+ BaseTransform negotiation fixes
+ New Buffering query and messages
+ Fix multiqueue deadlocks when changing limits
+ Remove pre-generated parser hacks and require newer flex/bison
+ Use GSlice in more places
+ Use static strings in property declarations everywhere to save memory
allocations
+ Fix unaligned memory accesses with the binary registry and add CRC
checks
+ Lots of other bug fixes
* Mon Apr 14 2008 sbrabec@suse.cz
- Updated to version 0.10.19:
* Fix a regression in raw fd handling
* Fixed: bgo#524041
- Fixed Obsoletes (bnc#357153).
* Wed Apr 02 2008 maw@suse.de
- Update to version 0.10.18:
+ New GstPoll abstraction simplifies operations on multiple
file descriptors
+ Bugs fixed: bgo#516187, bgo#516395, bgo#520756, bgo#498222,
bgo#499127, bgo#505417, bgo#509559, bgo#510194, bgo#511783,
bgo#513964, bgo#515469, bgo#519584, bgo#519698, bgo#520152,
bgo#520671, bgo#520808, bgo#520877, bgo#521740, and bgo#522741.
* Tue Jan 22 2008 sbrabec@suse.cz
- Updated to version 0.10.15:
* Changes for asynchronous sink management
* New ts-offset property on basesink for adjusting clock synchronisation
* New GstController LFO feature
* Fixes and improvements in latency measurement for live pipelines
* Additional documentation and docs fixes
* Faster typefinding
* More tag types added
* Improvements in various core elements and parent classes
* New unit tests
* Allow dumping pipelines as dot graphs
* GstStructures now support nesting
* URIHandler interface can now be implemented in bindings
* Many other bug-fixes and improvements
* API additions
- Split package according to shared library packaging policy
(#223286).
* Mon Sep 17 2007 sbrabec@suse.cz
- Updated to version 0.10.14:
* State change handling improvements
* New improved GstController API
* Multi-queue fixes and enhancements
* Fewer dynamic library relocations
* Various other fixes and improvements
* Parallel installability with 0.8.x series
* Threadsafe design and API
* Add GstParamSpecFraction, so elements can have fraction
properties without lots of painful string parsing.
* Add fail_unless_equals_float() and assert_equals_float()
* Add gst_type_register_static_full
* Add gst_element_class_set_details_simple
* Refactor GstController into the core controller which can take
a GstControlSource for providing actual values for timestamps.
* add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI
* gst_element_factory_has_interface()
* Many bugs fixed.
* Wed Aug 15 2007 coolo@suse.de
- fix requires
* Sat Jul 21 2007 aj@suse.de
- Fix duplicate subpackage.
* Sat Jul 21 2007 aj@suse.de
- Separate spec file for just doc package.