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