Пакет speech-dispatcher: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 | %define _unpackaged_files_terminate_build 1 %define _stripped_files_terminate_build 1 %set_verify_elf_method strict %define libexec %_libdir Name: speech-dispatcher Version: 0.11.5 Release: alt1 Summary: A speech output processing service License: GPL-2.0-or-later Group: Sound URL: http://www.freebsoft.org/speechd # Source-url: https://github.com/brailcom/speechd/archive/refs/tags/%version.tar.gz Source: %name-%version.tar # fc Source1: %{name}d.service Patch: speech-dispatcher-0.8-alt-flite.patch BuildRequires: libdotconf-devel >= 0.3 BuildRequires: gcc-c++ glib2-devel glibc-devel-static intltool BuildRequires: libXau-devel libltdl7-devel BuildRequires: libalsa-devel libao-devel BuildRequires: flite-devel libespeak-devel svox-pico BuildRequires(pre): rpm-build-python3 BuildRequires: python3-base python3-devel BuildRequires: libsndfile-devel libpulseaudio-devel BuildRequires: makeinfo %add_python3_req_skip speechd_config %add_python3_req_skip xdg %description Speech Dispatcher is a part of the Free(b)soft project, which is intended to allow blind and visually impaired people to work with computer and Internet based on free software. %package -n libspeechd Summary: Client library for speech-dispatcher Group: System/Libraries %description -n libspeechd Applications can use this library to communicate with speech-dispatcher service and produce speech output. %package -n libspeechd-devel Group: Development/C Summary: Development files to use libspeechd to connect to speech-dispatcher %description -n libspeechd-devel Developers can use this library to connect to speech-dispatcher daemon and produce speech output. %package utils Group: Sound Summary: Various utilities for speech-dispatcher Requires: %name = %EVR %description utils Various utilities for speech-dispatcher %package module-flite Group: Sound Summary: Flite support for speech-dispatcher Requires: %name = %EVR %description module-flite Flite support for speech-dispatcher %package module-festival Group: Sound Summary: Festival support for speech-dispatcher Requires: %name = %EVR %description module-festival Festival support for speech-dispatcher %package module-pico Group: Sound Summary: Pico support for speech-dispatcher Requires: %name = %EVR %description module-pico Pico support for speech-dispatcher %package -n python3-module-speechd Summary: Python client for Speech Dispatcher Group: Development/Python BuildArch: noarch Requires: %name = %EVR %description -n python3-module-speechd This python module allows programmsaccess speech-dispatcher service. %prep %setup %patch -p1 %build %add_optflags -D_FILE_OFFSET_BITS=64 %autoreconf %configure --with-espeak \ --with-flite \ --with-pico \ --with-pulse \ --with-alsa \ --with-libao \ --with-oss \ --without-voxin \ --without-kali \ --without-ibmtts \ --without-baratinoo \ --disable-static \ --with-module-bindir=%{_libdir}/speech-dispatcher-modules/ %nil %make_build %install %make_install DESTDIR='%buildroot' pyexecdir=%python3_sitelibdir_noarch install # service file install -D -p -m644 %SOURCE1 %buildroot%_unitdir/%{name}d.service # unpackaged files find %buildroot%_libdir -name '*.la' -delete %find_lang %name %files -f %name.lang %doc FAQ NEWS README.md README.overview.md %_bindir/speech-dispatcher %config %_sysconfdir/%name %_unitdir/%{name}d.service %dir %_libdir/%name %_libdir/%name/spd*.so %dir %_libdir/%name-modules %_libdir/%name-modules/sd_dummy %_libdir/%name-modules/sd_espeak %_libdir/%name-modules/sd_generic %_libdir/%name-modules/sd_cicero %_datadir/sounds/%name %_datadir/%name %_infodir/* %files -n libspeechd %_libdir/libspeechd*.so.* %files -n libspeechd-devel %_includedir/* %_libdir/libspeechd.so %_pkgconfigdir/* %files utils %_bindir/spd-conf %_bindir/spd-say %_bindir/spdsend %files module-flite %_libdir/%name-modules/sd_flite %files module-festival %_libdir/%name-modules/sd_festival %files module-pico %_libdir/%name-modules/sd_pico %files -n python3-module-speechd %python3_sitelibdir_noarch/* %changelog * Sat Dec 09 2023 Anton Midyukov <antohami@altlinux.org> 0.11.5-alt1 - 0.11.5 (Closes: 48428) * Fri Oct 15 2021 Aleksei Nikiforov <darktemplar@altlinux.org> 0.10.2-alt2 - Fixed build with LTO * Mon Jan 11 2021 Paul Wolneykien <manowar@altlinux.org> 0.10.2-alt1 - Fixed doc/ files. - Build without voxin, kali, ibmtts and baratinoo (to avoid "shims"). - New upstream release 0.10.2. * Wed Nov 28 2018 Andrey Bychkov <mrdrew@altlinux.org> 0.8.8-alt2 - requires fixed * Sun Jan 07 2018 Yuri N. Sedunov <aris@altlinux.org> 0.8.8-alt1 - 0.8.8 - removed obsolete pkgconfig.patch (ALT #34372) * Fri Jun 02 2017 Yuri N. Sedunov <aris@altlinux.org> 0.8.7-alt1 - 0.8.7 * Fri Feb 10 2017 Yuri N. Sedunov <aris@altlinux.org> 0.8.6-alt1 - 0.8.6 * Mon Apr 11 2016 Ivan Zakharyaschev <imz@altlinux.org> 0.8.3-alt2.1.1 - (NMU) rebuild with rpm-build-python3-0.1.10 (for new-style python3(*) reqs) and with python3-3.5 (for byte-compilation). * Mon Mar 14 2016 Ivan Zakharyaschev <imz@altlinux.org> 0.8.3-alt2.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Tue Mar 08 2016 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 0.8.3-alt2 - NMU: added makeinfo to BRs (fixes FTBFS). * Tue Jun 30 2015 Yuri N. Sedunov <aris@altlinux.org> 0.8.3-alt1 - 0.8.3 * Fri May 15 2015 Yuri N. Sedunov <aris@altlinux.org> 0.8.2-alt1 - 0.8.2 - added service file from fc * Tue Mar 10 2015 Paul Wolneykien <manowar@altlinux.org> 0.8.1-alt2 - speech-dispatcher.pc: Set Cflags to -I${includedir}/speech-dispatcher (patch). * Tue Nov 18 2014 Paul Wolneykien <manowar@altlinux.org> 0.8.1-alt1 - Freshed up to v0.8.1 with the help of cronbuild and update-source-functions. * Wed Jul 03 2013 Paul Wolneykien <manowar@altlinux.org> 0.8-alt2 - Require speech-dispatcher in all modules. - Exclude the static libs. - Explicitly configure all of the modules to be packaged. - Include the default cicero module into the main package. - Use plain tar sources. - Cleanup the spec. Strict the pattern for l10n files. - Build the Python module noarch. - Add the PulseAudio output module. - Add msp@ to the cronbuild CC. - Add cronbuild scripts based on the update-source-functions. - Exclude clients/gnome-speech.conf which breaks server autospawn. * Fri May 10 2013 Michael Pozhidaev <msp@altlinux.ru> 0.8-alt1 - New version 0.8 (closes: #28819) - New subpackages: output-libao, output-oss, module-flite, module-festival, module-pico - python-module-speech subpackage is renamed to python3-module-speechdd * Mon Jul 16 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.6.7-alt5.3 - Fixed build * Sat Oct 22 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.6.7-alt5.2.1 - Rebuild with Python-2.7 * Thu Nov 25 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.6.7-alt5.2 - Rebuilt for soname set-versions * Wed Nov 25 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.6.7-alt5.1 - Rebuilt with python 2.6 * Thu Aug 20 2009 Michael Pozhidaev <msp@altlinux.ru> 0.6.7-alt5 - 'daemon' term replaced by 'service' one (by mike@ suggestion) * Mon Aug 17 2009 Michael Pozhidaev <msp@altlinux.ru> 0.6.7-alt4 - Applied getline patch from sbolshakov@ * Wed Aug 05 2009 Michael Pozhidaev <msp@altlinux.ru> 0.6.7-alt3 - Applied flite patch (Thanks to sbolshakov@) - Spec cleanup (removed ldconfig and install_info calls by sbolshakov@) - Minor fixes * Mon Sep 15 2008 Michael Pozhidaev <msp@altlinux.ru> 0.6.7-alt2 - Fixed i586 build * Sun Sep 07 2008 Michael Pozhidaev <msp@altlinux.ru> 0.6.7-alt1 - Initial RPM |