2005-09-05 15:10:18 +00:00
|
|
|
%define majorminor @GST_MAJORMINOR@
|
2006-01-17 13:14:08 +00:00
|
|
|
%define gstreamer gstreamer
|
2005-09-05 15:10:18 +00:00
|
|
|
|
2006-01-17 13:14:08 +00:00
|
|
|
%define gst_minver 0.10.0
|
2005-09-05 15:10:18 +00:00
|
|
|
|
|
|
|
Name: %{gstreamer}-plugins-bad
|
|
|
|
Version: @VERSION@
|
2006-04-11 16:18:13 +00:00
|
|
|
Release: @PACKAGE_VERSION_RELEASE@.gst
|
2005-09-05 15:10:18 +00:00
|
|
|
Summary: GStreamer plug-ins of bad quality
|
|
|
|
|
|
|
|
%define majorminor @GST_MAJORMINOR@
|
|
|
|
|
|
|
|
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-bad/gst-plugins-bad-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
Requires: %{gstreamer} >= %{gst_minver}
|
|
|
|
BuildRequires: %{gstreamer}-devel >= %{gst_minver}
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
|
|
|
# @USE_AUDIOFILE_TRUE@Requires: audiofile >= 0.2.1
|
|
|
|
# @USE_AUDIOFILE_TRUE@BuildRequires: audiofile-devel >= 0.2.1
|
|
|
|
@USE_FAAD_TRUE@BuildRequires: faad2-devel >= 2.0
|
2006-08-09 10:45:32 +00:00
|
|
|
@USE_GSM_TRUE@BuildRequires: gsm-devel >= 1.0.10
|
2005-09-05 15:10:18 +00:00
|
|
|
# @USE_HERMES_TRUE@Requires: Hermes >= 1.3.0
|
|
|
|
# @USE_HERMES_TRUE@BuildRequires: Hermes-devel >= 1.3.0
|
|
|
|
# @USE_LIBFAME_TRUE@BuildRequires: libfame-devel >= 0.9.0
|
2005-10-27 16:16:00 +00:00
|
|
|
@USE_SDL_TRUE@Requires: SDL >= 1.2.0
|
2006-01-02 15:05:09 +00:00
|
|
|
@USE_SWFDEC_TRUE@BuildRequires: swfdec-devel
|
2005-09-05 15:10:18 +00:00
|
|
|
@USE_FAAD_TRUE@Provides: gstreamer-faad = %{version}-%{release}
|
2005-10-27 16:16:00 +00:00
|
|
|
@USE_FAAC_TRUE@Requires: faac >= 1.23
|
2006-08-09 10:45:32 +00:00
|
|
|
@USE_GSM_TRUE@Provides: gstreamer-gsm = %{version}-%{release}
|
2005-09-05 15:10:18 +00:00
|
|
|
# @USE_LIBFAME_TRUE@Provides: gstreamer-libfame = %{version}-%{release}
|
2005-12-04 22:46:34 +00:00
|
|
|
@USE_LIBMMS_TRUE@Requires: libmms >= 0.1
|
2006-02-03 10:13:22 +00:00
|
|
|
@USE_OPENGL_TRUE@Requires: mesa-libGL
|
2006-08-09 10:45:32 +00:00
|
|
|
@USE_WAVPACK_TRUE@Requires: wavpack-devel >= 4.32
|
2005-09-05 15:10:18 +00:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
This package contains GStreamer Plugins that are considered to be of bad
|
|
|
|
quality, even though they might work.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n gst-plugins-bad-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2006-10-04 10:29:22 +00:00
|
|
|
%find_lang gst-plugins-bad-%{majorminor}
|
2005-09-05 15:10:18 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
2006-10-04 10:29:22 +00:00
|
|
|
%files -f gst-plugins-bad-%{majorminor}
|
|
|
|
|
2005-09-05 15:10:18 +00:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc AUTHORS COPYING README REQUIREMENTS
|
|
|
|
|
|
|
|
# non-core plugins without external dependencies
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstqtdemux.so
|
2005-10-04 15:49:35 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgsttta.so
|
2005-10-21 16:11:53 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstspeed.so
|
2006-02-17 15:03:12 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstcdxaparse.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstfreeze.so
|
2006-08-09 10:45:32 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstmodplug.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstxingheader.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstgdp.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgsth264parse.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstspectrum.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstfilter.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstnsf.so
|
|
|
|
|
2005-09-05 15:10:18 +00:00
|
|
|
# gstreamer-plugins with external dependencies but in the main package
|
|
|
|
@USE_FAAD_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstfaad.so
|
2005-10-27 16:16:00 +00:00
|
|
|
@USE_FAAC_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstfaac.so
|
2006-02-03 10:13:22 +00:00
|
|
|
@USE_OPENGL_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstglimagesink.so
|
2006-08-09 10:45:32 +00:00
|
|
|
@USE_MUSICBRAINZ_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsttrm.so
|
2005-09-05 15:10:18 +00:00
|
|
|
# @USE_POLYP_TRUE@%{_libdir}/gstreamer-%{majorminor}/libpolypaudio.so
|
2005-10-04 15:49:35 +00:00
|
|
|
@USE_SDL_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstsdlvideosink.so
|
2006-01-02 15:05:09 +00:00
|
|
|
@USE_SWFDEC_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstswfdec.so
|
2005-12-04 22:46:34 +00:00
|
|
|
@USE_LIBMMS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstmms.so
|
2006-02-10 13:16:49 +00:00
|
|
|
@USE_XVID_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstxvid.so
|
|
|
|
@USE_BZ2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstbz2.so
|
2006-08-09 10:45:32 +00:00
|
|
|
@USE_WAVPACK_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstwavpack.so
|
|
|
|
@USE_IVORBIS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstivorbis.so
|
|
|
|
@USE_NEON_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstneonhttpsrc.so
|
|
|
|
@USE_ALSA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstalsaspdif.so
|
2006-07-19 11:47:20 +00:00
|
|
|
|
2005-09-05 15:10:18 +00:00
|
|
|
%changelog
|
2005-11-27 14:35:27 +00:00
|
|
|
* Sun Nov 27 2005 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
- redone for split
|
2005-09-05 15:10:18 +00:00
|
|
|
|