4 Name: capi-media-camera
10 Source0: %{name}-%{version}.tar.gz
12 BuildRequires: pkgconfig(dlog)
13 BuildRequires: pkgconfig(glib-2.0)
14 BuildRequires: pkgconfig(mused)
15 BuildRequires: pkgconfig(mm-common)
16 BuildRequires: pkgconfig(capi-base-common)
17 BuildRequires: pkgconfig(mmsvc-camera)
18 BuildRequires: pkgconfig(appcore-efl)
19 BuildRequires: pkgconfig(elementary)
20 BuildRequires: pkgconfig(ecore)
21 BuildRequires: pkgconfig(evas)
22 BuildRequires: pkgconfig(capi-media-tool)
23 BuildRequires: pkgconfig(mm-camcorder)
24 BuildRequires: pkgconfig(gstreamer-1.0)
26 BuildRequires: pkgconfig(ecore-wayland)
28 BuildRequires: pkgconfig(libtbm)
30 Requires(post): /sbin/ldconfig
31 Requires(postun): /sbin/ldconfig
36 A Camera library in Tizen Native API.
40 Summary: A Camera API (Development)
41 Requires: %{name} = %{version}-%{release}
42 Requires: pkgconfig(libtbm)
43 Requires: pkgconfig(capi-media-tool)
47 Development related files for a Camera library in Tizen Native API.
55 %if 0%{?sec_build_binary_debug_enable}
56 export CFLAGS+=" -DTIZEN_DEBUG_ENABLE"
58 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
59 %cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER} \
61 -DWAYLAND_SUPPORT=On \
63 -DWAYLAND_SUPPORT=Off \
77 mkdir -p %{buildroot}%{_datadir}/license
78 cp LICENSE.APLv2 %{buildroot}%{_datadir}/license/%{name}
81 %post -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
87 %manifest capi-media-camera.manifest
88 %{_libdir}/libcapi-media-camera.so.*
89 %{_datadir}/license/%{name}
93 %{_includedir}/media/camera.h
94 %{_libdir}/pkgconfig/*.pc
95 %{_libdir}/libcapi-media-camera.so