SPECS: kde-mplayerthumbs.spec (NEW) - new, generates thumbs for vi...

vip vip at pld-linux.org
Sun Jul 16 19:50:58 CEST 2006


Author: vip                          Date: Sun Jul 16 17:50:58 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, generates thumbs for video files in konqueror

---- Files affected:
SPECS:
   kde-mplayerthumbs.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/kde-mplayerthumbs.spec
diff -u /dev/null SPECS/kde-mplayerthumbs.spec:1.1
--- /dev/null	Sun Jul 16 19:50:58 2006
+++ SPECS/kde-mplayerthumbs.spec	Sun Jul 16 19:50:53 2006
@@ -0,0 +1,81 @@
+# $Revision$, $Date$
+Summary:	MPlayerThumbs is a thumbnail generator for video files on Konqueror
+Summary(pl):	MPlayerThumbs jest programem generującym miniatury dla plików video w Konquerorze
+Name:		kde-mplayerthumbs
+Version:	0.5b
+Release:	1
+License:	GPL
+Group:		X11/Applications
+Source0:	http://xoomer.virgilio.it/rockman81/mplayerthumbs-%{version}.tar.bz2
+# Source0-md5:	df8aadc2ef9484da8e819e9ddec2e020
+URL:		http://www.kde-look.org/content/show.php?content=41180
+BuildRequires:	kdebase-devel
+BuildRequires:	kdelibs-devel
+BuildRequires:	rpmbuild(macros) >= 1.129
+Requires:	mplayer
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+MPlayerThumbs is a thumbnail generator for video files on Konqueror.
+Unlike the original konqueror plugin (in my gentoo box is
+artsplugin-xine), it DOESN'T depend neither on xine nor arts, instead
+it uses only mplayer. You can take advantage of this on x86_64
+systems, where you can use a 32bit mplayer to load win32codecs. To
+configure the location of your mplayer binary launch
+mplayerthumbsconfig. Also it's faster than the xine plugin, since it
+can seek and play only a limited number of frames. It catches a random
+frame from 15% to 70%, checking also how contrasted is the image, and
+dropping bad frames.
+
+%description -l pl
+MPlayerThumbs jest programem generującym miniatury dla plików video w
+Konquerorze. W przeciwieństwie do oryginalnego pluginu, zamiast xine i
+arts używa tylko mplayera. Możesz poczuć korzyść używając tego na
+systemach x86_64, na których możesz używać 32-bitowego mplayera wraz z
+win32codecs. Aby skonfigurować położenie mplayera wystarczy załadować
+program mplayerthumbsconfig. Program ten jest także szybszy niż
+wtyczka xine, ponieważ przeszukiwanie i odgrywanie odbywa się na
+ograniczonej liczbie ramek. MPlayerThumbs pobiera losową klatkę z 15%
+do 70% pliku video, sprawdzając kontrast obrazka i pozbywając się
+niepoprawnych klatek.
+
+%prep
+%setup -q -n mplayerthumbs-%{version}
+
+%build
+%configure \
+	--disable-rpath \
+	--with-mplayer=%{_bindir}/mplayer \
+	--with-qt-libraries=%{_libdir}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	kde_htmldir=%{_kdedocdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README AUTHORS ChangeLog TODO
+%attr(755,root,root) %{_bindir}/mplayerthumbsconfig
+%attr(755,root,root) %{_libdir}/kde3/videopreview.so
+%{_libdir}/kde3/videopreview.la
+%{_datadir}/apps/videothumbnail/*
+%{_datadir}/services/videopreview.desktop
+%{_datadir}/config.kcfg/mplayerthumbs.kcfg
+%lang(en) %{_kdedocdir}/en/videopreview/index.*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/07/16 17:50:53  vip
+- new, generates thumbs for video files in konqueror
+
================================================================


More information about the pld-cvs-commit mailing list