Summary: GStreamer Streaming-media framework runtime
Summary(pl.UTF-8): GStreamer - biblioteki środowiska do obróbki strumieni
-Name: gstreamer0
+Name: gstreamer0.10
Version: 0.10.36
-Release: 4
+Release: 5
License: LGPL v2+
Group: Libraries
Source0: http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar.xz
# Source0-md5: 15389c73e091b1dda915279c388b9cb2
-Source1: gstreamer-rpmdeps.sh
Patch0: gstreamer-without_ps_pdf.patch
Patch1: gstreamer-eps.patch
Patch2: gstreamer-inspect-rpm-format.patch
+Patch3: bison3.patch
URL: http://gstreamer.net/
BuildRequires: autoconf >= 2.60
BuildRequires: automake >= 1:1.11
BuildRequires: docbook-dtd412-xml
BuildRequires: docbook-utils >= 0.6.10
BuildRequires: flex >= 2.5.31
-BuildRequires: gettext-devel >= 0.17
+BuildRequires: gettext-tools >= 0.17
BuildRequires: glib2-devel >= 1:2.24
BuildRequires: glibc-misc
BuildRequires: gnome-doc-tools
Requires: glib2 >= 1:2.24
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define __gst_inspect %{_bindir}/gst-inspect-0.10
+
%define vmajor %(echo %{version} | cut -d. -f1,2)
%define _gstlibdir %{_libdir}/gstreamer-%{vmajor}
%define _gstincludedir %{_includedir}/gstreamer-%{vmajor}
-%define rpmlibdir /usr/lib/rpm
-
%description
GStreamer is a streaming-media framework, based on graphs of filters
which operate on media data. Applications using this library can do
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
# po/Makefile.in.in is modified
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-install %{SOURCE1} $RPM_BUILD_ROOT%{rpmlibdir}/gstreamerdeps.sh
-
mv $RPM_BUILD_ROOT%{_docdir}/gstreamer-{%{vmajor},%{version}}
-mv $RPM_BUILD_ROOT%{_docdir}/gstreamer-%{version}/{manual,pwg} \
+mv $RPM_BUILD_ROOT%{_docdir}/gstreamer-%{version}/{faq,manual,pwg} \
$RPM_BUILD_ROOT%{_docdir}/gstreamer-devel-%{version}
%find_lang gstreamer --all-name --with-gnome
%files -f gstreamer.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO
-%attr(755,root,root) %{_bindir}/gst-*
+# generic launchers
+%attr(755,root,root) %{_bindir}/gst-feedback
+%attr(755,root,root) %{_bindir}/gst-inspect
+%attr(755,root,root) %{_bindir}/gst-launch
+%attr(755,root,root) %{_bindir}/gst-typefind
+%attr(755,root,root) %{_bindir}/gst-xmlinspect
+%attr(755,root,root) %{_bindir}/gst-xmllaunch
+# versioned
+%attr(755,root,root) %{_bindir}/gst-feedback-0.10
+%attr(755,root,root) %{_bindir}/gst-inspect-0.10
+%attr(755,root,root) %{_bindir}/gst-launch-0.10
+%attr(755,root,root) %{_bindir}/gst-typefind-0.10
+%attr(755,root,root) %{_bindir}/gst-xmlinspect-0.10
+%attr(755,root,root) %{_bindir}/gst-xmllaunch-0.10
%attr(755,root,root) %{_libdir}/libgstbase-0.10.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libgstbase-0.10.so.0
%attr(755,root,root) %{_libdir}/libgstcheck-0.10.so.*.*.*
%attr(755,root,root) %{_gstlibdir}/gst-plugin-scanner
%attr(755,root,root) %{_gstlibdir}/libgstcoreelements.so
%attr(755,root,root) %{_gstlibdir}/libgstcoreindexers.so
-%{_mandir}/man1/gst-*.1*
+%{_mandir}/man1/gst-feedback-0.10.1*
+%{_mandir}/man1/gst-inspect-0.10.1*
+%{_mandir}/man1/gst-launch-0.10.1*
+%{_mandir}/man1/gst-typefind-0.10.1*
+%{_mandir}/man1/gst-xmlinspect-0.10.1*
+%{_mandir}/man1/gst-xmllaunch-0.10.1*
%{_libdir}/girepository-1.0/Gst-0.10.typelib
%{_libdir}/girepository-1.0/GstBase-0.10.typelib
%{_libdir}/girepository-1.0/GstCheck-0.10.typelib
%{_pkgconfigdir}/gstreamer-dataprotocol-0.10.pc
%{_pkgconfigdir}/gstreamer-net-0.10.pc
%{_aclocaldir}/gst-element-check-0.10.m4
-%attr(755,root,root) %{rpmlibdir}/gstreamerdeps.sh
%{_datadir}/gir-1.0/Gst-0.10.gir
%{_datadir}/gir-1.0/GstBase-0.10.gir
%{_datadir}/gir-1.0/GstCheck-0.10.gir