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