summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:50:48 -0700
committerRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:50:48 -0700
commit080b6bac55256f0d122b905340b9deca7abee51c (patch)
treee499a691941f3b7412eca50af57ac8ebf9db37e5
parent781b07c37a0f3ced0734a62459afad04cb7e94eb (diff)
downloadnotification-1.0_post.tar.gz
notification-1.0_post.tar.bz2
notification-1.0_post.zip
Add default Smack manifest for notification.spec1.0_post
Change-Id: Ibbc311d83d30e8f58cad3846ee20a56828b3b9a5 Signed-off-by: Ryan Ware <ryan.r.ware@intel.com>
-rw-r--r--packaging/notification.manifest5
-rw-r--r--packaging/notification.spec4
2 files changed, 9 insertions, 0 deletions
diff --git a/packaging/notification.manifest b/packaging/notification.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/notification.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/notification.spec b/packaging/notification.spec
index f45c5d9..d055be4 100644
--- a/packaging/notification.spec
+++ b/packaging/notification.spec
@@ -5,6 +5,7 @@ Release: 1
Group: TBD
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
+Source1001: packaging/notification.manifest
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(db-util)
BuildRequires: pkgconfig(heynoti)
@@ -37,6 +38,7 @@ Requires: %{name} = %{version}-%{release}
Notificaiton library (devel).
%build
+cp %{SOURCE1001} .
export LDFLAGS+="-Wl,--rpath=%{_prefix}/lib -Wl,--as-needed"
LDFLAGS="$LDFLAGS" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
make %{?jobs:-j%jobs}
@@ -141,10 +143,12 @@ chmod 660 /opt/dbspace/.notification.db-journal
%postun -p /sbin/ldconfig
%files
+%manifest notification.manifest
%defattr(-,root,root,-)
%{_libdir}/libnotification.so*
%files devel
+%manifest notification.manifest
%defattr(-,root,root,-)
%{_includedir}/notification/*.h
%{_libdir}/pkgconfig/notification.pc