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

diff --git a/packaging/xdgmime.manifest b/packaging/xdgmime.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
index d28e506..3e351bd 100644 (file)
@@ -5,6 +5,7 @@ Release:    1
 Group:      TO_BE/FILLED_IN
 License:    LGPLv2, AFLv2
 Source0:    xdgmime-%{version}.tar.gz
+Source1001: packaging/xdgmime.manifest 
 Requires(post): /sbin/ldconfig, /bin/chown, /bin/chmod
 Requires(postun): /sbin/ldconfig
 BuildRequires:  cmake
@@ -24,6 +25,7 @@ Package xdgmime (devel)
 %setup -q -n %{name}-%{version}
 
 %build
+cp %{SOURCE1001} .
 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
 
 make %{?jobs:-j%jobs}
@@ -40,10 +42,12 @@ chmod 644 /usr/lib/libxdgmime.so.1.1.0
 %postun -p /sbin/ldconfig
 
 %files
+%manifest xdgmime.manifest
 %defattr(-,root,root,-)
 /usr/lib/libxdgmime.so.*
 
 %files devel
+%manifest xdgmime.manifest
 %defattr(-,root,root,-)
 /usr/include/xdgmime.h
 /usr/lib/libxdgmime.so