SPECS: gstreamer-ffmpeg.spec - updated to 0.10.0, added nocpp patch

qboosh qboosh at pld-linux.org
Sat Jan 14 19:29:00 CET 2006


Author: qboosh                       Date: Sat Jan 14 18:29:00 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.10.0, added nocpp patch

---- Files affected:
SPECS:
   gstreamer-ffmpeg.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/gstreamer-ffmpeg.spec
diff -u SPECS/gstreamer-ffmpeg.spec:1.12 SPECS/gstreamer-ffmpeg.spec:1.13
--- SPECS/gstreamer-ffmpeg.spec:1.12	Wed Nov 30 20:45:26 2005
+++ SPECS/gstreamer-ffmpeg.spec	Sat Jan 14 19:28:55 2006
@@ -4,23 +4,26 @@
 # Use shared ffmpeg lib instead of builtin - anyone wants to do it?
 #
 %define gstname gst-ffmpeg
-%define gst_major_ver   0.8
-%define gstreg  %{_var}/cache/gstreamer/registry.xml
+%define gst_major_ver   0.10
 
 Summary:	GStreamer Streaming-media framework plug-in using FFmpeg
 Summary(pl):	Wtyczka do środowiska obróbki strumieni GStreamer używająca FFmpeg
 Name:		gstreamer-ffmpeg
-Version:	0.8.7
+Version:	0.10.0
 Release:	1
-License:	LGPL
+License:	GPL v2+
 Group:		Libraries
 Source0:	http://gstreamer.freedesktop.org/src/gst-ffmpeg/%{gstname}-%{version}.tar.bz2
-# Source0-md5:	6435ef3954ee05de79829e262f86187a
+# Source0-md5:	53625b1b21203ff99f115c8ecb0718cd
+Patch0:		%{name}-nocpp.patch
 URL:		http://gstreamer.net/
+BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
-BuildRequires:	gstreamer-plugins-devel >= 0.8.4
+BuildRequires:	gstreamer-plugins-base-devel >= 0.10
+BuildRequires:	libtool
+BuildRequires:	pkgconfig
 Requires(post,postun):  %{_bindir}/gst-register
-Requires:	gstreamer-plugins >= 0.8.4
+Requires:	gstreamer-plugins-base >= 0.10
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -47,10 +50,23 @@
 
 %prep
 %setup -q -n %{gstname}-%{version}
+%patch0 -p1
 
 %build
-cp /usr/share/automake/config.sub .
-cp /usr/share/automake/config.sub gst-libs/ext/ffmpeg
+#cp -f /usr/share/automake/config.sub .
+#cp -f /usr/share/automake/config.sub gst-libs/ext/ffmpeg
+cd gst-libs/ext/ffmpeg
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+cd ../../..
+%{__libtoolize}
+%{__aclocal} -I common/m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure
 %{__make}
 
@@ -65,17 +81,9 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-umask 022
-%{_bindir}/gst-register --gst-registry=%{gstreg} > /dev/null 2> /dev/null
-
-%postun
-umask 022
-%{_bindir}/gst-register --gst-registry=%{gstreg} > /dev/null 2> /dev/null
-
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS README
+%doc AUTHORS ChangeLog NEWS README TODO
 %attr(755,root,root) %{_libdir}/gstreamer-%{gst_major_ver}/libgstffmpeg.so
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -84,6 +92,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2006/01/14 18:28:55  qboosh
+- updated to 0.10.0, added nocpp patch
+
 Revision 1.12  2005/11/30 19:45:26  wrobell
 - ver. 0.8.7
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gstreamer-ffmpeg.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list