2 Summary: Text To Speech client library and daemon
5 Group: Graphics & UI Framework/Voice Framework
7 Source0: %{name}-%{version}.tar.gz
8 Source1001: %{name}.manifest
9 Source1002: %{name}-devel.manifest
10 Requires(post): /sbin/ldconfig
11 Requires(postun): /sbin/ldconfig
12 BuildRequires: pkgconfig(aul)
13 BuildRequires: pkgconfig(capi-base-common)
14 BuildRequires: pkgconfig(capi-media-audio-io)
15 BuildRequires: pkgconfig(capi-system-info)
16 BuildRequires: pkgconfig(dbus-1)
17 BuildRequires: pkgconfig(dlog)
18 BuildRequires: pkgconfig(ecore)
19 BuildRequires: pkgconfig(glib-2.0)
20 BuildRequires: pkgconfig(libtzplatform-config)
21 BuildRequires: pkgconfig(libxml-2.0)
22 BuildRequires: pkgconfig(vconf)
28 Text To Speech client library and daemon.
32 Summary: Text To Speech header files for TTS development
34 Requires: %{name} = %{version}-%{release}
36 %package setting-devel
37 Summary: Text To Speech setting header files for TTS development
39 Requires: %{name} = %{version}-%{release}
42 Summary: Text To Speech engine header files for TTS development
44 Requires: %{name} = %{version}-%{release}
47 Text To Speech header files for TTS development.
49 %description setting-devel
50 Text To Speech setting header files for TTS development.
52 %description engine-devel
53 Text To Speech engine header files for TTS development.
57 %setup -q -n %{name}-%{version}
58 cp %{SOURCE1001} %{SOURCE1002} .
62 export CFLAGS="$CFLAGS -DTIZEN_ENGINEER_MODE"
63 export CXXFLAGS="$CXXFLAGS -DTIZEN_ENGINEER_MODE"
64 export FFLAGS="$FFLAGS -DTIZEN_ENGINEER_MODE"
66 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
67 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
68 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
71 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIBDIR=%{_libdir} -DINCLUDEDIR=%{_includedir} \
72 -DTZ_SYS_RO_SHARE=%TZ_SYS_RO_SHARE -DTZ_SYS_BIN=%TZ_SYS_BIN
78 mkdir -p %{buildroot}%{TZ_SYS_RO_SHARE}/license
79 install LICENSE %{buildroot}%{TZ_SYS_RO_SHARE}/license/%{name}
86 mkdir -p %{_libdir}/voice
88 mkdir -p %{TZ_SYS_RO_SHARE}/voice/test
90 %postun -p /sbin/ldconfig
93 %manifest %{name}.manifest
94 %defattr(-,root,root,-)
96 %{_bindir}/tts-daemon*
97 %{TZ_SYS_RO_SHARE}/voice/tts/1.0/tts-config.xml
98 %{TZ_SYS_RO_SHARE}/dbus-1/system-services/org.tizen.voice*
99 %{TZ_SYS_RO_SHARE}/voice/test/tts-test
100 %{TZ_SYS_RO_SHARE}/license/%{name}
101 /etc/dbus-1/system.d/tts-server.conf
104 %manifest %{name}-devel.manifest
105 %defattr(-,root,root,-)
106 %{_libdir}/pkgconfig/tts.pc
110 %defattr(-,root,root,-)
111 %{_libdir}/pkgconfig/tts-setting.pc
112 %{_includedir}/tts_setting.h
115 %defattr(-,root,root,-)
116 %{_libdir}/pkgconfig/tts-engine.pc
117 %{_includedir}/ttsp.h