005971
Name:           flite
005971
Version:        1.3
ec0d21
Release:        40%{?dist}
005971
Summary:        Small, fast speech synthesis engine (text-to-speech)
005971
License:        MIT
005971
URL:            http://www.speech.cs.cmu.edu/flite/
005971
005971
Source0:        http://www.speech.cs.cmu.edu/flite/packed/%{name}-%{version}/%{name}-%{version}-release.tar.gz
005971
Source1:        README-ALSA.txt
005971
Patch0:         flite-1.3-sharedlibs.patch
005971
Patch1:         flite-1.3-doc_texinfo.patch
005971
Patch2:         flite-1.3-alsa_support.patch
005971
Patch3:         flite-1.3-implicit_dso_linking.patch
005971
Patch4:         0001-auserver.c-Only-write-audio-data-to-a-file-in-debug-.patch
005971
Patch5:         flite-0001-Fixed-texi2html-ambiguity.patch
005971
BuildRequires:  texi2html
005971
# texi2pdf
005971
# WARNING see explanation about PDF doc below.
005971
#BuildRequires:  texinfo-tex
005971
BuildRequires:  gcc
005971
BuildRequires:  autoconf automake libtool
005971
BuildRequires:  ed alsa-lib-devel
005971
BuildRequires: make
005971
005971
005971
%description
005971
Flite (festival-lite) is a small, fast run-time speech synthesis engine
005971
developed at CMU and primarily designed for small embedded machines and/or
005971
large servers. Flite is designed as an alternative synthesis engine to
005971
Festival for voices built using the FestVox suite of voice building tools.
005971
005971
005971
%package devel
005971
Summary: Development files for flite
005971
Requires: %{name}%{?_isa} = %{version}-%{release}
005971
005971
%description devel
005971
Development files for Flite, a small, fast speech synthesis engine.
005971
005971
005971
%prep
005971
%setup -q -n %{name}-%{version}-release
005971
%patch0 -p1 -b .flite-1.3-sharedlibs
005971
%patch1 -p1 -b .flite-1.3-doc_texinfo
005971
%patch2 -p1 -b .flite-1.3-alsa_support
005971
%patch3 -p1 -b .flite-1.3-implicit_dso_linking
005971
%patch4 -p1
005971
%patch5 -p1
005971
cp -p %{SOURCE1} .
005971
005971
005971
%build
005971
autoreconf -vif
005971
%configure --enable-shared --with-audio=alsa
005971
# This package fails parallel make (thus cannot be built using "_smp_flags")
ec0d21
make \
ec0d21
  CFLAGS="$RPM_OPT_FLAGS -Wl,-z,now"
005971
# Build documentation
005971
cd doc
005971
# WARNING "make doc" provides a huge PDF file. It was decided not to produce/package it.
005971
#make doc
005971
make flite.html
005971
005971
005971
%install
005971
make install INSTALLBINDIR=%{buildroot}%{_bindir} INSTALLLIBDIR=%{buildroot}%{_libdir}  INSTALLINCDIR=%{buildroot}%{_includedir}/flite
005971
005971
005971
%ldconfig_scriptlets
005971
005971
005971
%files
005971
%license COPYING
005971
%doc ACKNOWLEDGEMENTS README doc/html README-ALSA.txt
005971
%{_libdir}/*.so.*
005971
%{_bindir}/*
005971
005971
005971
%files devel
005971
%{_libdir}/*.so
005971
%{_includedir}/flite
005971
005971
005971
%changelog
ec0d21
* Wed Jan 26 2022 Matthias Clasen <mclasen@redhat.com> - 1.3-40
ec0d21
- Link with -Wl,-z,now. Related: rhbz#2044860
ec0d21
005971
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.3-39
005971
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
005971
  Related: rhbz#1991688
005971
005971
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.3-38
005971
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
005971
005971
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-37
005971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
005971
005971
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-36
005971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
005971
005971
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-35
005971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
005971
005971
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-34
005971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
005971
005971
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-33
005971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
005971
005971
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-32
005971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
005971
005971
* Wed Mar  7 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.3-31
005971
- Add gcc BR, minor spec cleanups
005971
005971
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-30
005971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
005971
005971
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-29
005971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
005971
005971
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-28
005971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
005971
005971
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-27
005971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
005971
005971
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-26
005971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
005971
005971
* Fri Jan  8 2016 Peter Lemenkov <lemenkov@gmail.com> - 1.3-25
005971
- Fixed FTBFS in Rawhide
005971
- Remove pre-EPEL6 support
005971
005971
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-24
005971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
005971
005971
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-23
005971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
005971
005971
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-22
005971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
005971
005971
* Mon Jan  6 2014 Rui Matos <rmatos@redhat.com> - 1.3-21
005971
- Resolves: (CVE-2014-0027) flite: insecure temporary file use
005971
005971
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-20
005971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
005971
005971
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-19
005971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
005971
005971
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-18
005971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
005971
005971
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-17
005971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
005971
005971
* Mon Mar 13 2011 Francois Aucamp <faucamp@fedoraproject.org> - 1.3-16
005971
- Added patch declaring explicit libm linking dependency (RHBZ #564899)
005971
- Updated source and URL tags
005971
005971
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-15
005971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
005971
005971
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-14
005971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
005971
005971
* Sat Mar 21 2009 Robert Scheck <robert@fedoraproject.org> - 1.3-13
005971
- Removed moving of non-existing documentation flite directory
005971
005971
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-12
005971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
005971
005971
* Sat Oct 11 2008 Peter Lemenkov <lemenkov@gmail.com> - 1.3-11
005971
- Fix for RHEL 4
005971
 
005971
* Fri Jul 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3-10
005971
- fix license tag
005971
005971
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3-9
005971
- Autorebuild for GCC 4.3
005971
005971
* Tue Nov 14 2006 Francois Aucamp <faucamp@csir.co.za> - 1.3-8
005971
- Added comment to %%build stating why "_smp_flags" isn't used with make
005971
005971
* Mon Nov 13 2006 Francois Aucamp <faucamp@csir.co.za> - 1.3-7
005971
- Modified alsa support patch file to patch "configure.in" instead of "configure"
005971
- Added "autoconf" step to %%build
005971
- Added BuildRequires: autoconf
005971
- Fixed patch backup file suffixes
005971
- Renamed patch files to a more standard format
005971
- Moved header files from /usr/include to /usr/include/flite
005971
- Added -p option to all cp operations (to preserve timestamps)
005971
005971
* Sun Nov 12 2006 Francois Aucamp <faucamp@csir.co.za> - 1.3-6
005971
- Recreated patch to allow shared libraries to build correctly (sharedlibs.patch)
005971
- "flite" and "flite_time" binaries now link to flite shared libraries (sharedlibs.patch)
005971
- Simplified the documentation patch filename
005971
- Modified patch steps in %%prep to create backup files with different suffixes
005971
- Removed "_smp_flags" macro from %%build for all archs
005971
005971
* Fri Oct 20 2006 Francois Aucamp <faucamp@csir.co.za> - 1.3-5
005971
- Modified "build" so that "_smp_flags" is only used for i386 arch
005971
005971
* Mon Oct 10 2006 Francois Aucamp <faucamp@csir.co.za> - 1.3-4
005971
- Removed "_smp_flags" macro from "build" for x86_64 arch
005971
005971
* Tue Sep 26 2006 Francois Aucamp <faucamp@csir.co.za> - 1.3-3
005971
- Added README-ALSA.txt (Source1)
005971
- Removed subpackage: flite-devel-static
005971
- Modified shared libraries patch (Patch0) to prevent building static libraries
005971
- Renamed patch files: Patch0, Patch1
005971
005971
* Tue Sep 26 2006 Francois Aucamp <faucamp@csir.co.za> - 1.3-2
005971
- Added flite 1.3 ALSA patch (Patch2) by Lukas Loehrer - thanks Anthony Green for pointing it out
005971
- Added configure option: --with-audio=alsa
005971
- Added BuildRequires: alsa-lib-devel
005971
005971
* Fri Sep 22 2006 Francois Aucamp <faucamp@csir.co.za> - 1.3-1
005971
- Initial RPM build