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