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