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