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

diff --git a/packaging/notification.manifest b/packaging/notification.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
index f45c5d9a17ed406a400ac85896ebc08598452811..d055be40265d8de9ce8c977a26486607ab4d5253 100644 (file)
@@ -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