fixed url; closes #1 [release 2.5.0-2mamba;Fri Nov 08 2024]

This commit is contained in:
Silvan Calarco 2024-11-10 13:36:51 +01:00
parent 6fea523e9e
commit 3fb1bd362a

View File

@ -1,13 +1,13 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: festival Name: festival
Version: 2.5.0 Version: 2.5.0
Release: 1mamba Release: 2mamba
Summary: A general framework for building speech synthesis systems Summary: A general framework for building speech synthesis systems
Group: System/Multimedia Group: System/Multimedia
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.cstr.ed.ac.uk/projects/festival/ URL: https://www.cstr.ed.ac.uk/projects/festival/
Source: http://www.festvox.org/packed/festival/%{majver}/festival-%{version}-release.tar.gz Source: http://www.festvox.org/packed/festival/%{majver}/festival-%{version}-release.tar.gz
Source1: http://www.festvox.org/packed/festival/%{majver}/speech_tools-%{version}-release.tar.gz Source1: http://www.festvox.org/packed/festival/%{majver}/speech_tools-%{version}-release.tar.gz
Source2: http://festvox.org/packed/festival/latest/festlex_CMU.tar.gz Source2: http://festvox.org/packed/festival/latest/festlex_CMU.tar.gz
@ -26,7 +26,6 @@ Source14: http://festvox.org/packed/festival/latest/festvox_cstr_us_jmk_arc
Source15: http://festvox.org/packed/festival/latest/festvox_us1.tar.gz Source15: http://festvox.org/packed/festival/latest/festvox_us1.tar.gz
Source16: http://festvox.org/packed/festival/latest/festvox_us2.tar.gz Source16: http://festvox.org/packed/festival/latest/festvox_us2.tar.gz
Source17: http://festvox.org/packed/festival/latest/festvox_us3.tar.gz Source17: http://festvox.org/packed/festival/latest/festvox_us3.tar.gz
#Source18: http://www2.pd.istc.cnr.it/FESTIVAL/ogi/OGIresLPC-2.2.tar.gz
Patch0: festival-1.96-enable_esd_audio.patch Patch0: festival-1.96-enable_esd_audio.patch
Patch3: festival-1.96-etcsiteinit.patch Patch3: festival-1.96-etcsiteinit.patch
Patch6: festival-1.96-speechtools-ohjeezcxxisnotgcc.patch Patch6: festival-1.96-speechtools-ohjeezcxxisnotgcc.patch
@ -38,7 +37,6 @@ Patch17: festival-2.5.0-festconfig.patch
License: MIT License: MIT
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libalsa-devel BuildRequires: libalsa-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libgomp-devel BuildRequires: libgomp-devel
@ -129,6 +127,9 @@ sed -i "s|examples bin doc|examples|" festival/Makefile
# FIXME: patched to build but main final link fails with this module # FIXME: patched to build but main final link fails with this module
# OGIresLPC # OGIresLPC
cd festival
autoreconf -f -i
%build %build
#:<< __EOF #:<< __EOF
cd speech_tools cd speech_tools
@ -141,11 +142,8 @@ cd speech_tools
# libs="-L$(pwd)/lib" # libs="-L$(pwd)/lib"
cd ../festival cd ../festival
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/src/lib
%configure %configure
%make -j1 \ %make -j1
OPTIMISE_CFLAGS="$RPM_OPT_FLAGS -fPIC" \
OPTIMISE_CCFLAGS="$RPM_OPT_FLAGS -fPIC"
#FTLIBDIR=%{_datadir}/festival/lib \ #FTLIBDIR=%{_datadir}/festival/lib \
@ -224,9 +222,6 @@ done
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post-n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/* %{_bindir}/*
@ -290,6 +285,9 @@ done
%{_datadir}/festival/dicts/ifd* %{_datadir}/festival/dicts/ifd*
%changelog %changelog
* Fri Nov 08 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.0-2mamba
- fixed url; closes #1
* Sat Aug 17 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.0-1mamba * Sat Aug 17 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.0-1mamba
- update to 2.5.0 - update to 2.5.0