1 Summary: eSpeak NG - multi-lingual software speech synthesizer
2 Summary(pl.UTF-8): eSpeak NG - wielojęzyczny programowy syntezator mowy
7 Group: Applications/Sound
8 #Source0Download: https://github.com/espeak-ng/espeak-ng/tags
9 Source0: https://github.com/espeak-ng/espeak-ng/archive/%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5: 15a6eb54e117348821f06ae039ac1a18
11 URL: https://github.com/espeak-ng/espeak-ng/
12 BuildRequires: autoconf >= 2.63
13 BuildRequires: automake >= 1:1.11
14 BuildRequires: gcc >= 5:3.2
15 BuildRequires: libtool >= 2:2
16 BuildRequires: pcaudiolib-devel
18 BuildRequires: sonic-devel
19 Requires: %{name}-libs = %{version}-%{release}
20 Obsoletes: espeak < 1.49
21 Obsoletes: speak < 1.16
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 The eSpeak NG (Next Generation) Text-to-Speech program is an open
26 source speech synthesizer that supports 95 languages and accents. It
27 is based on the eSpeak engine created by Jonathan Duddington. It uses
28 spectral formant synthesis by default which sounds robotic, but can be
29 configured to use Klatt formant synthesis or MBROLA to give it a more
32 %description -l pl.UTF-8
33 eSpeak NG (następnej generacji) to mający otwarte źródła program do
34 syntezy mowy, obsługujący 95 języków i akcentów. Jest oparty na
35 silniku eSpeak napisanym przez Jonathana Duddingtona. Domyślnie używa
36 spektralnej syntezy formantowej, która brzmi jak robot, ale może być
37 skonfigurowany, aby używał syntezy formantowej Klatta lub syntezy
38 MBROLA, aby brzmiał bardziej naturalnie.
41 Summary: eSpeak shared libraries
42 Summary(pl.UTF-8): eSpeak - biblioteki
44 Obsoletes: speak-libs < 1.16
47 eSpeak shared libraries.
49 %description libs -l pl.UTF-8
50 eSpeak - biblioteki dzielone.
53 Summary: eSpeak NG - development files
54 Summary(pl.UTF-8): eSpeak NG - pliki dla programistów
55 Group: Development/Libraries
56 Requires: %{name}-libs = %{version}-%{release}
59 eSpeak NG - development files.
61 %description devel -l pl.UTF-8
62 eSpeak NG - pliki dla programistów.
65 Summary: eSpeak NG - static libraries
66 Summary(pl.UTF-8): eSpeak NG - biblioteki statyczne
67 Group: Development/Libraries
68 Requires: %{name}-devel = %{version}-%{release}
71 eSpeak NG - static libraries.
73 %description static -l pl.UTF-8
74 eSpeak NG - biblioteki statyczne.
76 %package -n vim-syntax-espeak
77 Summary: Vim syntax rules for eSpeak files
78 Summary(pl.UTF-8): Reguły składni Vima dla plików eSpeaka
79 Group: Applications/Editors
82 %description -n vim-syntax-espeak
83 Vim syntax rules for eSpeak files.
85 %description -n vim-syntax-espeak -l pl.UTF-8
86 Reguły składni Vima dla plików eSpeaka.
98 --disable-silent-rules \
103 # parallel build fails on data
107 rm -rf $RPM_BUILD_ROOT
110 DESTDIR=$RPM_BUILD_ROOT \
111 vim_addons_ftdetectdir=%{_datadir}/vim/vimfiles/ftdetect \
112 vim_addons_syntaxdir=%{_datadir}/vim/vimfiles/syntax
114 # obsoleted by pkg-config
115 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libespeak-ng*.la
116 # allow coexistence with espeak
117 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libespeak.la
118 %{__rm} -r $RPM_BUILD_ROOT%{_includedir}/espeak
119 # no vim-addon-manager in PLD
120 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/vim/registry
123 rm -rf $RPM_BUILD_ROOT
125 %post libs -p /sbin/ldconfig
126 %postun libs -p /sbin/ldconfig
129 %defattr(644,root,root,755)
130 %doc CHANGELOG.md COPYING.{BSD2,UCD} README.md docs/{*.md,images,languages,phonemes}
131 %attr(755,root,root) %{_bindir}/espeak
132 %attr(755,root,root) %{_bindir}/espeak-ng
133 %attr(755,root,root) %{_bindir}/speak
134 %attr(755,root,root) %{_bindir}/speak-ng
135 %{_datadir}/%{name}-data
136 %{_mandir}/man1/espeak-ng.1*
137 %{_mandir}/man1/speak-ng.1*
140 %defattr(644,root,root,755)
141 %attr(755,root,root) %{_libdir}/libespeak-ng.so.*.*.*
142 %attr(755,root,root) %ghost %{_libdir}/libespeak-ng.so.1
145 %defattr(644,root,root,755)
146 %attr(755,root,root) %{_libdir}/libespeak-ng.so
147 %{_includedir}/espeak-ng
148 %{_pkgconfigdir}/espeak-ng.pc
151 %defattr(644,root,root,755)
152 %{_libdir}/libespeak-ng.a
154 %files -n vim-syntax-espeak
155 %defattr(644,root,root,755)
156 %{_datadir}/vim/vimfiles/ftdetect/espeakfiletype.vim
157 %{_datadir}/vim/vimfiles/syntax/espeaklist.vim
158 %{_datadir}/vim/vimfiles/syntax/espeakrules.vim