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