blob: ebb9bd4894b4c44875d5b9e8db39d30d62979cc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
Name: libmedia-thumbnail
Summary: Media thumbnail service library for multimedia applications.
Version: 0.2.0
Release: 1
Group: TO_BE/FILLED_IN
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(mm-fileinfo)
BuildRequires: pkgconfig(mmutil-imgp)
BuildRequires: pkgconfig(mmutil-jpeg)
BuildRequires: pkgconfig(drm-service)
BuildRequires: pkgconfig(libexif)
BuildRequires: pkgconfig(heynoti)
BuildRequires: pkgconfig(evas)
BuildRequires: pkgconfig(ecore)
BuildRequires: pkgconfig(aul)
%description
Description: Media thumbnail service library for multimedia applications.
%package devel
License: TO_BE / FILL_IN
Summary: Media thumbnail service library for multimedia applications. (development)
Requires: %{name} = %{version}-%{release}
Group: Development/Libraries
%description devel
Description: Media thumbnail service library for multimedia applications. (development)
%package -n media-thumbnail-server
License: TO_BE / FILL_IN
Summary: Thumbnail generator.
Requires: %{name} = %{version}-%{release}
Group: Development/Libraries
%description -n media-thumbnail-server
Description: Media Thumbnail Server.
%prep
%setup -q
%build
cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
make %{?jobs:-j%jobs}
%install
%make_install
chmod +x %{buildroot}/etc//init.d/thumbsvr
%post
ln -s /etc//init.d/thumbsvr %{_sysconfdir}/rc.d/rc5.d/S47thumbsvr
ln -s /etc/init.d/thumbsvr %{_sysconfdir}/rc.d/rc3.d/S47thumbsvr
%files
%{_libdir}/libmedia-thumbnail.so.*
%{_libdir}/libmedia-hash.so.*
%files devel
%{_libdir}/libmedia-thumbnail.so
%{_libdir}/libmedia-hash.so
%{_libdir}/pkgconfig/media-thumbnail.pc
%{_includedir}/media-thumbnail/media-thumb-types.h
%{_includedir}/media-thumbnail/media-thumb-error.h
%{_includedir}/media-thumbnail/media-thumbnail.h
%{_includedir}/media-thumbnail/media-thumbnail-private.h
%files -n media-thumbnail-server
%{_bindir}/media-thumbnail-server
%attr(755,root,root) %{_sysconfdir}/init.d/thumbsvr
%exclude %{_bindir}/test-thumb
|