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