]> git.pld-linux.org Git - packages/gstreamer0.10.git/blobdiff - gstreamer0.10.spec
- fix building with bison3
[packages/gstreamer0.10.git] / gstreamer0.10.spec
index db272e3e7efd6aa61898e0d51c62311848e01c2c..8c07e0b8d58ba7a9f4843c29817c791b858bf9c0 100644 (file)
@@ -1,16 +1,16 @@
 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
@@ -19,7 +19,7 @@ BuildRequires:        docbook-dtd30-sgml
 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
@@ -38,12 +38,12 @@ BuildRequires:      xz
 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
@@ -106,6 +106,7 @@ Dokumentacja API Gstreamera.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 # po/Makefile.in.in is modified
@@ -133,10 +134,8 @@ install -d $RPM_BUILD_ROOT{%{_docdir}/gstreamer-devel-%{version},%{rpmlibdir}}
 %{__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
@@ -154,7 +153,20 @@ rm -rf $RPM_BUILD_ROOT
 %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.*.*.*
@@ -171,7 +183,12 @@ rm -rf $RPM_BUILD_ROOT
 %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
@@ -201,7 +218,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_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
This page took 0.143034 seconds and 4 git commands to generate.