5 Summary: GStreamer Streaming-media framework runtime
6 Summary(pl.UTF-8): GStreamer - biblioteki środowiska do obróbki strumieni
8 Version: %{_vmajor}.%{_vminor}
12 Source0: http://gstreamer.freedesktop.org/src/gstreamer/%{name}-%{version}.tar.bz2
13 # Source0-md5: 69b594b43e52e1d0eaf512a89c7b3137
14 Patch0: %{name}-without_ps_pdf.patch
15 Patch1: %{name}-eps.patch
16 URL: http://gstreamer.net/
17 BuildRequires: autoconf >= 2.52
18 BuildRequires: automake >= 1.6
19 BuildRequires: bison >= 1.35
20 BuildRequires: check >= 0.9.3-2
21 BuildRequires: docbook-utils >= 0.6.10
23 BuildRequires: gettext-devel >= 0.11.5
24 BuildRequires: glib2-devel >= 1:2.12.0
25 BuildRequires: gtk-doc >= 1.6
26 BuildRequires: libtool >= 1.4
27 BuildRequires: libxml2-devel >= 1:2.6.26
29 BuildRequires: perl-base
30 BuildRequires: pkgconfig >= 1:0.9.0
31 BuildRequires: popt-devel >= 1.6.3
32 # not sure it is a right place for this BR
33 BuildRequires: python-PyXML
34 BuildRequires: transfig
36 Requires: glib2 >= 1:2.12.0
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 %define _gstlibdir %{_libdir}/gstreamer-%{_vmajor}
40 %define _gstincludedir %{_includedir}/gstreamer-%{_vmajor}
43 GStreamer is a streaming-media framework, based on graphs of filters
44 which operate on media data. Applications using this library can do
45 anything from real-time sound processing to playing videos, and just
46 about anything else media-related. Its plugin-based architecture means
47 that new data types or processing capabilities can be added simply by
48 installing new plugins.
50 %description -l pl.UTF-8
51 GStreamer to środowisko obróbki danych strumieniowych, bazujące na
52 grafie filtrów operujących na danych medialnych. Aplikacje używające
53 tej biblioteki mogą robić wszystko od przetwarzania dźwięku w czasie
54 rzeczywistym, do odtwarzania filmów i czegokolwiek innego związanego z
55 mediami. Architektura bazująca na wtyczkach pozwala na łatwe dodawanie
56 nowych typów danych lub możliwości obróbki.
59 Summary: Include files for GStreamer streaming-media framework
60 Summary(pl.UTF-8): Pliki nagłówkowe do środowiska obróbki strumieni GStreamer
61 Group: Development/Libraries
62 Requires: %{name} = %{version}-%{release}
63 Requires: glib2-devel >= 1:2.12.0
64 Requires: libxml2-devel >= 1:2.6.26
65 Requires: popt-devel >= 1.6.3
68 This package contains the includes files necessary to develop
69 applications and plugins for GStreamer.
71 %description devel -l pl.UTF-8
72 Ten pakiet zawiera pliki nagłówkowe potrzebne do rozwijania aplikacji
73 i wtyczek do GStreamera.
76 Summary: GStreamer static libraries
77 Summary(pl.UTF-8): Biblioteki statyczne GStreamer
78 Group: Development/Libraries
79 Requires: %{name}-devel = %{version}-%{release}
82 Static versions of GStreamer libraries.
84 %description static -l pl.UTF-8
85 Statyczne wersje bibliotek GStreamer.
88 Summary: GStreamer API documentation
89 Summary(pl.UTF-8): Dokumentacja API Gstreamera
91 Requires: gtk-doc-common
94 GStreamer API documentation.
96 %description apidocs -l pl.UTF-8
97 Dokumentacja API Gstreamera.
107 %{__aclocal} -I common/m4
117 --with-html-dir=%{_gtkdocdir}
122 rm -rf $RPM_BUILD_ROOT
123 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version}
126 DESTDIR=$RPM_BUILD_ROOT
128 mv $RPM_BUILD_ROOT%{_docdir}/%{name}-{%{_vmajor},%{version}}
129 mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{manual,pwg} \
130 $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version}
132 %find_lang %{name} --all-name --with-gnome
134 # no static modules and *.la for them - shut up check files
135 rm -f $RPM_BUILD_ROOT%{_gstlibdir}/lib*.{la,a}
138 rm -rf $RPM_BUILD_ROOT
140 %post -p /sbin/ldconfig
141 %postun -p /sbin/ldconfig
143 %files -f %{name}.lang
144 %defattr(644,root,root,755)
145 %doc AUTHORS ChangeLog NEWS README TODO
146 %attr(755,root,root) %{_bindir}/*
147 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
149 %attr(755,root,root) %{_gstlibdir}/*.so
153 %defattr(644,root,root,755)
154 %attr(755,root,root) %{_libdir}/lib*.so
156 %{_docdir}/%{name}-devel-%{version}
162 %defattr(644,root,root,755)
166 %defattr(644,root,root,755)