]>
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 | |
4 | Version: 1.49.1 | |
5 | Release: 1 | |
6 | License: GPL v3+ | |
7 | Group: Applications/Sound | |
8 | #Source0Download: https://github.com/espeak-ng/espeak-ng/releases | |
9 | Source0: https://github.com/espeak-ng/espeak-ng/releases/download/%{version}/%{name}-%{version}.tar.gz | |
10 | # Source0-md5: ce76fc552fe32087987d4c09354e4cb7 | |
11 | URL: https://github.com/espeak-ng/espeak-ng/ | |
12 | BuildRequires: gcc >= 5:3.2 | |
13 | BuildRequires: pcaudiolib-devel | |
14 | BuildRequires: ronn | |
15 | BuildRequires: sonic-devel | |
16 | Requires: %{name}-libs = %{version}-%{release} | |
17 | Obsoletes: espeak | |
18 | Obsoletes: speak | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | The eSpeak NG (Next Generation) Text-to-Speech program is an open | |
23 | source speech synthesizer that supports 95 languages and accents. It | |
24 | is based on the eSpeak engine created by Jonathan Duddington. It uses | |
25 | spectral formant synthesis by default which sounds robotic, but can be | |
26 | configured to use Klatt formant synthesis or MBROLA to give it a more | |
27 | natural sound. | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | eSpeak NG (następnej generacji) to mający otwarte źródła program do | |
31 | syntezy mowy, obsługujący 95 języków i akcentów. Jest oparty na | |
32 | silniku eSpeak napisanym przez Jonathana Duddingtona. Domyślnie używa | |
33 | spektralnej syntezy formantowej, która brzmi jak robot, ale może być | |
34 | skonfigurowany, aby używał syntezy formantowej Klatta lub syntezy | |
35 | MBROLA, aby brzmiał bardziej naturalnie. | |
36 | ||
37 | %package libs | |
38 | Summary: eSpeak shared libraries | |
39 | Summary(pl.UTF-8): eSpeak - biblioteki | |
40 | Group: Libraries | |
41 | Obsoletes: speak-libs | |
42 | ||
43 | %description libs | |
44 | eSpeak shared libraries. | |
45 | ||
46 | %description libs -l pl.UTF-8 | |
47 | eSpeak - biblioteki dzielone. | |
48 | ||
49 | %package devel | |
50 | Summary: eSpeak NG - development files | |
51 | Summary(pl.UTF-8): eSpeak NG - pliki dla programistów | |
52 | Group: Development/Libraries | |
53 | Requires: %{name}-libs = %{version}-%{release} | |
54 | ||
55 | %description devel | |
56 | eSpeak NG - development files. | |
57 | ||
58 | %description devel -l pl.UTF-8 | |
59 | eSpeak NG - pliki dla programistów. | |
60 | ||
61 | %package static | |
62 | Summary: eSpeak NG - static libraries | |
63 | Summary(pl.UTF-8): eSpeak NG - biblioteki statyczne | |
64 | Group: Development/Libraries | |
65 | Requires: %{name}-devel = %{version}-%{release} | |
66 | ||
67 | %description static | |
68 | eSpeak NG - static libraries. | |
69 | ||
70 | %description static -l pl.UTF-8 | |
71 | eSpeak NG - biblioteki statyczne. | |
72 | ||
73 | %package -n vim-syntax-espeak | |
74 | Summary: Vim syntax rules for eSpeak files | |
75 | Summary(pl.UTF-8): Reguły składni Vima dla plików eSpeaka | |
76 | Group: Applications/Editors | |
77 | Requires: vim-rt | |
78 | ||
79 | %description -n vim-syntax-espeak | |
80 | Vim syntax rules for eSpeak files. | |
81 | ||
82 | %description -n vim-syntax-espeak -l pl.UTF-8 | |
83 | Reguły składni Vima dla plików eSpeaka. | |
84 | ||
85 | %prep | |
86 | %setup -q | |
87 | ||
88 | %build | |
89 | %configure \ | |
90 | --disable-silent-rules | |
91 | ||
92 | # parallel build fails on data | |
93 | %{__make} -j1 | |
94 | ||
95 | %install | |
96 | rm -rf $RPM_BUILD_ROOT | |
97 | ||
98 | %{__make} install \ | |
99 | DESTDIR=$RPM_BUILD_ROOT \ | |
100 | vim_addons_ftdetectdir=%{_datadir}/vim/vimfiles/ftdetect \ | |
101 | vim_addons_syntaxdir=%{_datadir}/vim/vimfiles/syntax | |
102 | ||
103 | # obsoleted by pkg-config | |
104 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libespeak-ng.la | |
105 | # allow coexistence with espeak | |
106 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libespeak.la | |
107 | %{__rm} -r $RPM_BUILD_ROOT%{_includedir}/espeak | |
108 | # no vim-addon-manager in PLD | |
109 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/vim/registry | |
110 | ||
111 | %clean | |
112 | rm -rf $RPM_BUILD_ROOT | |
113 | ||
114 | %post libs -p /sbin/ldconfig | |
115 | %postun libs -p /sbin/ldconfig | |
116 | ||
117 | %files | |
118 | %defattr(644,root,root,755) | |
119 | %doc CHANGELOG.md COPYING.{BSD2,IEEE} ChangeLog README.md docs/{*.html,images} | |
120 | %attr(755,root,root) %{_bindir}/espeak | |
121 | %attr(755,root,root) %{_bindir}/espeak-ng | |
122 | %attr(755,root,root) %{_bindir}/speak | |
123 | %attr(755,root,root) %{_bindir}/speak-ng | |
124 | %{_datadir}/%{name}-data | |
125 | %{_mandir}/man1/espeak-ng.1* | |
126 | %{_mandir}/man1/speak-ng.1* | |
127 | ||
128 | %files libs | |
129 | %defattr(644,root,root,755) | |
130 | %attr(755,root,root) %{_libdir}/libespeak-ng.so.*.*.* | |
131 | %attr(755,root,root) %ghost %{_libdir}/libespeak-ng.so.1 | |
132 | ||
133 | %files devel | |
134 | %defattr(644,root,root,755) | |
135 | %attr(755,root,root) %{_libdir}/libespeak-ng.so | |
136 | %{_includedir}/espeak-ng | |
137 | %{_pkgconfigdir}/espeak-ng.pc | |
138 | ||
139 | %files static | |
140 | %defattr(644,root,root,755) | |
141 | %{_libdir}/libespeak-ng.a | |
142 | ||
143 | %files -n vim-syntax-espeak | |
144 | %defattr(644,root,root,755) | |
145 | %{_datadir}/vim/vimfiles/ftdetect/espeakfiletype.vim | |
146 | %{_datadir}/vim/vimfiles/syntax/espeaklist.vim | |
147 | %{_datadir}/vim/vimfiles/syntax/espeakrules.vim |