1 #git:slp/pkgs/w/wrt-installer wrt-installer 0.0.72
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(cert-svc-vcore)
16 BuildRequires: pkgconfig(dpl-event-efl)
17 BuildRequires: pkgconfig(dpl-utils-efl)
18 BuildRequires: pkgconfig(dpl-wrt-dao-ro)
19 BuildRequires: pkgconfig(dpl-wrt-dao-rw)
20 BuildRequires: pkgconfig(ecore-x)
21 BuildRequires: pkgconfig(security)
22 BuildRequires: pkgconfig(security-install)
23 BuildRequires: pkgconfig(xmlsec1)
24 BuildRequires: pkgconfig(libidn)
25 BuildRequires: pkgconfig(libiri)
26 BuildRequires: pkgconfig(libpcrecpp)
27 BuildRequires: pkgconfig(pkgmgr-installer)
28 BuildRequires: pkgconfig(pkgmgr-parser)
29 BuildRequires: pkgconfig(pkgmgr-types)
30 BuildRequires: pkgconfig(dlog)
31 BuildRequires: pkgconfig(cert-svc)
32 BuildRequires: pkgconfig(utilX)
33 BuildRequires: pkgconfig(wrt-plugins-types)
34 BuildRequires: pkgconfig(tapi)
35 BuildRequires: pkgconfig(shortcut)
36 BuildRequires: pkgconfig(dpl-encryption)
37 BuildRequires: pkgconfig(capi-appfw-app-manager)
38 BuildRequires: pkgconfig(drm-client)
41 Provides: libdrm-service-core-intel.so.0
44 Description: Wrt Installer for Tizen apps and Wac apps
50 # for drm temporary code
57 export LDFLAGS+="-Wl,--rpath=/usr/lib -Wl,--hash-style=both -Wl,--as-needed"
60 cmake . -DCMAKE_INSTALL_PREFIX=/usr \
62 -DCMAKE_PACKAGE_VERSION=%{version} \
63 -DARCH="$BUILD_ARCH_" \
64 -DCMAKE_BUILD_TYPE=%{?build_type:%build_type}
69 mkdir -p %{buildroot}/usr/share/license
70 cp LICENSE %{buildroot}/usr/share/license/%{name}
77 chmod +s /usr/bin/wrt-installer
79 #symlink for package manager
80 ln -sf /usr/bin/wrt-installer /usr/etc/package-manager/backend/wgt
83 mkdir -p /opt/share/widget/temp_info
84 [ -h /etc/rc.d/rc3.d/S46lwrt_preinstall_widgets.sh ] && rm /etc/rc.d/rc3.d/S46lwrt_preinstall_widgets.sh
85 [ -h /etc/rc.d/rc5.d/S46lwrt_preinstall_widgets.sh ] && rm /etc/rc.d/rc5.d/S46lwrt_preinstall_widgets.sh
86 ln -s /etc/rc.d/init.d/wrt_preinstall_widgets.sh /etc/rc.d/rc3.d/S46lwrt_preinstall_widgets.sh
87 ln -s /etc/rc.d/init.d/wrt_preinstall_widgets.sh /etc/rc.d/rc5.d/S46lwrt_preinstall_widgets.sh
89 # for drm temporary code
90 mkdir -p /opt/var/drm/inteldrm
91 mkdir -p own 0:5000 /opt/var/drm/inteldrm
92 chmod 755 /opt/var/drm/inteldrm
94 ln -s /usr/lib/libdrm-service-core-intel.so.0.0.0 /usr/lib/libdrm-service-core-intel.so.0
95 ln -s /usr/lib/libdrm-service-core-intel.so.0 /usr/lib/libdrm-service-core-intel.so
97 # for downloadable Application icons path
98 mkdir -p /opt/share/icons/default/small
101 %manifest wrt-installer.manifest
102 %attr(755,root,root) %{_bindir}/wrt-installer
103 %attr(775,root,root) %{_initrddir}/wrt_preinstall_widgets.sh
104 %attr(644,root,root) %{_datadir}/edje/wrt/*
105 /usr/etc/package-manager/backendlib/libwgt.so
106 %{_datadir}/license/%{name}
107 # for drm temporary code