]> git.pld-linux.org Git - SPECS.git/blob - kde-mplayerthumbs.spec
SPECS updated Sat 31 Jul 20:27:02 CEST 2021
[SPECS.git] / kde-mplayerthumbs.spec
1 Summary:        MPlayerThumbs - a thumbnail generator for video files on Konqueror
2 Summary(pl.UTF-8):      MPlayerThumbs - program generujący miniatury dla plików video w Konquerorze
3 Name:           kde-mplayerthumbs
4 Version:        0.5b
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://xoomer.virgilio.it/rockman81/mplayerthumbs-%{version}.tar.bz2
9 # Source0-md5:  df8aadc2ef9484da8e819e9ddec2e020
10 URL:            http://www.kde-look.org/content/show.php?content=41180
11 BuildRequires:  kdebase-devel
12 BuildRequires:  kdelibs-devel
13 BuildRequires:  rpmbuild(macros) >= 1.129
14 Requires:       mplayer
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 MPlayerThumbs is a thumbnail generator for video files on Konqueror.
19 Unlike the original konqueror plugin (in my gentoo box is
20 artsplugin-xine), it DOESN'T depend neither on xine nor arts, instead
21 it uses only mplayer. You can take advantage of this on x86_64
22 systems, where you can use a 32bit mplayer to load win32codecs. To
23 configure the location of your mplayer binary launch
24 mplayerthumbsconfig. Also it's faster than the xine plugin, since it
25 can seek and play only a limited number of frames. It catches a random
26 frame from 15% to 70%, checking also how contrasted is the image, and
27 dropping bad frames.
28
29 %description -l pl.UTF-8
30 MPlayerThumbs jest programem generującym miniatury dla plików video w
31 Konquerorze. W przeciwieństwie do oryginalnej wtyczki, zamiast xine i
32 arts używa tylko mplayera. Można poczuć korzyść używając tego na
33 systemach x86_64, na których można używać 32-bitowego mplayera wraz z
34 win32codecs. Aby skonfigurować położenie mplayera wystarczy załadować
35 program mplayerthumbsconfig. Program ten jest także szybszy niż
36 wtyczka xine, ponieważ przeszukiwanie i odgrywanie odbywa się na
37 ograniczonej liczbie ramek. MPlayerThumbs pobiera losową klatkę z 15%
38 do 70% pliku video, sprawdzając kontrast obrazka i pozbywając się
39 niepoprawnych klatek.
40
41 %prep
42 %setup -q -n mplayerthumbs-%{version}
43
44 %build
45 %configure \
46         --disable-rpath \
47         --with-mplayer=%{_bindir}/mplayer \
48         --with-qt-libraries=%{_libdir}
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT \
56         kde_htmldir=%{_kdedocdir}
57
58 %find_lang videopreview --with-kde
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files -f videopreview.lang
64 %defattr(644,root,root,755)
65 %doc README AUTHORS ChangeLog TODO
66 %attr(755,root,root) %{_bindir}/mplayerthumbsconfig
67 %attr(755,root,root) %{_libdir}/kde3/videopreview.so
68 %{_libdir}/kde3/videopreview.la
69 %{_datadir}/apps/videothumbnail
70 %{_datadir}/services/videopreview.desktop
71 %{_datadir}/config.kcfg/mplayerthumbs.kcfg
This page took 0.822149 seconds and 3 git commands to generate.