Tizen 2.1 base
[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(ecore-file)
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 mkdir -p %{buildroot}/usr/share/license
45 %make_install
46
47 %post -p /sbin/ldconfig
48
49 %postun -p /sbin/ldconfig
50
51 %files
52 %manifest tts-server.manifest
53 %defattr(-,root,root,-)
54 %{_libdir}/lib*.so
55 %{_libdir}/voice/tts/1.0/ttsd.conf
56 %{_bindir}/tts-daemon
57 /usr/share/license/*
58
59 %files devel
60 %defattr(-,root,root,-)
61 %{_libdir}/pkgconfig/tts.pc
62 %{_libdir}/pkgconfig/tts-setting.pc
63 %{_includedir}/tts.h
64 %{_includedir}/tts_setting.h
65 %{_includedir}/ttsp.h