From 080b6bac55256f0d122b905340b9deca7abee51c Mon Sep 17 00:00:00 2001 From: Ryan Ware Date: Tue, 29 May 2012 17:50:48 -0700 Subject: Add default Smack manifest for notification.spec Change-Id: Ibbc311d83d30e8f58cad3846ee20a56828b3b9a5 Signed-off-by: Ryan Ware --- packaging/notification.manifest | 5 +++++ packaging/notification.spec | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 packaging/notification.manifest 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 @@ + + + + + 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 -- cgit v1.2.3