2002-03-05 12:31:13 +00:00
|
|
|
Name: gstreamer
|
|
|
|
Version: @VERSION@
|
|
|
|
Release: @GST_VERSION_RELEASE@
|
2002-06-17 09:23:34 +00:00
|
|
|
Summary: GStreamer streaming media framework runtime.
|
2002-03-05 12:31:13 +00:00
|
|
|
|
|
|
|
Group: Libraries/Multimedia
|
2002-06-17 09:23:34 +00:00
|
|
|
License: LGPL
|
|
|
|
URL: http://gstreamer.net/
|
|
|
|
Vendor: GStreamer Backpackers Team <package@gstreamer.net>
|
|
|
|
Source: http://gstreamer.net/releases/%{version}/src/%{name}-%{version}.tar.gz
|
2002-03-05 12:31:13 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%define _glib2 @GLIB2_REQ@
|
|
|
|
%define _libxml2 @LIBXML2_REQ@
|
|
|
|
|
|
|
|
Requires: glib2 >= %_glib2
|
|
|
|
Requires: libxml2 >= %_libxml2
|
2002-06-17 09:19:49 +00:00
|
|
|
Requires: popt > 1.6
|
2002-03-05 12:31:13 +00:00
|
|
|
BuildRequires: glib2-devel >= %_glib2
|
2002-04-17 17:29:28 +00:00
|
|
|
BuildRequires: libxml2-devel >= %_libxml2
|
2002-04-25 19:20:20 +00:00
|
|
|
BuildRequires: nasm >= 0.90
|
2002-04-01 18:03:59 +00:00
|
|
|
BuildRequires: bison
|
2002-04-25 19:20:20 +00:00
|
|
|
BuildRequires: gtk-doc >= 0.7
|
2002-04-24 20:48:54 +00:00
|
|
|
BuildRequires: gcc
|
2002-04-25 19:20:20 +00:00
|
|
|
BuildRequires: zlib-devel
|
2002-06-17 09:19:49 +00:00
|
|
|
BuildRequires: popt > 1.6
|
|
|
|
Prereq: /sbin/ldconfig
|
2000-01-31 06:46:18 +00:00
|
|
|
|
2002-05-03 15:13:52 +00:00
|
|
|
### documentation requirements
|
|
|
|
BuildRequires: openjade
|
|
|
|
BuildRequires: python2
|
|
|
|
BuildRequires: docbook-style-dsssl docbook-dtd31-sgml
|
|
|
|
|
2000-01-31 06:46:18 +00:00
|
|
|
%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
|
2001-01-11 00:35:42 +00:00
|
|
|
else media-related. Its plugin-based architecture means that new data
|
|
|
|
types or processing capabilities can be added simply by installing new
|
|
|
|
plugins.
|
|
|
|
|
2002-06-07 17:15:34 +00:00
|
|
|
%package devel
|
2002-06-17 09:23:34 +00:00
|
|
|
Summary: Libraries/include files for GStreamer streaming media framework.
|
2002-06-07 17:15:34 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: glib2-devel >= %_glib2
|
|
|
|
Requires: libxml2-devel >= %_libxml2
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
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
|
|
|
|
plugins.
|
|
|
|
|
|
|
|
This package contains the libraries and includes files necessary to develop
|
|
|
|
applications and plugins for GStreamer.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
|
|
|
|
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
|
|
|
|
FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
|
|
|
|
%{?__libtoolize:[ -f configure.in ] && %{__libtoolize} --copy --force} ; \
|
|
|
|
./configure \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--exec-prefix=%{_exec_prefix} \
|
|
|
|
--bindir=%{_bindir} \
|
|
|
|
--sbindir=%{_sbindir} \
|
|
|
|
--sysconfdir=%{_sysconfdir} \
|
|
|
|
--datadir=%{_datadir} \
|
|
|
|
--includedir=%{_includedir} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--libexecdir=%{_libexecdir} \
|
|
|
|
--localstatedir=%{_localstatedir} \
|
|
|
|
--sharedstatedir=%{_sharedstatedir} \
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--infodir=%{_infodir} \
|
|
|
|
--enable-debug \
|
|
|
|
--with-configdir=/etc/gstreamer \
|
2002-06-22 10:07:45 +00:00
|
|
|
--disable-tests --disable-examples \
|
2002-06-07 17:15:34 +00:00
|
|
|
--enable-docs-build --with-html-dir=$RPM_BUILD_ROOT%{_datadir}/gtk-doc/html
|
|
|
|
|
|
|
|
if [ "$SMP" != "" ]; then
|
|
|
|
(make "MAKE=make -k -j $SMP"; exit 0)
|
|
|
|
else
|
|
|
|
make
|
|
|
|
fi
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
# adding devhelp stuff here for now, need to integrate better
|
|
|
|
# when devhelp allows it
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/devhelp/specs
|
|
|
|
cp $RPM_BUILD_DIR/%{name}-%{version}/docs/devhelp/*.devhelp $RPM_BUILD_ROOT/usr/share/devhelp/specs
|
|
|
|
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
%{_prefix}/bin/gst-register --gst-mask=0
|
|
|
|
|
|
|
|
%post devel
|
|
|
|
# adding devhelp links to work around different base not working
|
|
|
|
mkdir -p %{_datadir}/devhelp/books
|
|
|
|
ln -sf %{_datadir}/gtk-doc/html/gstreamer %{_datadir}/devhelp/books
|
|
|
|
ln -sf %{_datadir}/gtk-doc/html/gstreamer-libs %{_datadir}/devhelp/books
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
2001-06-10 01:18:59 +00:00
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2002-06-08 11:32:24 +00:00
|
|
|
%doc AUTHORS COPYING README TODO COPYING.LIB ABOUT-NLS REQUIREMENTS DOCBUILDING
|
2002-01-04 21:06:42 +00:00
|
|
|
%{_bindir}/gst-complete
|
|
|
|
%{_bindir}/gst-compprep
|
|
|
|
%{_bindir}/gst-inspect
|
|
|
|
%{_bindir}/gst-launch
|
|
|
|
%{_bindir}/gst-register
|
2002-02-11 14:07:02 +00:00
|
|
|
%{_libdir}/libgstreamer-%{version}.so.*
|
2002-02-11 16:26:33 +00:00
|
|
|
%{_libdir}/gst/libgstautoplugcache*.so*
|
|
|
|
%{_libdir}/gst/libgstautoplugger*.so*
|
|
|
|
%{_libdir}/gst/libgstbasicscheduler*.so*
|
|
|
|
%{_libdir}/gst/libgststandardscheduler*.so*
|
|
|
|
%{_libdir}/gst/libgstelements*.so*
|
|
|
|
%{_libdir}/gst/libgsttypes*.so*
|
|
|
|
%{_libdir}/gst/libgststaticautoplug*.so*
|
|
|
|
%{_libdir}/gst/libgstcontrol*.so*
|
|
|
|
%{_libdir}/gst/libgstbytestream*.so*
|
|
|
|
%{_libdir}/gst/libgstgetbits*.so*
|
|
|
|
%{_libdir}/gst/libgstputbits*.so*
|
|
|
|
%{_libdir}/gst/libgstspider*.so*
|
2002-01-04 21:06:42 +00:00
|
|
|
%{_mandir}/man1/gst-complete.*
|
|
|
|
%{_mandir}/man1/gst-compprep.*
|
|
|
|
%{_mandir}/man1/gst-inspect.*
|
|
|
|
%{_mandir}/man1/gst-launch.*
|
|
|
|
%{_mandir}/man1/gst-register.*
|
2000-01-31 06:46:18 +00:00
|
|
|
|
2001-06-10 01:18:59 +00:00
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
2002-06-22 23:17:44 +00:00
|
|
|
%{_includedir}/%{name}-%{version}/gst
|
2002-02-11 12:18:43 +00:00
|
|
|
%{_libdir}/libgstreamer.a
|
|
|
|
%{_libdir}/libgstreamer.so
|
2002-06-17 09:19:49 +00:00
|
|
|
%{_libdir}/pkgconfig/gstreamer*.pc
|
2002-06-07 17:15:34 +00:00
|
|
|
## we specify the API docs as regular files since %docs doesn't fail when
|
2002-06-08 11:32:24 +00:00
|
|
|
# files aren't found anymore for RPM >= 4
|
|
|
|
# we list all of the files we really need to trap incomplete doc builds
|
|
|
|
# then we catch the rest with *, you can safely ignore the errors from this
|
2002-06-07 17:15:34 +00:00
|
|
|
## gstreamer API
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/autopluggers.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/book1.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/element-types.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstautoplugfactory.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstautoplug.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstbin.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstclock.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstelement.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gst-index.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstobject.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstpad.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstpipeline.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstpluginfeature.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstreamer-cothreads.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstbuffer.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstbufferpool.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstcaps.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstcpu.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstdata.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstevent.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gst.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstinfo.html
|
2002-07-02 14:11:45 +00:00
|
|
|
# %{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstpad-template.html
|
2002-06-07 17:15:34 +00:00
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstparse.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstplugin.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstprops.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gststaticautoplug.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gststaticautoplugrender.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gsttee.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gsttype.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstutils.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstreamer.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstschedulerfactory.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstscheduler.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstthread.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gsttimecache.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gsttypefactory.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/gstxml.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer/index.sgml
|
|
|
|
## gstreamer-libs API
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer-libs/book1.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer-libs/gstreamer-libs-gstcolorspace.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer-libs/gstreamer-libs-gstgetbits.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer-libs/gstreamer-libs.html
|
|
|
|
%{_datadir}/gtk-doc/html/gstreamer-libs/index.sgml
|
|
|
|
## this catches all of the rest of the docs we might have forgotten
|
2002-06-11 16:57:59 +00:00
|
|
|
%{_datadir}/gtk-doc/html/*
|
2002-03-03 23:32:09 +00:00
|
|
|
%{_datadir}/devhelp/specs/gstreamer.devhelp
|
|
|
|
%{_datadir}/devhelp/specs/gstreamer-libs.devhelp
|
2002-03-03 15:00:32 +00:00
|
|
|
|
2001-06-10 01:18:59 +00:00
|
|
|
|
2000-01-31 06:46:18 +00:00
|
|
|
%changelog
|
2002-06-22 23:17:44 +00:00
|
|
|
* Sat Jun 22 2002 Thomas Vander Stichele <thomas@apestaart.org>
|
|
|
|
- moved header location
|
|
|
|
|
2002-06-17 09:19:49 +00:00
|
|
|
* Mon Jun 17 2002 Thomas Vander Stichele <thomas@apestaart.org>
|
|
|
|
- added popt
|
|
|
|
- removed .la
|
|
|
|
|
2002-06-07 17:15:34 +00:00
|
|
|
* Fri Jun 07 2002 Thomas Vander Stichele <thomas@apestaart.org>
|
|
|
|
- added release of gstreamer to req of gstreamer-devel
|
|
|
|
- changed location of API docs to be in gtk-doc like other gtk-doc stuff
|
|
|
|
- reordered SPEC file
|
|
|
|
|
2002-04-29 20:38:39 +00:00
|
|
|
* Mon Apr 29 2002 Thomas Vander Stichele <thomas@apestaart.org>
|
|
|
|
- moved html docs to gtk-doc standard directory
|
|
|
|
|
2002-03-05 12:32:46 +00:00
|
|
|
* Tue Mar 5 2002 Thomas Vander Stichele <thomas@apestaart.org>
|
|
|
|
- move version defines of glib2 and libxml2 to configure.ac
|
|
|
|
- add BuildRequires for these two libs
|
|
|
|
|
2002-03-03 15:00:32 +00:00
|
|
|
* Sun Mar 3 2002 Thomas Vander Stichele <thomas@apestaart.org>
|
|
|
|
- put html docs in canonical place, avoiding %doc erasure
|
2002-03-03 23:32:09 +00:00
|
|
|
- added devhelp support, current install of it is hackish
|
2002-03-03 15:00:32 +00:00
|
|
|
|
2002-03-02 11:11:11 +00:00
|
|
|
* Sat Mar 2 2002 Christian Schaller <Uraeus@linuxrising.org>
|
|
|
|
- Added documentation to build
|
|
|
|
|
2002-02-11 12:18:43 +00:00
|
|
|
* Mon Feb 11 2002 Thomas Vander Stichele <thomas@apestaart.org>
|
|
|
|
- added libgstbasicscheduler
|
|
|
|
- renamed libgst to libgstreamer
|
|
|
|
|
2002-01-05 11:02:08 +00:00
|
|
|
* Fri Jan 04 2002 Christian Schaller <Uraeus@linuxrising.org>
|
|
|
|
- Added configdir parameter as it seems the configdir gets weird otherwise
|
2002-01-04 23:27:04 +00:00
|
|
|
|
2002-01-03 10:58:06 +00:00
|
|
|
* Thu Jan 03 2002 Thomas Vander Stichele <thomas@apestaart.org>
|
|
|
|
- split off gstreamer-editor from core
|
|
|
|
- removed gstreamer-gnome-apps
|
|
|
|
|
2001-12-30 18:59:49 +00:00
|
|
|
* Sat Dec 29 2001 Rodney Dawes <dobey@free.fr>
|
|
|
|
- Cleaned up the spec file for the gstreamer core/plug-ins split
|
|
|
|
- Improve spec file
|
|
|
|
|
2001-12-15 12:44:44 +00:00
|
|
|
* Sat Dec 15 2001 Christian Schaller <Uraeus@linuxrising.org>
|
2002-06-07 17:15:34 +00:00
|
|
|
- Split of more plugins from the core and put them into their own modules
|
2001-12-15 12:44:44 +00:00
|
|
|
- Includes colorspace, xfree and wav
|
|
|
|
- Improved package Require lines
|
|
|
|
- Added mp3encode (lame based) to the SPEC
|
|
|
|
|
2001-12-12 18:05:22 +00:00
|
|
|
* Wed Dec 12 2001 Christian Schaller <Uraeus@linuxrising.org>
|
|
|
|
- Thomas merged mpeg plugins into one
|
2001-12-08 16:12:15 +00:00
|
|
|
* Sat Dec 08 2001 Christian Schaller <Uraeus@linuxrising.org>
|
|
|
|
- More minor cleanups including some fixed descriptions from Andrew Mitchell
|
|
|
|
|
2001-12-08 00:16:58 +00:00
|
|
|
* Fri Dec 07 2001 Christian Schaller <Uraeus@linuxrising.org>
|
|
|
|
- Added logging to the make statement
|
|
|
|
|
2001-12-06 22:02:05 +00:00
|
|
|
* Wed Dec 05 2001 Christian Schaller <Uraeus@linuxrising.org>
|
|
|
|
- Updated in preparation for 0.3.0 release
|
|
|
|
|
2001-07-01 11:18:49 +00:00
|
|
|
* Fri Jun 29 2001 Christian Schaller <Uraeus@linuxrising.org>
|
|
|
|
- Updated for 0.2.1 release
|
|
|
|
- Split out the GUI packages into their own RPM
|
|
|
|
- added new plugins (FLAC, festival, quicktime etc.)
|
|
|
|
|
2001-06-09 21:48:04 +00:00
|
|
|
* Sat Jun 09 2001 Christian Schaller <Uraeus@linuxrising.org>
|
2001-06-09 19:23:11 +00:00
|
|
|
- Visualisation plugins bundled out togheter
|
2001-06-10 01:18:59 +00:00
|
|
|
- Moved files sections up close to their respective descriptions
|
2001-06-09 19:23:11 +00:00
|
|
|
|
2001-06-02 10:40:20 +00:00
|
|
|
* Sat Jun 02 2001 Christian Schaller <Uraeus@linuxrising.org>
|
2002-06-07 17:15:34 +00:00
|
|
|
- Split the package into separate RPMS,
|
|
|
|
putting most plugins out by themselves.
|
2001-06-08 21:56:10 +00:00
|
|
|
|
2001-06-02 10:40:20 +00:00
|
|
|
* Fri Jun 01 2001 Christian Schaller <Uraeus@linuxrising.org>
|
2001-06-08 21:56:10 +00:00
|
|
|
- Updated with change suggestions from Dennis Bjorklund
|
2001-12-08 00:16:58 +00:00
|
|
|
|
2001-01-11 00:35:42 +00:00
|
|
|
* Tue Jan 09 2001 Erik Walthinsen <omega@cse.ogi.edu>
|
|
|
|
- updated to build -devel package as well
|
|
|
|
|
2000-01-31 06:46:18 +00:00
|
|
|
* Sun Jan 30 2000 Erik Walthinsen <omega@cse.ogi.edu>
|
|
|
|
- first draft of spec file
|
|
|
|
|