6 License: Flora Software License
7 Source0: starter-%{version}.tar.gz
8 Source1: starter.service
9 Requires(post): /usr/bin/vconftool
11 BuildRequires: pkgconfig(glib-2.0)
12 BuildRequires: pkgconfig(tapi)
13 BuildRequires: pkgconfig(vconf)
14 BuildRequires: pkgconfig(heynoti)
15 BuildRequires: pkgconfig(aul)
16 BuildRequires: pkgconfig(x11)
17 BuildRequires: pkgconfig(elementary)
18 BuildRequires: pkgconfig(ecore)
19 BuildRequires: pkgconfig(evas)
20 BuildRequires: pkgconfig(utilX)
21 BuildRequires: pkgconfig(appcore-efl)
22 BuildRequires: pkgconfig(capi-appfw-application)
31 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
40 mkdir -p %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants
41 install -m 0644 %SOURCE1 %{buildroot}%{_libdir}/systemd/user/
42 ln -s ../starter.service %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants/starter.service
45 change_file_executable()
47 chmod +x $@ 2>/dev/null
49 echo "Failed to change the perms of $@"
53 vconftool set -t int "memory/starter/sequence" 0 -i -u 5000 -g 5000
54 vconftool set -t string file/private/lockscreen/pkgname "org.tizen.draglock" -u 5000 -g 5000
55 vconftool -i set -t int memory/idle_lock/state "0" -u 5000 -g 5000
57 ln -sf /etc/init.d/rd4starter /etc/rc.d/rc4.d/S81starter
58 ln -sf /etc/init.d/rd3starter /etc/rc.d/rc3.d/S43starter
60 change_file_executable /etc/opt/init/starter.init.sh
61 /etc/opt/init/starter.init.sh
66 %manifest starter.manifest
67 %defattr(-,root,root,-)
68 /etc/opt/init/starter.init.sh
69 %{_sysconfdir}/init.d/rd4starter
70 %{_sysconfdir}/init.d/rd3starter
72 %{_libdir}/liblock-daemon.so
73 %{_libdir}/systemd/user/starter.service
74 %{_libdir}/systemd/user/core-efl.target.wants/starter.service