Update tts for tizen 2.0 beta
[platform/core/uifw/tts.git] / packaging / tts.spec
1 Name:       tts
2 Summary:    Text To Speech client library and daemon
3 Version:    0.1.1
4 Release:    1
5 Group:      libs
6 License:    Samsung
7 Source0:    %{name}-%{version}.tar.gz
8 Requires(post): /sbin/ldconfig
9 Requires(postun): /sbin/ldconfig
10 BuildRequires:  pkgconfig(glib-2.0)
11 BuildRequires:  pkgconfig(dbus-1)
12 BuildRequires:  pkgconfig(mm-player)
13 BuildRequires:  pkgconfig(mm-common)
14 BuildRequires:  pkgconfig(dlog)
15 BuildRequires:  pkgconfig(vconf)
16 BuildRequires:  pkgconfig(ecore)
17 BuildRequires:  pkgconfig(openssl)
18
19 BuildRequires:  cmake
20
21 %description
22 Text To Speech client library and daemon.
23
24
25 %package devel
26 Summary:    Text To Speech header files for TTS development
27 Group:      libdevel
28 Requires:   %{name} = %{version}-%{release}
29
30 %description devel
31 Text To Speech header files for TTS development.
32
33
34 %prep
35 %setup -q -n %{name}-%{version}
36
37
38 %build
39 cmake . -DCMAKE_INSTALL_PREFIX=/usr
40 make %{?jobs:-j%jobs}
41
42 %install
43 rm -rf %{buildroot}
44 %make_install
45
46
47
48
49 %post -p /sbin/ldconfig
50
51 %postun -p /sbin/ldconfig
52
53
54
55 %files
56 %defattr(-,root,root,-)
57 %{_libdir}/lib*.so
58 %{_libdir}/voice/tts/1.0/ttsd.conf
59 %{_bindir}/tts-daemon
60
61
62 %files devel
63 %defattr(-,root,root,-)
64 %{_libdir}/pkgconfig/tts.pc
65 %{_libdir}/pkgconfig/tts-setting.pc
66 %{_includedir}/tts.h
67 %{_includedir}/tts_setting.h
68 %{_includedir}/ttsp.h