/[packages]/cauldron/ffmpegthumbnailer/current/SPECS/ffmpegthumbnailer.spec
ViewVC logotype

Contents of /cauldron/ffmpegthumbnailer/current/SPECS/ffmpegthumbnailer.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1473997 - (show annotations) (download)
Fri Dec 27 20:12:02 2019 UTC (4 years, 9 months ago) by wally
File size: 1718 byte(s)
- build with new cmake macros
1 %define major 4
2 %define libname %mklibname %{name} %{major}
3 %define develname %mklibname %{name} -d
4
5 Name: ffmpegthumbnailer
6 Version: 2.2.0
7 Release: %mkrel 5
8 Summary: Lightweight video thumbnailer
9 License: GPLv2+
10 Group: Video/Utilities
11 URL: https://github.com/dirkvdb/ffmpegthumbnailer
12 Source0: https://github.com/dirkvdb/%{name}/releases/download/%{version}/%{name}-%{version}.tar.bz2
13 BuildRequires: cmake
14 BuildRequires: ffmpeg-devel
15 BuildRequires: pkgconfig(libpng)
16 BuildRequires: pkgconfig(libjpeg)
17
18 %description
19 This video thumbnailer can be used by file managers to
20 create thumbnails for your video files. The thumbnailer
21 uses ffmpeg to decode frames from the video files, so
22 supported videoformats depend on the configuration
23 flags of ffmpeg.
24
25 This thumbnailer was designed to be as fast and
26 lightweight as possible.
27
28 %package -n %{libname}
29 Summary: Main library for %{name}
30 Group: Video/Utilities
31 Obsoletes: %{mklibname %{name} 2}
32
33 %description -n %{libname}
34 Main library for %{name}.
35
36 %package -n %{develname}
37 Summary: Development files for %{name}
38 Group: Development/C++
39 Requires: %{libname} = %{version}-%{release}
40 Provides: lib%{name}-devel = %{version}-%{release}
41 Provides: %{name}-devel = %{version}-%{release}
42
43 %description -n %{develname}
44 Development files for %{name}.
45
46 %prep
47 %setup -q
48
49 %build
50 %cmake \
51 -DENABLE_STATIC:BOOL=OFF
52 %cmake_build
53
54 %install
55 %cmake_install
56
57 # we don't want these
58 find %{buildroot} -name '*.la' -delete
59
60 %files
61 %doc AUTHORS ChangeLog README TODO
62 %{_bindir}/%{name}
63 %{_mandir}/man1/%{name}.1*
64
65 %files -n %{libname}
66 %{_libdir}/*.so.%{major}
67 %{_libdir}/*.so.%{major}.*
68
69 %files -n %{develname}
70 %{_libdir}/*.so
71 %{_includedir}/libffmpegthumbnailer/
72 %{_libdir}/pkgconfig/*.pc

  ViewVC Help
Powered by ViewVC 1.1.30