Add default Smack manifest for gps-manager.spec
authorRyan Ware <ryan.r.ware@intel.com>
Wed, 30 May 2012 00:50:47 +0000 (17:50 -0700)
committerRyan Ware <ryan.r.ware@intel.com>
Wed, 30 May 2012 00:50:47 +0000 (17:50 -0700)
Change-Id: Id2f3324f63449857d2da824efb02851905507c0c
Signed-off-by: Ryan Ware <ryan.r.ware@intel.com>
packaging/gps-manager.manifest [new file with mode: 0644]
packaging/gps-manager.spec

diff --git a/packaging/gps-manager.manifest b/packaging/gps-manager.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
index 21b4df0..7a12bb9 100644 (file)
@@ -5,6 +5,7 @@ Release:    1
 Group:      TO_BE/FILLED_IN
 License:    TO_BE/FILLED_IN
 Source0:    %{name}-%{version}.tar.gz
+Source1001: packaging/gps-manager.manifest 
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(dbus-glib-1)
@@ -56,6 +57,7 @@ CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" ./configure --prefix=%{
 
 
 %build
+cp %{SOURCE1001} .
 make %{?jobs:-j%jobs}
 
 %install
@@ -101,6 +103,7 @@ vconftool set -t double db/location/replay/ManualAltitude "0.0" -f
 %postun -p /sbin/ldconfig
 
 %files
+%manifest gps-manager.manifest
 %defattr(-,root,root,-)
 /usr/libexec/gps-manager
 /usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.GpsManager.service
@@ -111,10 +114,12 @@ vconftool set -t double db/location/replay/ManualAltitude "0.0" -f
 /etc/rc.d/rc5.d/S90gps-manager
 
 %files -n location-gps-manager
+%manifest gps-manager.manifest
 %defattr(-,root,root,-)
 %{_libdir}/location/module/libgps.so*
 
 %files -n gps-manager-plugin-devel
+%manifest gps-manager.manifest
 %defattr(-,root,root,-)
 %{_libdir}/pkgconfig/gps-manager-plugin.pc
 %{_includedir}/gps-manager-plugin/*.h