From 1c61f9e044b4bb490c3f9568ab2c6fcb2e205e02 Mon Sep 17 00:00:00 2001 From: Ryan Ware Date: Tue, 29 May 2012 17:50:20 -0700 Subject: [PATCH] Add default Smack manifest for media-server.spec Change-Id: I28eda2d49a9f2b178902c21144ded7ce31ab660a Signed-off-by: Ryan Ware --- packaging/media-server.manifest | 5 +++++ packaging/media-server.spec | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 packaging/media-server.manifest diff --git a/packaging/media-server.manifest b/packaging/media-server.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/media-server.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/media-server.spec b/packaging/media-server.spec index f15e26f..36d46fa 100644 --- a/packaging/media-server.spec +++ b/packaging/media-server.spec @@ -6,6 +6,7 @@ Release: 1 Group: Services License: Apache-2.0 Source0: %{name}-%{version}.tar.gz +Source1001: packaging/media-server.manifest Requires(post): /usr/bin/vconftool BuildRequires: pkgconfig(glib-2.0) @@ -40,6 +41,7 @@ Description: media server development library. %setup -q %build +cp %{SOURCE1001} . %autogen %configure --prefix=%{_prefix} --disable-static @@ -59,6 +61,7 @@ vconftool set -t string db/Apps/mediaserver/mmc_info "" %files +%manifest media-server.manifest %defattr(-,root,root,-) %{_bindir}/media-server %attr(755,-,-) %{_sysconfdir}/rc.d/init.d/mediasvr @@ -66,12 +69,14 @@ vconftool set -t string db/Apps/mediaserver/mmc_info "" /etc/rc.d/rc5.d/S48mediasvr %files -n libmedia-utils +%manifest media-server.manifest %defattr(-,root,root,-) %{_libdir}/libmedia-utils.so %{_libdir}/libmedia-utils.so.0 %{_libdir}/libmedia-utils.so.0.0.0 %files -n libmedia-utils-devel +%manifest media-server.manifest %defattr(-,root,root,-) %{_libdir}/pkgconfig/libmedia-utils.pc %{_includedir}/media-utils/*.h -- 2.7.4