]>
Commit | Line | Data |
---|---|---|
1 | Summary: GStreamer Streaming-media framework runtime | |
2 | Summary(pl.UTF-8): GStreamer - biblioteki środowiska do obróbki strumieni | |
3 | Name: gstreamer | |
4 | Version: 0.10.25 | |
5 | Release: 1 | |
6 | License: LGPL v2+ | |
7 | Group: Libraries | |
8 | Source0: http://gstreamer.freedesktop.org/src/gstreamer/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 88544e034a051baf472983791d233076 | |
10 | Source1: %{name}-rpmdeps.sh | |
11 | Patch0: %{name}-without_ps_pdf.patch | |
12 | Patch1: %{name}-eps.patch | |
13 | Patch2: %{name}-inspect-rpm-format.patch | |
14 | URL: http://gstreamer.net/ | |
15 | BuildRequires: autoconf >= 2.52 | |
16 | BuildRequires: automake >= 1.6 | |
17 | BuildRequires: bison >= 1.35 | |
18 | BuildRequires: check >= 0.9.3-2 | |
19 | BuildRequires: docbook-dtd30-sgml | |
20 | BuildRequires: docbook-dtd412-xml | |
21 | BuildRequires: docbook-utils >= 0.6.10 | |
22 | BuildRequires: flex | |
23 | BuildRequires: gettext-devel >= 0.11.5 | |
24 | BuildRequires: glib2-devel >= 1:2.12.0 | |
25 | BuildRequires: glibc-misc | |
26 | BuildRequires: gnome-doc-tools | |
27 | BuildRequires: gobject-introspection-devel >= 0.6.5 | |
28 | BuildRequires: gtk-doc >= 1.6 | |
29 | BuildRequires: libtool >= 1.4 | |
30 | BuildRequires: libxml2-devel >= 1:2.6.26 | |
31 | BuildRequires: nasm | |
32 | BuildRequires: perl-base | |
33 | BuildRequires: pkgconfig >= 1:0.9.0 | |
34 | BuildRequires: popt-devel >= 1.6.3 | |
35 | # not sure it is a right place for this BR | |
36 | BuildRequires: python-PyXML | |
37 | BuildRequires: transfig | |
38 | BuildRequires: xmlto | |
39 | Requires: glib2 >= 1:2.12.0 | |
40 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
41 | ||
42 | %define vmajor %(echo %{version} | cut -d. -f1,2) | |
43 | %define _gstlibdir %{_libdir}/gstreamer-%{vmajor} | |
44 | %define _gstincludedir %{_includedir}/gstreamer-%{vmajor} | |
45 | ||
46 | %define rpmlibdir /usr/lib/rpm | |
47 | ||
48 | %description | |
49 | GStreamer is a streaming-media framework, based on graphs of filters | |
50 | which operate on media data. Applications using this library can do | |
51 | anything from real-time sound processing to playing videos, and just | |
52 | about anything else media-related. Its plugin-based architecture means | |
53 | that new data types or processing capabilities can be added simply by | |
54 | installing new plugins. | |
55 | ||
56 | %description -l pl.UTF-8 | |
57 | GStreamer to środowisko obróbki danych strumieniowych, bazujące na | |
58 | grafie filtrów operujących na danych medialnych. Aplikacje używające | |
59 | tej biblioteki mogą robić wszystko od przetwarzania dźwięku w czasie | |
60 | rzeczywistym, do odtwarzania filmów i czegokolwiek innego związanego z | |
61 | mediami. Architektura bazująca na wtyczkach pozwala na łatwe dodawanie | |
62 | nowych typów danych lub możliwości obróbki. | |
63 | ||
64 | %package devel | |
65 | Summary: Include files for GStreamer streaming-media framework | |
66 | Summary(pl.UTF-8): Pliki nagłówkowe do środowiska obróbki strumieni GStreamer | |
67 | Group: Development/Libraries | |
68 | Requires: %{name} = %{version}-%{release} | |
69 | Requires: glib2-devel >= 1:2.12.0 | |
70 | Requires: libxml2-devel >= 1:2.6.26 | |
71 | Requires: popt-devel >= 1.6.3 | |
72 | Obsoletes: gstreamer-plugins-bad-devel < 0.10.10 | |
73 | ||
74 | %description devel | |
75 | This package contains the includes files necessary to develop | |
76 | applications and plugins for GStreamer. | |
77 | ||
78 | %description devel -l pl.UTF-8 | |
79 | Ten pakiet zawiera pliki nagłówkowe potrzebne do rozwijania aplikacji | |
80 | i wtyczek do GStreamera. | |
81 | ||
82 | %package static | |
83 | Summary: GStreamer static libraries | |
84 | Summary(pl.UTF-8): Biblioteki statyczne GStreamer | |
85 | Group: Development/Libraries | |
86 | Requires: %{name}-devel = %{version}-%{release} | |
87 | ||
88 | %description static | |
89 | Static versions of GStreamer libraries. | |
90 | ||
91 | %description static -l pl.UTF-8 | |
92 | Statyczne wersje bibliotek GStreamer. | |
93 | ||
94 | %package apidocs | |
95 | Summary: GStreamer API documentation | |
96 | Summary(pl.UTF-8): Dokumentacja API Gstreamera | |
97 | Group: Documentation | |
98 | Requires: gtk-doc-common | |
99 | ||
100 | %description apidocs | |
101 | GStreamer API documentation. | |
102 | ||
103 | %description apidocs -l pl.UTF-8 | |
104 | Dokumentacja API Gstreamera. | |
105 | ||
106 | %prep | |
107 | %setup -q | |
108 | %patch0 -p1 | |
109 | %patch1 -p1 | |
110 | %patch2 -p1 | |
111 | ||
112 | %build | |
113 | # po/Makefile.in.in is modified | |
114 | #{__gettextize} | |
115 | %{__libtoolize} | |
116 | %{__aclocal} -I common/m4 -I . | |
117 | %{__autoconf} | |
118 | %{__autoheader} | |
119 | %{__automake} | |
120 | %configure \ | |
121 | --disable-examples \ | |
122 | --disable-pspdf \ | |
123 | --disable-tests \ | |
124 | --enable-docbook \ | |
125 | --enable-gtk-doc \ | |
126 | --with-html-dir=%{_gtkdocdir} | |
127 | ||
128 | %{__make} V=1 | |
129 | ||
130 | %install | |
131 | rm -rf $RPM_BUILD_ROOT | |
132 | install -d $RPM_BUILD_ROOT{%{_docdir}/%{name}-devel-%{version},%{rpmlibdir}} | |
133 | ||
134 | %{__make} install \ | |
135 | DESTDIR=$RPM_BUILD_ROOT | |
136 | ||
137 | install %{SOURCE1} $RPM_BUILD_ROOT%{rpmlibdir}/gstreamerdeps.sh | |
138 | ||
139 | mv $RPM_BUILD_ROOT%{_docdir}/%{name}-{%{vmajor},%{version}} | |
140 | mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{manual,pwg} \ | |
141 | $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version} | |
142 | ||
143 | %find_lang %{name} --all-name --with-gnome | |
144 | ||
145 | # no static modules and *.la for them - shut up check files | |
146 | rm -f $RPM_BUILD_ROOT%{_gstlibdir}/lib*.{la,a} | |
147 | ||
148 | %clean | |
149 | rm -rf $RPM_BUILD_ROOT | |
150 | ||
151 | %post -p /sbin/ldconfig | |
152 | %postun -p /sbin/ldconfig | |
153 | ||
154 | %files -f %{name}.lang | |
155 | %defattr(644,root,root,755) | |
156 | %doc AUTHORS ChangeLog NEWS README TODO | |
157 | %attr(755,root,root) %{_bindir}/gst-* | |
158 | %attr(755,root,root) %{_libdir}/libgstbase-0.10.so.*.*.* | |
159 | %attr(755,root,root) %ghost %{_libdir}/libgstbase-0.10.so.0 | |
160 | %attr(755,root,root) %{_libdir}/libgstcheck-0.10.so.*.*.* | |
161 | %attr(755,root,root) %ghost %{_libdir}/libgstcheck-0.10.so.0 | |
162 | %attr(755,root,root) %{_libdir}/libgstcontroller-0.10.so.*.*.* | |
163 | %attr(755,root,root) %ghost %{_libdir}/libgstcontroller-0.10.so.0 | |
164 | %attr(755,root,root) %{_libdir}/libgstdataprotocol-0.10.so.*.*.* | |
165 | %attr(755,root,root) %ghost %{_libdir}/libgstdataprotocol-0.10.so.0 | |
166 | %attr(755,root,root) %{_libdir}/libgstnet-0.10.so.*.*.* | |
167 | %attr(755,root,root) %ghost %{_libdir}/libgstnet-0.10.so.0 | |
168 | %attr(755,root,root) %{_libdir}/libgstreamer-0.10.so.*.*.* | |
169 | %attr(755,root,root) %ghost %{_libdir}/libgstreamer-0.10.so.0 | |
170 | %dir %{_gstlibdir} | |
171 | %attr(755,root,root) %{_gstlibdir}/libgstcoreelements.so | |
172 | %attr(755,root,root) %{_gstlibdir}/libgstcoreindexers.so | |
173 | %{_mandir}/man1/gst-*.1* | |
174 | %{_libdir}/girepository-1.0/Gst-0.10.typelib | |
175 | %{_libdir}/girepository-1.0/GstBase-0.10.typelib | |
176 | %{_libdir}/girepository-1.0/GstCheck-0.10.typelib | |
177 | %{_libdir}/girepository-1.0/GstController-0.10.typelib | |
178 | %{_libdir}/girepository-1.0/GstNet-0.10.typelib | |
179 | ||
180 | %files devel | |
181 | %defattr(644,root,root,755) | |
182 | %attr(755,root,root) %{_libdir}/libgstbase-0.10.so | |
183 | %attr(755,root,root) %{_libdir}/libgstcheck-0.10.so | |
184 | %attr(755,root,root) %{_libdir}/libgstcontroller-0.10.so | |
185 | %attr(755,root,root) %{_libdir}/libgstdataprotocol-0.10.so | |
186 | %attr(755,root,root) %{_libdir}/libgstnet-0.10.so | |
187 | %attr(755,root,root) %{_libdir}/libgstreamer-0.10.so | |
188 | %{_libdir}/libgstbase-0.10.la | |
189 | %{_libdir}/libgstcheck-0.10.la | |
190 | %{_libdir}/libgstcontroller-0.10.la | |
191 | %{_libdir}/libgstdataprotocol-0.10.la | |
192 | %{_libdir}/libgstnet-0.10.la | |
193 | %{_libdir}/libgstreamer-0.10.la | |
194 | %{_docdir}/%{name}-devel-%{version} | |
195 | %{_gstincludedir} | |
196 | %{_pkgconfigdir}/gstreamer-0.10.pc | |
197 | %{_pkgconfigdir}/gstreamer-base-0.10.pc | |
198 | %{_pkgconfigdir}/gstreamer-check-0.10.pc | |
199 | %{_pkgconfigdir}/gstreamer-controller-0.10.pc | |
200 | %{_pkgconfigdir}/gstreamer-dataprotocol-0.10.pc | |
201 | %{_pkgconfigdir}/gstreamer-net-0.10.pc | |
202 | %{_aclocaldir}/gst-element-check-0.10.m4 | |
203 | %attr(755,root,root) %{rpmlibdir}/gstreamerdeps.sh | |
204 | %{_datadir}/gir-1.0/Gst-0.10.gir | |
205 | %{_datadir}/gir-1.0/GstBase-0.10.gir | |
206 | %{_datadir}/gir-1.0/GstCheck-0.10.gir | |
207 | %{_datadir}/gir-1.0/GstController-0.10.gir | |
208 | %{_datadir}/gir-1.0/GstNet-0.10.gir | |
209 | ||
210 | %files static | |
211 | %defattr(644,root,root,755) | |
212 | %{_libdir}/libgstbase-0.10.a | |
213 | %{_libdir}/libgstcheck-0.10.a | |
214 | %{_libdir}/libgstcontroller-0.10.a | |
215 | %{_libdir}/libgstdataprotocol-0.10.a | |
216 | %{_libdir}/libgstnet-0.10.a | |
217 | %{_libdir}/libgstreamer-0.10.a | |
218 | ||
219 | %files apidocs | |
220 | %defattr(644,root,root,755) | |
221 | %{_gtkdocdir}/gstreamer-0.10 | |
222 | %{_gtkdocdir}/gstreamer-libs-0.10 | |
223 | %{_gtkdocdir}/gstreamer-plugins-0.10 |