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