1 Name: capi-media-camera
2 Summary: A Camera library in Tizen C API
7 Source0: %{name}-%{version}.tar.gz
9 BuildRequires: pkgconfig(gstreamer-1.0)
10 BuildRequires: pkgconfig(dlog)
11 BuildRequires: pkgconfig(mm-camcorder)
12 BuildRequires: pkgconfig(audio-session-mgr)
13 BuildRequires: pkgconfig(capi-base-common)
14 BuildRequires: pkgconfig(capi-media-tool)
15 BuildRequires: pkgconfig(libtbm)
16 BuildRequires: pkgconfig(evas)
17 BuildRequires: pkgconfig(ecore)
18 BuildRequires: pkgconfig(elementary)
19 Requires(post): /sbin/ldconfig
20 Requires(postun): /sbin/ldconfig
24 A Camera library in Tizen C API.
28 Summary: A Camera library in Tizen C API (Development)
29 Requires: %{name} = %{version}-%{release}
30 Requires: pkgconfig(libtbm)
31 Requires: pkgconfig(capi-media-tool)
35 A Camera library in Tizen C API.
37 Development related files.
45 %if 0%{?sec_build_binary_debug_enable}
46 export CFLAGS+=" -DTIZEN_DEBUG_ENABLE"
48 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
49 %cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
56 mkdir -p %{buildroot}%{_datadir}/license
57 cp LICENSE.APLv2 %{buildroot}%{_datadir}/license/%{name}
60 %post -p /sbin/ldconfig
63 %postun -p /sbin/ldconfig
67 %manifest capi-media-camera.manifest
68 %{_libdir}/libcapi-media-camera.so.*
69 %{_datadir}/license/%{name}
73 %{_includedir}/media/camera.h
74 %{_includedir}/media/camera_internal.h
75 %{_libdir}/pkgconfig/*.pc
76 %{_libdir}/libcapi-media-camera.so