2005-09-02 17:01:14 +00:00
|
|
|
%define majorminor @GST_MAJORMINOR@
|
2005-12-04 22:36:51 +00:00
|
|
|
%define gstreamer gstreamer010
|
2004-09-25 14:52:29 +00:00
|
|
|
|
2005-12-04 22:36:51 +00:00
|
|
|
%define gst_minver 0.9.7
|
2004-09-25 14:52:29 +00:00
|
|
|
|
2005-09-02 17:01:14 +00:00
|
|
|
Name: %{gstreamer}-plugins-ugly
|
2002-04-13 00:46:23 +00:00
|
|
|
Version: @VERSION@
|
2005-09-02 17:01:14 +00:00
|
|
|
Release: @GST_PLUGINS_UGLY_VERSION_RELEASE@.gst
|
|
|
|
Summary: GStreamer streaming media framework "ugly" plug-ins
|
2002-04-13 00:46:23 +00:00
|
|
|
|
2004-03-02 11:53:50 +00:00
|
|
|
Group: Applications/Multimedia
|
2002-06-17 14:23:21 +00:00
|
|
|
License: LGPL
|
2005-09-02 17:01:14 +00:00
|
|
|
URL: http://gstreamer.freedesktop.org/
|
|
|
|
Vendor: GStreamer Backpackers Team <package@gstreamer.freedesktop.org>
|
|
|
|
Source: http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2002-04-13 00:46:23 +00:00
|
|
|
|
2005-09-02 17:01:14 +00:00
|
|
|
Requires: %{gstreamer} >= %{gst_minver}
|
|
|
|
BuildRequires: %{gstreamer}-devel >= %{gst_minver}
|
2004-09-25 14:52:29 +00:00
|
|
|
BuildRequires: gcc-c++
|
2003-07-07 22:40:55 +00:00
|
|
|
|
2005-09-02 17:01:14 +00:00
|
|
|
@USE_SIDPLAY_TRUE@BuildRequires: libsidplay-devel >= 1.36.0
|
2005-10-21 16:22:00 +00:00
|
|
|
@USE_A52DEC_TRUE@BuildRequires: a52dec-devel >= 0.7.3
|
2005-09-02 17:01:14 +00:00
|
|
|
# @USE_DVDNAV_TRUE@BuildRequires: libdvdnav-devel >= 0.1.3
|
|
|
|
# @USE_DVDREAD_TRUE@BuildRequires: libdvdread-devel >= 0.9.0
|
|
|
|
@USE_LAME_TRUE@BuildRequires: lame-devel >= 3.89
|
|
|
|
@USE_MAD_TRUE@BuildRequires: libid3tag-devel >= 0.15.0
|
|
|
|
@USE_MAD_TRUE@BuildRequires: libmad-devel >= 0.15.0
|
|
|
|
@USE_MPEG2DEC_TRUE@BuildRequires: mpeg2dec-devel >= 0.4.0
|
|
|
|
|
|
|
|
@USE_SIDPLAY_TRUE@Provides: gstreamer-sid = %{version}-%{release}
|
|
|
|
@USE_LAME_TRUE@Provides: gstreamer-lame = %{version}-%{release}
|
|
|
|
@USE_MAD_TRUE@Provides: gstreamer-mad = %{version}-%{release}
|
2005-10-21 16:22:00 +00:00
|
|
|
@USE_A52DEC_TRUE@Provides: gstreamer-a52dec = %{version}-%{release}
|
2005-09-02 17:01:14 +00:00
|
|
|
# @USE_DVDNAV_TRUE@Provides: gstreamer-dvdnavsrc = %{version}-%{release}
|
|
|
|
# @USE_DVDREAD_TRUE@Provides: gstreamer-dvdreadsrc = %{version}-%{release}
|
|
|
|
@USE_MPEG2DEC_TRUE@Provides: gstreamer-mpeg2dec = %{version}-%{release}
|
2003-07-07 22:40:55 +00:00
|
|
|
|
2002-01-05 14:24:32 +00:00
|
|
|
%description
|
2005-09-02 17:01:14 +00:00
|
|
|
GStreamer is a streaming media framework, based on graphs of elements which
|
|
|
|
operate on media data.
|
|
|
|
|
|
|
|
This package contains well-written plug-ins that can't be shipped in
|
|
|
|
gstreamer-plugins-good because:
|
|
|
|
- the license is not LGPL
|
|
|
|
- the license of the library is not LGPL
|
|
|
|
- there are possible licensing issues with the code.
|
|
|
|
|
|
|
|
# %package devel
|
|
|
|
# Summary: Development files for GStreamer Ugly 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 well-written plug-ins that can't be shipped in
|
|
|
|
# gstreamer-plugins-good because:
|
|
|
|
# - the license is not LGPL
|
|
|
|
# - the license of the library is not LGPL
|
|
|
|
# - there are possible licensing issues with the code.
|
|
|
|
#
|
|
|
|
# This package contains development files and documentation.
|
2002-03-01 15:46:26 +00:00
|
|
|
|
2002-01-05 14:24:32 +00:00
|
|
|
%prep
|
2005-09-02 17:01:14 +00:00
|
|
|
%setup -q -n gst-plugins-ugly-%{version}
|
2002-01-05 14:24:32 +00:00
|
|
|
%build
|
2004-03-01 16:36:35 +00:00
|
|
|
%configure \
|
2002-07-09 10:45:37 +00:00
|
|
|
--enable-debug \
|
2005-09-19 16:44:13 +00:00
|
|
|
--enable-gtk-doc
|
2002-01-05 14:24:32 +00:00
|
|
|
|
2004-03-01 16:36:35 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
2002-05-10 21:56:15 +00:00
|
|
|
%install
|
2004-03-01 16:36:35 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2005-09-02 17:01:14 +00:00
|
|
|
# Install doc temporarily in order to be included later by rpm
|
2004-03-01 16:36:35 +00:00
|
|
|
%makeinstall
|
2005-09-02 17:01:14 +00:00
|
|
|
|
2002-10-20 01:08:34 +00:00
|
|
|
# Clean out files that should not be part of the rpm.
|
2002-12-12 10:26:43 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
|
2002-10-20 01:08:34 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
2005-09-02 17:01:14 +00:00
|
|
|
|
|
|
|
# %find_lang gst-plugins-ugly-%{majorminor}
|
2002-10-20 01:08:34 +00:00
|
|
|
|
2002-01-05 14:24:32 +00:00
|
|
|
%clean
|
2004-03-01 16:36:35 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2002-01-05 14:24:32 +00:00
|
|
|
|
2004-03-27 18:57:09 +00:00
|
|
|
%post
|
2004-09-25 14:52:29 +00:00
|
|
|
|
2005-09-02 17:01:14 +00:00
|
|
|
%postun
|
2004-09-25 14:52:29 +00:00
|
|
|
|
2005-09-02 17:01:14 +00:00
|
|
|
%files
|
|
|
|
#%files -f gst-plugins-ugly-%{majorminor}.lang
|
2004-09-25 14:52:29 +00:00
|
|
|
%defattr(-, root, root, -)
|
2005-09-02 17:01:14 +00:00
|
|
|
%doc AUTHORS COPYING README REQUIREMENTS
|
2004-09-25 14:52:29 +00:00
|
|
|
|
2005-09-02 17:01:14 +00:00
|
|
|
# plugins without external dependencies
|
|
|
|
#%{_libdir}/gstreamer-%{majorminor}/libgstac3parse.so
|
|
|
|
#%{_libdir}/gstreamer-%{majorminor}/libgstasfdemux.so
|
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstdvdlpcmdec.so
|
2005-09-02 18:01:33 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstiec958.so
|
2005-09-02 17:01:14 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstmpegaudioparse.so
|
2005-11-15 07:59:58 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstmpegstream.so
|
2005-09-02 17:01:14 +00:00
|
|
|
%{_libdir}/gstreamer-%{majorminor}/libgstrmdemux.so
|
2004-09-25 14:52:29 +00:00
|
|
|
|
2005-09-02 17:01:14 +00:00
|
|
|
# plugins with dependencies
|
|
|
|
@USE_SIDPLAY_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstsid.so
|
2005-08-24 17:40:17 +00:00
|
|
|
@USE_LAME_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstlame.so
|
2005-07-05 15:26:56 +00:00
|
|
|
@USE_MAD_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstmad.so
|
2005-10-21 16:22:00 +00:00
|
|
|
@USE_A52DEC_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsta52dec.so
|
2005-05-06 12:43:59 +00:00
|
|
|
# @USE_DVDNAV_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstdvdnavsrc.so
|
|
|
|
# @USE_DVDREAD_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstdvdreadsrc.so
|
2005-07-25 15:23:42 +00:00
|
|
|
@USE_MPEG2DEC_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstmpeg2dec.so
|
2005-09-20 17:37:54 +00:00
|
|
|
%doc %{_datadir}/gtk-doc/html/gst-plugins-ugly-plugins-%{majorminor}/*
|
2002-10-29 14:53:42 +00:00
|
|
|
|
2002-03-13 16:40:16 +00:00
|
|
|
%changelog
|
2005-09-02 17:01:14 +00:00
|
|
|
* Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
- clean out for split into ugly
|