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