packages: ffmpegthumbnailer/ffmpegthumbnailer.spec - up to 2.0.4 - gnomevfs...

glen glen at pld-linux.org
Wed Aug 25 13:20:32 CEST 2010


Author: glen                         Date: Wed Aug 25 11:20:32 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 2.0.4
- gnomevfs supproted via dlopen
- requires ffmpeg 0.6 for avcodec_decode_video2 symbol

---- Files affected:
packages/ffmpegthumbnailer:
   ffmpegthumbnailer.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: packages/ffmpegthumbnailer/ffmpegthumbnailer.spec
diff -u packages/ffmpegthumbnailer/ffmpegthumbnailer.spec:1.15 packages/ffmpegthumbnailer/ffmpegthumbnailer.spec:1.16
--- packages/ffmpegthumbnailer/ffmpegthumbnailer.spec:1.15	Wed Aug 25 13:09:31 2010
+++ packages/ffmpegthumbnailer/ffmpegthumbnailer.spec	Wed Aug 25 13:20:26 2010
@@ -1,22 +1,30 @@
 # $Revision$, $Date$
+#
+# Conditional builds
+%bcond_without	gnomevfs	# Support for gnome-vfs uris
+
 Summary:	Lightweight video thumbnailer
 Summary(pl.UTF-8):	Lekki program do wykonywania miniaturek dla filmów
 Name:		ffmpegthumbnailer
-Version:	2.0.2
-Release:	2
+Version:	2.0.4
+Release:	1
 License:	GPL v2
 Group:		Applications/Graphics
 Source0:	http://ffmpegthumbnailer.googlecode.com/files/%{name}-%{version}.tar.gz
-# Source0-md5:	ee473a26e7e8da216e64bbb33e87772c
+# Source0-md5:	83b43130e29a26126a50705a011004be
 URL:		http://code.google.com/p/ffmpegthumbnailer/
+%{?with_gnomevfs:BuildRequires:	GConf2-devel >= 1.2.1}
 BuildRequires:	autoconf >= 2.62
 BuildRequires:	automake >= 1:1.11
-BuildRequires:	ffmpeg-devel
+BuildRequires:	ffmpeg-devel >= 0.6
+%{?with_gnomevfs:BuildRequires:	gnome-vfs2-devel >= 2.0}
+%{?with_gnomevfs:BuildRequires:	libgnome-devel >= 2.0}
 BuildRequires:	libjpeg-devel
 BuildRequires:	libpng-devel
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
+BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -58,12 +66,21 @@
 %prep
 %setup -q
 
+# use runtime library paths for dlopen
+sed -i -e '
+	# gnome-vfs2-libs
+	s,"libgnomevfs-2.so","libgnomevfs-2.so.0",
+	# glib2
+	s,"libglib-2.0.so","libglib-2.0.so.0",
+' main.cpp
+
 %build
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+	%{?with_gnomevfs:--enable-gnome-vfs}
 %{__make}
 
 %install
@@ -83,7 +100,7 @@
 %doc AUTHORS ChangeLog README TODO
 %attr(755,root,root) %{_bindir}/ffmpegthumbnailer
 %attr(755,root,root) %{_libdir}/libffmpegthumbnailer.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libffmpegthumbnailer.so.?
+%attr(755,root,root) %ghost %{_libdir}/libffmpegthumbnailer.so.4
 %{_mandir}/man1/ffmpegthumbnailer.1*
 
 %files devel
@@ -103,6 +120,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2010/08/25 11:20:26  glen
+- up to 2.0.4
+- gnomevfs supproted via dlopen
+- requires ffmpeg 0.6 for avcodec_decode_video2 symbol
+
 Revision 1.15  2010/08/25 11:09:31  glen
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ffmpegthumbnailer/ffmpegthumbnailer.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list