]> git.pld-linux.org Git - packages/gstreamer.git/blobdiff - gstreamer.spec
- BR: docbook-dtd30-sgml, gnome-doc-tools (apidocs build)
[packages/gstreamer.git] / gstreamer.spec
index 910d8bc9d4868791cd8fc2e04c5f791b33c0f508..9d35e06d89f1e5b008a8d633c74e84276f3f0a5c 100644 (file)
@@ -1,27 +1,27 @@
-
-%define                _vmajor         0.10
-%define                _vminor         11
-
 Summary:       GStreamer Streaming-media framework runtime
-Summary(pl):   GStreamer - biblioteki ¶rodowiska do obróbki strumieni
+Summary(pl.UTF-8):     GStreamer - biblioteki środowiska do obróbki strumieni
 Name:          gstreamer
-Version:       %{_vmajor}.%{_vminor}
-Release:       3
-License:       LGPL
+Version:       0.10.24
+Release:       1
+License:       LGPL v2+
 Group:         Libraries
 Source0:       http://gstreamer.freedesktop.org/src/gstreamer/%{name}-%{version}.tar.bz2
-# Source0-md5: 67240094e08c845b7bbcfba755c95695
+# Source0-md5: 178d3326c96c360c9a15751bd5d73a6c
+Source1:       %{name}-rpmdeps.sh
 Patch0:                %{name}-without_ps_pdf.patch
 Patch1:                %{name}-eps.patch
+Patch2:                %{name}-inspect-rpm-format.patch
 URL:           http://gstreamer.net/
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake >= 1.6
 BuildRequires: bison >= 1.35
 BuildRequires: check >= 0.9.3-2
+BuildRequires: docbook-dtd30-sgml
 BuildRequires: docbook-utils >= 0.6.10
 BuildRequires: flex
 BuildRequires: gettext-devel >= 0.11.5
 BuildRequires: glib2-devel >= 1:2.12.0
+BuildRequires: gnome-doc-tools
 BuildRequires: gtk-doc >= 1.6
 BuildRequires: libtool >= 1.4
 BuildRequires: libxml2-devel >= 1:2.6.26
@@ -36,8 +36,11 @@ BuildRequires:       xmlto
 Requires:      glib2 >= 1:2.12.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _gstlibdir      %{_libdir}/gstreamer-%{_vmajor}
-%define                _gstincludedir  %{_includedir}/gstreamer-%{_vmajor}
+%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
@@ -47,62 +50,65 @@ about anything else media-related. Its plugin-based architecture means
 that new data types or processing capabilities can be added simply by
 installing new plugins.
 
-%description -l pl
-GStreamer to ¶rodowisko obróbki danych strumieniowych, bazuj±ce na
-grafie filtrów operuj±cych na danych medialnych. Aplikacje u¿ywaj±ce
-tej biblioteki mog± robiæ wszystko od przetwarzania d¼wiêku w czasie
-rzeczywistym, do odtwarzania filmów i czegokolwiek innego zwi±zanego z
-mediami. Architektura bazuj±ca na wtyczkach pozwala na ³atwe dodawanie
-nowych typów danych lub mo¿liwo¶ci obróbki.
+%description -l pl.UTF-8
+GStreamer to środowisko obróbki danych strumieniowych, bazujące na
+grafie filtrów operujących na danych medialnych. Aplikacje używające
+tej biblioteki mogą robić wszystko od przetwarzania dźwięku w czasie
+rzeczywistym, do odtwarzania filmów i czegokolwiek innego związanego z
+mediami. Architektura bazująca na wtyczkach pozwala na łatwe dodawanie
+nowych typów danych lub możliwości obróbki.
 
 %package devel
 Summary:       Include files for GStreamer streaming-media framework
-Summary(pl):   Pliki nag³ówkowe do ¶rodowiska obróbki strumieni GStreamer
+Summary(pl.UTF-8):     Pliki nagłówkowe do środowiska obróbki strumieni GStreamer
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      glib2-devel >= 1:2.12.0
 Requires:      libxml2-devel >= 1:2.6.26
 Requires:      popt-devel >= 1.6.3
+Obsoletes:     gstreamer-plugins-bad-devel < 0.10.10
 
 %description devel
 This package contains the includes files necessary to develop
 applications and plugins for GStreamer.
 
-%description devel -l pl
-Ten pakiet zawiera pliki nag³ówkowe potrzebne do rozwijania aplikacji
+%description devel -l pl.UTF-8
+Ten pakiet zawiera pliki nagłówkowe potrzebne do rozwijania aplikacji
 i wtyczek do GStreamera.
 
 %package static
 Summary:       GStreamer static libraries
-Summary(pl):   Biblioteki statyczne GStreamer
+Summary(pl.UTF-8):     Biblioteki statyczne GStreamer
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Static versions of GStreamer libraries.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Statyczne wersje bibliotek GStreamer.
 
 %package apidocs
 Summary:       GStreamer API documentation
-Summary(pl):   Dokumentacja API Gstreamera
+Summary(pl.UTF-8):     Dokumentacja API Gstreamera
 Group:         Documentation
 Requires:      gtk-doc-common
 
 %description apidocs
 GStreamer API documentation.
 
-%description apidocs -l pl
+%description apidocs -l pl.UTF-8
 Dokumentacja API Gstreamera.
 
 %prep
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
-%{__gettextize}
+# po/Makefile.in.in is modified
+#{__gettextize}
 %{__libtoolize}
 %{__aclocal} -I common/m4
 %{__autoconf}
@@ -120,12 +126,14 @@ Dokumentacja API Gstreamera.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version}
+install -d $RPM_BUILD_ROOT{%{_docdir}/%{name}-devel-%{version},%{rpmlibdir}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-mv $RPM_BUILD_ROOT%{_docdir}/%{name}-{%{_vmajor},%{version}}
+install %{SOURCE1} $RPM_BUILD_ROOT%{rpmlibdir}/gstreamerdeps.sh
+
+mv $RPM_BUILD_ROOT%{_docdir}/%{name}-{%{vmajor},%{version}}
 mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{manual,pwg} \
        $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version}
 
@@ -143,25 +151,60 @@ rm -rf $RPM_BUILD_ROOT
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%attr(755,root,root) %{_bindir}/gst-*
+%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) %ghost %{_libdir}/libgstcheck-0.10.so.0
+%attr(755,root,root) %{_libdir}/libgstcontroller-0.10.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgstcontroller-0.10.so.0
+%attr(755,root,root) %{_libdir}/libgstdataprotocol-0.10.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgstdataprotocol-0.10.so.0
+%attr(755,root,root) %{_libdir}/libgstnet-0.10.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgstnet-0.10.so.0
+%attr(755,root,root) %{_libdir}/libgstreamer-0.10.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgstreamer-0.10.so.0
 %dir %{_gstlibdir}
-%attr(755,root,root) %{_gstlibdir}/*.so
-%{_mandir}/man1/*
+%attr(755,root,root) %{_gstlibdir}/libgstcoreelements.so
+%attr(755,root,root) %{_gstlibdir}/libgstcoreindexers.so
+%{_mandir}/man1/gst-*.1*
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
+%attr(755,root,root) %{_libdir}/libgstbase-0.10.so
+%attr(755,root,root) %{_libdir}/libgstcheck-0.10.so
+%attr(755,root,root) %{_libdir}/libgstcontroller-0.10.so
+%attr(755,root,root) %{_libdir}/libgstdataprotocol-0.10.so
+%attr(755,root,root) %{_libdir}/libgstnet-0.10.so
+%attr(755,root,root) %{_libdir}/libgstreamer-0.10.so
+%{_libdir}/libgstbase-0.10.la
+%{_libdir}/libgstcheck-0.10.la
+%{_libdir}/libgstcontroller-0.10.la
+%{_libdir}/libgstdataprotocol-0.10.la
+%{_libdir}/libgstnet-0.10.la
+%{_libdir}/libgstreamer-0.10.la
 %{_docdir}/%{name}-devel-%{version}
 %{_gstincludedir}
-%{_pkgconfigdir}/*
-%{_aclocaldir}/*
+%{_pkgconfigdir}/gstreamer-0.10.pc
+%{_pkgconfigdir}/gstreamer-base-0.10.pc
+%{_pkgconfigdir}/gstreamer-check-0.10.pc
+%{_pkgconfigdir}/gstreamer-controller-0.10.pc
+%{_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
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libgstbase-0.10.a
+%{_libdir}/libgstcheck-0.10.a
+%{_libdir}/libgstcontroller-0.10.a
+%{_libdir}/libgstdataprotocol-0.10.a
+%{_libdir}/libgstnet-0.10.a
+%{_libdir}/libgstreamer-0.10.a
 
 %files apidocs
 %defattr(644,root,root,755)
-%{_gtkdocdir}/*
+%{_gtkdocdir}/gstreamer-0.10
+%{_gtkdocdir}/gstreamer-libs-0.10
+%{_gtkdocdir}/gstreamer-plugins-0.10
This page took 3.788764 seconds and 4 git commands to generate.