docs are now in gstreamer rpm want them in gstreamer-devel though
[platform/upstream/gstreamer.git] / gstreamer.spec.in
1 # File generated by dobey, DO NOT EDIT
2
3 Summary: GStreamer Streaming-media framework runtime
4 Name: gstreamer
5 Version: @VERSION@
6 Release: @GST_VERSION_RELEASE@
7 Copyright: LGPL
8 Group: Libraries/Multimedia
9 Source: %{name}-%{version}.tar.gz
10 BuildRoot: %{_tmppath}/%{name}-%{version}-root
11 Requires: libxml2 >= 2.4.0
12 BuildRequires: nasm => 0.90
13
14 %description
15 GStreamer is a streaming-media framework, based on graphs of filters which
16 operate on media data. Applications using this library can do anything
17 from real-time sound processing to playing videos, and just about anything
18 else media-related.  Its plugin-based architecture means that new data
19 types or processing capabilities can be added simply by installing new 
20 plugins.
21
22 %files
23 %defattr(-, root, root)
24 %doc AUTHORS COPYING README TODO COPYING.LIB ABOUT-NLS REQUIREMENTS DOCBUILDING html
25 %{_bindir}/gst-complete
26 %{_bindir}/gst-compprep
27 %{_bindir}/gst-inspect
28 %{_bindir}/gst-launch
29 %{_bindir}/gst-register
30 %{_libdir}/libgstreamer-%{version}.so.*
31 %{_libdir}/gst/libgstautoplugcache*.so*
32 %{_libdir}/gst/libgstautoplugger*.so*
33 %{_libdir}/gst/libgstbasicscheduler*.so*
34 %{_libdir}/gst/libgststandardscheduler*.so*
35 %{_libdir}/gst/libgstelements*.so*
36 %{_libdir}/gst/libgsttypes*.so*
37 %{_libdir}/gst/libgststaticautoplug*.so*
38 %{_libdir}/gst/libgstcontrol*.so*
39 %{_libdir}/gst/libgstbytestream*.so*
40 %{_libdir}/gst/libgstgetbits*.so*
41 %{_libdir}/gst/libgstputbits*.so*
42 %{_libdir}/gst/libgstspider*.so*
43 %{_mandir}/man1/gst-complete.*
44 %{_mandir}/man1/gst-compprep.*
45 %{_mandir}/man1/gst-inspect.*
46 %{_mandir}/man1/gst-launch.*
47 %{_mandir}/man1/gst-register.*
48
49 %package devel
50 Summary: Libraries and include files for GStreamer streaming-media framework
51 Group: Development/Libraries
52 Requires: %{name} = %{version}
53
54 %description devel
55 GStreamer is a streaming-media framework, based on graphs of filters which
56 operate on media data. Applications using this library can do anything
57 from real-time sound processing to playing videos, and just about anything
58 else media-related.  Its plugin-based architecture means that new data
59 types or processing capabilities can be added simply by installing new   
60 plugins.
61
62 This package contains the libraries and includes files necessary to develop
63 applications and plugins for GStreamer.
64
65 %files devel
66 %defattr(-, root, root)
67 %{_includedir}/gst
68 %{_libdir}/libgstreamer.a
69 %{_libdir}/libgstreamer.la
70 %{_libdir}/libgstreamer.so
71 %{_libdir}/pkgconfig/*
72
73
74 %changelog
75 * Sun Mar 3 2002 Thomas Vander Stichele <thomas@apestaart.org>
76 - put html docs in canonical place, avoiding %doc erasure
77
78 * Sat Mar 2 2002 Christian Schaller <Uraeus@linuxrising.org>
79 - Added documentation to build
80
81 * Mon Feb 11 2002 Thomas Vander Stichele <thomas@apestaart.org>
82 - added libgstbasicscheduler
83 - renamed libgst to libgstreamer
84
85 * Fri Jan 04 2002 Christian Schaller <Uraeus@linuxrising.org>
86 - Added configdir parameter as it seems the configdir gets weird otherwise
87
88 * Thu Jan 03 2002 Thomas Vander Stichele <thomas@apestaart.org>
89 - split off gstreamer-editor from core
90 - removed gstreamer-gnome-apps
91
92 * Sat Dec 29 2001 Rodney Dawes <dobey@free.fr>
93 - Cleaned up the spec file for the gstreamer core/plug-ins split
94 - Improve spec file
95
96 * Sat Dec 15 2001 Christian Schaller <Uraeus@linuxrising.org>
97 - Splitt of more plugins from the core and put them into their own modules
98 - Includes colorspace, xfree and wav
99 - Improved package Require lines
100 - Added mp3encode (lame based) to the SPEC
101
102 * Wed Dec 12 2001 Christian Schaller <Uraeus@linuxrising.org>
103 - Thomas merged mpeg plugins into one
104 * Sat Dec 08 2001 Christian Schaller <Uraeus@linuxrising.org>
105 - More minor cleanups including some fixed descriptions from Andrew Mitchell
106
107 * Fri Dec 07 2001 Christian Schaller <Uraeus@linuxrising.org>
108 - Added logging to the make statement
109
110 * Wed Dec 05 2001 Christian Schaller <Uraeus@linuxrising.org>
111 - Updated in preparation for 0.3.0 release
112
113 * Fri Jun 29 2001 Christian Schaller <Uraeus@linuxrising.org>
114 - Updated for 0.2.1 release
115 - Split out the GUI packages into their own RPM
116 - added new plugins (FLAC, festival, quicktime etc.)
117
118 * Sat Jun 09 2001 Christian Schaller <Uraeus@linuxrising.org>
119 - Visualisation plugins bundled out togheter
120 - Moved files sections up close to their respective descriptions
121
122 * Sat Jun 02 2001 Christian Schaller <Uraeus@linuxrising.org>
123 - Split the package into separate RPMS, plutting most plugins out by themselves.
124
125 * Fri Jun 01 2001 Christian Schaller <Uraeus@linuxrising.org>
126 - Updated with change suggestions from Dennis Bjorklund
127
128 * Tue Jan 09 2001 Erik Walthinsen <omega@cse.ogi.edu>
129 - updated to build -devel package as well
130
131 * Sun Jan 30 2000 Erik Walthinsen <omega@cse.ogi.edu>
132 - first draft of spec file
133
134 %prep
135 %setup
136
137 %build
138 CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
139 CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
140 FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
141 %{?__libtoolize:[ -f configure.in ] && %{__libtoolize} --copy --force} ; \
142 ./configure \
143   --prefix=%{_prefix} \
144   --exec-prefix=%{_exec_prefix} \
145   --bindir=%{_bindir} \
146   --sbindir=%{_sbindir} \
147   --sysconfdir=%{_sysconfdir} \
148   --datadir=%{_datadir} \
149   --includedir=%{_includedir} \
150   --libdir=%{_libdir} \
151   --libexecdir=%{_libexecdir} \
152   --localstatedir=%{_localstatedir} \
153   --sharedstatedir=%{_sharedstatedir} \
154   --mandir=%{_mandir} \
155   --infodir=%{_infodir} \
156   --with-configdir=/etc/gstreamer \
157   --disable-tests --disable-examples --disable-debug-color \
158   --enable-docs-build --with-html-dir=$RPM_BUILD_DIR/%{name}-%{version}/html
159 if [ "$SMP" != "" ]; then
160   (make "MAKE=make -k -j $SMP"; exit 0)
161 else
162   make
163 fi
164
165 %install  
166 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
167 %makeinstall
168
169 %clean
170 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
171
172 %post
173 /sbin/ldconfig
174 %{_prefix}/bin/gst-register --gst-mask=0
175
176 %postun
177 /sbin/ldconfig