1 #sbs-git:slp/pkgs/w/wrt-installer wrt-installer 0.0.51
3 Summary: Installer for tizen Webruntime
6 Group: Development/Libraries
7 License: Apache License, Version 2.0
9 Source0: %{name}-%{version}.tar.gz
11 BuildRequires: edje-tools
12 BuildRequires: pkgconfig(libxml-2.0)
13 BuildRequires: pkgconfig(openssl)
14 BuildRequires: pkgconfig(dpl-efl)
15 BuildRequires: pkgconfig(vcore)
16 BuildRequires: pkgconfig(dpl-event-efl)
17 BuildRequires: pkgconfig(dpl-utils-efl)
18 BuildRequires: pkgconfig(dpl-popup-efl)
19 BuildRequires: pkgconfig(dpl-wrt-dao-ro)
20 BuildRequires: pkgconfig(dpl-wrt-dao-rw)
21 BuildRequires: pkgconfig(ecore-x)
22 BuildRequires: pkgconfig(ace)
23 BuildRequires: pkgconfig(ace-dao-ro)
24 BuildRequires: pkgconfig(ace-dao-rw)
25 BuildRequires: pkgconfig(xmlsec1)
26 BuildRequires: pkgconfig(libidn)
27 BuildRequires: pkgconfig(libiri)
28 BuildRequires: pkgconfig(libpcrecpp)
29 BuildRequires: pkgconfig(pkgmgr-installer)
30 BuildRequires: pkgconfig(pkgmgr-parser)
31 BuildRequires: pkgconfig(pkgmgr-types)
32 BuildRequires: pkgconfig(dlog)
33 BuildRequires: pkgconfig(cert-svc)
34 BuildRequires: pkgconfig(utilX)
35 BuildRequires: pkgconfig(wrt-plugins-types)
36 BuildRequires: pkgconfig(tapi)
39 Description: Wrt Installer for Tizen apps and Wac apps
45 export LDFLAGS+="-Wl,--rpath=/usr/lib -Wl,--hash-style=both -Wl,--as-needed"
48 cmake . -DCMAKE_INSTALL_PREFIX=/usr \
50 -DCMAKE_PACKAGE_VERSION=%{version} \
51 -DCMAKE_BUILD_TYPE=%{?build_type:%build_type}
62 chmod +s /usr/bin/wrt-installer
64 #symlink for package manager
65 ln -sf /usr/bin/wrt-installer /usr/etc/package-manager/backend/wgt
68 mkdir -p /opt/apps/widget/temp_info
69 [ -h /etc/rc.d/rc3.d/S46lwrt_preinstall_widgets.sh ] && rm /etc/rc.d/rc3.d/S46lwrt_preinstall_widgets.sh
70 [ -h /etc/rc.d/rc5.d/S46lwrt_preinstall_widgets.sh ] && rm /etc/rc.d/rc5.d/S46lwrt_preinstall_widgets.sh
71 ln -s /etc/rc.d/init.d/wrt_preinstall_widgets.sh /etc/rc.d/rc3.d/S46lwrt_preinstall_widgets.sh
72 ln -s /etc/rc.d/init.d/wrt_preinstall_widgets.sh /etc/rc.d/rc5.d/S46lwrt_preinstall_widgets.sh
75 %attr(755,root,root) %{_bindir}/wrt-installer
76 %attr(775,root,root) %{_initrddir}/wrt_preinstall_widgets.sh
77 %attr(644,root,root) %{_datadir}/edje/wrt/*
78 /usr/etc/package-manager/backendlib/libwgt.so