gst/tcp/gstmultifdsink.c: debug a little more understandably do not use goto as a...
[platform/upstream/gstreamer.git] / gst-plugins-base.spec.in
1 %define majorminor  @GST_MAJORMINOR@
2 %define gstreamer   gstreamer
3
4 %define gst_minver  0.10.0
5
6 Name:           %{gstreamer}-plugins-base
7 Version:        @VERSION@
8 Release:        @PACKAGE_VERSION_RELEASE@.gst
9 Summary:        GStreamer streaming media framework plug-ins
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-base/gst-plugins-base-%{version}.tar.gz
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 BuildRequires:  gtk-doc >= 1.3
23
24 @USE_GNOME_VFS_TRUE@Requires:      gnome-vfs2 > 1.9.4.00
25 @USE_GNOME_VFS_TRUE@BuildRequires: gnome-vfs2-devel > 1.9.4.00
26 @USE_VORBIS_TRUE@Requires:      libogg >= 1.0
27 @USE_VORBIS_TRUE@Requires:      libvorbis >= 1.0
28 @USE_VORBIS_TRUE@BuildRequires: libogg-devel >= 1.0
29 @USE_VORBIS_TRUE@BuildRequires: libvorbis-devel >= 1.0
30
31 %description
32 GStreamer is a streaming media framework, based on graphs of filters which
33 operate on media data. Applications using this library can do anything
34 from real-time sound processing to playing videos, and just about anything
35 else media-related.  Its plugin-based architecture means that new data
36 types or processing capabilities can be added simply by installing new
37 plug-ins.
38
39 %prep
40 %setup -q -n gst-plugins-base-%{version}
41 export DOCS_ARE_INCOMPLETE_PLEASE_FIXME=0
42 %build
43 %configure \
44   --enable-gtk-doc
45
46 make %{?_smp_mflags}
47                                                                                 
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %makeinstall
52
53 # Clean out files that should not be part of the rpm.
54 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
55 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
56 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
57 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
58
59 %find_lang gst-plugins-base-%{majorminor}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %post
65
66 %postun
67
68 %files -f gst-plugins-base-%{majorminor}.lang
69 %defattr(-, root, root)
70 %doc AUTHORS COPYING README REQUIREMENTS
71
72 # helper programs
73 %{_bindir}/gst-visualise-%{majorminor}
74 %{_mandir}/man1/gst-visualise-%{majorminor}*
75
76 # libraries
77 %{_libdir}/libgstinterfaces-%{majorminor}.so.*
78 %{_libdir}/libgstaudio-%{majorminor}.so.*
79 %{_libdir}/libgstriff-%{majorminor}.so.*
80 %{_libdir}/libgsttag-%{majorminor}.so.*
81 %{_libdir}/libgstvideo-%{majorminor}.so.*
82 %{_libdir}/libgstrtp-%{majorminor}.so*
83 %{_libdir}/libgstnetbuffer-%{majorminor}.so*
84 %{_libdir}/libgstcdda-%{majorminor}.so*
85
86 # base plugins without external dependencies
87 %{_libdir}/gstreamer-%{majorminor}/libgstadder.so
88 %{_libdir}/gstreamer-%{majorminor}/libgstaudioconvert.so
89 %{_libdir}/gstreamer-%{majorminor}/libgstffmpegcolorspace.so
90 %{_libdir}/gstreamer-%{majorminor}/libgstdecodebin.so
91 %{_libdir}/gstreamer-%{majorminor}/libgstplaybin.so
92 %{_libdir}/gstreamer-%{majorminor}/libgsttypefindfunctions.so
93 %{_libdir}/gstreamer-%{majorminor}/libgstvideotestsrc.so
94 %{_libdir}/gstreamer-%{majorminor}/libgstaudiorate.so
95 %{_libdir}/gstreamer-%{majorminor}/libgstsubparse.so
96 %{_libdir}/gstreamer-%{majorminor}/libgstvolume.so
97 %{_libdir}/gstreamer-%{majorminor}/libgstvideorate.so
98 %{_libdir}/gstreamer-%{majorminor}/libgstvideoscale.so
99 %{_libdir}/gstreamer-%{majorminor}/libgsttcp.so
100 %{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux.so
101 %{_libdir}/gstreamer-%{majorminor}/libgstaudioresample.so
102 %{_libdir}/gstreamer-%{majorminor}/libgstaudiotestsrc.so
103
104 # Here are packages not in the base plugins package but not dependant
105 # on an external lib
106
107 # @USE_GST_V4L2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux2.so
108
109 # base plugins with dependencies
110 @USE_ALSA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstalsa.so
111 @USE_THEORA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsttheora.so
112 @USE_GNOME_VFS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstgnomevfs.so
113 @USE_VORBIS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvorbis.so
114 @USE_VORBIS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstogg.so
115 @USE_XVIDEO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstximage*.so
116 @USE_XVIDEO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstxvimagesink.so
117 @USE_LIBVISUAL_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstlibvisual.so
118 @USE_PANGO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpango.so
119 @USE_CDPARANOIA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcdparanoia.so                                                                     
120 %package devel
121 Summary:        GStreamer Plugin Library Headers
122 Group:          Development/Libraries
123 Requires:       %{gstreamer}-plugins-base = %{version}
124
125 %description devel
126 GStreamer Plugins Base library development and header files.
127
128 %files devel
129 %defattr(-, root, root)
130 # plugin helper library headers
131 %{_includedir}/gstreamer-%{majorminor}/gst/audio/audio.h
132 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiofilter.h
133 %{_includedir}/gstreamer-%{majorminor}/gst/audio/multichannel.h
134 %{_includedir}/gstreamer-%{majorminor}/gst/floatcast/floatcast.h
135 %{_includedir}/gstreamer-%{majorminor}/gst/riff/riff-ids.h
136 %{_includedir}/gstreamer-%{majorminor}/gst/riff/riff-media.h
137 %{_includedir}/gstreamer-%{majorminor}/gst/riff/riff-read.h
138 %{_includedir}/gstreamer-%{majorminor}/gst/video/video.h
139 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/colorbalance.h
140 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/colorbalancechannel.h
141 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/interfaces-enumtypes.h
142 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/mixer.h
143 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/mixeroptions.h
144 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/mixertrack.h
145 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/navigation.h
146 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/propertyprobe.h
147 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/tuner.h
148 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/tunerchannel.h
149 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/tunernorm.h
150 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/xoverlay.h
151 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiosrc.h
152 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstbaseaudiosrc.h
153 %{_includedir}/gstreamer-%{majorminor}/gst/audio/multichannel-enumtypes.h
154 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertpdepayload.h
155 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtpbuffer.h
156 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudioclock.h
157 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiosink.h
158 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstbaseaudiosink.h
159 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstringbuffer.h
160 %{_includedir}/gstreamer-%{majorminor}/gst/tag/tag.h
161 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertppayload.h
162 %{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideofilter.h
163 %{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideosink.h
164 %{_includedir}/gstreamer-%{majorminor}/gst/netbuffer/gstnetbuffer.h
165 %{_includedir}/gstreamer-%{majorminor}/gst/cdda/gstcddabasesrc.h
166 %{_includedir}/gstreamer-%{majorminor}/gst/audio/mixerutils.h
167
168 %{_libdir}/libgstaudio-%{majorminor}.so
169 %{_libdir}/libgstriff-%{majorminor}.so
170 %{_libdir}/libgsttag-%{majorminor}.so
171 %{_libdir}/libgstvideo-%{majorminor}.so
172 %{_libdir}/libgstrtp-%{majorminor}.so
173 %{_libdir}/libgstinterfaces-%{majorminor}.so
174 %{_libdir}/libgstnetbuffer-%{majorminor}.so
175 %{_libdir}/libgstcdda-%{majorminor}.so
176
177 # pkg-config files
178 %{_libdir}/pkgconfig/gstreamer-plugins-base-%{majorminor}.pc
179
180 # gtk-doc documentation
181 %doc %{_datadir}/gtk-doc/html/gst-plugins-base-libs-%{majorminor}
182 # %doc %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{majorminor}
183
184 %changelog
185 * Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
186 - clean up a little
187
188 * Fri May 6 2005 Christian Schaller <christian at fluendo dot com>
189 - Added libgstaudiorate and libgstsubparse to spec file
190
191 * Thu May 5 2005 Christian Schaller <christian at fluendo dot com>
192 - first attempt at spec file for gst-plugins-base