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