summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:50:06 -0700
committerRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:50:06 -0700
commit6408a6442da39d60fd3e1ac2df9f327ec0e38b5e (patch)
tree92d203d439a37382852ba10e2568083b2285265d
parent70e1bbd294a6eef99978929c112a4a052cae4060 (diff)
downloadxdgmime-1.0_post.tar.gz
xdgmime-1.0_post.tar.bz2
xdgmime-1.0_post.zip
Add default Smack manifest for xdgmime.spec1.0_post
Change-Id: I3e18237dc2fefb37c0b0a3333cc4fe111c32bda8 Signed-off-by: Ryan Ware <ryan.r.ware@intel.com>
-rw-r--r--packaging/xdgmime.manifest5
-rw-r--r--packaging/xdgmime.spec4
2 files changed, 9 insertions, 0 deletions
diff --git a/packaging/xdgmime.manifest b/packaging/xdgmime.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/xdgmime.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/xdgmime.spec b/packaging/xdgmime.spec
index d28e506..3e351bd 100644
--- a/packaging/xdgmime.spec
+++ b/packaging/xdgmime.spec
@@ -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