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