]>
Commit | Line | Data |
---|---|---|
8d051085 ŁK |
1 | Summary: GStreamer Streaming-media framework runtime |
2 | Summary(pl.UTF-8): GStreamer - biblioteki środowiska do obróbki strumieni | |
e4376356 | 3 | Name: gstreamer0.10 |
8d051085 | 4 | Version: 0.10.36 |
271e84b3 | 5 | Release: 11 |
8d051085 ŁK |
6 | License: LGPL v2+ |
7 | Group: Libraries | |
2c26b622 | 8 | Source0: https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar.xz |
8d051085 | 9 | # Source0-md5: 15389c73e091b1dda915279c388b9cb2 |
8d051085 ŁK |
10 | Patch0: gstreamer-without_ps_pdf.patch |
11 | Patch1: gstreamer-eps.patch | |
12 | Patch2: gstreamer-inspect-rpm-format.patch | |
8916cbff | 13 | Patch3: bison3.patch |
8d051085 ŁK |
14 | URL: http://gstreamer.net/ |
15 | BuildRequires: autoconf >= 2.60 | |
16 | BuildRequires: automake >= 1:1.11 | |
17 | BuildRequires: bison >= 1.875 | |
18 | BuildRequires: docbook-dtd30-sgml | |
19 | BuildRequires: docbook-dtd412-xml | |
20 | BuildRequires: docbook-utils >= 0.6.10 | |
21 | BuildRequires: flex >= 2.5.31 | |
64ce5c99 | 22 | BuildRequires: gettext-tools >= 0.17 |
8d051085 ŁK |
23 | BuildRequires: glib2-devel >= 1:2.24 |
24 | BuildRequires: glibc-misc | |
25 | BuildRequires: gnome-doc-tools | |
26 | BuildRequires: gobject-introspection-devel >= 0.6.8 | |
8d051085 ŁK |
27 | BuildRequires: libtool >= 1.4 |
28 | BuildRequires: libxml2-devel >= 1:2.6.26 | |
29 | BuildRequires: nasm | |
30 | BuildRequires: perl-base | |
31 | BuildRequires: pkgconfig >= 1:0.9.0 | |
32 | BuildRequires: python >= 2.1 | |
2c26b622 | 33 | BuildRequires: rpm-build >= 4.6 |
8d051085 ŁK |
34 | BuildRequires: tar >= 1:1.22 |
35 | BuildRequires: transfig | |
36 | BuildRequires: xmlto | |
37 | BuildRequires: xz | |
38 | Requires: glib2 >= 1:2.24 | |
39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
40 | ||
6ca8dd96 MB |
41 | %define __gst_inspect %{_bindir}/gst-inspect-0.10 |
42 | ||
8d051085 | 43 | %define vmajor %(echo %{version} | cut -d. -f1,2) |
271e84b3 JB |
44 | %define gstlibdir %{_libdir}/gstreamer-%{vmajor} |
45 | %define gstlibexecdir %{_libexecdir}/gstreamer-%{vmajor} | |
46 | %define gstincludedir %{_includedir}/gstreamer-%{vmajor} | |
8d051085 | 47 | |
8d051085 ŁK |
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.24 | |
70 | Requires: libxml2-devel >= 1:2.6.26 | |
71 | Obsoletes: gstreamer-plugins-bad-devel < 0.10.10 | |
72 | ||
73 | %description devel | |
74 | This package contains the includes files necessary to develop | |
75 | applications and plugins for GStreamer. | |
76 | ||
77 | %description devel -l pl.UTF-8 | |
78 | Ten pakiet zawiera pliki nagłówkowe potrzebne do rozwijania aplikacji | |
79 | i wtyczek do GStreamera. | |
80 | ||
81 | %package static | |
82 | Summary: GStreamer static libraries | |
83 | Summary(pl.UTF-8): Biblioteki statyczne GStreamer | |
84 | Group: Development/Libraries | |
85 | Requires: %{name}-devel = %{version}-%{release} | |
86 | ||
87 | %description static | |
88 | Static versions of GStreamer libraries. | |
89 | ||
90 | %description static -l pl.UTF-8 | |
91 | Statyczne wersje bibliotek GStreamer. | |
92 | ||
93 | %package apidocs | |
94 | Summary: GStreamer API documentation | |
95 | Summary(pl.UTF-8): Dokumentacja API Gstreamera | |
96 | Group: Documentation | |
eef323de | 97 | BuildArch: noarch |
8d051085 ŁK |
98 | |
99 | %description apidocs | |
100 | GStreamer API documentation. | |
101 | ||
102 | %description apidocs -l pl.UTF-8 | |
103 | Dokumentacja API Gstreamera. | |
104 | ||
105 | %prep | |
106 | %setup -q -n gstreamer-%{version} | |
107 | %patch0 -p1 | |
108 | %patch1 -p1 | |
109 | %patch2 -p1 | |
8916cbff | 110 | %patch3 -p1 |
8d051085 ŁK |
111 | |
112 | %build | |
113 | # po/Makefile.in.in is modified | |
114 | #{__gettextize} | |
115 | %{__libtoolize} | |
116 | %{__aclocal} -I common/m4 -I m4 -I . | |
117 | %{__autoconf} | |
118 | %{__autoheader} | |
119 | %{__automake} | |
120 | %configure \ | |
121 | --disable-examples \ | |
122 | --disable-pspdf \ | |
123 | --disable-silent-rules \ | |
124 | --disable-tests \ | |
125 | --enable-docbook \ | |
271e84b3 | 126 | --with-html-dir=%{_gtkdocdir} |
8d051085 ŁK |
127 | |
128 | %{__make} | |
129 | ||
130 | %install | |
131 | rm -rf $RPM_BUILD_ROOT | |
132 | install -d $RPM_BUILD_ROOT{%{_docdir}/gstreamer-devel-%{version},%{rpmlibdir}} | |
133 | ||
134 | %{__make} install \ | |
135 | DESTDIR=$RPM_BUILD_ROOT | |
136 | ||
271e84b3 JB |
137 | %{__mv} $RPM_BUILD_ROOT%{_docdir}/gstreamer-{%{vmajor},%{version}} |
138 | %{__mv} $RPM_BUILD_ROOT%{_docdir}/gstreamer-%{version}/{faq,manual,pwg} \ | |
8d051085 ŁK |
139 | $RPM_BUILD_ROOT%{_docdir}/gstreamer-devel-%{version} |
140 | ||
141 | %find_lang gstreamer --all-name --with-gnome | |
142 | ||
143 | # no *.la for modules - shut up check files | |
271e84b3 JB |
144 | %{__rm} $RPM_BUILD_ROOT%{gstlibdir}/lib*.la |
145 | # obsoleted by pkg-config | |
146 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgst*.la | |
8d051085 ŁK |
147 | |
148 | %clean | |
149 | rm -rf $RPM_BUILD_ROOT | |
150 | ||
151 | %post -p /sbin/ldconfig | |
152 | %postun -p /sbin/ldconfig | |
153 | ||
154 | %files -f gstreamer.lang | |
155 | %defattr(644,root,root,755) | |
156 | %doc AUTHORS ChangeLog NEWS README TODO | |
454d5446 JB |
157 | # generic launchers |
158 | %attr(755,root,root) %{_bindir}/gst-feedback | |
159 | %attr(755,root,root) %{_bindir}/gst-inspect | |
160 | %attr(755,root,root) %{_bindir}/gst-launch | |
161 | %attr(755,root,root) %{_bindir}/gst-typefind | |
162 | %attr(755,root,root) %{_bindir}/gst-xmlinspect | |
163 | %attr(755,root,root) %{_bindir}/gst-xmllaunch | |
164 | # versioned | |
165 | %attr(755,root,root) %{_bindir}/gst-feedback-0.10 | |
166 | %attr(755,root,root) %{_bindir}/gst-inspect-0.10 | |
167 | %attr(755,root,root) %{_bindir}/gst-launch-0.10 | |
168 | %attr(755,root,root) %{_bindir}/gst-typefind-0.10 | |
169 | %attr(755,root,root) %{_bindir}/gst-xmlinspect-0.10 | |
170 | %attr(755,root,root) %{_bindir}/gst-xmllaunch-0.10 | |
8d051085 ŁK |
171 | %attr(755,root,root) %{_libdir}/libgstbase-0.10.so.*.*.* |
172 | %attr(755,root,root) %ghost %{_libdir}/libgstbase-0.10.so.0 | |
173 | %attr(755,root,root) %{_libdir}/libgstcheck-0.10.so.*.*.* | |
174 | %attr(755,root,root) %ghost %{_libdir}/libgstcheck-0.10.so.0 | |
175 | %attr(755,root,root) %{_libdir}/libgstcontroller-0.10.so.*.*.* | |
176 | %attr(755,root,root) %ghost %{_libdir}/libgstcontroller-0.10.so.0 | |
177 | %attr(755,root,root) %{_libdir}/libgstdataprotocol-0.10.so.*.*.* | |
178 | %attr(755,root,root) %ghost %{_libdir}/libgstdataprotocol-0.10.so.0 | |
179 | %attr(755,root,root) %{_libdir}/libgstnet-0.10.so.*.*.* | |
180 | %attr(755,root,root) %ghost %{_libdir}/libgstnet-0.10.so.0 | |
181 | %attr(755,root,root) %{_libdir}/libgstreamer-0.10.so.*.*.* | |
182 | %attr(755,root,root) %ghost %{_libdir}/libgstreamer-0.10.so.0 | |
271e84b3 JB |
183 | %if "%{gstlibexecdir}" != "%{gstlibdir}" |
184 | %dir %{gstlibexecdir} | |
185 | %endif | |
186 | %attr(755,root,root) %{gstlibexecdir}/gst-plugin-scanner | |
187 | %dir %{gstlibdir} | |
188 | %attr(755,root,root) %{gstlibdir}/libgstcoreelements.so | |
189 | %attr(755,root,root) %{gstlibdir}/libgstcoreindexers.so | |
454d5446 JB |
190 | %{_mandir}/man1/gst-feedback-0.10.1* |
191 | %{_mandir}/man1/gst-inspect-0.10.1* | |
192 | %{_mandir}/man1/gst-launch-0.10.1* | |
193 | %{_mandir}/man1/gst-typefind-0.10.1* | |
194 | %{_mandir}/man1/gst-xmlinspect-0.10.1* | |
195 | %{_mandir}/man1/gst-xmllaunch-0.10.1* | |
8d051085 ŁK |
196 | %{_libdir}/girepository-1.0/Gst-0.10.typelib |
197 | %{_libdir}/girepository-1.0/GstBase-0.10.typelib | |
198 | %{_libdir}/girepository-1.0/GstCheck-0.10.typelib | |
199 | %{_libdir}/girepository-1.0/GstController-0.10.typelib | |
200 | %{_libdir}/girepository-1.0/GstNet-0.10.typelib | |
201 | ||
202 | %files devel | |
203 | %defattr(644,root,root,755) | |
204 | %attr(755,root,root) %{_libdir}/libgstbase-0.10.so | |
205 | %attr(755,root,root) %{_libdir}/libgstcheck-0.10.so | |
206 | %attr(755,root,root) %{_libdir}/libgstcontroller-0.10.so | |
207 | %attr(755,root,root) %{_libdir}/libgstdataprotocol-0.10.so | |
208 | %attr(755,root,root) %{_libdir}/libgstnet-0.10.so | |
209 | %attr(755,root,root) %{_libdir}/libgstreamer-0.10.so | |
8d051085 | 210 | %{_docdir}/gstreamer-devel-%{version} |
271e84b3 JB |
211 | %dir %{gstincludedir} |
212 | %{gstincludedir}/gst | |
8d051085 ŁK |
213 | %{_pkgconfigdir}/gstreamer-0.10.pc |
214 | %{_pkgconfigdir}/gstreamer-base-0.10.pc | |
215 | %{_pkgconfigdir}/gstreamer-check-0.10.pc | |
216 | %{_pkgconfigdir}/gstreamer-controller-0.10.pc | |
217 | %{_pkgconfigdir}/gstreamer-dataprotocol-0.10.pc | |
218 | %{_pkgconfigdir}/gstreamer-net-0.10.pc | |
219 | %{_aclocaldir}/gst-element-check-0.10.m4 | |
8d051085 ŁK |
220 | %{_datadir}/gir-1.0/Gst-0.10.gir |
221 | %{_datadir}/gir-1.0/GstBase-0.10.gir | |
222 | %{_datadir}/gir-1.0/GstCheck-0.10.gir | |
223 | %{_datadir}/gir-1.0/GstController-0.10.gir | |
224 | %{_datadir}/gir-1.0/GstNet-0.10.gir | |
225 | ||
226 | %files static | |
227 | %defattr(644,root,root,755) | |
228 | %{_libdir}/libgstbase-0.10.a | |
229 | %{_libdir}/libgstcheck-0.10.a | |
230 | %{_libdir}/libgstcontroller-0.10.a | |
231 | %{_libdir}/libgstdataprotocol-0.10.a | |
232 | %{_libdir}/libgstnet-0.10.a | |
233 | %{_libdir}/libgstreamer-0.10.a | |
234 | ||
235 | %files apidocs | |
236 | %defattr(644,root,root,755) | |
237 | %{_gtkdocdir}/gstreamer-0.10 | |
238 | %{_gtkdocdir}/gstreamer-libs-0.10 | |
239 | %{_gtkdocdir}/gstreamer-plugins-0.10 |