projects
/
platform
/
framework
/
web
/
web-provider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Release] livebox.web-provider-1.46
[platform/framework/web/web-provider.git]
/
packaging
/
livebox.web-provider.spec
diff --git
a/packaging/livebox.web-provider.spec
b/packaging/livebox.web-provider.spec
old mode 100644
(file)
new mode 100755
(executable)
index
252bd5d
..
c9f6c6c
--- a/
packaging/livebox.web-provider.spec
+++ b/
packaging/livebox.web-provider.spec
@@
-1,9
+1,10
@@
+#git:framework/web/web-provider
Name: livebox.web-provider
Summary: web framework for livebox
Name: livebox.web-provider
Summary: web framework for livebox
-Version: 1.
2
+Version: 1.
46
Release: 1
Group: main/app
Release: 1
Group: main/app
-License:
Apache License, Version 2.0
+License:
Flora License, Version 1.1
Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake, gettext-tools
BuildRequires: pkgconfig(aul)
Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake, gettext-tools
BuildRequires: pkgconfig(aul)
@@
-26,14
+27,6
@@
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(capi-appfw-application)
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(capi-appfw-application)
-# requires for smack
-# We need to add smack dependancies here on specific criteria
-Requires(post): sys-assert
-Requires(post): busybox-symlinks-sysklogd
-Requires(post): data-provider-master
-Requires(post): isf
-Requires(post): e17
-
%description
This is web framework responsible to manage liveboxes that consist of web contents
%description
This is web framework responsible to manage liveboxes that consist of web contents
@@
-56,17
+49,19
@@
CFLAGS="${CFLAGS} -Wall -Winline -Werror -fno-builtin-malloc" make %{?jobs:-j%jo
%install
rm -rf %{buildroot}
%make_install
%install
rm -rf %{buildroot}
%make_install
+%define app_data /opt/usr/apps/livebox.web-provider/data
+mkdir -p %{buildroot}%{app_data}
%post
killall -9 web-provider
%post
killall -9 web-provider
-echo "create web livebox DB..."
/usr/bin/web_provider_reset_db.sh
/usr/bin/web_provider_reset_db.sh
-
if [ -f /usr/lib/rpm-plugins/msm.so ]; then
echo "smack setting..."
if [ -f /usr/lib/rpm-plugins/msm.so ]; then
echo "smack setting..."
- chsmack -a 'livebox.web-provider::db' /opt/dbspace/.web_provider.db
- chsmack -a 'livebox.web-provider::db' /opt/dbspace/.web_provider.db-journal
+ chsmack -a 'livebox.web-provider::db' /opt/
usr/
dbspace/.web_provider.db
+ chsmack -a 'livebox.web-provider::db' /opt/
usr/
dbspace/.web_provider.db-journal
fi
fi
+chown 5000:5000 %{app_data}
+chmod 755 %{app_data}
%files -n livebox.web-provider
%manifest livebox.web-provider.manifest
%files -n livebox.web-provider
%manifest livebox.web-provider.manifest
@@
-78,9
+73,11
@@
fi
%attr(755,root,root) %{_bindir}/web_provider_reset_db.sh
%{_prefix}/apps/livebox.web-provider/bin/web-provider
%{_datarootdir}/packages/livebox.web-provider.xml
%attr(755,root,root) %{_bindir}/web_provider_reset_db.sh
%{_prefix}/apps/livebox.web-provider/bin/web-provider
%{_datarootdir}/packages/livebox.web-provider.xml
+%{_prefix}/share/res/*
+%{_sysconfdir}/smack/accesses.d/livebox.web-provider.rule
+%{app_data}
%files devel
%defattr(-,root,root,-)
%{_includedir}/web-provider/*
%{_libdir}/pkgconfig/*.pc
%files devel
%defattr(-,root,root,-)
%{_includedir}/web-provider/*
%{_libdir}/pkgconfig/*.pc
-