summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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