]> git.pld-linux.org Git - packages/gstreamer.git/blobdiff - gstreamer.spec
- (googled) ppc fix (compilation without -mregnames)
[packages/gstreamer.git] / gstreamer.spec
index 690274aa8b6f4be6a358859d5a26773e2572e69c..34c1e8a68f0fd9ce4c12c6e1e83385e5ccc2dcdf 100644 (file)
@@ -1,22 +1,29 @@
 Summary:       GStreamer Streaming-media framework runtime
 Summary(pl):   GStreamer - biblioteki ¶rodowiska do obróbki strumieni
 Name:          gstreamer
-Version:       0.6.2
+Version:       0.6.4
 Release:       1
 License:       LGPL
 Group:         Libraries
 Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/0.6/%{name}-%{version}.tar.bz2
-# Source0-md5: 2eafaa3b7de1f501ed4b0462b3e065f9
+# Source0-md5: d607f42d4a6de9e79d74ccaa6469ded6
+Patch0:                %{name}-libtool.patch
+Patch1:                %{name}-without_ps_pdf.patch
+Patch2:                %{name}-doc-destdir.patch
 URL:           http://gstreamer.net/
 BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: bison
 BuildRequires: flex
 BuildRequires: glib2-devel >= 2.0.1
-BuildRequires: gtk-doc
+BuildRequires: gtk-doc >= 0.7
+BuildRequires: libtool
 BuildRequires: libxml2-devel >= 2.4.17
 BuildRequires: nasm
 BuildRequires: pkgconfig
 BuildRequires: popt-devel >= 1.6.1
+BuildRequires: transfig
+BuildRequires: xmlto
 Requires(post):        /sbin/ldconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -45,6 +52,9 @@ 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}
+Requires:      glib2-devel >= 2.0.1
+Requires:      libxml2-devel >= 2.4.17
+Requires:      popt-devel >= 1.6.1
 
 %description devel
 This package contains the includes files necessary to develop
@@ -68,18 +78,33 @@ Statyczne wersje bibliotek GStreamer.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal} -I common/m4
 %{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
+%ifarch i586 i686 athlon
+       --enable-fast-stack-trash \
+%else
+       --disable-fast-stack-trash \
+%endif
        --enable-glib2 \
        --enable-libmmx \
        --enable-atomic \
        --disable-examples \
        --disable-tests \
+       --disable-debug \
+       --disable-debug-color \
        --enable-docs-build \
-       --with-html-dir=%{_gtkdocdir}
-
+       --with-html-dir=%{_gtkdocdir} \
+       --with-cachedir=%{_gstcachedir}
+       
 %{__make}
 
 %install
@@ -88,7 +113,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+
 install -d $RPM_BUILD_ROOT%{_gstcachedir}
+touch $RPM_BUILD_ROOT%{_gstcachedir}/registry.xml
 
 # no static modules and *.la for them - shut up check files
 rm -f $RPM_BUILD_ROOT%{_gstlibdir}/lib*.{la,a}
@@ -104,11 +131,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc AUTHORS README RELEASE NEWS TODO ChangeLog
 %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
This page took 0.026516 seconds and 4 git commands to generate.