2005-09-02 16:02:38 +00:00
|
|
|
%define majorminor @GST_MAJORMINOR@
|
|
|
|
%define gstreamer gstreamer09
|
|
|
|
|
2005-11-27 14:34:11 +00:00
|
|
|
%define gst_minver 0.9.6
|
2005-05-05 15:06:40 +00:00
|
|
|
|
2005-09-02 16:02:38 +00:00
|
|
|
Name: %{gstreamer}-plugins-base
|
|
|
|
Version: @VERSION@
|
|
|
|
Release: @GST_PLUGINS_BASE_VERSION_RELEASE@.gst
|
|
|
|
Summary: GStreamer streaming media framework plug-ins
|
2005-05-05 15:06:40 +00:00
|
|
|
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
License: LGPL
|
2005-09-02 16:02:38 +00:00
|
|
|
URL: http://gstreamer.freedesktop.org/
|
|
|
|
Vendor: GStreamer Backpackers Team <package@gstreamer.freedesktop.org>
|
2005-05-05 15:06:40 +00:00
|
|
|
Source: http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-%{version}.tar.gz
|
2005-09-02 16:02:38 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2005-05-05 15:06:40 +00:00
|
|
|
|
2005-09-02 16:02:38 +00:00
|
|
|
Requires: %{gstreamer} >= %{gst_minver}
|
|
|
|
BuildRequires: %{gstreamer}-devel >= %{gst_minver}
|
2005-05-05 15:06:40 +00:00
|
|
|
|
|
|
|
BuildRequires: gcc-c++
|
2005-09-03 15:02:24 +00:00
|
|
|
BuildRequires: gtk-doc >= 1.3
|
2005-05-05 15:06:40 +00:00
|
|
|
BuildRequires: XFree86-devel
|
|
|
|
|
|
|
|
@USE_GNOME_VFS_TRUE@Requires: gnome-vfs2 > 1.9.4.00
|
|
|
|
@USE_GNOME_VFS_TRUE@BuildRequires: gnome-vfs2-devel > 1.9.4.00
|
|
|
|
@USE_VORBIS_TRUE@Requires: libogg >= 1.0
|
|
|
|
@USE_VORBIS_TRUE@Requires: libvorbis >= 1.0
|
|
|
|
@USE_VORBIS_TRUE@BuildRequires: libogg-devel >= 1.0
|
|
|
|
@USE_VORBIS_TRUE@BuildRequires: libvorbis-devel >= 1.0
|
|
|
|
@USE_XVIDEO_TRUE@Requires: XFree86-libs
|
|
|
|
@USE_XVIDEO_TRUE@BuildRequires: XFree86-devel
|
|
|
|
|
|
|
|
%description
|
2005-09-02 16:02:38 +00:00
|
|
|
GStreamer is a streaming media framework, based on graphs of filters which
|
2005-05-05 15:06:40 +00:00
|
|
|
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.
|
|
|
|
|
|
|
|
%prep
|
2005-09-02 16:02:38 +00:00
|
|
|
%setup -q -n gst-plugins-base-%{version}
|
2005-05-05 15:06:40 +00:00
|
|
|
%build
|
|
|
|
%configure \
|
2005-09-03 15:02:24 +00:00
|
|
|
--enable-gtk-doc
|
2005-05-05 15:06:40 +00:00
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%makeinstall
|
2005-09-02 16:02:38 +00:00
|
|
|
|
2005-05-05 15:06:40 +00:00
|
|
|
# Clean out files that should not be part of the rpm.
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
2005-09-02 16:02:38 +00:00
|
|
|
|
|
|
|
%find_lang gst-plugins-base-%{majorminor}
|
2005-05-05 15:06:40 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
2005-09-02 16:02:38 +00:00
|
|
|
|
2005-05-05 15:06:40 +00:00
|
|
|
%postun
|
|
|
|
|
2005-09-02 16:02:38 +00:00
|
|
|
%files -f gst-plugins-base-%{majorminor}.lang
|
2005-05-05 15:06:40 +00:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc AUTHORS COPYING README REQUIREMENTS
|
|
|
|
|
|
|
|
# helper programs
|
|
|
|
%{_bindir}/gst-launch-ext-%{majorminor}
|
|
|
|
%{_bindir}/gst-visualise-%{majorminor}
|
|
|
|
%{_mandir}/man1/gst-launch-ext-%{majorminor}.*
|
|
|
|
%{_mandir}/man1/gst-visualise-%{majorminor}*
|
|
|
|
|
|
|
|
# libraries
|
|
|
|
%{_libdir}/libgstinterfaces-%{majorminor}.so.*
|
2005-07-14 11:52:23 +00:00
|
|
|
%{_libdir}/libgstaudio-%{majorminor}.so.*
|
|
|
|
%{_libdir}/libgstriff-%{majorminor}.so.*
|
2005-11-22 11:33:07 +00:00
|
|
|
%{_libdir}/libgsttag-%{majorminor}.so.*
|
2005-07-14 11:52:23 +00:00
|
|
|
%{_libdir}/libgstvideo-%{majorminor}.so.*
|
2005-09-19 14:41:23 +00:00
|
|
|
%{_libdir}/libgstrtp-%{majorminor}.so*
|
2005-11-30 16:08:30 +00:00
|
|
|
%{_libdir}/libgstnetbuffer-%{majorminor}.so*
|
2005-05-05 15:06:40 +00:00
|
|
|
|
2005-09-03 15:02:24 +00:00
|
|
|
# base plugins without external dependencies
|
2005-05-05 15:06:40 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstadder.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstaudioconvert.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstffmpegcolorspace.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstdecodebin.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstplaybin.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgsttypefindfunctions.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstvideotestsrc.so
|
2005-05-06 18:44:20 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstaudiorate.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstsubparse.so
|
2005-06-23 17:10:55 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstvolume.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstvideorate.so
|
2005-07-04 13:52:00 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstvideoscale.so
|
2005-07-07 11:14:52 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgsttcp.so
|
2005-07-14 11:52:23 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux.so
|
2005-08-24 17:28:39 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstaudioresample.so
|
2005-10-21 09:45:13 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstaudiotestsrc.so
|
2005-06-23 17:10:55 +00:00
|
|
|
|
2005-09-03 15:02:24 +00:00
|
|
|
# Here are packages not in the base plugins package but not dependant
|
|
|
|
# on an external lib
|
|
|
|
|
|
|
|
### VIDEO 4 LINUX 2 ###
|
|
|
|
# @USE_GST_V4L2_TRUE@%package -n gstreamer-plugins-v4l2
|
|
|
|
# @USE_GST_V4L2_TRUE@Summary: GStreamer Video for Linux 2 plug-in
|
|
|
|
# @USE_GST_V4L2_TRUE@Group: Applications/Multimedia
|
|
|
|
# @USE_GST_V4L2_TRUE@Requires: gstreamer-plugins09 = %{version}
|
|
|
|
# @USE_GST_V4L2_TRUE@BuildRequires: glibc-devel
|
|
|
|
# @USE_GST_V4L2_TRUE@Obsoletes: gstreamer-v4l2
|
|
|
|
# @USE_GST_V4L2_TRUE@
|
|
|
|
# @USE_GST_V4L2_TRUE@%description -n gstreamer-plugins-v4l2
|
|
|
|
# @USE_GST_V4L2_TRUE@Plug-in for accessing Video for Linux devices.
|
|
|
|
# @USE_GST_V4L2_TRUE@
|
|
|
|
# @USE_GST_V4L2_TRUE@%files -n gstreamer-plugins-v4l2
|
|
|
|
# @USE_GST_V4L2_TRUE@%defattr(-, root, root)
|
|
|
|
# @USE_GST_V4L2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux2.so
|
|
|
|
# @USE_GST_V4L2_TRUE@
|
|
|
|
# @USE_GST_V4L2_TRUE@%post -n gstreamer-plugins-v4l2
|
|
|
|
# @USE_GST_V4L2_TRUE@
|
|
|
|
# @USE_GST_V4L2_TRUE@%postun -n gstreamer-plugins-v4l2
|
|
|
|
|
|
|
|
# base plugins with dependencies
|
|
|
|
@USE_ALSA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstalsa.so
|
2005-05-05 15:06:40 +00:00
|
|
|
@USE_THEORA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsttheora.so
|
|
|
|
@USE_GNOME_VFS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstgnomevfs.so
|
|
|
|
@USE_VORBIS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvorbis.so
|
|
|
|
@USE_VORBIS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstogg.so
|
2005-11-23 13:26:46 +00:00
|
|
|
@USE_XVIDEO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstximage*.so
|
2005-05-05 15:06:40 +00:00
|
|
|
@USE_XVIDEO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstxvimagesink.so
|
2005-09-19 14:41:23 +00:00
|
|
|
@USE_LIBVISUAL_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstlibvisual.so
|
2005-05-05 15:06:40 +00:00
|
|
|
|
2005-09-02 16:02:38 +00:00
|
|
|
%package devel
|
|
|
|
Summary: GStreamer Plugin Library Headers
|
2005-05-05 15:06:40 +00:00
|
|
|
Group: Development/Libraries
|
2005-09-02 16:02:38 +00:00
|
|
|
Requires: %{gstreamer}-plugins-base = %{version}
|
2005-05-05 15:06:40 +00:00
|
|
|
|
2005-09-02 16:02:38 +00:00
|
|
|
%description devel
|
|
|
|
GStreamer Plugins Base library development and header files.
|
2005-05-05 15:06:40 +00:00
|
|
|
|
2005-09-02 16:02:38 +00:00
|
|
|
%files devel
|
2005-05-05 15:06:40 +00:00
|
|
|
%defattr(-, root, root)
|
|
|
|
# plugin helper library headers
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/audio/audio.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiofilter.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/audio/multichannel.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/floatcast/floatcast.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/riff/riff-ids.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/riff/riff-media.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/riff/riff-read.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/video/video.h
|
2005-07-04 13:52:00 +00:00
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/colorbalance.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/colorbalancechannel.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/interfaces-enumtypes.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/mixer.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/mixeroptions.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/mixertrack.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/navigation.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/propertyprobe.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/tuner.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/tunerchannel.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/tunernorm.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/xoverlay.h
|
2005-07-07 11:14:52 +00:00
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiosrc.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstbaseaudiosrc.h
|
2005-07-14 11:52:23 +00:00
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/audio/multichannel-enumtypes.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertpdepayload.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtpbuffer.h
|
2005-05-05 15:06:40 +00:00
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudioclock.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiosink.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstbaseaudiosink.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstringbuffer.h
|
2005-09-03 15:02:24 +00:00
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/tag/tag.h
|
2005-09-19 14:41:23 +00:00
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertppayload.h
|
2005-11-29 15:26:16 +00:00
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideofilter.h
|
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideosink.h
|
2005-11-30 16:08:30 +00:00
|
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/netbuffer/gstnetbuffer.h
|
2005-09-03 15:02:24 +00:00
|
|
|
|
2005-06-23 17:10:55 +00:00
|
|
|
%{_libdir}/libgstaudio-%{majorminor}.so
|
|
|
|
%{_libdir}/libgstriff-%{majorminor}.so
|
2005-11-22 11:33:07 +00:00
|
|
|
%{_libdir}/libgsttag-%{majorminor}.so
|
2005-06-23 17:10:55 +00:00
|
|
|
%{_libdir}/libgstvideo-%{majorminor}.so
|
2005-07-14 11:52:23 +00:00
|
|
|
%{_libdir}/libgstrtp-%{majorminor}.so
|
2005-09-03 15:02:24 +00:00
|
|
|
%{_libdir}/libgstinterfaces-%{majorminor}.so
|
2005-11-30 16:08:30 +00:00
|
|
|
%{_libdir}/libgstnetbuffer-%{majorminor}.so
|
2005-05-05 15:06:40 +00:00
|
|
|
|
|
|
|
# pkg-config files
|
2005-07-14 11:52:23 +00:00
|
|
|
%{_libdir}/pkgconfig/gstreamer-plugins-base-%{majorminor}.pc
|
2005-05-05 15:06:40 +00:00
|
|
|
|
2005-09-03 15:02:24 +00:00
|
|
|
# gtk-doc documentation
|
|
|
|
%doc %{_datadir}/gtk-doc/html/gst-plugins-base-libs-%{majorminor}
|
|
|
|
%doc %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{majorminor}
|
2005-05-05 15:06:40 +00:00
|
|
|
|
|
|
|
%changelog
|
2005-09-02 16:02:38 +00:00
|
|
|
* Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
- clean up a little
|
|
|
|
|
2005-05-06 18:44:20 +00:00
|
|
|
* Fri May 6 2005 Christian Schaller <christian at fluendo dot com>
|
|
|
|
- Added libgstaudiorate and libgstsubparse to spec file
|
|
|
|
|
2005-05-05 15:06:40 +00:00
|
|
|
* Thu May 5 2005 Christian Schaller <christian at fluendo dot com>
|
|
|
|
- first attempt at spec file for gst-plugins-base
|