From a7684e53f2aa00471473dc9ab4c1fe26d88dd608 Mon Sep 17 00:00:00 2001 From: Ryan Ware Date: Tue, 29 May 2012 17:50:56 -0700 Subject: [PATCH] Add default Smack manifest for capi-system-info.spec Change-Id: I989e95b80b1da230849a229e599ada6d89b3a564 Signed-off-by: Ryan Ware --- packaging/capi-system-info.manifest | 5 +++++ packaging/capi-system-info.spec | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 packaging/capi-system-info.manifest mode change 100755 => 100644 packaging/capi-system-info.spec diff --git a/packaging/capi-system-info.manifest b/packaging/capi-system-info.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/capi-system-info.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/capi-system-info.spec b/packaging/capi-system-info.spec old mode 100755 new mode 100644 index e7717ed..1547789 --- a/packaging/capi-system-info.spec +++ b/packaging/capi-system-info.spec @@ -5,6 +5,7 @@ Release: 12 Group: TO_BE/FILLED_IN License: Apache-2.0 Source0: %{name}-%{version}.tar.gz +Source1001: packaging/capi-system-info.manifest BuildRequires: cmake BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(vconf) @@ -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-info.manifest %{_libdir}/libcapi-system-info.so.* %files devel +%manifest capi-system-info.manifest %{_includedir}/system/system_info.h %{_libdir}/pkgconfig/*.pc %{_libdir}/libcapi-system-info.so -- 2.7.4