1 %define majorminor @GST_API_VERSION@
2 %define gstreamer gstreamer1
4 %define gst_minver 0.11.0
6 Name: %{gstreamer}-plugins-ugly
8 Release: @PACKAGE_VERSION_RELEASE@.gst
9 Summary: GStreamer streaming media framework "ugly" plug-ins
11 Group: Applications/Multimedia
13 URL: http://gstreamer.freedesktop.org/
14 Vendor: GStreamer Backpackers Team <package@gstreamer.freedesktop.org>
15 Source: http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-%{version}.tar.xz
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
18 Requires: %{gstreamer} >= %{gst_minver}
19 BuildRequires: %{gstreamer}-devel >= %{gst_minver}
20 BuildRequires: gcc-c++
22 @USE_SIDPLAY_TRUE@BuildRequires: libsidplay-devel >= 1.36.0
23 @USE_A52DEC_TRUE@BuildRequires: a52dec-devel >= 0.7.3
24 @USE_DVDREAD_TRUE@BuildRequires: libdvdread-devel >= 0.9.0
25 @USE_LAME_TRUE@BuildRequires: lame-devel >= 3.89
26 @USE_MAD_TRUE@BuildRequires: libmad-devel >= 0.15.0
27 @USE_MPEG2DEC_TRUE@BuildRequires: mpeg2dec-devel >= 0.4.0
28 @USE_MPG123_TRUE@BuildRequires: mpg123-devel >= 1.13
30 @USE_SIDPLAY_TRUE@Provides: gstreamer-sid = %{version}-%{release}
31 @USE_LAME_TRUE@Provides: gstreamer-lame = %{version}-%{release}
32 @USE_MAD_TRUE@Provides: gstreamer-mad = %{version}-%{release}
33 @USE_A52DEC_TRUE@Provides: gstreamer-a52dec = %{version}-%{release}
34 @USE_DVDREAD_TRUE@Provides: gstreamer-dvdread = %{version}-%{release}
35 @USE_MPEG2DEC_TRUE@Provides: gstreamer-mpeg2dec = %{version}-%{release}
37 @USE_X264_TRUE@Requires: x264-libs
40 GStreamer is a streaming media framework, based on graphs of elements which
41 operate on media data.
43 This package contains well-written plug-ins that can't be shipped in
44 gstreamer-plugins-good because:
45 - the license is not LGPL
46 - the license of the library is not LGPL
47 - there are possible licensing issues with the code.
50 # Summary: Development files for GStreamer Ugly Plugins
51 # Group: Development/Libraries
53 # Requires: %{name} = %{version}-%{release}
56 # GStreamer is a streaming media framework, based on graphs of elements which
57 # operate on media data.
59 # This package contains well-written plug-ins that can't be shipped in
60 # gstreamer-plugins-good because:
61 # - the license is not LGPL
62 # - the license of the library is not LGPL
63 # - there are possible licensing issues with the code.
65 # This package contains development files and documentation.
68 %setup -q -n gst-plugins-ugly-%{version}
77 rm -rf $RPM_BUILD_ROOT
79 # Install doc temporarily in order to be included later by rpm
82 # Clean out files that should not be part of the rpm.
83 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
84 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
85 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
86 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
88 %find_lang gst-plugins-ugly-%{majorminor}
91 rm -rf $RPM_BUILD_ROOT
93 %files -f gst-plugins-ugly-%{majorminor}.lang
94 %defattr(-, root, root, -)
95 %doc AUTHORS COPYING README REQUIREMENTS gst-plugins-ugly.doap
96 %{_libdir}/gstreamer-%{majorminor}/libgstasf.so
97 %{_libdir}/gstreamer-%{majorminor}/libgstdvdlpcmdec.so
98 %{_libdir}/gstreamer-%{majorminor}/libgstxingmux.so
99 %{_libdir}/gstreamer-%{majorminor}/libgstrmdemux.so
100 %{_libdir}/gstreamer-%{majorminor}/libgstdvdsub.so
102 # plugins with dependencies
103 @USE_SIDPLAY_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstsid.so
104 @USE_LAME_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstlame.so
105 @USE_MAD_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstmad.so
106 @USE_A52DEC_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsta52dec.so
107 @USE_DVDREAD_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstdvdread.so
108 @USE_MPEG2DEC_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstmpeg2dec.so
109 @USE_MPG123_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstmpg123.so
110 @USE_TWOLAME_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsttwolame.so
111 %doc %{_datadir}/gtk-doc/html/gst-plugins-ugly-plugins-%{majorminor}/*
112 @USE_X264_TRUE@%{_datadir}/gstreamer-%{majorminor}/presets/GstX264Enc.prs
113 @USE_X264_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstx264.so
114 @USE_AMRNB_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstamrnb.so
115 @USE_AMRWB_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstamrwbdec.so
116 @USE_AMRNB_TRUE@%{_datadir}/gstreamer-%{majorminor}/presets/GstAmrnbEnc.prs
117 @USE_CDIO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcdio.so
121 * Fri Jun 5 2009 Jan Schmidt <thaytan at mad dot scientist dot com>
122 - Move x264enc plugin from -bad
124 * Fri Dec 15 2006 Thomas Vander Stichele <thomas at apestaart dot org>
128 * Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
129 - clean out for split into ugly