This patch (nearly) completes the removal of vertical events from the core.
[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
25 %{_bindir}/gst-complete
26 %{_bindir}/gst-compprep
27 %{_bindir}/gst-inspect
28 %{_bindir}/gst-launch
29 %{_bindir}/gst-register
30 %{_libdir}/libgst-%{version}.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 %{_libdir}/gst/libgstspider*
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}/libgst.a
69 %{_libdir}/libgst.la
70 %{_libdir}/libgst.so
71 %{_libdir}/pkgconfig/*
72
73 %changelog
74 * Fri Jan 04 2002 Christian Schaller <Uraeus@linuxrising.org>
75 - Added configdir parameter as it seems the configdir gets weird otherwise
76
77 * Thu Jan 03 2002 Thomas Vander Stichele <thomas@apestaart.org>
78 - split off gstreamer-editor from core
79 - removed gstreamer-gnome-apps
80
81 * Sat Dec 29 2001 Rodney Dawes <dobey@free.fr>
82 - Cleaned up the spec file for the gstreamer core/plug-ins split
83 - Improve spec file
84
85 * Sat Dec 15 2001 Christian Schaller <Uraeus@linuxrising.org>
86 - Splitt of more plugins from the core and put them into their own modules
87 - Includes colorspace, xfree and wav
88 - Improved package Require lines
89 - Added mp3encode (lame based) to the SPEC
90
91 * Wed Dec 12 2001 Christian Schaller <Uraeus@linuxrising.org>
92 - Thomas merged mpeg plugins into one
93 * Sat Dec 08 2001 Christian Schaller <Uraeus@linuxrising.org>
94 - More minor cleanups including some fixed descriptions from Andrew Mitchell
95
96 * Fri Dec 07 2001 Christian Schaller <Uraeus@linuxrising.org>
97 - Added logging to the make statement
98
99 * Wed Dec 05 2001 Christian Schaller <Uraeus@linuxrising.org>
100 - Updated in preparation for 0.3.0 release
101
102 * Fri Jun 29 2001 Christian Schaller <Uraeus@linuxrising.org>
103 - Updated for 0.2.1 release
104 - Split out the GUI packages into their own RPM
105 - added new plugins (FLAC, festival, quicktime etc.)
106
107 * Sat Jun 09 2001 Christian Schaller <Uraeus@linuxrising.org>
108 - Visualisation plugins bundled out togheter
109 - Moved files sections up close to their respective descriptions
110
111 * Sat Jun 02 2001 Christian Schaller <Uraeus@linuxrising.org>
112 - Split the package into separate RPMS, plutting most plugins out by themselves.
113
114 * Fri Jun 01 2001 Christian Schaller <Uraeus@linuxrising.org>
115 - Updated with change suggestions from Dennis Bjorklund
116
117 * Tue Jan 09 2001 Erik Walthinsen <omega@cse.ogi.edu>
118 - updated to build -devel package as well
119
120 * Sun Jan 30 2000 Erik Walthinsen <omega@cse.ogi.edu>
121 - first draft of spec file
122
123 %prep
124 %setup
125
126 %build
127 CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
128 CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
129 FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
130 %{?__libtoolize:[ -f configure.in ] && %{__libtoolize} --copy --force} ; \
131 ./configure \
132   --prefix=%{_prefix} \
133   --exec-prefix=%{_exec_prefix} \
134   --bindir=%{_bindir} \
135   --sbindir=%{_sbindir} \
136   --sysconfdir=%{_sysconfdir} \
137   --datadir=%{_datadir} \
138   --includedir=%{_includedir} \
139   --libdir=%{_libdir} \
140   --libexecdir=%{_libexecdir} \
141   --localstatedir=%{_localstatedir} \
142   --sharedstatedir=%{_sharedstatedir} \
143   --mandir=%{_mandir} \
144   --infodir=%{_infodir} \
145   --with-configdir=/etc/gstreamer \
146   --disable-tests --disable-examples --disable-debug-color
147 if [ "$SMP" != "" ]; then
148   (make "MAKE=make -k -j $SMP"; exit 0)
149 else
150   make
151 fi
152
153 %install  
154 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
155 %makeinstall
156
157 %clean
158 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
159
160 %post
161 /sbin/ldconfig
162 %{_prefix}/bin/gst-register --gst-mask=0
163
164 %postun
165 /sbin/ldconfig