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