030f352a352244072df157fd17611191f3bc3944
[apps/home/call.git] / packaging / org.tizen.call.spec
1 Name:       org.tizen.call
2 Summary:    call application
3 Version:    0.2.333
4 Release:    1
5 Group:      Applications
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)
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(notification)
31 BuildRequires:  libug-contacts-devel
32 BuildRequires:  cmake
33 BuildRequires:  gettext-tools
34 BuildRequires:  edje-tools
35 Requires(post): /usr/bin/vconftool
36
37
38 %description
39 call application.
40
41 %prep
42 %setup -q
43
44 %build
45
46 %define PREFIX    "/opt/apps/org.tizen.call"
47 cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX}
48
49 make %{?jobs:-j%jobs}
50
51
52 %install
53 rm -rf %{buildroot}
54 %make_install
55
56 %post
57 /usr/bin/vconftool set -t int "memory/call/state" "0" -g 6521 -i
58 /usr/bin/vconftool set -t int "db/call/vol_level" "4" -g 6521
59 chown -R 5000:5000 /opt/apps/org.tizen.call/data
60
61 %files
62 /opt/apps/org.tizen.call/bin/*
63 /opt/apps/org.tizen.call/res/*
64 /opt/share/applications/org.tizen.call.desktop
65 %dir /opt/apps/org.tizen.call/data
66