add doap file
[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 %files -f gst-plugins-base-%{majorminor}.lang
65 %defattr(-, root, root)
66 %doc AUTHORS COPYING README REQUIREMENTS gst-plugins-base.doap
67
68 # helper programs
69 %{_bindir}/gst-visualise-%{majorminor}
70 %{_mandir}/man1/gst-visualise-%{majorminor}*
71
72 # libraries
73 %{_libdir}/libgstinterfaces-%{majorminor}.so.*
74 %{_libdir}/libgstaudio-%{majorminor}.so.*
75 %{_libdir}/libgstriff-%{majorminor}.so.*
76 %{_libdir}/libgsttag-%{majorminor}.so.*
77 %{_libdir}/libgstvideo-%{majorminor}.so.*
78 %{_libdir}/libgstrtp-%{majorminor}.so*
79 %{_libdir}/libgstnetbuffer-%{majorminor}.so*
80 %{_libdir}/libgstcdda-%{majorminor}.so*
81
82 # base plugins without external dependencies
83 %{_libdir}/gstreamer-%{majorminor}/libgstadder.so
84 %{_libdir}/gstreamer-%{majorminor}/libgstaudioconvert.so
85 %{_libdir}/gstreamer-%{majorminor}/libgstffmpegcolorspace.so
86 %{_libdir}/gstreamer-%{majorminor}/libgstdecodebin.so
87 %{_libdir}/gstreamer-%{majorminor}/libgstplaybin.so
88 %{_libdir}/gstreamer-%{majorminor}/libgsttypefindfunctions.so
89 %{_libdir}/gstreamer-%{majorminor}/libgstvideotestsrc.so
90 %{_libdir}/gstreamer-%{majorminor}/libgstaudiorate.so
91 %{_libdir}/gstreamer-%{majorminor}/libgstsubparse.so
92 %{_libdir}/gstreamer-%{majorminor}/libgstvolume.so
93 %{_libdir}/gstreamer-%{majorminor}/libgstvideorate.so
94 %{_libdir}/gstreamer-%{majorminor}/libgstvideoscale.so
95 %{_libdir}/gstreamer-%{majorminor}/libgsttcp.so
96 %{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux.so
97 %{_libdir}/gstreamer-%{majorminor}/libgstaudioresample.so
98 %{_libdir}/gstreamer-%{majorminor}/libgstaudiotestsrc.so
99 %{_libdir}/gstreamer-%{majorminor}/libgstgdp.so
100
101 # Here are packages not in the base plugins package but not dependant
102 # on an external lib
103
104 # @USE_GST_V4L2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux2.so
105
106 # base plugins with dependencies
107 @USE_ALSA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstalsa.so
108 @USE_THEORA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsttheora.so
109 @USE_GNOME_VFS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstgnomevfs.so
110 @USE_VORBIS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvorbis.so
111 @USE_VORBIS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstogg.so
112 @USE_XVIDEO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstximage*.so
113 @USE_XVIDEO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstxvimagesink.so
114 @USE_LIBVISUAL_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstlibvisual.so
115 @USE_PANGO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpango.so
116 @USE_CDPARANOIA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcdparanoia.so                                                                     
117 %package devel
118 Summary:        GStreamer Plugin Library Headers
119 Group:          Development/Libraries
120 Requires:       %{gstreamer}-plugins-base = %{version}
121
122 %description devel
123 GStreamer Plugins Base library development and header files.
124
125 %files devel
126 %defattr(-, root, root)
127 # plugin helper library headers
128 %{_includedir}/gstreamer-%{majorminor}/gst/audio/audio.h
129 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiofilter.h
130 %{_includedir}/gstreamer-%{majorminor}/gst/audio/multichannel.h
131 %{_includedir}/gstreamer-%{majorminor}/gst/floatcast/floatcast.h
132 %{_includedir}/gstreamer-%{majorminor}/gst/riff/riff-ids.h
133 %{_includedir}/gstreamer-%{majorminor}/gst/riff/riff-media.h
134 %{_includedir}/gstreamer-%{majorminor}/gst/riff/riff-read.h
135 %{_includedir}/gstreamer-%{majorminor}/gst/video/video.h
136 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/colorbalance.h
137 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/colorbalancechannel.h
138 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/interfaces-enumtypes.h
139 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/mixer.h
140 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/mixeroptions.h
141 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/mixertrack.h
142 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/navigation.h
143 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/propertyprobe.h
144 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/tuner.h
145 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/tunerchannel.h
146 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/tunernorm.h
147 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/xoverlay.h
148 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiosrc.h
149 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstbaseaudiosrc.h
150 %{_includedir}/gstreamer-%{majorminor}/gst/audio/multichannel-enumtypes.h
151 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertpaudiopayload.h
152 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertpdepayload.h
153 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtpbuffer.h
154 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudioclock.h
155 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiosink.h
156 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstbaseaudiosink.h
157 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstringbuffer.h
158 %{_includedir}/gstreamer-%{majorminor}/gst/tag/tag.h
159 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertppayload.h
160 %{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideofilter.h
161 %{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideosink.h
162 %{_includedir}/gstreamer-%{majorminor}/gst/netbuffer/gstnetbuffer.h
163 %{_includedir}/gstreamer-%{majorminor}/gst/cdda/gstcddabasesrc.h
164 %{_includedir}/gstreamer-%{majorminor}/gst/audio/mixerutils.h
165 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/videoorientation.h
166 %{_libdir}/libgstaudio-%{majorminor}.so
167 %{_libdir}/libgstriff-%{majorminor}.so
168 %{_libdir}/libgsttag-%{majorminor}.so
169 %{_libdir}/libgstvideo-%{majorminor}.so
170 %{_libdir}/libgstrtp-%{majorminor}.so
171 %{_libdir}/libgstinterfaces-%{majorminor}.so
172 %{_libdir}/libgstnetbuffer-%{majorminor}.so
173 %{_libdir}/libgstcdda-%{majorminor}.so
174
175 # pkg-config files
176 %{_libdir}/pkgconfig/gstreamer-plugins-base-%{majorminor}.pc
177
178 # gtk-doc documentation
179 %doc %{_datadir}/gtk-doc/html/gst-plugins-base-libs-%{majorminor}
180 %doc %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{majorminor}
181
182 %changelog
183 * Fri Dec 15 2006 Thomas Vander Stichele <thomas at apestaart dot org>
184 - add doap file
185 - cleanups
186
187 * Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
188 - clean up a little
189
190 * Fri May 6 2005 Christian Schaller <christian at fluendo dot com>
191 - Added libgstaudiorate and libgstsubparse to spec file
192
193 * Thu May 5 2005 Christian Schaller <christian at fluendo dot com>
194 - first attempt at spec file for gst-plugins-base