6 License: Flora Software License
7 Source0: starter-%{version}.tar.gz
8 Requires(post): /usr/bin/vconftool
10 BuildRequires: pkgconfig(glib-2.0)
11 BuildRequires: pkgconfig(tapi)
12 BuildRequires: pkgconfig(vconf)
13 BuildRequires: pkgconfig(heynoti)
14 BuildRequires: pkgconfig(aul)
15 BuildRequires: pkgconfig(x11)
16 BuildRequires: pkgconfig(elementary)
17 BuildRequires: pkgconfig(ecore)
18 BuildRequires: pkgconfig(evas)
19 BuildRequires: pkgconfig(utilX)
20 BuildRequires: pkgconfig(appcore-efl)
21 BuildRequires: pkgconfig(capi-appfw-application)
30 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
41 change_file_executable()
43 chmod +x $@ 2>/dev/null
45 echo "Failed to change the perms of $@"
49 vconftool set -t int "memory/starter/sequence" 0 -i -u 5000 -g 5000
50 vconftool set -t string file/private/lockscreen/pkgname "org.tizen.draglock" -u 5000 -g 5000
51 vconftool -i set -t int memory/idle_lock/state "0" -u 5000 -g 5000
53 ln -sf /etc/init.d/rd4starter /etc/rc.d/rc4.d/S81starter
54 ln -sf /etc/init.d/rd3starter /etc/rc.d/rc3.d/S43starter
56 change_file_executable /etc/opt/init/starter.init.sh
57 /etc/opt/init/starter.init.sh
62 %manifest starter.manifest
63 %defattr(-,root,root,-)
64 /etc/opt/init/starter.init.sh
65 %{_sysconfdir}/init.d/rd4starter
66 %{_sysconfdir}/init.d/rd3starter
68 %{_libdir}/liblock-daemon.so