splitmux: Fix typo converting to running time.
[platform/upstream/gstreamer.git] / gst-plugins-good.spec.in
1 %define majorminor  @GST_API_VERSION@
2 %define gstreamer   gstreamer1
3
4 %define gst_minver   0.11.0
5
6 Name:           %{gstreamer}-plugins-good
7 Version:        @VERSION@
8 Release:        @PACKAGE_VERSION_RELEASE@.gst
9 Summary:        GStreamer plug-ins with good code and licensing
10
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-good/gst-plugins-good-%{version}.tar.xz
16 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17
18 Requires:         %{gstreamer} >= %{gst_minver}
19 BuildRequires:    %{gstreamer}-devel >= %{gst_minver}
20
21 BuildRequires:  gcc-c++
22
23 @USE_FLAC_TRUE@BuildRequires: flac-devel >= 1.0.3
24 @USE_JPEG_TRUE@BuildRequires: libjpeg-devel
25 @USE_LIBCACA_TRUE@BuildRequires: libcaca-devel
26 @USE_LIBDV_TRUE@BuildRequires: libdv-devel
27 @USE_LIBPNG_TRUE@BuildRequires: libpng-devel >= 1.2.0
28 @USE_OSS_TRUE@BuildRequires: glibc-devel
29 @USE_SPEEX_TRUE@BuildRequires:  speex-devel
30 @USE_SHOUT2_TRUE@BuildRequires: libshout-devel >= 2.0
31 @USE_AALIB_TRUE@BuildRequires:  aalib-devel >= 1.3
32 @USE_AALIB_TRUE@Provides:       gstreamer-aasink = %{version}-%{release}
33 @USE_PULSE_TRUE@BuildRequires: pulseaudio-libs-devel
34 @USE_DV1394_TRUE@BuildRequires: libavc1394-devel
35 @USE_DV1394_TRUE@BuildRequires: libdc1394-devel
36 @USE_DV1394_TRUE@BuildRequires: libiec61883-devel  
37 @USE_DV1394_TRUE@BuildRequires: libraw1394-devel
38
39 %description
40 GStreamer is a streaming media framework, based on graphs of filters which
41 operate on media data. Applications using this library can do anything
42 from real-time sound processing to playing videos, and just about anything
43 else media-related.  Its plugin-based architecture means that new data
44 types or processing capabilities can be added simply by installing new
45 plug-ins.
46
47 %prep
48 %setup -q -n gst-plugins-good-%{version}
49 %build
50 %configure \
51   --enable-debug \
52   --enable-DEBUG 
53
54 make %{?_smp_mflags} CFLAGS+="-Wno-error" CXXFLAGS+="-Wno-error"
55                                                                                 
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %makeinstall
60                                                                                 
61 # Clean out files that should not be part of the rpm.
62 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
63 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
64 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
65 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
66
67 %find_lang gst-plugins-good-%{majorminor}
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post
73
74 %files -f gst-plugins-good-%{majorminor}.lang
75 %defattr(-, root, root)
76 %doc AUTHORS COPYING README REQUIREMENTS gst-plugins-good.doap
77 %{_datadir}/gstreamer-%{majorminor}/presets/GstIirEqualizer10Bands.prs
78 %{_datadir}/gstreamer-%{majorminor}/presets/GstIirEqualizer3Bands.prs
79 %{_datadir}/gstreamer-%{majorminor}/presets/GstVP8Enc.prs
80
81 %{_datadir}/gtk-doc/html/gst-plugins-good-plugins-%{majorminor}/*
82
83 # non-core plugins without external dependencies
84 %{_libdir}/gstreamer-%{majorminor}/libgstalaw.so
85 %{_libdir}/gstreamer-%{majorminor}/libgstalpha.so
86 %{_libdir}/gstreamer-%{majorminor}/libgstautodetect.so
87 %{_libdir}/gstreamer-%{majorminor}/libgstavi.so
88 %{_libdir}/gstreamer-%{majorminor}/libgsteffectv.so
89 %{_libdir}/gstreamer-%{majorminor}/libgstgoom.so
90 %{_libdir}/gstreamer-%{majorminor}/libgstlevel.so
91 %{_libdir}/gstreamer-%{majorminor}/libgstmulaw.so
92 %{_libdir}/gstreamer-%{majorminor}/libgstisomp4.so
93 %{_libdir}/gstreamer-%{majorminor}/libgstrtp.so
94 %{_libdir}/gstreamer-%{majorminor}/libgstrtpmanager.so
95 %{_libdir}/gstreamer-%{majorminor}/libgstrtsp.so
96 %{_libdir}/gstreamer-%{majorminor}/libgstsmpte.so
97 %{_libdir}/gstreamer-%{majorminor}/libgstudp.so
98 %{_libdir}/gstreamer-%{majorminor}/libgstvideobox.so
99 %{_libdir}/gstreamer-%{majorminor}/libgstwavenc.so
100 %{_libdir}/gstreamer-%{majorminor}/libgstwavparse.so
101 %{_libdir}/gstreamer-%{majorminor}/libgstauparse.so
102 %{_libdir}/gstreamer-%{majorminor}/libgstdebug.so
103 %{_libdir}/gstreamer-%{majorminor}/libgstnavigationtest.so
104 %{_libdir}/gstreamer-%{majorminor}/libgstalphacolor.so
105 @USE_CAIRO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcairo.so
106 %{_libdir}/gstreamer-%{majorminor}/libgstflxdec.so
107 %{_libdir}/gstreamer-%{majorminor}/libgstmatroska.so
108 %{_libdir}/gstreamer-%{majorminor}/libgstvideomixer.so
109 %{_libdir}/gstreamer-%{majorminor}/libgstcutter.so
110 %{_libdir}/gstreamer-%{majorminor}/libgstmultipart.so
111 %{_libdir}/gstreamer-%{majorminor}/libgstid3demux.so
112 @USE_GDK_PIXBUF_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstgdkpixbuf.so
113 %{_libdir}/gstreamer-%{majorminor}/libgstapetag.so
114 # %{_libdir}/gstreamer-%{majorminor}/libgstannodex.so
115 %{_libdir}/gstreamer-%{majorminor}/libgstvideocrop.so
116 %{_libdir}/gstreamer-%{majorminor}/libgsticydemux.so
117 %{_libdir}/gstreamer-%{majorminor}/libgsttaglib.so
118 %{_libdir}/gstreamer-%{majorminor}/libgstximagesrc.so
119 %{_libdir}/gstreamer-%{majorminor}/libgstaudiofx.so
120 %{_libdir}/gstreamer-%{majorminor}/libgstequalizer.so
121 %{_libdir}/gstreamer-%{majorminor}/libgstmultifile.so
122 %{_libdir}/gstreamer-%{majorminor}/libgstspectrum.so
123 %{_libdir}/gstreamer-%{majorminor}/libgstgoom2k1.so
124 %{_libdir}/gstreamer-%{majorminor}/libgstinterleave.so
125 %{_libdir}/gstreamer-%{majorminor}/libgstreplaygain.so
126 %{_libdir}/gstreamer-%{majorminor}/libgstdeinterlace.so
127 %{_libdir}/gstreamer-%{majorminor}/libgstflv.so
128 %{_libdir}/gstreamer-%{majorminor}/libgsty4menc.so
129 %{_libdir}/gstreamer-%{majorminor}/libgstoss4audio.so
130 %{_libdir}/gstreamer-%{majorminor}/libgstimagefreeze.so
131 %{_libdir}/gstreamer-%{majorminor}/libgstshapewipe.so
132 %{_libdir}/gstreamer-%{majorminor}/libgstvideofilter.so
133 %{_libdir}/gstreamer-%{majorminor}/libgstaudioparsers.so
134 %{_libdir}/gstreamer-%{majorminor}/libgstdtmf.so
135 %{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux2.so
136
137 # gstreamer-plugins with external dependencies but in the main package
138 @USE_LIBCACA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcacasink.so
139 @USE_FLAC_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstflac.so
140 @USE_JACK_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstjack.so
141 @USE_JPEG_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstjpeg.so
142 @USE_LIBPNG_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpng.so
143 @USE_OSS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstossaudio.so
144 @USE_SPEEX_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstspeex.so
145 @USE_SHOUT2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstshout2.so
146 @USE_AALIB_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstaasink.so
147 @USE_LIBDV_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstdv.so
148 @USE_DV1394_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgst1394.so
149 @USE_WAVPACK_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstwavpack.so
150 @USE_SOUP_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstsouphttpsrc.so
151 @USE_PULSE_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpulse.so
152 @USE_VPX_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvpx.so
153
154
155 %changelog
156 * Tue Jun 12 2007 Jan Schmidt <jan at fluendo dot com>
157 - wavpack and qtdemux have moved from bad
158
159 * Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
160 - clean up for splitup