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