mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 05:38:58 +00:00
204 lines
8.8 KiB
RPMSpec
204 lines
8.8 KiB
RPMSpec
%define majorminor @GST_MAJORMINOR@
|
|
%define gstreamer gstreamer
|
|
|
|
%define gst_minver 0.10.0
|
|
|
|
Name: %{gstreamer}-plugins-base
|
|
Version: @VERSION@
|
|
Release: @PACKAGE_VERSION_RELEASE@.gst
|
|
Summary: GStreamer streaming media framework plug-ins
|
|
|
|
Group: Applications/Multimedia
|
|
License: LGPL
|
|
URL: http://gstreamer.freedesktop.org/
|
|
Vendor: GStreamer Backpackers Team <package@gstreamer.freedesktop.org>
|
|
Source: http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
Requires: %{gstreamer} >= %{gst_minver}
|
|
BuildRequires: %{gstreamer}-devel >= %{gst_minver}
|
|
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: gtk-doc >= 1.3
|
|
|
|
@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
|
|
|
|
%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 plugin-based architecture means that new data
|
|
types or processing capabilities can be added simply by installing new
|
|
plug-ins.
|
|
|
|
%prep
|
|
%setup -q -n gst-plugins-base-%{version}
|
|
export DOCS_ARE_INCOMPLETE_PLEASE_FIXME=0
|
|
%build
|
|
%configure \
|
|
--enable-gtk-doc
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%makeinstall
|
|
|
|
# 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
|
|
|
|
%find_lang gst-plugins-base-%{majorminor}
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files -f gst-plugins-base-%{majorminor}.lang
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS COPYING README REQUIREMENTS gst-plugins-base.doap
|
|
|
|
# helper programs
|
|
%{_bindir}/gst-visualise-%{majorminor}
|
|
%{_mandir}/man1/gst-visualise-%{majorminor}*
|
|
|
|
# libraries
|
|
%{_libdir}/libgstaudio-%{majorminor}.so.*
|
|
%{_libdir}/libgstcdda-%{majorminor}.so*
|
|
%{_libdir}/libgstinterfaces-%{majorminor}.so.*
|
|
%{_libdir}/libgstnetbuffer-%{majorminor}.so*
|
|
%{_libdir}/libgstpbutils-%{majorminor}.so*
|
|
%{_libdir}/libgstriff-%{majorminor}.so.*
|
|
%{_libdir}/libgstrtp-%{majorminor}.so*
|
|
%{_libdir}/libgsttag-%{majorminor}.so.*
|
|
%{_libdir}/libgstvideo-%{majorminor}.so.*
|
|
|
|
# base plugins without external dependencies
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstadder.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstaudioconvert.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstffmpegcolorspace.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstdecodebin.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstdecodebin2.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstplaybin.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgsttypefindfunctions.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstvideotestsrc.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstaudiorate.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstsubparse.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstvolume.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstvideorate.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstvideoscale.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgsttcp.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstaudioresample.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstaudiotestsrc.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstgdp.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstqueue2.so
|
|
%{_libdir}/gstreamer-%{majorminor}/libgsturidecodebin.so
|
|
|
|
# Here are packages not in the base plugins package but not dependant
|
|
# on an external lib
|
|
|
|
# @USE_GST_V4L2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux2.so
|
|
|
|
# base plugins with dependencies
|
|
@USE_ALSA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstalsa.so
|
|
@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
|
|
@USE_XVIDEO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstximage*.so
|
|
@USE_XVIDEO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstxvimagesink.so
|
|
@USE_LIBVISUAL_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstlibvisual.so
|
|
@USE_PANGO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpango.so
|
|
@USE_CDPARANOIA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcdparanoia.so
|
|
%package devel
|
|
Summary: GStreamer Plugin Library Headers
|
|
Group: Development/Libraries
|
|
Requires: %{gstreamer}-plugins-base = %{version}
|
|
|
|
%description devel
|
|
GStreamer Plugins Base library development and header files.
|
|
|
|
%files devel
|
|
%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
|
|
%{_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
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiosrc.h
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstbaseaudiosrc.h
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/audio/multichannel-enumtypes.h
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertpaudiopayload.h
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertpdepayload.h
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtpbuffer.h
|
|
%{_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
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/tag/tag.h
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertppayload.h
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideofilter.h
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideosink.h
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/netbuffer/gstnetbuffer.h
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/cdda/gstcddabasesrc.h
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/audio/mixerutils.h
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/videoorientation.h
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/pbutils/descriptions.h
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/pbutils/install-plugins.h
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/pbutils/missing-plugins.h
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/pbutils/pbutils.h
|
|
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtcpbuffer.h
|
|
%{_libdir}/libgstaudio-%{majorminor}.so
|
|
%{_libdir}/libgstriff-%{majorminor}.so
|
|
%{_libdir}/libgsttag-%{majorminor}.so
|
|
%{_libdir}/libgstvideo-%{majorminor}.so
|
|
%{_libdir}/libgstrtp-%{majorminor}.so
|
|
%{_libdir}/libgstinterfaces-%{majorminor}.so
|
|
%{_libdir}/libgstnetbuffer-%{majorminor}.so
|
|
%{_libdir}/libgstpbutils-%{majorminor}.so
|
|
%{_libdir}/libgstcdda-%{majorminor}.so
|
|
|
|
# pkg-config files
|
|
%{_libdir}/pkgconfig/gstreamer-plugins-base-%{majorminor}.pc
|
|
|
|
# gtk-doc documentation
|
|
%doc %{_datadir}/gtk-doc/html/gst-plugins-base-libs-%{majorminor}
|
|
%doc %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{majorminor}
|
|
|
|
%changelog
|
|
* Fri Dec 15 2006 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
- add doap file
|
|
- cleanups
|
|
|
|
* Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
- clean up a little
|
|
|
|
* Fri May 6 2005 Christian Schaller <christian at fluendo dot com>
|
|
- Added libgstaudiorate and libgstsubparse to spec file
|
|
|
|
* Thu May 5 2005 Christian Schaller <christian at fluendo dot com>
|
|
- first attempt at spec file for gst-plugins-base
|