%bcond_with x
Name: capi-media-camera
-Summary: A Camera library in Tizen C API
-Version: 0.2.6
+Summary: A Camera API
+Version: 0.2.60
Release: 0
Group: Multimedia/API
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake
-BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(dlog)
-BuildRequires: pkgconfig(mm-camcorder)
-BuildRequires: pkgconfig(audio-session-mgr)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(mused)
+BuildRequires: pkgconfig(mm-common)
BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(mmsvc-camera)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(evas)
BuildRequires: pkgconfig(capi-media-tool)
+%if %{with wayland}
+BuildRequires: pkgconfig(ecore-wayland)
+%endif
BuildRequires: pkgconfig(libtbm)
-BuildRequires: pkgconfig(evas)
-BuildRequires: pkgconfig(ecore)
-BuildRequires: pkgconfig(elementary)
-BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(tizen-extension-client)
+%if "%{?profile}" == "mobile" || "%{?profile}" == "common"
+BuildRequires: pkgconfig(mm-evas-renderer)
+%endif
+
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
+
%description
-A Camera library in Tizen C API.
+A Camera library in Tizen Native API.
%package devel
-Summary: A Camera library in Tizen C API (Development)
+Summary: A Camera API (Development)
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig(libtbm)
Requires: pkgconfig(capi-media-tool)
%description devel
-A Camera library in Tizen C API.
-
-Development related files.
+Development related files for a Camera library in Tizen Native API.
%prep
%else
-DWAYLAND_SUPPORT=Off \
%endif
+%if "%{?profile}" == "mobile" || "%{?profile}" == "common"
+ -DEVAS_RENDERER_SUPPORT=On \
+%else
+ -DEVAS_RENDERER_SUPPORT=Off \
+%endif
%if %{with x}
-DX11_SUPPORT=On
%else
%manifest capi-media-camera.manifest
%{_libdir}/libcapi-media-camera.so.*
%{_datadir}/license/%{name}
+%{_bindir}/*
%files devel
%{_includedir}/media/camera.h