]>
Commit | Line | Data |
---|---|---|
7a0f7637 MB |
1 | Summary: Lightweight video thumbnailer |
2 | Name: ffmpegthumbnailer | |
3 | Version: 1.1 | |
4 | Release: 1 | |
5 | License: GPL v2 | |
6 | Group: Applications | |
7 | Source0: http://ffmpegthumbnailer.googlecode.com/files/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: 20c6b80dbbcf7a2f73d8879dc9c94c93 | |
9 | Patch0: %{name}-link.patch | |
10 | URL: http://code.google.com/p/ffmpegthumbnailer/ | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
13 | BuildRequires: ffmpeg-devel | |
14 | BuildRequires: libpng-devel | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | ffmpegthumbnailer can be used by file managers to create thumbnails | |
19 | for your video files. It uses ffmpeg to decode frames from the video | |
20 | files. | |
21 | ||
22 | %prep | |
23 | %setup -q | |
24 | %patch0 -p1 | |
25 | ||
26 | %build | |
27 | %{__aclocal} | |
28 | %{__autoconf} | |
29 | %{__automake} | |
30 | %configure | |
31 | %{__make} | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | ||
36 | %{__make} install \ | |
37 | DESTDIR=$RPM_BUILD_ROOT | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc AUTHORS ChangeLog README TODO | |
45 | %attr(755,root,root) %{_bindir}/ffmpegthumbnailer |