%define majorminor 0.9 %define gstreamer gstreamer09 %define gst_minver 0.9.5 %define gstpb_minver 0.9.5 Name: %{gstreamer}-plugins-bad Version: 0.9.5 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 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. %package devel Summary: Development files for GStreamer Bad Plugins Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel 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. This package contains development files and documentation. %prep %setup -q -n gst-plugins-bad-%{version} %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 %files %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 %files devel %defattr(-, root, root, -) %doc %{_datadir}/gtk-doc/html/gst-plugins-bad-plugins-%{majorminor}/* %changelog * Sat Nov 12 2005 Thomas Vander Stichele - new release - remove tta patch - don't check for languages, no translations yet - added gtk-doc * 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