Make TIZEN 2.0
[apps/home/call.git] / packaging / org.tizen.call.spec
1 Name:       org.tizen.call
2 Summary:    call application
3 Version:    0.2.380
4 Release:    1
5 Group:      comm
6 License:    Flora Software License
7 Source0:    %{name}-%{version}.tar.gz
8 BuildRequires:  pkgconfig(appcore-efl)
9 BuildRequires:  pkgconfig(elementary)
10 BuildRequires:  pkgconfig(vconf)
11 BuildRequires:  pkgconfig(utilX)
12 BuildRequires:  pkgconfig(alsa)
13 BuildRequires:  pkgconfig(pmapi)
14 BuildRequires:  pkgconfig(sensor)
15 BuildRequires:  pkgconfig(dlog)
16 BuildRequires:  pkgconfig(aul)
17 BuildRequires:  pkgconfig(contacts-service)
18 BuildRequires:  pkgconfig(ui-gadget-1)
19 BuildRequires:  pkgconfig(tapi)
20 BuildRequires:  pkgconfig(mm-sound)
21 BuildRequires:  pkgconfig(mm-camcorder)
22 BuildRequires:  pkgconfig(mm-session)
23 BuildRequires:  pkgconfig(mm-player)
24 BuildRequires:  pkgconfig(devman_haptic)
25 BuildRequires:  pkgconfig(msg-service)
26 BuildRequires:  pkgconfig(ecore-x)
27 BuildRequires:  pkgconfig(ecore-input)
28 BuildRequires:  pkgconfig(icu-i18n)
29 BuildRequires:  pkgconfig(appsvc)
30 BuildRequires:  pkgconfig(glib-2.0)
31 BuildRequires:  pkgconfig(capi-base-common)
32 BuildRequires:  pkgconfig(notification)
33 BuildRequires:  pkgconfig(phone-misc)
34 BuildRequires:  pkgconfig(minicontrol-provider)
35 BuildRequires:  pkgconfig(capi-media-sound-manager)
36 BuildRequires:  pkgconfig(dbus-1)
37 BuildRequires:  pkgconfig(dbus-glib-1)
38 BuildRequires:  libug-contacts-devel 
39 BuildRequires:  cmake
40 BuildRequires:  gettext-tools
41 BuildRequires:  edje-tools
42 Requires(post): /usr/bin/vconftool
43
44
45 %description
46 call application.
47
48 %prep
49 %setup -q
50
51
52 %build
53 %define PREFIX    "/opt/apps/org.tizen.call"
54 cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX}
55
56 make %{?jobs:-j%jobs}
57
58
59 %install
60 rm -rf %{buildroot}
61 %make_install
62
63 %post
64 # 5000 is inhouse user id
65 # do not use relative path
66 chown -R 5000:5000 /opt/apps/org.tizen.call/data
67 /usr/bin/vconftool set -t int memory/call/state "0" -g 6521 -i
68 /usr/bin/vconftool set -t int "db/call/vol_level" "4" -g 6521
69
70 %files
71 %defattr(-,root,root,-)
72 /opt/apps/org.tizen.call/bin/voice-call-ui
73 /opt/apps/org.tizen.call/res/edje/*.edj
74 /opt/apps/org.tizen.call/res/images/*.png
75 /opt/apps/org.tizen.call/res/locale/*/LC_MESSAGES/voice-call-ui.mo
76 /opt/apps/org.tizen.call/res/media/*.wav
77 /opt/share/packages/org.tizen.call.xml
78 /opt/share/icons/default/small/org.tizen.call.png