Name: capi-media-video-util
Summary: A Video Utility library in Tizen Native API
-Version: 0.1.5
-Release: 0
+Version: 0.1.6
+Release: 2
Group: System/Libraries
License: Apache License, Version 2.0
Source0: %{name}-%{version}.tar.gz
+Source1001: capi-media-video-util.manifest
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(mm-common)
BuildRequires: pkgconfig(mm-transcode)
%prep
%setup -q
+cp %{SOURCE1001} .
%build
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
-cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
make %{?jobs:-j%jobs}
%install
-rm -rf %{buildroot}
%make_install
mkdir -p %{buildroot}/%{_datadir}/license
cp -rf %{_builddir}/%{name}-%{version}/LICENSE.APLv2.0 %{buildroot}/%{_datadir}/license/%{name}
%postun
-
%files
-%manifest capi-media-video-util.manifest
+%manifest %{name}.manifest
%{_libdir}/lib*.so.*
%{_datadir}/license/%{name}
%files devel
+%manifest %{name}.manifest
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/media/*.h