]> git.pld-linux.org Git - packages/espeak-ng.git/blame - espeak-ng.spec
- updated to 1.51.1
[packages/espeak-ng.git] / espeak-ng.spec
CommitLineData
9f31332c
JB
1Summary: eSpeak NG - multi-lingual software speech synthesizer
2Summary(pl.UTF-8): eSpeak NG - wielojęzyczny programowy syntezator mowy
3Name: espeak-ng
24baa3bd 4Version: 1.51.1
9f31332c
JB
5Release: 1
6License: GPL v3+
7Group: Applications/Sound
24baa3bd 8#Source0Download: https://github.com/espeak-ng/espeak-ng/tags
c82e67c1 9Source0: https://github.com/espeak-ng/espeak-ng/archive/%{version}/%{name}-%{version}.tar.gz
24baa3bd 10# Source0-md5: 15a6eb54e117348821f06ae039ac1a18
9f31332c 11URL: https://github.com/espeak-ng/espeak-ng/
61047c04
JB
12BuildRequires: autoconf >= 2.63
13BuildRequires: automake >= 1:1.11
9f31332c 14BuildRequires: gcc >= 5:3.2
61047c04 15BuildRequires: libtool >= 2:2
9f31332c
JB
16BuildRequires: pcaudiolib-devel
17BuildRequires: ronn
18BuildRequires: sonic-devel
19Requires: %{name}-libs = %{version}-%{release}
c82e67c1
JB
20Obsoletes: espeak < 1.49
21Obsoletes: speak < 1.16
9f31332c
JB
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25The eSpeak NG (Next Generation) Text-to-Speech program is an open
26source speech synthesizer that supports 95 languages and accents. It
27is based on the eSpeak engine created by Jonathan Duddington. It uses
28spectral formant synthesis by default which sounds robotic, but can be
29configured to use Klatt formant synthesis or MBROLA to give it a more
30natural sound.
31
32%description -l pl.UTF-8
33eSpeak NG (następnej generacji) to mający otwarte źródła program do
34syntezy mowy, obsługujący 95 języków i akcentów. Jest oparty na
35silniku eSpeak napisanym przez Jonathana Duddingtona. Domyślnie używa
36spektralnej syntezy formantowej, która brzmi jak robot, ale może być
37skonfigurowany, aby używał syntezy formantowej Klatta lub syntezy
38MBROLA, aby brzmiał bardziej naturalnie.
39
40%package libs
41Summary: eSpeak shared libraries
42Summary(pl.UTF-8): eSpeak - biblioteki
43Group: Libraries
c82e67c1 44Obsoletes: speak-libs < 1.16
9f31332c
JB
45
46%description libs
47eSpeak shared libraries.
48
49%description libs -l pl.UTF-8
50eSpeak - biblioteki dzielone.
51
52%package devel
53Summary: eSpeak NG - development files
54Summary(pl.UTF-8): eSpeak NG - pliki dla programistów
55Group: Development/Libraries
56Requires: %{name}-libs = %{version}-%{release}
57
58%description devel
59eSpeak NG - development files.
60
61%description devel -l pl.UTF-8
62eSpeak NG - pliki dla programistów.
63
64%package static
65Summary: eSpeak NG - static libraries
66Summary(pl.UTF-8): eSpeak NG - biblioteki statyczne
67Group: Development/Libraries
68Requires: %{name}-devel = %{version}-%{release}
69
70%description static
71eSpeak NG - static libraries.
72
73%description static -l pl.UTF-8
74eSpeak NG - biblioteki statyczne.
75
76%package -n vim-syntax-espeak
77Summary: Vim syntax rules for eSpeak files
78Summary(pl.UTF-8): Reguły składni Vima dla plików eSpeaka
79Group: Applications/Editors
80Requires: vim-rt
81
82%description -n vim-syntax-espeak
83Vim syntax rules for eSpeak files.
84
85%description -n vim-syntax-espeak -l pl.UTF-8
86Reguł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
107rm -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
123rm -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
This page took 0.124454 seconds and 4 git commands to generate.