%define majorminor 0.9 %define gstreamer gstreamer09 %define gst_minver 0.9.4 %define gstpb_minver 0.9.4 Name: %{gstreamer}-plugins-bad Version: 0.9.4 Release: 0.gst.1 Summary: GStreamer streaming media framework "bad" plug-ins Group: Applications/Multimedia License: LGPL URL: http://gstreamer.freedesktop.org/ Source: http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{version}.tar.bz2 Patch: gst-plugins-bad.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: %{gstreamer} >= %{gst_minver} BuildRequires: %{gstreamer}-devel >= %{gst_minver} BuildRequires: %{gstreamer}-plugins-base-devel >= %{gstpb_minver} BuildRequires: gcc-c++ BuildRequires: gtk-doc BuildRequires: PyXML BuildRequires: SDL-devel BuildRequires: gsm-devel BuildRequires: faad2-devel %description GStreamer is a streaming media framework, based on graphs of elements which operate on media data. This package contains plug-ins that have licensing issues, aren't tested well enough, or the code is not of good enough quality. %prep %setup -q -n gst-plugins-bad-%{version} %patch -p1 %build %configure \ --with-package-name='gst-plugins-bad FC rpm' \ --with-package-origin='http://gstreamer.freedesktop.org/download/fedora.html' \ --enable-debug \ --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-bad-%{majorminor} %clean rm -rf $RPM_BUILD_ROOT %files -f gst-plugins-bad-%{majorminor}.lang %defattr(-, root, root, -) %doc AUTHORS COPYING README REQUIREMENTS # plugins without external dependencies %{_libdir}/gstreamer-%{majorminor}/libgstqtdemux.so %{_libdir}/gstreamer-%{majorminor}/libgstspeed.so %{_libdir}/gstreamer-%{majorminor}/libgsttta.so # plugins with dependencies %{_libdir}/gstreamer-%{majorminor}/libgstfaad.so %{_libdir}/gstreamer-%{majorminor}/libgstgsm.so %{_libdir}/gstreamer-%{majorminor}/libgstsdlvideosink.so %changelog * Wed Oct 26 2005 Thomas Vander Stichele - 0.9.4-0.gst.1 - new release - added speed plugin * Mon Oct 03 2005 Thomas Vander Stichele - 0.9.3-0.gst.1 - new release