asfdemux: don't leak payload bufs in gst_asf_demux_free_stream
[glsdk/gst-plugins-ugly0-10.git] / gst-plugins-ugly.spec.in
1 %define majorminor  @GST_MAJORMINOR@
2 %define gstreamer   gstreamer
4 %define gst_minver  0.10.0
6 Name:           %{gstreamer}-plugins-ugly
7 Version:        @VERSION@
8 Release:        @PACKAGE_VERSION_RELEASE@.gst
9 Summary:        GStreamer streaming media framework "ugly" plug-ins
11 Group:          Applications/Multimedia
12 License:        LGPL
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.gz
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
29 @USE_SIDPLAY_TRUE@Provides:       gstreamer-sid = %{version}-%{release}
30 @USE_LAME_TRUE@Provides:      gstreamer-lame = %{version}-%{release}
31 @USE_MAD_TRUE@Provides:       gstreamer-mad = %{version}-%{release}
32 @USE_A52DEC_TRUE@Provides:       gstreamer-a52dec = %{version}-%{release}
33 @USE_DVDREAD_TRUE@Provides:       gstreamer-dvdread = %{version}-%{release}
34 @USE_MPEG2DEC_TRUE@Provides:       gstreamer-mpeg2dec = %{version}-%{release}
36 @USE_X264_TRUE@Requires: x264-libs
38 %description
39 GStreamer is a streaming media framework, based on graphs of elements which
40 operate on media data.
42 This package contains well-written plug-ins that can't be shipped in
43 gstreamer-plugins-good because:
44 - the license is not LGPL
45 - the license of the library is not LGPL
46 - there are possible licensing issues with the code.
48 # %package devel
49 # Summary:        Development files for GStreamer Ugly Plugins
50 # Group:          Development/Libraries
51 #
52 # Requires:       %{name} = %{version}-%{release}
53 #
54 # %description devel
55 # GStreamer is a streaming media framework, based on graphs of elements which
56 # operate on media data.
57 #
58 # This package contains well-written plug-ins that can't be shipped in
59 # gstreamer-plugins-good because:
60 # - the license is not LGPL
61 # - the license of the library is not LGPL
62 # - there are possible licensing issues with the code.
63
64 # This package contains development files and documentation.
66 %prep
67 %setup -q -n gst-plugins-ugly-%{version}
68 %build
69 %configure \
70   --enable-debug \
71   --enable-gtk-doc 
73 make %{?_smp_mflags}
74                                                                                 
75 %install
76 rm -rf $RPM_BUILD_ROOT
78 # Install doc temporarily in order to be included later by rpm
79 %makeinstall
81 # Clean out files that should not be part of the rpm.
82 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
83 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
84 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
85 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
87 %find_lang gst-plugins-ugly-%{majorminor}
89 %clean
90 rm -rf $RPM_BUILD_ROOT
92 %files -f gst-plugins-ugly-%{majorminor}.lang
93 %defattr(-, root, root, -)
94 %doc AUTHORS COPYING README REQUIREMENTS gst-plugins-ugly.doap
95 %{_libdir}/gstreamer-%{majorminor}/libgstasf.so
96 %{_libdir}/gstreamer-%{majorminor}/libgstdvdlpcmdec.so
97 %{_libdir}/gstreamer-%{majorminor}/libgstiec958.so
98 %{_libdir}/gstreamer-%{majorminor}/libgstmpegaudioparse.so
99 %{_libdir}/gstreamer-%{majorminor}/libgstmpegstream.so
100 %{_libdir}/gstreamer-%{majorminor}/libgstrmdemux.so
101 %{_libdir}/gstreamer-%{majorminor}/libgstdvdsub.so
103 # plugins with dependencies
104 @USE_SIDPLAY_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstsid.so
105 @USE_LAME_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstlame.so
106 @USE_MAD_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstmad.so
107 @USE_A52DEC_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsta52dec.so
108 @USE_DVDREAD_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstdvdread.so
109 @USE_MPEG2DEC_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstmpeg2dec.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
120 %changelog
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>
125 - further cleanup
126 - add .doap file
128 * Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
129 - clean out for split into ugly