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