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

diff --git a/packaging/wrt-commons.manifest b/packaging/wrt-commons.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
index f71d3ac..5ca2d94 100644 (file)
@@ -7,6 +7,7 @@ Group:      Development/Libraries
 License:    Apache License, Version 2.0
 URL:        N/A
 Source0:    %{name}-%{version}.tar.gz
+Source1001: packaging/wrt-commons.manifest 
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(ecore)
 BuildRequires:  pkgconfig(appcore-efl)
@@ -39,6 +40,7 @@ Wrt common library development headers
 %setup -q
 
 %build
+cp %{SOURCE1001} .
 export LDFLAGS+="-Wl,--rpath=%{_libdir} -Wl,--hash-style=both -Wl,--as-needed"
 cmake . -DVERSION=%{version} \
         -DDPL_LOG="OFF"      \
@@ -103,6 +105,7 @@ fi
 echo "[WRT] wrt-commons postinst done ..."
 
 %files
+%manifest wrt-commons.manifest
 %{_libdir}/*.so
 %{_libdir}/*.so.*
 /usr/share/wrt-engine/*
@@ -110,5 +113,6 @@ echo "[WRT] wrt-commons postinst done ..."
 %attr(775,root,root) %{_bindir}/wrt_commons_create_clean_db.sh
 
 %files devel
+%manifest wrt-commons.manifest
 %{_includedir}/dpl-efl/*
 %{_libdir}/pkgconfig/*.pc