4 Name: capi-media-camera
5 Summary: A Camera library in Tizen C API
10 Source0: %{name}-%{version}.tar.gz
12 BuildRequires: pkgconfig(gstreamer-1.0)
13 BuildRequires: pkgconfig(dlog)
14 BuildRequires: pkgconfig(mm-camcorder)
15 BuildRequires: pkgconfig(audio-session-mgr)
16 BuildRequires: pkgconfig(capi-base-common)
17 BuildRequires: pkgconfig(capi-media-tool)
18 BuildRequires: pkgconfig(libtbm)
19 BuildRequires: pkgconfig(evas)
20 BuildRequires: pkgconfig(ecore)
21 BuildRequires: pkgconfig(elementary)
22 BuildRequires: pkgconfig(vconf)
23 Requires(post): /sbin/ldconfig
24 Requires(postun): /sbin/ldconfig
28 A Camera library in Tizen C API.
32 Summary: A Camera library in Tizen C API (Development)
33 Requires: %{name} = %{version}-%{release}
34 Requires: pkgconfig(libtbm)
35 Requires: pkgconfig(capi-media-tool)
39 A Camera library in Tizen C API.
41 Development related files.
49 %if 0%{?sec_build_binary_debug_enable}
50 export CFLAGS+=" -DTIZEN_DEBUG_ENABLE"
52 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
53 %cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER} \
55 -DWAYLAND_SUPPORT=On \
57 -DWAYLAND_SUPPORT=Off \
71 mkdir -p %{buildroot}%{_datadir}/license
72 cp LICENSE.APLv2 %{buildroot}%{_datadir}/license/%{name}
75 %post -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
81 %manifest capi-media-camera.manifest
82 %{_libdir}/libcapi-media-camera.so.*
83 %{_datadir}/license/%{name}
86 %{_includedir}/media/camera.h
87 %{_includedir}/media/camera_internal.h
88 %{_libdir}/pkgconfig/*.pc
89 %{_libdir}/libcapi-media-camera.so