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