1 #git:framework/web/web-provider
2 Name: livebox.web-provider
3 Summary: web framework for livebox
7 License: Flora License, Version 1.1
8 Source0: %{name}-%{version}.tar.gz
9 BuildRequires: cmake, gettext-tools
10 BuildRequires: pkgconfig(aul)
11 BuildRequires: pkgconfig(appcore-efl)
12 BuildRequires: pkgconfig(dlog)
13 BuildRequires: pkgconfig(bundle)
14 BuildRequires: pkgconfig(eina)
15 BuildRequires: pkgconfig(ecore)
16 BuildRequires: pkgconfig(ecore-x)
17 BuildRequires: pkgconfig(evas)
18 BuildRequires: pkgconfig(ecore-evas)
19 BuildRequires: pkgconfig(elementary)
20 BuildRequires: pkgconfig(ewebkit2)
21 BuildRequires: pkgconfig(wrt-core)
22 BuildRequires: pkgconfig(xmlsec1)
23 BuildRequires: pkgconfig(dpl-efl)
24 BuildRequires: pkgconfig(provider)
25 BuildRequires: pkgconfig(livebox-service)
26 BuildRequires: pkgconfig(glib-2.0)
27 BuildRequires: pkgconfig(json-glib-1.0)
28 BuildRequires: pkgconfig(capi-appfw-application)
31 This is web framework responsible to manage liveboxes that consist of web contents
34 Summary: Files for web provider devel.
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
39 Web Provider library (dev)
45 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_PROJECT_VERSION=%{version}
46 #-fpie LDFLAGS="${LDFLAGS} -pie -O3"
47 CFLAGS="${CFLAGS} -Wall -Winline -Werror -fno-builtin-malloc" make %{?jobs:-j%jobs}
52 %define app_data /opt/usr/apps/livebox.web-provider/data
53 mkdir -p %{buildroot}%{app_data}
56 killall -9 web-provider
57 /usr/bin/web_provider_reset_db.sh
58 if [ -f /usr/lib/rpm-plugins/msm.so ]; then
59 echo "smack setting..."
60 chsmack -a 'livebox.web-provider::db' /opt/usr/dbspace/.web_provider.db
61 chsmack -a 'livebox.web-provider::db' /opt/usr/dbspace/.web_provider.db-journal
63 chown 5000:5000 %{app_data}
66 %files -n livebox.web-provider
67 %manifest livebox.web-provider.manifest
68 %defattr(-,root,root,-)
70 %{_libdir}/web-provider/*.so*
71 %{_libdir}/web-provider/*.json
72 %{_datadir}/web-provider/*
73 %attr(755,root,root) %{_bindir}/web_provider_reset_db.sh
74 %{_prefix}/apps/livebox.web-provider/bin/web-provider
75 %{_datarootdir}/packages/livebox.web-provider.xml
76 %{_prefix}/share/res/*
77 %{_sysconfdir}/smack/accesses.d/livebox.web-provider.rule
81 %defattr(-,root,root,-)
82 %{_includedir}/web-provider/*
83 %{_libdir}/pkgconfig/*.pc