Blame SPECS/flite.spec

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