Name: libmm-camcorder
Summary: Camera and recorder library
-Version: 0.10.35
+Version: 0.10.45
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0
BuildRequires: pkgconfig(murphy-resource)
BuildRequires: pkgconfig(murphy-glib)
BuildRequires: pkgconfig(ttrace)
+BuildRequires: pkgconfig(libtzplatform-config)
+BuildRequires: pkgconfig(dpm)
%description
Camera and recorder function supported library.
%build
%if %{with wayland}
-export CFLAGS+=" -DHAVE_WAYLAND"
+export CFLAGS+=" -DHAVE_WAYLAND -DGST_USE_UNSTABLE_API"
%endif
-export CFLAGS+=" -D_LARGEFILE64_SOURCE"
+export CFLAGS+=" -D_LARGEFILE64_SOURCE -DSYSCONFDIR=\\\"%{_sysconfdir}\\\" -DTZ_SYS_ETC=\\\"%{TZ_SYS_ETC}\\\""
./autogen.sh
%configure \
%if %{with wayland}
make %{?jobs:-j%jobs}
%install
-mkdir -p %{buildroot}/usr/share/license
-cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+mkdir -p %{buildroot}%{_datadir}/license
+cp LICENSE.APLv2 %{buildroot}%{_datadir}/license/%{name}
%make_install
%defattr(-,root,root,-)
%{_bindir}/*
%{_libdir}/*.so.*
-/usr/share/sounds/mm-camcorder/*
+%{_datadir}/sounds/mm-camcorder/*
%{_datadir}/license/%{name}
%files devel