From: Ryan Ware Date: Wed, 30 May 2012 00:50:53 +0000 (-0700) Subject: Add default Smack manifest for capi-system-power.spec X-Git-Tag: 2.0_alpha~1 X-Git-Url: http://review.tizen.org/git/?p=framework%2Fapi%2Fpower.git;a=commitdiff_plain;h=148a19305e24dbe44d6cd77a86b15cbcc0aee800 Add default Smack manifest for capi-system-power.spec Change-Id: I4da82b8b068dfa86c067e4d59be84ed770065e6a Signed-off-by: Ryan Ware --- diff --git a/packaging/capi-system-power.manifest b/packaging/capi-system-power.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/capi-system-power.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/capi-system-power.spec b/packaging/capi-system-power.spec index 286c281..8161380 100644 --- a/packaging/capi-system-power.spec +++ b/packaging/capi-system-power.spec @@ -6,6 +6,7 @@ Release: 7 Group: TO_BE/FILLED_IN License: TO BE FILLED IN Source0: %{name}-%{version}.tar.gz +Source1001: packaging/capi-system-power.manifest BuildRequires: cmake BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(pmapi) @@ -33,6 +34,7 @@ Requires: %{name} = %{version}-%{release} %build +cp %{SOURCE1001} . MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} @@ -49,9 +51,11 @@ rm -rf %{buildroot} %files +%manifest capi-system-power.manifest %{_libdir}/libcapi-system-power.so.* %files devel +%manifest capi-system-power.manifest %{_includedir}/system/power.h %{_libdir}/pkgconfig/*.pc %{_libdir}/libcapi-system-power.so