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