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/releases
9 # broken release tarball (many missing files)
10 #Source0: https://github.com/espeak-ng/espeak-ng/releases/download/%{version}/%{name}-%{version}.tar.gz
12 Source0: https://github.com/espeak-ng/espeak-ng/archive/%{version}/%{name}-%{version}.tar.gz
13 # Source0-md5: 00852ea6657bef6c9fcf5d9ce908be7b
14 URL: https://github.com/espeak-ng/espeak-ng/
15 BuildRequires: autoconf >= 2.63
16 BuildRequires: automake >= 1:1.11
17 BuildRequires: gcc >= 5:3.2
18 BuildRequires: libtool >= 2:2
19 BuildRequires: pcaudiolib-devel
21 BuildRequires: sonic-devel
22 Requires: %{name}-libs = %{version}-%{release}
23 Obsoletes: espeak < 1.49
24 Obsoletes: speak < 1.16
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 The eSpeak NG (Next Generation) Text-to-Speech program is an open
29 source speech synthesizer that supports 95 languages and accents. It
30 is based on the eSpeak engine created by Jonathan Duddington. It uses
31 spectral formant synthesis by default which sounds robotic, but can be
32 configured to use Klatt formant synthesis or MBROLA to give it a more
35 %description -l pl.UTF-8
36 eSpeak NG (następnej generacji) to mający otwarte źródła program do
37 syntezy mowy, obsługujący 95 języków i akcentów. Jest oparty na
38 silniku eSpeak napisanym przez Jonathana Duddingtona. Domyślnie używa
39 spektralnej syntezy formantowej, która brzmi jak robot, ale może być
40 skonfigurowany, aby używał syntezy formantowej Klatta lub syntezy
41 MBROLA, aby brzmiał bardziej naturalnie.
44 Summary: eSpeak shared libraries
45 Summary(pl.UTF-8): eSpeak - biblioteki
47 Obsoletes: speak-libs < 1.16
50 eSpeak shared libraries.
52 %description libs -l pl.UTF-8
53 eSpeak - biblioteki dzielone.
56 Summary: eSpeak NG - development files
57 Summary(pl.UTF-8): eSpeak NG - pliki dla programistów
58 Group: Development/Libraries
59 Requires: %{name}-libs = %{version}-%{release}
62 eSpeak NG - development files.
64 %description devel -l pl.UTF-8
65 eSpeak NG - pliki dla programistów.
68 Summary: eSpeak NG - static libraries
69 Summary(pl.UTF-8): eSpeak NG - biblioteki statyczne
70 Group: Development/Libraries
71 Requires: %{name}-devel = %{version}-%{release}
74 eSpeak NG - static libraries.
76 %description static -l pl.UTF-8
77 eSpeak NG - biblioteki statyczne.
79 %package -n vim-syntax-espeak
80 Summary: Vim syntax rules for eSpeak files
81 Summary(pl.UTF-8): Reguły składni Vima dla plików eSpeaka
82 Group: Applications/Editors
85 %description -n vim-syntax-espeak
86 Vim syntax rules for eSpeak files.
88 %description -n vim-syntax-espeak -l pl.UTF-8
89 Reguły składni Vima dla plików eSpeaka.
101 --disable-silent-rules \
106 # parallel build fails on data
110 rm -rf $RPM_BUILD_ROOT
113 DESTDIR=$RPM_BUILD_ROOT \
114 vim_addons_ftdetectdir=%{_datadir}/vim/vimfiles/ftdetect \
115 vim_addons_syntaxdir=%{_datadir}/vim/vimfiles/syntax
117 # obsoleted by pkg-config
118 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libespeak-ng*.la
119 # allow coexistence with espeak
120 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libespeak.la
121 %{__rm} -r $RPM_BUILD_ROOT%{_includedir}/espeak
122 # no vim-addon-manager in PLD
123 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/vim/registry
126 rm -rf $RPM_BUILD_ROOT
128 %post libs -p /sbin/ldconfig
129 %postun libs -p /sbin/ldconfig
132 %defattr(644,root,root,755)
133 %doc CHANGELOG.md COPYING.{BSD2,UCD} README.md docs/{*.md,images,languages,phonemes}
134 %attr(755,root,root) %{_bindir}/espeak
135 %attr(755,root,root) %{_bindir}/espeak-ng
136 %attr(755,root,root) %{_bindir}/speak
137 %attr(755,root,root) %{_bindir}/speak-ng
138 %{_datadir}/%{name}-data
139 %{_mandir}/man1/espeak-ng.1*
140 %{_mandir}/man1/speak-ng.1*
143 %defattr(644,root,root,755)
144 %attr(755,root,root) %{_libdir}/libespeak-ng.so.*.*.*
145 %attr(755,root,root) %ghost %{_libdir}/libespeak-ng.so.1
148 %defattr(644,root,root,755)
149 %attr(755,root,root) %{_libdir}/libespeak-ng.so
150 %{_includedir}/espeak-ng
151 %{_pkgconfigdir}/espeak-ng.pc
154 %defattr(644,root,root,755)
155 %{_libdir}/libespeak-ng.a
157 %files -n vim-syntax-espeak
158 %defattr(644,root,root,755)
159 %{_datadir}/vim/vimfiles/ftdetect/espeakfiletype.vim
160 %{_datadir}/vim/vimfiles/syntax/espeaklist.vim
161 %{_datadir}/vim/vimfiles/syntax/espeakrules.vim