]>
Commit | Line | Data |
---|---|---|
7a0f7637 | 1 | Summary: Lightweight video thumbnailer |
a8b04dac | 2 | Summary(pl.UTF-8): Lekki program do wykonywania miniaturek dla filmów |
7a0f7637 | 3 | Name: ffmpegthumbnailer |
af794b22 | 4 | Version: 2.0.2 |
5 | Release: 1 | |
7a0f7637 | 6 | License: GPL v2 |
c507c284 | 7 | Group: Applications/Graphics |
7a0f7637 | 8 | Source0: http://ffmpegthumbnailer.googlecode.com/files/%{name}-%{version}.tar.gz |
af794b22 | 9 | # Source0-md5: ee473a26e7e8da216e64bbb33e87772c |
7a0f7637 | 10 | URL: http://code.google.com/p/ffmpegthumbnailer/ |
c507c284 | 11 | BuildRequires: autoconf >= 2.50 |
7a0f7637 MB |
12 | BuildRequires: automake |
13 | BuildRequires: ffmpeg-devel | |
e12f335b | 14 | BuildRequires: libjpeg-devel |
7a0f7637 | 15 | BuildRequires: libpng-devel |
2d5a747b MB |
16 | BuildRequires: libstdc++-devel |
17 | BuildRequires: libtool | |
c507c284 | 18 | BuildRequires: pkgconfig |
7a0f7637 MB |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | ffmpegthumbnailer can be used by file managers to create thumbnails | |
23 | for your video files. It uses ffmpeg to decode frames from the video | |
24 | files. | |
25 | ||
a8b04dac JB |
26 | %description -l pl.UTF-8 |
27 | ffmpegthumbnailer może być używany przez zarządców plików do tworzenia | |
28 | miniaturek dla plików filmów. Wykorzystuje ffmpeg do dekodowania | |
29 | klatek. | |
30 | ||
2d5a747b MB |
31 | %package devel |
32 | Summary: Header files for libffmpegthumbnailer library | |
33 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libffmpegthumbnailer | |
34 | Group: Development/Libraries | |
35 | Requires: %{name} = %{version}-%{release} | |
36 | Requires: ffmpeg-devel | |
37 | Requires: libpng-devel | |
38 | ||
39 | %description devel | |
40 | Header files for libffmpegthumbnailer library. | |
41 | ||
42 | %description devel -l pl.UTF-8 | |
43 | Pliki nagłówkowe biblioteki libffmpegthumbnailer. | |
44 | ||
45 | %package static | |
46 | Summary: Static libffmpegthumbnailer library | |
47 | Summary(pl.UTF-8): Statyczna biblioteka libffmpegthumbnailer | |
48 | Group: Development/Libraries | |
49 | Requires: %{name}-devel = %{version}-%{release} | |
50 | ||
51 | %description static | |
52 | Static libffmpegthumbnailer library. | |
53 | ||
54 | %description static -l pl.UTF-8 | |
55 | Statyczna biblioteka libffmpegthumbnailer. | |
56 | ||
7a0f7637 MB |
57 | %prep |
58 | %setup -q | |
7a0f7637 MB |
59 | |
60 | %build | |
2d5a747b | 61 | %{__libtoolize} |
7a0f7637 MB |
62 | %{__aclocal} |
63 | %{__autoconf} | |
64 | %{__automake} | |
65 | %configure | |
66 | %{__make} | |
67 | ||
68 | %install | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %{__make} install \ | |
72 | DESTDIR=$RPM_BUILD_ROOT | |
73 | ||
74 | %clean | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
2d5a747b MB |
77 | %post -p /sbin/ldconfig |
78 | %postun -p /sbin/ldconfig | |
79 | ||
7a0f7637 MB |
80 | %files |
81 | %defattr(644,root,root,755) | |
82 | %doc AUTHORS ChangeLog README TODO | |
83 | %attr(755,root,root) %{_bindir}/ffmpegthumbnailer | |
2d5a747b | 84 | %attr(755,root,root) %{_libdir}/libffmpegthumbnailer.so.*.*.* |
bd8176da | 85 | %attr(755,root,root) %ghost %{_libdir}/libffmpegthumbnailer.so.? |
2d5a747b MB |
86 | %{_mandir}/man1/ffmpegthumbnailer.1* |
87 | ||
88 | %files devel | |
89 | %defattr(644,root,root,755) | |
90 | %attr(755,root,root) %{_libdir}/libffmpegthumbnailer.so | |
91 | %{_libdir}/libffmpegthumbnailer.la | |
92 | %{_includedir}/libffmpegthumbnailer | |
93 | %{_pkgconfigdir}/libffmpegthumbnailer.pc | |
94 | ||
95 | %files static | |
96 | %defattr(644,root,root,755) | |
97 | %{_libdir}/libffmpegthumbnailer.a |