suggest sane values for autotool programs
[platform/upstream/gstreamer.git] / gstreamer.spec.in
index b49ef30..e63a9e6 100644 (file)
@@ -1,11 +1,13 @@
-Summary:       GStreamer streaming media framework runtime
 Name:          gstreamer
 Version:       @VERSION@
 Release:       @GST_VERSION_RELEASE@
+Summary:       GStreamer streaming media framework runtime.
 
-License:       LGPL
 Group:                 Libraries/Multimedia
-Source:        %{name}-%{version}.tar.gz
+License:       LGPL
+URL:           http://gstreamer.net/
+Vendor:         GStreamer Backpackers Team <package@gstreamer.net>
+Source:        http://gstreamer.net/releases/%{version}/src/%{name}-%{version}.tar.gz
 BuildRoot:     %{_tmppath}/%{name}-%{version}-root
 
 %define        _glib2          @GLIB2_REQ@
@@ -13,18 +15,23 @@ BuildRoot:  %{_tmppath}/%{name}-%{version}-root
 
 Requires:      glib2 >= %_glib2
 Requires:      libxml2 >= %_libxml2
+Requires:      popt > 1.6
 BuildRequires:         glib2-devel >= %_glib2
 BuildRequires:         libxml2-devel >= %_libxml2
 BuildRequires:         nasm >= 0.90
 BuildRequires:         bison
+BuildRequires:         flex
 BuildRequires:         gtk-doc >= 0.7
 BuildRequires:         gcc
 BuildRequires:         zlib-devel
+BuildRequires:  popt > 1.6
+Prereq:                /sbin/ldconfig
 
 ### documentation requirements
 BuildRequires:  openjade
 BuildRequires:  python2
 BuildRequires:  docbook-style-dsssl docbook-dtd31-sgml
+BuildRequires: transfig
 
 %description
 GStreamer is a streaming-media framework, based on graphs of filters which
@@ -35,7 +42,7 @@ types or processing capabilities can be added simply by installing new
 plugins.
 
 %package devel
-Summary:       Libraries/include files for GStreamer streaming media framework
+Summary:       Libraries/include files for GStreamer streaming media framework.
 Group:                 Development/Libraries
 
 Requires:      %{name} = %{version}-%{release}
@@ -77,7 +84,7 @@ FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
   --infodir=%{_infodir} \
   --enable-debug \
   --with-configdir=/etc/gstreamer \
-  --disable-tests --disable-examples --disable-debug-color \
+  --disable-tests --disable-examples \
   --enable-docs-build --with-html-dir=$RPM_BUILD_ROOT%{_datadir}/gtk-doc/html
 
 if [ "$SMP" != "" ]; then
@@ -100,7 +107,8 @@ cp $RPM_BUILD_DIR/%{name}-%{version}/docs/devhelp/*.devhelp $RPM_BUILD_ROOT/usr/
 
 %post
 /sbin/ldconfig
-%{_prefix}/bin/gst-register --gst-mask=0
+# registry handling is now done automatically
+# %{_prefix}/bin/gst-register --gst-mask=0
 
 %post devel
 # adding devhelp links to work around different base not working
@@ -113,21 +121,25 @@ ln -sf %{_datadir}/gtk-doc/html/gstreamer-libs %{_datadir}/devhelp/books
 
 %files
 %defattr(-, root, root)
-%doc AUTHORS COPYING README TODO COPYING.LIB ABOUT-NLS REQUIREMENTS DOCBUILDING 
+%doc AUTHORS COPYING README TODO COPYING.LIB ABOUT-NLS REQUIREMENTS DOCBUILDING RELEASE 
 %{_bindir}/gst-complete
 %{_bindir}/gst-compprep
 %{_bindir}/gst-inspect
 %{_bindir}/gst-launch
+%{_bindir}/gst-md5sum
 %{_bindir}/gst-register
+%{_bindir}/gst-feedback
 %{_libdir}/libgstreamer-%{version}.so.*
 %{_libdir}/gst/libgstautoplugcache*.so*
 %{_libdir}/gst/libgstautoplugger*.so*
-%{_libdir}/gst/libgstbasicscheduler*.so*
-%{_libdir}/gst/libgststandardscheduler*.so*
+%{_libdir}/gst/libgstbasicomega*.so*
+%{_libdir}/gst/libgstfastomega*.so*
+%{_libdir}/gst/libgstoptomega*.so*
+%{_libdir}/gst/libgstbasicwingo*.so*
+%{_libdir}/gst/libgstfastwingo*.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*
@@ -136,16 +148,17 @@ ln -sf %{_datadir}/gtk-doc/html/gstreamer-libs %{_datadir}/devhelp/books
 %{_mandir}/man1/gst-compprep.*
 %{_mandir}/man1/gst-inspect.*
 %{_mandir}/man1/gst-launch.*
+%{_mandir}/man1/gst-md5sum.*
 %{_mandir}/man1/gst-register.*
 
+%{_libdir}/libgstcontrol*.so*
 
 %files devel
 %defattr(-, root, root)
-%{_includedir}/gst
+%{_includedir}/%{name}-%{version}/gst
 %{_libdir}/libgstreamer.a
-%{_libdir}/libgstreamer.la
 %{_libdir}/libgstreamer.so
-%{_libdir}/pkgconfig/*
+%{_libdir}/pkgconfig/gstreamer*.pc
 ## we specify the API docs as regular files since %docs doesn't fail when
 #  files aren't found anymore for RPM >= 4
 #  we list all of the files we really need to trap incomplete doc builds
@@ -164,7 +177,7 @@ ln -sf %{_datadir}/gtk-doc/html/gstreamer-libs %{_datadir}/devhelp/books
 %{_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-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
@@ -173,7 +186,6 @@ ln -sf %{_datadir}/gtk-doc/html/gstreamer-libs %{_datadir}/devhelp/books
 %{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstevent.html
 %{_datadir}/gtk-doc/html/gstreamer/gstreamer-gst.html
 %{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstinfo.html
-%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstpad-template.html
 %{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstparse.html
 %{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstplugin.html
 %{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstprops.html
@@ -197,12 +209,30 @@ ln -sf %{_datadir}/gtk-doc/html/gstreamer-libs %{_datadir}/devhelp/books
 %{_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
-%{_datadir}/gtk-doc/html/*
+%{_datadir}/gtk-doc/html/*
 %{_datadir}/devhelp/specs/gstreamer.devhelp
 %{_datadir}/devhelp/specs/gstreamer-libs.devhelp
 
 
 %changelog
+* Sat Sep 21 2002 Thomas Vander Stichele <thomas@apestaart.org>
+- added gst-md5sum
+
+* Tue Sep 17 2002 Thomas Vander Stichele <thomas@apestaart.org>
+- adding flex to buildrequires
+
+* Fri Sep 13 2002 Christian F.K. Schaller <Uraeus@linuxrising.org>
+- Fixed the schedulers after the renaming
+* Sun Sep 08 2002 Thomas Vander Stichele <thomas@apestaart.org>
+- added transfig to the BuildRequires:
+
+* Sat Jun 22 2002 Thomas Vander Stichele <thomas@apestaart.org>
+- moved header location
+
+* Mon Jun 17 2002 Thomas Vander Stichele <thomas@apestaart.org>
+- added popt
+- removed .la
+
 * 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