1 Name: capi-media-camera
7 Source0: %{name}-%{version}.tar.gz
9 BuildRequires: pkgconfig(dlog)
10 BuildRequires: pkgconfig(glib-2.0)
11 BuildRequires: pkgconfig(gio-2.0)
12 BuildRequires: pkgconfig(muse-client)
13 BuildRequires: pkgconfig(mm-common)
14 BuildRequires: pkgconfig(mm-display-interface)
15 BuildRequires: pkgconfig(capi-base-common)
16 BuildRequires: pkgconfig(mmsvc-camera)
17 BuildRequires: pkgconfig(capi-media-tool)
18 BuildRequires: pkgconfig(libtbm)
19 BuildRequires: pkgconfig(appcore-efl)
20 BuildRequires: pkgconfig(elementary)
21 BuildRequires: pkgconfig(ecore)
22 BuildRequires: pkgconfig(evas)
24 Requires(post): /sbin/ldconfig
25 Requires(postun): /sbin/ldconfig
28 A Camera library in Tizen Native API.
32 Summary: A Camera API (Development)
33 Requires: %{name} = %{version}-%{release}
34 Requires: pkgconfig(libtbm)
35 Requires: pkgconfig(capi-media-tool)
38 Development related files for a Camera library in Tizen Native API.
42 Summary: A Camera API testsuite
43 Requires: %{name} = %{version}-%{release}
46 Tizen Native camera API testsuite.
50 Summary: Line Coverage of Camera library in Tizen Native API
51 Group: Development/Multimedia
54 Collection of files related to Line Coverage. It is teseted as gcov for a camera library in Tizen native API
63 %if 0%{?sec_build_binary_debug_enable}
64 export CFLAGS+=" -DTIZEN_DEBUG_ENABLE"
67 export CFLAGS+=" -fprofile-arcs -ftest-coverage"
68 export LDFLAGS+=" -lgcov"
70 export CFLAGS+=" -DPATH_LIBDIR=\\\"%{_libdir}\\\""
71 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
72 %cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
78 find . -name '*.gcno' -exec cp '{}' gcov-obj ';'
86 mkdir -p %{buildroot}%{_datadir}/gcov/obj
87 install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj
90 %post -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
97 %manifest capi-media-camera.manifest
98 %license LICENSE.APLv2
99 %{_libdir}/libcapi-media-camera.so.*
102 %{_includedir}/media/camera.h
103 %{_includedir}/media/camera_internal.h
104 %{_libdir}/pkgconfig/*.pc
105 %{_libdir}/libcapi-media-camera.so
108 %manifest capi-media-camera-tool.manifest
109 %license LICENSE.APLv2
114 %{_datadir}/gcov/obj/*