From 6c7d054b777497f5d68ae5c4c319b5a90c916a9b Mon Sep 17 00:00:00 2001 From: Ryan Ware Date: Tue, 29 May 2012 17:50:55 -0700 Subject: [PATCH] Add default Smack manifest for capi-location-geocoder.spec Change-Id: I311425711cbff2e77672efcad71b514ad258a58f Signed-off-by: Ryan Ware --- packaging/capi-location-geocoder.manifest | 5 +++++ packaging/capi-location-geocoder.spec | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 packaging/capi-location-geocoder.manifest diff --git a/packaging/capi-location-geocoder.manifest b/packaging/capi-location-geocoder.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/capi-location-geocoder.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/capi-location-geocoder.spec b/packaging/capi-location-geocoder.spec index 800a8fb..a1258fe 100644 --- a/packaging/capi-location-geocoder.spec +++ b/packaging/capi-location-geocoder.spec @@ -5,6 +5,7 @@ Release: 14 Group: TO_BE/FILLED_IN License: Apache-2.0 Source0: %{name}-%{version}.tar.gz +Source1001: packaging/capi-location-geocoder.manifest BuildRequires: cmake BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(location) @@ -29,6 +30,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} @@ -45,8 +47,10 @@ rm -rf %{buildroot} %files +%manifest capi-location-geocoder.manifest %{_libdir}/libcapi-location-geocoder.so* %files devel +%manifest capi-location-geocoder.manifest %{_includedir}/location/geocoder.h %{_libdir}/pkgconfig/*.pc -- 2.7.4