]> git.pld-linux.org Git - packages/speech-dispatcher.git/blame - speech-dispatcher.spec
- disable voxin module, it needs libvoxin which we don't have, rel 3
[packages/speech-dispatcher.git] / speech-dispatcher.spec
CommitLineData
4e834987
JB
1# TODO:
2# - think about default configuration (DefaultModule is espeak, which is not loaded by default)
4e834987 3# - common-lisp and guile bindings (src/api/{cl,guile})
de0cb8a8 4#
28b37384 5# Conditional build:
6f2992de 6%bcond_with baratinoo # Voxygen Baratinoo synthesizer support (proprietary)
8b9cbd5f 7%bcond_without espeak # eSpeak synthesizer support
4e834987 8%bcond_without espeak_ng # eSpeak-NG synthesizer support
8b9cbd5f 9%bcond_without flite # Flite synthesizer support
6f2992de 10%bcond_with ibmtts # IBM TTS synthesizer support (proprietary)
8b9cbd5f 11%bcond_without ivona # Ivona synthesizer support
6f2992de 12%bcond_with kali # Kali synthesizer support (proprietary?)
f0bc316e 13%bcond_without svox # SVOX Pico synthesizer support
93ca17ef 14%bcond_without alsa # ALSA audio output supprot
73bed315 15%bcond_without libao # libao audio output supprot
4cf58c26 16%bcond_without nas # NAS audio output support
131d6ec3 17%bcond_with voxin # Voxin output support
835877b3 18%bcond_without pulseaudio # pulse audio output support
73bed315 19%bcond_without python # Python 3 binding (python 2.x no longer supported)
de0cb8a8 20%bcond_without static_libs # don't build static libraries
28b37384 21#
22Summary: A device independent layer for speech synthesis
de0cb8a8 23Summary(pl.UTF-8): Niezależna od urządzenia warstwa obsługująca syntezę mowy
28b37384 24Name: speech-dispatcher
6e06a238 25Version: 0.10.2
131d6ec3 26Release: 3
44baac39 27License: LGPL v2.1+ (library and audio drivers), GPL v2+ (programs and speech modules)
de0cb8a8 28Group: Applications/Sound
6f2992de
JB
29#Source0Download: https://github.com/brailcom/speechd/releases
30Source0: https://github.com/brailcom/speechd/releases/download/%{version}/%{name}-%{version}.tar.gz
6e06a238 31# Source0-md5: ace54a15e1d235d7dbdac3ac99004a5b
162dab2c 32Source1: %{name}.init
33Source2: %{name}.sysconfig
dbfacddb 34Source3: %{name}.tmpfiles
835877b3 35Patch0: %{name}-info.patch
07f62659 36URL: https://freebsoft.org/speechd
44e46910 37%{?with_alsa:BuildRequires: alsa-lib-devel}
73bed315 38BuildRequires: autoconf >= 2.63
168868f0
JB
39# for __pycache__ support (python 3.2+)
40BuildRequires: automake >= 1:1.13
73bed315 41BuildRequires: dotconf-devel >= 1.3
44e46910 42%{?with_espeak:BuildRequires: espeak-devel}
4e834987 43%{?with_espeak_ng:BuildRequires: espeak-ng-devel}
6f2992de
JB
44BuildRequires: gettext-tools >= 0.19.8
45BuildRequires: glib2-devel >= 1:2.36
46BuildRequires: help2man
44e46910 47%{?with_flite:BuildRequires: flite-devel}
48%{?with_ibmtts:BuildRequires: ibmtts-devel}
73bed315 49BuildRequires: intltool >= 0.40.0
73bed315 50%{?with_libao:BuildRequires: libao-devel}
44baac39 51%{?with_ivona:BuildRequires: libdumbtts-devel}
6e06a238 52BuildRequires: libltdl-devel >= 2:2.2
a6cb3d1a 53BuildRequires: libsndfile-devel >= 1.0.2
6f2992de 54BuildRequires: libstdc++-devel
73bed315 55BuildRequires: libtool >= 2:2.2
131d6ec3 56%{?with_voxin:BuildRequires: libvoxin-devel}
44e46910 57%{?with_nas:BuildRequires: nas-devel}
3da736bf 58BuildRequires: pkgconfig
59135ce9 59%{?with_pulseaudio:BuildRequires: pulseaudio-devel}
73bed315 60%{?with_python:BuildRequires: python3-devel >= 1:3.2}
6f2992de 61%{?with_python:BuildRequires: python3-pyxdg}
93ca17ef 62BuildRequires: rpm-pythonprov
7f679c05 63BuildRequires: rpmbuild(macros) >= 1.527
f0bc316e 64%{?with_svox:BuildRequires: svox-devel}
93ca17ef 65BuildRequires: texinfo
73bed315 66%{?with_nas:BuildRequires: xorg-lib-libXau-devel}
59135ce9
ER
67Requires(post,preun): /sbin/chkconfig
68Requires(postun): /usr/sbin/groupdel
69Requires(postun): /usr/sbin/userdel
93ca17ef
JB
70Requires(pre): /bin/id
71Requires(pre): /usr/bin/getgid
72Requires(pre): /usr/sbin/groupadd
73Requires(pre): /usr/sbin/useradd
93ca17ef 74Requires: %{name}-libs = %{version}-%{release}
73bed315 75Requires: dotconf >= 1.3
a6cb3d1a 76Requires: libsndfile >= 1.0.2
6f2992de
JB
77# for spd-conf
78Requires: python3-%{name} = %{version}-%{release}
93ca17ef 79Requires: rc-scripts
162dab2c 80Provides: group(%{name})
81Provides: user(%{name})
28b37384 82BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
83
84%description
85Speech Dispatcher provides a device independent layer for speech
86synthesis.
87
de0cb8a8
JB
88%description -l pl.UTF-8
89Speech Dispatcher zapewnia niezależną od urządzenia warstwę
90obsługującą syntezę mowy.
28b37384 91
73bed315
JB
92%package audio-libao
93Summary: libao audio output module for Speech Dispatcher
94Summary(pl.UTF-8): Moduł wyjścia dźwięku libao dla Speech Dispatchera
44baac39 95License: LGPL v2.1+
73bed315
JB
96Group: Applications/Sound
97Requires: %{name} = %{version}-%{release}
98
99%description audio-libao
100libao audio output module for Speech Dispatcher.
101
102%description audio-libao -l pl.UTF-8
103Moduł wyjścia dźwięku libao dla Speech Dispatchera.
104
105%package audio-nas
106Summary: NAS audio output module for Speech Dispatcher
107Summary(pl.UTF-8): Moduł wyjścia dźwięku NAS dla Speech Dispatchera
44baac39 108License: LGPL v2.1+
73bed315
JB
109Group: Applications/Sound
110Requires: %{name} = %{version}-%{release}
111
112%description audio-nas
113NAS audio output module for Speech Dispatcher.
114
115%description audio-nas -l pl.UTF-8
116Moduł wyjścia dźwięku NAS dla Speech Dispatchera.
117
118%package audio-pulse
119Summary: PulseAudio audio output module for Speech Dispatcher
120Summary(pl.UTF-8): Moduł wyjścia dźwięku PulseAudio dla Speech Dispatchera
44baac39 121License: LGPL v2.1+
73bed315
JB
122Group: Applications/Sound
123Requires: %{name} = %{version}-%{release}
124
125%description audio-pulse
126PulseAudio audio output module for Speech Dispatcher.
127
128%description audio-pulse -l pl.UTF-8
129Moduł wyjścia dźwięku PulseAudio dla Speech Dispatchera.
130
6f2992de
JB
131%package module-baratinoo
132Summary: Baratinoo synthesizer module for Speech Dispatcher
133Summary(pl.UTF-8): Moduł syntezatora Baratinoo dla Speech Dispatchera
134Group: Applications/Sound
135Requires: %{name} = %{version}-%{release}
136
137%description module-baratinoo
138Baratinoo synthesizer module for Speech Dispatcher.
139
140%description module-baratinoo -l pl.UTF-8
141Moduł syntezatora Baratinoo dla Speech Dispatchera.
142
4cf58c26 143%package module-espeak
8b9cbd5f 144Summary: eSpeak synthesizer module for Speech Dispatcher
4cf58c26
JB
145Summary(pl.UTF-8): Moduł syntezatora eSpeak dla Speech Dispatchera
146Group: Applications/Sound
147Requires: %{name} = %{version}-%{release}
148
149%description module-espeak
8b9cbd5f 150eSpeak synthesizer module for Speech Dispatcher.
4cf58c26
JB
151
152%description module-espeak -l pl.UTF-8
153Moduł syntezatora eSpeak dla Speech Dispatchera.
154
4e834987
JB
155%package module-espeak-ng
156Summary: eSpeak NG synthesizer module for Speech Dispatcher
157Summary(pl.UTF-8): Moduł syntezatora eSpeak NG dla Speech Dispatchera
158Group: Applications/Sound
159Requires: %{name} = %{version}-%{release}
160
161%description module-espeak-ng
162eSpeak NG synthesizer module for Speech Dispatcher.
163
164%description module-espeak-ng -l pl.UTF-8
165Moduł syntezatora eSpeak NG dla Speech Dispatchera.
166
4cf58c26 167%package module-flite
8b9cbd5f 168Summary: Flite synthesizer module for Speech Dispatcher
4cf58c26
JB
169Summary(pl.UTF-8): Moduł syntezatora Flite dla Speech Dispatchera
170Group: Applications/Sound
171Requires: %{name} = %{version}-%{release}
172
173%description module-flite
8b9cbd5f 174Flite synthesizer module for Speech Dispatcher.
4cf58c26
JB
175
176%description module-flite -l pl.UTF-8
177Moduł syntezatora Flite dla Speech Dispatchera.
178
179%package module-ibmtts
8b9cbd5f 180Summary: IBM TTS synthesizer module for Speech Dispatcher
4cf58c26
JB
181Summary(pl.UTF-8): Moduł syntezatora IBM TTS dla Speech Dispatchera
182Group: Applications/Sound
183Requires: %{name} = %{version}-%{release}
184
185%description module-ibmtts
8b9cbd5f 186IBM TTS synthesizer module for Speech Dispatcher.
4cf58c26
JB
187
188%description module-ibmtts -l pl.UTF-8
189Moduł syntezatora IBM TTS dla Speech Dispatchera.
190
191%package module-ivona
8b9cbd5f 192Summary: Ivona synthesizer module for Speech Dispatcher
4cf58c26
JB
193Summary(pl.UTF-8): Moduł syntezatora Ivona dla Speech Dispatchera
194Group: Applications/Sound
195Requires: %{name} = %{version}-%{release}
196
197%description module-ivona
8b9cbd5f 198Ivona synthesizer module for Speech Dispatcher.
4cf58c26
JB
199
200%description module-ivona -l pl.UTF-8
201Moduł syntezatora Ivona dla Speech Dispatchera.
202
6f2992de
JB
203%package module-kali
204Summary: Kali synthesizer module for Speech Dispatcher
205Summary(pl.UTF-8): Moduł syntezatora Kali dla Speech Dispatchera
206Group: Applications/Sound
207Requires: %{name} = %{version}-%{release}
208
209%description module-kali
210Kali synthesizer module for Speech Dispatcher.
211
212%description module-kali -l pl.UTF-8
213Moduł syntezatora Kali dla Speech Dispatchera.
214
f0bc316e
JB
215%package module-pico
216Summary: SVOX Pico synthesizer module for Speech Dispatcher
217Summary(pl.UTF-8): Moduł syntezatora SVOX Pico dla Speech Dispatchera
218Group: Applications/Sound
219Requires: %{name} = %{version}-%{release}
220
221%description module-pico
222SVOX Pico synthesizer module for Speech Dispatcher.
223
224%description module-pico -l pl.UTF-8
225Moduł syntezatora SVOX Pico dla Speech Dispatchera.
226
6e06a238
JB
227%package module-voxin
228Summary: Voxin synthesizer module for Speech Dispatcher
229Summary(pl.UTF-8): Moduł syntezatora Voxin dla Speech Dispatchera
230Group: Applications/Sound
231Requires: %{name} = %{version}-%{release}
232
233%description module-voxin
234Voxin synthesizer module for Speech Dispatcher.
235
236%description module-voxin -l pl.UTF-8
237Moduł syntezatora Voxin dla Speech Dispatchera.
238
93ca17ef
JB
239%package libs
240Summary: Speech Dispatcher client library
241Summary(pl.UTF-8): Biblioteka kliencka Speech Dispatchera
44baac39 242License: LGPL v2.1+
93ca17ef 243Group: Libraries
6f2992de 244Requires: glib2 >= 1:2.36
93ca17ef
JB
245
246%description libs
247Speech Dispatcher provides a device independent layer for speech
248synthesis. This package contains client library.
249
250%description libs -l pl.UTF-8
251Speech Dispatcher zapewnia niezależną od urządzenia warstwę
252obsługującą syntezę mowy. Ten pakiet zawiera biblitotekę kliencką.
253
28b37384 254%package devel
de0cb8a8
JB
255Summary: Header files for speech-dispatcher library
256Summary(pl.UTF-8): Pliki nagłówkowe biblioteki speech-dispatcher
44baac39 257License: LGPL v2.1+
28b37384 258Group: Development/Libraries
93ca17ef 259Requires: %{name}-libs = %{version}-%{release}
6f2992de 260Requires: glib2-devel >= 1:2.36
28b37384 261
262%description devel
de0cb8a8 263Header files for speech-dispatcher library.
28b37384 264
265%description devel -l pl.UTF-8
de0cb8a8 266Pliki nagłówkowe biblioteki speech-dispatcher.
28b37384 267
268%package static
de0cb8a8
JB
269Summary: Static speech-dispatcher library
270Summary(pl.UTF-8): Statyczna biblioteka speech-dispatcher
44baac39 271License: LGPL v2.1+
28b37384 272Group: Development/Libraries
273Requires: %{name}-devel = %{version}-%{release}
274
275%description static
de0cb8a8 276Static speech-dispatcher library.
28b37384 277
278%description static -l pl.UTF-8
de0cb8a8 279Statyczna biblioteka speech-dispatcher.
28b37384 280
73bed315
JB
281%package -n python3-%{name}
282Summary: Python 3 library for communication with Speech Dispatcher
283Summary(pl.UTF-8): Biblioteka Pythona 3 do komunikacji ze Speech Dispatcherem
44baac39 284License: LGPL v2.1+
b4140df7 285Group: Libraries/Python
73bed315
JB
286Requires: python3-modules
287Obsoletes: python-speech-dispatcher
b4140df7 288
73bed315 289%description -n python3-%{name}
b4140df7 290Speech Dispatcher provides a device independent layer for speech
73bed315 291synthesis. This package contains a Python 3 library for communication
b4140df7 292with Speech Dispatcher.
293
73bed315 294%description -n python3-%{name} -l pl.UTF-8
de0cb8a8 295Speech Dispatcher zapewnia niezależną od urządzenia warstwę
73bed315 296obsługującą syntezę mowy. Ten pakiet zawiera bibliotekę Pythona 3 do
de0cb8a8 297komunikacji ze Speech Dispatcherem.
b4140df7 298
28b37384 299%prep
300%setup -q
b45d13c8 301%patch0 -p1
28b37384 302
6f2992de
JB
303%{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' src/api/python/speechd_config/spd-conf
304
28b37384 305%build
306%{__libtoolize}
307%{__aclocal}
308%{__autoconf}
309%{__autoheader}
310%{__automake}
311%configure \
73bed315 312 %{__disable python} \
4e834987 313 --disable-silent-rules \
73bed315
JB
314 %{__enable_disable static_libs static} \
315 %{__with_without alsa} \
6f2992de 316 %{__with_without baratinoo} \
73bed315
JB
317 --with-default-audio-method=%{?with_alsa:alsa}%{!?with_alsa:oss} \
318 %{__with_without espeak} \
835877b3
AF
319 %{__with_without flite} \
320 %{__with_without ibmtts} \
835877b3 321 %{__with_without ivona} \
6f2992de 322 %{__with_without kali} \
73bed315
JB
323 %{__with_without libao} \
324 %{__with_without nas} \
f0bc316e 325 %{__with_without pulseaudio pulse} \
131d6ec3
JR
326 %{__with_without svox pico} \
327 %{__with_without voxin}
28b37384 328
329%{__make}
330
331%install
332rm -rf $RPM_BUILD_ROOT
dbfacddb
JR
333install -d $RPM_BUILD_ROOT/var/{log,run}/speech-dispatcher \
334 $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
162dab2c 335
28b37384 336%{__make} install \
337 DESTDIR=$RPM_BUILD_ROOT
338
162dab2c 339install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
340install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
dbfacddb 341install %{SOURCE3} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
162dab2c 342
73bed315
JB
343%{__rm} $RPM_BUILD_ROOT%{_libdir}/speech-dispatcher/spd_*.la
344%if %{with static_libs}
345%{__rm} $RPM_BUILD_ROOT%{_libdir}/speech-dispatcher/spd_*.a
346%endif
131d6ec3
JR
347
348%{__mv} -f $RPM_BUILD_ROOT%{_datadir}/locale/nb{_NO,}
349
73bed315 350%find_lang %{name}
93ca17ef 351
28b37384 352%clean
353rm -rf $RPM_BUILD_ROOT
354
162dab2c 355%pre
66b2a9e1 356%groupadd -g 224 %{name}
357%useradd -u 224 -g 224 -G audio -d /usr/share/empty -s /bin/false -c "%{name} user" %{name}
162dab2c 358
b4140df7 359%post
b4140df7 360[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
162dab2c 361/sbin/chkconfig --add %{name}
362%service %{name} restart
363
364%preun
365if [ "$1" = "0" ]; then
366 %service %{name} stop
367 /sbin/chkconfig --del %{name}
368fi
b4140df7 369
370%postun
b4140df7 371[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
162dab2c 372if [ "$1" = "0" ]; then
373 %userremove %{name}
374 %groupremove %{name}
375fi
b4140df7 376
93ca17ef
JB
377%post libs -p /sbin/ldconfig
378%postun libs -p /sbin/ldconfig
379
73bed315 380%files -f %{name}.lang
28b37384 381%defattr(644,root,root,755)
6f2992de 382%doc ANNOUNCE AUTHORS BUGS FAQ NEWS README.md README.overview.md TODO
162dab2c 383%attr(754,root,root) /etc/rc.d/init.d/%{name}
384%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
835877b3
AF
385%attr(755,root,root) %{_bindir}/spd-conf
386%attr(755,root,root) %{_bindir}/spd-say
387%attr(755,root,root) %{_bindir}/spdsend
388%attr(755,root,root) %{_bindir}/speech-dispatcher
b4140df7 389%dir %{_libdir}/speech-dispatcher
73bed315
JB
390%{?with_alsa:%attr(755,root,root) %{_libdir}/speech-dispatcher/spd_alsa.so}
391%{_libdir}/speech-dispatcher/spd_oss.so
b4140df7 392%dir %{_libdir}/speech-dispatcher-modules
835877b3
AF
393%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_cicero
394%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_dummy
835877b3 395%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_festival
835877b3 396%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_generic
835877b3
AF
397%{_datadir}/speech-dispatcher
398%{_datadir}/sounds/speech-dispatcher
73bed315 399%dir %{_sysconfdir}/speech-dispatcher
835877b3 400%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/speechd.conf
73bed315 401%dir %{_sysconfdir}/speech-dispatcher/clients
835877b3 402%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/clients/emacs.conf
73bed315 403%dir %{_sysconfdir}/speech-dispatcher/modules
835877b3
AF
404%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/cicero.conf
405%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/dtk-generic.conf
406%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/epos-generic.conf
835877b3 407%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/espeak-mbrola-generic.conf
835877b3 408%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/festival.conf
835877b3 409%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/llia_phon-generic.conf
43236f63 410%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/mary-generic-disabled.conf
835877b3 411%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/swift-generic.conf
162dab2c 412%dir %attr(755,%{name},%{name}) /var/run/speech-dispatcher
3ef6373a 413%dir %attr(755,%{name},%{name}) /var/log/speech-dispatcher
6f2992de
JB
414%{systemdunitdir}/speech-dispatcherd.service
415%{systemdtmpfilesdir}/%{name}.conf
416%{_mandir}/man1/spd-conf.1*
417%{_mandir}/man1/spd-say.1*
418%{_mandir}/man1/speech-dispatcher.1*
404d22f5 419%{_infodir}/spd-say.info*
404d22f5 420%{_infodir}/speech-dispatcher.info*
089f4e80 421%lang(cs) %{_infodir}/speech-dispatcher-cs.info*
404d22f5 422%{_infodir}/ssip.info*
28b37384 423
73bed315
JB
424%if %{with libao}
425%files audio-libao
426%defattr(644,root,root,755)
427%attr(755,root,root) %{_libdir}/speech-dispatcher/spd_libao.so
428%endif
429
430%if %{with nas}
431%files audio-nas
432%defattr(644,root,root,755)
433%attr(755,root,root) %{_libdir}/speech-dispatcher/spd_nas.so
434%endif
435
436%if %{with pulseaudio}
437%files audio-pulse
438%defattr(644,root,root,755)
439%attr(755,root,root) %{_libdir}/speech-dispatcher/spd_pulse.so
440%endif
441
6f2992de
JB
442%if %{with baratinoo}
443%files module-baratinoo
444%defattr(644,root,root,755)
445%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_baratinoo
446%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/baratinoo.conf
447%endif
448
4cf58c26
JB
449%if %{with espeak}
450%files module-espeak
451%defattr(644,root,root,755)
452%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_espeak
453%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/espeak.conf
454%endif
455
4e834987
JB
456%if %{with espeak_ng}
457%files module-espeak-ng
458%defattr(644,root,root,755)
459%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_espeak-ng
460%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/espeak-ng.conf
6f2992de 461%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/espeak-ng-mbrola-generic.conf
4e834987
JB
462%endif
463
4cf58c26
JB
464%if %{with flite}
465%files module-flite
466%defattr(644,root,root,755)
467%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_flite
468%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/flite.conf
469%endif
470
471%if %{with ibmtts}
472%files module-ibmtts
473%defattr(644,root,root,755)
474%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_ibmtts
475%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/ibmtts.conf
476%endif
477
478%if %{with ivona}
479%files module-ivona
480%defattr(644,root,root,755)
481%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_ivona
482%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/ivona.conf
483%endif
484
6f2992de
JB
485%if %{with kali}
486%files module-kali
487%defattr(644,root,root,755)
488%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_kali
489%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/kali.conf
490%endif
491
f0bc316e
JB
492%if %{with svox}
493%files module-pico
494%defattr(644,root,root,755)
495%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_pico
496%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/pico.conf
497%endif
498
131d6ec3 499%if %{with voxin}
6e06a238
JB
500%files module-voxin
501%defattr(644,root,root,755)
502%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_voxin
503%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/voxin.conf
131d6ec3 504%endif
6e06a238 505
93ca17ef
JB
506%files libs
507%defattr(644,root,root,755)
508%attr(755,root,root) %{_libdir}/libspeechd.so.*.*.*
509%attr(755,root,root) %ghost %{_libdir}/libspeechd.so.2
510
28b37384 511%files devel
512%defattr(644,root,root,755)
93ca17ef
JB
513%attr(755,root,root) %{_libdir}/libspeechd.so
514%{_libdir}/libspeechd.la
73bed315
JB
515%{_includedir}/speech-dispatcher
516%{_pkgconfigdir}/speech-dispatcher.pc
28b37384 517
b4140df7 518%if %{with static_libs}
28b37384 519%files static
520%defattr(644,root,root,755)
93ca17ef 521%{_libdir}/libspeechd.a
b4140df7 522%endif
48a0efe4 523
73bed315
JB
524%if %{with python}
525%files -n python3-%{name}
b4140df7 526%defattr(644,root,root,755)
73bed315
JB
527%dir %{py3_sitedir}/speechd
528%{py3_sitedir}/speechd/*.py
529%{py3_sitedir}/speechd/__pycache__
530%dir %{py3_sitedir}/speechd_config
531%{py3_sitedir}/speechd_config/*.py
532%{py3_sitedir}/speechd_config/__pycache__
533%endif
This page took 0.132733 seconds and 4 git commands to generate.