Blame SPECS/espeak-ng.spec

b2faac
Name:           espeak-ng
b2faac
Version:        1.50
b2faac
Release:        7%{?dist}
b2faac
Summary:        eSpeak NG Text-to-Speech
b2faac
b2faac
License:        GPLv3+
b2faac
URL:            https://github.com/espeak-ng/espeak-ng
b2faac
Source0:        %{url}/archive/%{version}.tar.gz
b2faac
b2faac
BuildRequires:  gcc make autoconf automake libtool pkgconfig
b2faac
BuildRequires:  rubygem-ronn rubygem-kramdown
b2faac
BuildRequires:  pcaudiolib-devel
b2faac
b2faac
Patch0:         0001-fix-699-avoid-samplerate-clashing-with-LTO-in-gcc-10.patch
b2faac
b2faac
%description
b2faac
The eSpeak NG (Next Generation) Text-to-Speech program is an open source speech
b2faac
synthesizer that supports over 70 languages. It is based on the eSpeak engine
b2faac
created by Jonathan Duddington. It uses spectral formant synthesis by default
b2faac
which sounds robotic, but can be configured to use Klatt formant synthesis
b2faac
or MBROLA to give it a more natural sound.
b2faac
b2faac
%package devel
b2faac
Summary: Development files for espeak-ng
b2faac
Requires: %{name}%{?_isa} = %{version}-%{release}
b2faac
b2faac
%description devel
b2faac
Development files for eSpeak NG, a software speech synthesizer.
b2faac
b2faac
%package vim
b2faac
Summary: Vim syntax highlighting for espeak-ng data files
b2faac
BuildArch: noarch
b2faac
Requires: %{name} = %{version}-%{release}
b2faac
b2faac
%description vim
b2faac
%{summary}.
b2faac
b2faac
%package doc
b2faac
Summary: Documentation for espeak-ng
b2faac
BuildArch: noarch
b2faac
Requires: %{name} = %{version}-%{release}
b2faac
b2faac
%description doc
b2faac
Documentation for eSpeak NG, a software speech synthesizer.
b2faac
b2faac
%prep
b2faac
%autosetup -p1
b2faac
# Remove unused files to make sure we've got the License tag right
b2faac
rm -rf src/include/compat/endian.h src/compat/getopt.c android/
b2faac
b2faac
%build
b2faac
./autogen.sh
b2faac
%configure
b2faac
%make_build src/espeak-ng src/speak-ng
b2faac
make
b2faac
# Force utf8 for docs building
b2faac
LC_ALL=C.UTF-8 make docs
b2faac
b2faac
%install
b2faac
%make_install
b2faac
rm -vf %{buildroot}%{_libdir}/libespeak-ng-test.so*
b2faac
rm -vf %{buildroot}%{_libdir}/*.{a,la}
b2faac
# Remove files conflicting with espeak
b2faac
rm -vf %{buildroot}%{_bindir}/{speak,espeak}
b2faac
rm -vrf %{buildroot}%{_includedir}/espeak
b2faac
# Move Vim files
b2faac
mv %{buildroot}%{_datadir}/vim/addons %{buildroot}%{_datadir}/vim/vimfiles
b2faac
rm -vrf %{buildroot}%{_datadir}/vim/registry
b2faac
b2faac
%check
b2faac
ESPEAK_DATA_PATH=`pwd` LD_LIBRARY_PATH=src:${LD_LIBRARY_PATH} src/espeak-ng ...
b2faac
b2faac
%ldconfig_scriptlets
b2faac
b2faac
%files
b2faac
%license COPYING
b2faac
%license COPYING.IEEE
b2faac
%doc README.md
b2faac
%doc CHANGELOG.md
b2faac
%{_bindir}/speak-ng
b2faac
%{_bindir}/espeak-ng
b2faac
%{_libdir}/libespeak-ng.so.1
b2faac
%{_libdir}/libespeak-ng.so.1.*
b2faac
%{_datadir}/espeak-ng-data
b2faac
%{_mandir}/man1/speak-ng.1.gz
b2faac
%{_mandir}/man1/espeak-ng.1.gz
b2faac
b2faac
%files devel
b2faac
%{_libdir}/pkgconfig/espeak-ng.pc
b2faac
%{_libdir}/libespeak-ng.so
b2faac
%{_includedir}/espeak-ng
b2faac
b2faac
%files vim
b2faac
%{_datadir}/vim/vimfiles/ftdetect/espeakfiletype.vim
b2faac
%{_datadir}/vim/vimfiles/syntax/espeaklist.vim
b2faac
%{_datadir}/vim/vimfiles/syntax/espeakrules.vim
b2faac
b2faac
%files doc
b2faac
%doc docs/*.html
b2faac
b2faac
%changelog
b2faac
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.50-7
b2faac
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
b2faac
  Related: rhbz#1991688
b2faac
b2faac
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.50-6
b2faac
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
b2faac
b2faac
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.50-5
b2faac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b2faac
b2faac
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.50-4
b2faac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b2faac
b2faac
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 1.50-3
b2faac
- Use make macros
b2faac
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
b2faac
b2faac
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.50-2
b2faac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b2faac
b2faac
* Mon Jan 27 2020 Ondřej Lysoněk <olysonek@redhat.com> - 1.50-1
b2faac
- New version
b2faac
- Resolves: rhbz#1778315
b2faac
b2faac
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.49.2-7
b2faac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b2faac
b2faac
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.49.2-6
b2faac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b2faac
b2faac
* Mon Nov 19 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.49.2-5
b2faac
- Use C.UTF-8 locale
b2faac
  See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
b2faac
b2faac
* Thu Jul 19 2018 Ondřej Lysoněk <olysonek@redhat.com> - 1.49.2-4
b2faac
- Remove some unsed files in %%prep
b2faac
b2faac
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.49.2-3
b2faac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b2faac
b2faac
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.49.2-2
b2faac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b2faac
b2faac
* Tue Oct 03 2017 Ondřej Lysoněk <olysonek@redhat.com> - 1.49.2-1
b2faac
- New version
b2faac
b2faac
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.49.1-5
b2faac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b2faac
b2faac
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.49.1-4
b2faac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b2faac
b2faac
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.49.1-3
b2faac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b2faac
b2faac
* Tue Jan 24 2017 Ondřej Lysoněk <olysonek@redhat.com> 1.49.1-2
b2faac
- Corrected use of the ISA macro
b2faac
- Included the COPYING.IEEE file
b2faac
b2faac
* Tue Jan 24 2017 Ondřej Lysoněk <olysonek@redhat.com> 1.49.1-1
b2faac
- New version
b2faac
b2faac
* Fri Sep 16 2016 Ondřej Lysoněk <olysonek@redhat.com> 1.49.0-1
b2faac
- Initial package