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