]>
Commit | Line | Data |
---|---|---|
9f31332c JB |
1 | Summary: eSpeak NG - multi-lingual software speech synthesizer |
2 | Summary(pl.UTF-8): eSpeak NG - wielojęzyczny programowy syntezator mowy | |
3 | Name: espeak-ng | |
24baa3bd | 4 | Version: 1.51.1 |
9f31332c JB |
5 | Release: 1 |
6 | License: GPL v3+ | |
7 | Group: Applications/Sound | |
24baa3bd | 8 | #Source0Download: https://github.com/espeak-ng/espeak-ng/tags |
c82e67c1 | 9 | Source0: https://github.com/espeak-ng/espeak-ng/archive/%{version}/%{name}-%{version}.tar.gz |
24baa3bd | 10 | # Source0-md5: 15a6eb54e117348821f06ae039ac1a18 |
9f31332c | 11 | URL: https://github.com/espeak-ng/espeak-ng/ |
61047c04 JB |
12 | BuildRequires: autoconf >= 2.63 |
13 | BuildRequires: automake >= 1:1.11 | |
9f31332c | 14 | BuildRequires: gcc >= 5:3.2 |
61047c04 | 15 | BuildRequires: libtool >= 2:2 |
9f31332c JB |
16 | BuildRequires: pcaudiolib-devel |
17 | BuildRequires: ronn | |
18 | BuildRequires: sonic-devel | |
19 | Requires: %{name}-libs = %{version}-%{release} | |
c82e67c1 JB |
20 | Obsoletes: espeak < 1.49 |
21 | Obsoletes: speak < 1.16 | |
9f31332c JB |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
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 | |
30 | natural sound. | |
31 | ||
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. | |
39 | ||
40 | %package libs | |
41 | Summary: eSpeak shared libraries | |
42 | Summary(pl.UTF-8): eSpeak - biblioteki | |
43 | Group: Libraries | |
c82e67c1 | 44 | Obsoletes: speak-libs < 1.16 |
9f31332c JB |
45 | |
46 | %description libs | |
47 | eSpeak shared libraries. | |
48 | ||
49 | %description libs -l pl.UTF-8 | |
50 | eSpeak - biblioteki dzielone. | |
51 | ||
52 | %package devel | |
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} | |
57 | ||
58 | %description devel | |
59 | eSpeak NG - development files. | |
60 | ||
61 | %description devel -l pl.UTF-8 | |
62 | eSpeak NG - pliki dla programistów. | |
63 | ||
64 | %package static | |
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} | |
69 | ||
70 | %description static | |
71 | eSpeak NG - static libraries. | |
72 | ||
73 | %description static -l pl.UTF-8 | |
74 | eSpeak NG - biblioteki statyczne. | |
75 | ||
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 | |
80 | Requires: vim-rt | |
81 | ||
82 | %description -n vim-syntax-espeak | |
83 | Vim syntax rules for eSpeak files. | |
84 | ||
85 | %description -n vim-syntax-espeak -l pl.UTF-8 | |
86 | Reguły składni Vima dla plików eSpeaka. | |
87 | ||
88 | %prep | |
c82e67c1 | 89 | %setup -q |
9f31332c JB |
90 | |
91 | %build | |
61047c04 JB |
92 | %{__libtoolize} |
93 | %{__aclocal} -I m4 | |
94 | %{__autoconf} | |
95 | %{__autoheader} | |
96 | %{__automake} | |
9f31332c | 97 | %configure \ |
61047c04 JB |
98 | --disable-silent-rules \ |
99 | --with-extdict-ru \ | |
100 | --with-extdict-zh \ | |
101 | --with-extdict-zhy | |
9f31332c JB |
102 | |
103 | # parallel build fails on data | |
104 | %{__make} -j1 | |
105 | ||
106 | %install | |
107 | rm -rf $RPM_BUILD_ROOT | |
108 | ||
109 | %{__make} install \ | |
110 | DESTDIR=$RPM_BUILD_ROOT \ | |
111 | vim_addons_ftdetectdir=%{_datadir}/vim/vimfiles/ftdetect \ | |
112 | vim_addons_syntaxdir=%{_datadir}/vim/vimfiles/syntax | |
113 | ||
114 | # obsoleted by pkg-config | |
61047c04 | 115 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libespeak-ng*.la |
9f31332c JB |
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 | |
121 | ||
122 | %clean | |
123 | rm -rf $RPM_BUILD_ROOT | |
124 | ||
125 | %post libs -p /sbin/ldconfig | |
126 | %postun libs -p /sbin/ldconfig | |
127 | ||
128 | %files | |
129 | %defattr(644,root,root,755) | |
c82e67c1 | 130 | %doc CHANGELOG.md COPYING.{BSD2,UCD} README.md docs/{*.md,images,languages,phonemes} |
9f31332c JB |
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* | |
138 | ||
139 | %files libs | |
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 | |
143 | ||
144 | %files devel | |
145 | %defattr(644,root,root,755) | |
146 | %attr(755,root,root) %{_libdir}/libespeak-ng.so | |
147 | %{_includedir}/espeak-ng | |
148 | %{_pkgconfigdir}/espeak-ng.pc | |
149 | ||
150 | %files static | |
151 | %defattr(644,root,root,755) | |
152 | %{_libdir}/libespeak-ng.a | |
153 | ||
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 |