Name: capi-content-media-content
Summary: A Media content library in SLP C API
-Version: 0.2.57
+Version: 0.2.59
Release: 0
-Group: System/Libraries
-License: Apache License, Version 2.0
+Group: Multimedia/API
+License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
+Source1001: capi-content-media-content.manifest
BuildRequires: cmake
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(capi-base-common)
BuildRequires: pkgconfig(libmedia-service)
BuildRequires: pkgconfig(media-thumbnail)
BuildRequires: pkgconfig(libmedia-utils)
-
-
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(libtzplatform-config)
%description
-
+A Media content library in SLP C API package.
%package devel
Summary: A Media content library in SLP C API (Development)
-Group: Development/Libraries
+Group: Development/Multimedia
Requires: %{name} = %{version}-%{release}
%description devel
+A Media content library in SLP C API (Development) package.
+%devel_desc
%prep
%setup -q
-
+cp %{SOURCE1001} .
%build
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
-
-
-make %{?jobs:-j%jobs}
+%__make %{?jobs:-j%jobs}
%install
-rm -rf %{buildroot}
%make_install
-#License
-mkdir -p %{buildroot}/%{_datadir}/license
-cp -rf %{_builddir}/%{name}-%{version}/LICENSE.APLv2.0 %{buildroot}/%{_datadir}/license/%{name}
-
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-
%files
-%manifest capi-content-media-content.manifest
+%manifest %{name}.manifest
+%license LICENSE.APLv2.0
%{_libdir}/libcapi-content-media-content.so.*
-#License
-%{_datadir}/license/%{name}
%files devel
+%manifest %{name}.manifest
%{_includedir}/media-content/*.h
%{_libdir}/pkgconfig/*.pc
%{_libdir}/libcapi-content-media-content.so
-
-