summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2015-09-07 20:15:56 +0900
committerMinkyu Kang <mk7.kang@samsung.com>2015-09-07 20:15:56 +0900
commit434964e8ceb787d44fc369e1eecf90faaf0322c2 (patch)
treedd64ef6fdb8b722a571f0c28eb4dbc0c99ba0a9f
parentcf24548ef200fedb5909f94766c01c726f3a4690 (diff)
downloadair_livetv-434964e8ceb787d44fc369e1eecf90faaf0322c2.tar.gz
air_livetv-434964e8ceb787d44fc369e1eecf90faaf0322c2.tar.bz2
air_livetv-434964e8ceb787d44fc369e1eecf90faaf0322c2.zip
add manifest file to avoid smack error
Change-Id: I4f6f59163a05bc0c2a7acb915eab88d81d881bea Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
-rw-r--r--packaging/org.tizen.live-tv.manifest5
-rw-r--r--packaging/org.tizen.live-tv.spec6
2 files changed, 8 insertions, 3 deletions
diff --git a/packaging/org.tizen.live-tv.manifest b/packaging/org.tizen.live-tv.manifest
new file mode 100644
index 0000000..97e8c31
--- /dev/null
+++ b/packaging/org.tizen.live-tv.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/org.tizen.live-tv.spec b/packaging/org.tizen.live-tv.spec
index 67c2ce5..256fda5 100644
--- a/packaging/org.tizen.live-tv.spec
+++ b/packaging/org.tizen.live-tv.spec
@@ -7,6 +7,7 @@ License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
Source1: %{name}.service
Source2: %{name}.path
+Source3: %{name}.manifest
BuildRequires: cmake
BuildRequires: pkgconfig(capi-appfw-application)
@@ -27,7 +28,6 @@ BuildRequires: edje-bin
%define _pkgdir %{_prefix}/apps/%{name}
%define _bindir %{_pkgdir}/bin
%define _resdir %{_pkgdir}/res
-%define _datadir %{_pkgdir}/data
%define _edjedir %{_resdir}/edje
%define _manifestdir %{_datarootdir}/packages
%define _sysuserdir /systemd/user
@@ -38,6 +38,7 @@ Live TV application for Tizen TV.
%prep
%setup -q
+cp %{SOURCE3} .
%build
cmake \
@@ -52,7 +53,6 @@ make %{?jobs:-j%jobs}
%install
%make_install
-install --directory %{buildroot}/%{_datadir}
install --directory %{buildroot}%{_libdir}%{_servicedir}
install -m 0644 %{SOURCE1} %{buildroot}%{_libdir}%{_sysuserdir}
install -m 0644 %{SOURCE2} %{buildroot}%{_libdir}%{_sysuserdir}
@@ -62,10 +62,10 @@ ln -sf ../%{name}.path %{buildroot}%{_libdir}%{_servicedir}
rm -rf %{buildroot}
%files
+%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_bindir}/*
%{_resdir}/*
-%{_datadir}
%{_manifestdir}/%{name}.xml
%{_libdir}%{_sysuserdir}/%{name}.service
%{_libdir}%{_sysuserdir}/%{name}.path