From 08b3d5b38ec7db0322c304088e49f831a3ce868d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= Date: Tue, 31 Jan 2017 19:12:25 +0100 Subject: [PATCH] Initial import (#1376900) --- .gitignore | 1 + espeak-ng.spec | 110 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 112 insertions(+) create mode 100644 espeak-ng.spec diff --git a/.gitignore b/.gitignore index e69de29..a7eaf7f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/1.49.1.tar.gz diff --git a/espeak-ng.spec b/espeak-ng.spec new file mode 100644 index 0000000..e58266d --- /dev/null +++ b/espeak-ng.spec @@ -0,0 +1,110 @@ +Name: espeak-ng +Version: 1.49.1 +Release: 2%{?dist} +Summary: eSpeak NG Text-to-Speech + +License: GPLv3+ +URL: https://github.com/espeak-ng/espeak-ng +Source0: %{url}/archive/%{version}.tar.gz + +BuildRequires: gcc make autoconf automake libtool pkgconfig +BuildRequires: rubygem-ronn rubygem-kramdown +BuildRequires: pcaudiolib-devel + +%description +The eSpeak NG (Next Generation) Text-to-Speech program is an open source speech +synthesizer that supports over 70 languages. It is based on the eSpeak engine +created by Jonathan Duddington. It uses spectral formant synthesis by default +which sounds robotic, but can be configured to use Klatt formant synthesis +or MBROLA to give it a more natural sound. + +%package devel +Summary: Development files for espeak-ng +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +Development files for eSpeak NG, a software speech synthesizer. + +%package vim +Summary: Vim syntax highlighting for espeak-ng data files +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description vim +%{summary}. + +%package doc +Summary: Documentation for espeak-ng +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Documentation for eSpeak NG, a software speech synthesizer. + +%prep +%autosetup + +%build +./autogen.sh +%configure +make %{?_smp_mflags} src/espeak-ng src/speak-ng +make +# Force utf8 for docs building +LC_ALL=en_US.utf8 make docs + +%install +%make_install +rm -vf %{buildroot}%{_libdir}/*.{a,la} +# Remove files conflicting with espeak +rm -vf %{buildroot}%{_bindir}/{speak,espeak} +rm -vrf %{buildroot}%{_includedir}/espeak +# Move Vim files +mv %{buildroot}%{_datadir}/vim/addons %{buildroot}%{_datadir}/vim/vimfiles +rm -vrf %{buildroot}%{_datadir}/vim/registry + +%check +ESPEAK_DATA_PATH=`pwd` LD_LIBRARY_PATH=src:${LD_LIBRARY_PATH} src/espeak-ng ... + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%license COPYING +%license COPYING.IEEE +%doc README.md +%doc CHANGELOG.md +%{_bindir}/speak-ng +%{_bindir}/espeak-ng +%{_libdir}/libespeak-ng.so.* +%{_datadir}/espeak-ng-data +%{_mandir}/man1/speak-ng.1.gz +%{_mandir}/man1/espeak-ng.1.gz + +%files devel +%defattr(-,root,root) +%{_libdir}/pkgconfig/espeak-ng.pc +%{_libdir}/libespeak-ng.so +%{_includedir}/espeak-ng + +%files vim +%defattr(-,root,root) +%{_datadir}/vim/vimfiles/ftdetect/espeakfiletype.vim +%{_datadir}/vim/vimfiles/syntax/espeaklist.vim +%{_datadir}/vim/vimfiles/syntax/espeakrules.vim + +%files doc +%defattr(-,root,root) +%doc docs/*.html + +%changelog +* Tue Jan 24 2017 Ondřej Lysoněk 1.49.1-2 +- Corrected use of the ISA macro +- Included the COPYING.IEEE file + +* Tue Jan 24 2017 Ondřej Lysoněk 1.49.1-1 +- New version + +* Fri Sep 16 2016 Ondřej Lysoněk 1.49.0-1 +- Initial package diff --git a/sources b/sources index e69de29..b43237e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (1.49.1.tar.gz) = 084f4cdb2fbbc3fbd8d615dcfbea7cba51d782e6f398cc5d86fc7fa67c86b19dfe05f42478ed3b294991216d62b24238d7aa8a3f3e5bbc4e4c988904c20a6d59