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