update for beta universally
[apps/native/starter.git] / packaging / starter.spec
1 Name:       starter
2 Summary:    starter
3 Version:    0.3.44
4 Release:    1
5 Group:      TO_BE/FILLED_IN
6 License:    Apache-2.0
7 Source0:    starter-%{version}.tar.gz
8 Requires(post): /usr/bin/vconftool
9 BuildRequires:  cmake
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(appcore-efl)
18 BuildRequires:  pkgconfig(ecore)
19 BuildRequires:  pkgconfig(evas)
20 BuildRequires:  pkgconfig(ecore-evas)
21 BuildRequires:  pkgconfig(eet)
22 BuildRequires:  pkgconfig(ecore-input)
23 BuildRequires:  pkgconfig(utilX)
24 BuildRequires:  pkgconfig(ui-gadget)
25
26 %description
27 Description: Starter
28
29
30 %prep
31 %setup -q
32
33
34 %build
35 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
36 make 
37
38 %install
39 %make_install
40
41
42 %post
43 vconftool set -t int "memory/startapps/sequence" 0 -i -u 5000 -g 5000
44 vconftool set -t string db/lockscreen/pkgname "org.tizen.idle-lock" -u 5000 -g 5000
45 vconftool -i set -t int memory/idle_lock/state "0" -u 5000 -g 5000
46
47 ln -sf /etc/init.d/rd4starter /etc/rc.d/rc4.d/S81starter
48 ln -sf /etc/init.d/rd3starter /etc/rc.d/rc3.d/S43starter
49
50 %files
51 %{_sysconfdir}/init.d/rd4starter
52 %{_sysconfdir}/init.d/rd3starter
53 %{_datadir}/applications/starter.desktop
54 %{_bindir}/starter
55 %{_libdir}/liblock-daemon.so