flite/flite.spec

67 lines
1.7 KiB
RPMSpec
Raw Normal View History

2019-12-14 14:49:41 +08:00
Name: flite
2023-07-25 10:31:35 +08:00
Version: 2.2
Release: 1
2019-12-14 14:49:41 +08:00
Summary: A small, fast run time synthesis engine
License: MIT
URL: http://www.speech.cs.cmu.edu/flite/
2023-07-25 10:31:35 +08:00
Source0: https://github.com/festvox/flite/archive/v%{version}/flite-%{version}.tar.gz
2019-12-14 14:49:41 +08:00
2023-07-25 10:31:35 +08:00
BuildRequires: autoconf automake libtool ed alsa-lib-devel
BuildRequires: gcc make pulseaudio-libs-devel texinfo
Patch0: flite-2.2-lto.patch
# fixes build with texinfo-7.0+, see https://lists.gnu.org/archive/html/bug-texinfo/2022-11/msg00036.html
Patch1: flite-2.2-texinfo-7.0.patch
2019-12-14 14:49:41 +08:00
%description
Flite was primarily developed to address one of the most common complaints
about the Festival Speech Synthesis System. Festival is large and slow, even
with the software bloat common amongst most products and that that bloat has
helped machines get faster, have more memory and large disks, still Festival
is criticized for its size.
%package devel
Summary: Development files for flite
Requires: flite = %{version}-%{release}
%description devel
Development files for Flite, a small, fast speech synthesis engine.
%prep
2023-07-25 10:31:35 +08:00
%autosetup -n flite-%{version} -p1
2019-12-14 14:49:41 +08:00
%build
autoreconf -vif
2023-07-25 10:31:35 +08:00
%configure --enable-shared --with-audio=pulseaudio
2019-12-14 14:49:41 +08:00
make
cd doc
%make_build flite.html
2023-07-25 10:31:35 +08:00
2019-12-14 14:49:41 +08:00
%install
2023-07-25 10:31:35 +08:00
%make_install
rm %{buildroot}%{_libdir}/libflite*.a
2019-12-14 14:49:41 +08:00
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
2023-07-25 10:31:35 +08:00
%doc COPYING ACKNOWLEDGEMENTS doc/html README.md
2019-12-14 14:49:41 +08:00
%{_libdir}/*.so.*
%{_bindir}/*
%files devel
%{_libdir}/*.so
%{_includedir}/flite
%changelog
2023-07-25 10:31:35 +08:00
* Tue Jul 25 2023 chenchen <chen_aka_jan@163.com> - 2.2-1
- upgrade to version 2.2
* Fri Nov 18 2022 yaoxin <yaoxin30@h-partners.com> - 1.3-34
- Modify invalid Source
2019-12-14 14:49:41 +08:00
* Thu Dec 12 2019 Ling Yang <lingyang2@huawei.com> - 1.3-33
- Package init