Blame SPECS/espeak-ng.spec

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