]> git.pld-linux.org Git - packages/gstreamer.git/blobdiff - gstreamer.spec
- updated gtk-doc BR
[packages/gstreamer.git] / gstreamer.spec
index e498f2965eef68a6c8790d2c8f45336678727899..f5735bc9dedb7e2abf49de8a3ef98008832b01d5 100644 (file)
-%define name    gstreamer
-%define ver     0.1.1
-%define rel     1
-%define prefix  /usr
-
-Summary: GStreamer Streaming-media framework runtime
-Name: %name
-Version: %ver
-Release: %rel
-Copyright: LGPL
-Group: Libraries
-Source: %{name}-%{ver}.tar.gz
-BuildRoot: /var/tmp/%{name}-%{ver}-root
-Docdir: %{prefix}/doc
-Prefix: %prefix
+
+%define                _vmajor         0.10
+%define                _vminor         1
+
+Summary:       GStreamer Streaming-media framework runtime
+Summary(pl):   GStreamer - biblioteki ¶rodowiska do obróbki strumieni
+Name:          gstreamer
+Version:       %{_vmajor}.%{_vminor}
+Release:       0.1
+License:       LGPL
+Group:         Libraries
+Source0:       http://gstreamer.freedesktop.org/src/gstreamer/%{name}-%{version}.tar.bz2
+# Source0-md5: 2a56154a6636a404ab9107524d4b7a89
+Patch0:                %{name}-without_ps_pdf.patch
+Patch1:                %{name}-eps.patch
+URL:           http://gstreamer.net/
+BuildRequires: autoconf >= 2.52
+BuildRequires: automake >= 1.6
+BuildRequires: bison >= 1.35
+BuildRequires: docbook-utils >= 0.6.10
+BuildRequires: flex
+BuildRequires: glib2-devel >= 1:2.8.0
+BuildRequires: gtk-doc >= 1.3
+BuildRequires: libtool >= 1.4
+BuildRequires: libxml2-devel >= 2.4.17
+BuildRequires: nasm
+BuildRequires: perl-base
+BuildRequires: pkgconfig >= 1:0.9.0
+BuildRequires: popt-devel >= 1.6.3
+BuildRequires: transfig
+BuildRequires: xmlto
+Requires:      glib2 >= 1:2.8.0
+Requires(post):        /sbin/ldconfig
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _gstlibdir      %{_libdir}/gstreamer-%{_vmajor}
+%define                _gstincludedir  %{_includedir}/gstreamer-%{_vmajor}
+%define                _gstcachedir    %{_var}/cache/gstreamer
 
 %description
-GStreamer is a streaming-media framework, based on graphs of filters which
-operate on media data. Applications using this library can do anything
-from real-time sound processing to playing videos, and just 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.
+GStreamer is a streaming-media framework, based on graphs of filters
+which operate on media data. Applications using this library can do
+anything from real-time sound processing to playing videos, and just
+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.
 
 %package devel
-Summary: Libraries and include files for GStreamer streaming-media framework
-Group: Development/Libraries
-Requires: %{name}
+Summary:       Include files for GStreamer streaming-media framework
+Summary(pl):   Pliki nag³ówkowe do ¶rodowiska obróbki strumieni GStreamer
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+Requires:      glib2-devel >= 1:2.8.0
+Requires:      libxml2-devel >= 2.4.17
+Requires:      popt-devel >= 1.6.3
 
 %description devel
-GStreamer is a streaming-media framework, based on graphs of filters which
-operate on media data. Applications using this library can do anything
-from real-time sound processing to playing videos, and just 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.
-
-This package contains the libraries and includes files necessary to develop
+This package contains the includes files necessary to develop
 applications and plugins for GStreamer.
 
-%changelog
-* Tue Jan 09 2001 Erik Walthinsen <omega@cse.ogi.edu>
-- updated to build -devel package as well
+%description devel -l pl
+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
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static versions of GStreamer libraries.
 
-* Sun Jan 30 2000 Erik Walthinsen <omega@cse.ogi.edu>
-- first draft of spec file
+%description static -l pl
+Statyczne wersje bibliotek GStreamer.
 
 %prep
-%setup
+%setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
+%{__libtoolize}
+%{__aclocal} -I common/m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+
+%configure \
+       --disable-examples \
+       --disable-tests \
+       --enable-docbook \
+       --enable-gtk-doc \
+       --with-html-dir=%{_gtkdocdir} \
+       --with-cachedir=%{_gstcachedir}
+       
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_gstcachedir},%{_docdir}/%{name}-devel-%{version}}
 
-if [ "$SMP" != "" ]; then
-  (make "MAKE=make -k -j $SMP"; exit 0)
-  make
-else
-  make
-fi
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-%install  
-[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
+#touch $RPM_BUILD_ROOT%{_gstcachedir}/registry.xml
 
-make prefix=$RPM_BUILD_ROOT%{prefix} install
+mv $RPM_BUILD_ROOT%{_docdir}/%{name}-{%{_vmajor},%{version}}
+mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{manual,pwg} \
+       $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version}
+
+%find_lang %{name} --all-name --with-gnome
+
+# no static modules and *.la for them - shut up check files
+rm -f $RPM_BUILD_ROOT%{_gstlibdir}/lib*.{la,a}
 
 %clean
-[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/ldconfig
-%{prefix}/bin/gstreamer-register
 
-%postun
-/sbin/ldconfig
-  
-%files
-%defattr(-, root, root)
-%{prefix}/bin/*
-%{prefix}/lib/lib*.so.*
-%{prefix}/lib/gst/*
-%{prefix}/share/*
+%postun        -p /sbin/ldconfig
+
+%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.*.*.*
+%dir %{_gstlibdir}
+%attr(755,root,root) %{_gstlibdir}/*.so
+%dir %{_gstcachedir}
+#%ghost %{_gstcachedir}/registry.xml
+%{_mandir}/man1/*
 
 %files devel
-%{prefix}/include/*
-%{prefix}/lib/lib*.a
-%{prefix}/lib/lib*.so
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_docdir}/%{name}-devel-%{version}
+%{_gstincludedir}
+%{_gtkdocdir}/*
+%{_pkgconfigdir}/*
+%{_aclocaldir}/*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.062554 seconds and 4 git commands to generate.