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)
23 BuildRequires: pkgconfig(bundle)
29 Text To Speech client library and daemon.
33 Summary: Text To Speech header files for TTS development
35 Requires: %{name} = %{version}-%{release}
37 %package setting-devel
38 Summary: Text To Speech setting header files for TTS development
40 Requires: %{name} = %{version}-%{release}
43 Summary: Text To Speech engine header files for TTS development
45 Requires: %{name} = %{version}-%{release}
48 Text To Speech header files for TTS development.
50 %description setting-devel
51 Text To Speech setting header files for TTS development.
53 %description engine-devel
54 Text To Speech engine header files for TTS development.
58 %setup -q -n %{name}-%{version}
59 cp %{SOURCE1001} %{SOURCE1002} .
63 export CFLAGS="$CFLAGS -DTIZEN_ENGINEER_MODE"
64 export CXXFLAGS="$CXXFLAGS -DTIZEN_ENGINEER_MODE"
65 export FFLAGS="$FFLAGS -DTIZEN_ENGINEER_MODE"
67 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
68 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
69 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
72 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIBDIR=%{_libdir} -DINCLUDEDIR=%{_includedir} \
73 -DTZ_SYS_RO_SHARE=%TZ_SYS_RO_SHARE -DTZ_SYS_BIN=%TZ_SYS_BIN
79 mkdir -p %{buildroot}%{TZ_SYS_RO_SHARE}/license
80 install LICENSE %{buildroot}%{TZ_SYS_RO_SHARE}/license/%{name}
87 mkdir -p %{_libdir}/voice
89 mkdir -p %{TZ_SYS_RO_SHARE}/voice/test
91 %postun -p /sbin/ldconfig
94 %manifest %{name}.manifest
95 %defattr(-,root,root,-)
97 %{TZ_SYS_RO_SHARE}/upgrade/scripts/501.tts_upgrade_24to30.sh
98 %{TZ_SYS_RO_SHARE}/voice/tts/1.0/tts-config.xml
99 %{TZ_SYS_RO_SHARE}/dbus-1/services/org.tizen.voice*
100 %{TZ_SYS_RO_SHARE}/voice/test/tts-test
101 %{TZ_SYS_RO_SHARE}/license/%{name}
102 /etc/dbus-1/system.d/tts-server.conf
105 %manifest %{name}-devel.manifest
106 %defattr(-,root,root,-)
107 %{_libdir}/pkgconfig/tts.pc
111 %defattr(-,root,root,-)
112 %{_libdir}/pkgconfig/tts-setting.pc
113 %{_includedir}/tts_setting.h
116 %defattr(-,root,root,-)
117 %{_libdir}/pkgconfig/tts-engine.pc
118 %{_includedir}/ttse.h