diff --git a/festival.spec b/festival.spec index d2a6d34..8e580c9 100644 --- a/festival.spec +++ b/festival.spec @@ -1,13 +1,13 @@ %define majver %(echo %version | cut -d. -f1-2) Name: festival Version: 2.5.0 -Release: 1mamba +Release: 2mamba Summary: A general framework for building speech synthesis systems Group: System/Multimedia Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -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 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 @@ -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 Source16: http://festvox.org/packed/festival/latest/festvox_us2.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 Patch3: festival-1.96-etcsiteinit.patch Patch6: festival-1.96-speechtools-ohjeezcxxisnotgcc.patch @@ -38,7 +37,6 @@ Patch17: festival-2.5.0-festconfig.patch License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: ldconfig BuildRequires: libalsa-devel BuildRequires: libgcc BuildRequires: libgomp-devel @@ -114,13 +112,13 @@ unzip pc_diphone.zip unzip pc_mbrola_unix.zip unzip pc_ogi_diphone.zip -%patch3 -p0 -%patch6 -p0 -%patch13 -p1 -%patch14 -p0 -%patch15 -p0 -%patch16 -p0 -%patch17 -p0 +%patch 3 -p0 +%patch 6 -p0 +%patch 13 -p1 +%patch 14 -p0 +%patch 15 -p0 +%patch 16 -p0 +%patch 17 -p0 # Avoid make failure on making scripts and docs sed -i "s|examples bin doc|examples|" festival/Makefile @@ -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 # OGIresLPC +cd festival +autoreconf -f -i + %build #:<< __EOF cd speech_tools @@ -141,11 +142,8 @@ cd speech_tools # libs="-L$(pwd)/lib" cd ../festival -#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/src/lib %configure -%make -j1 \ - OPTIMISE_CFLAGS="$RPM_OPT_FLAGS -fPIC" \ - OPTIMISE_CCFLAGS="$RPM_OPT_FLAGS -fPIC" +%make -j1 #FTLIBDIR=%{_datadir}/festival/lib \ @@ -224,9 +222,6 @@ done %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%post-n lib%{name} -p /sbin/ldconfig -%postun -n lib%{name} -p /sbin/ldconfig - %files %defattr(-,root,root) %{_bindir}/* @@ -290,6 +285,9 @@ done %{_datadir}/festival/dicts/ifd* %changelog +* Fri Nov 08 2024 Silvan Calarco 2.5.0-2mamba +- fixed url; closes #1 + * Sat Aug 17 2019 Silvan Calarco 2.5.0-1mamba - update to 2.5.0