!7 modify spec and add yaml file

Merge pull request !7 from Captain.Wei/master
This commit is contained in:
openeuler-ci-bot 2020-05-25 20:11:49 +08:00 committed by Gitee
commit ddaa5b454b
2 changed files with 12 additions and 5 deletions

View File

@ -1,6 +1,6 @@
Name: festival Name: festival
Version: 1.96 Version: 1.96
Release: 41 Release: 42
Summary: Festival Speech Synthesis System Summary: Festival Speech Synthesis System
License: MIT and GPL+ and TCL License: MIT and GPL+ and TCL
URL: http://www.cstr.ed.ac.uk/projects/festival/ URL: http://www.cstr.ed.ac.uk/projects/festival/
@ -174,8 +174,8 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/speech_tools/lib
pushd speech_tools pushd speech_tools
%configure %configure
make \ make \
CFLAGS="$RPM_OPT_FLAGS -fPIC -fno-strict-aliasing" \ CFLAGS="$RPM_OPT_FLAGS -fPIC -fno-strict-aliasing -fpermissive" \
CXXFLAGS="$RPM_OPT_FLAGS -fPIC -fno-strict-aliasing" CXXFLAGS="$RPM_OPT_FLAGS -fPIC -fno-strict-aliasing -fpermissive"
popd popd
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/src/lib export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/src/lib
@ -183,8 +183,8 @@ export PATH=$(pwd)/bin:$PATH
%configure %configure
make \ make \
FTLIBDIR="%{_datadir}/festival/lib" \ FTLIBDIR="%{_datadir}/festival/lib" \
CFLAGS="$RPM_OPT_FLAGS -fPIC" \ CFLAGS="$RPM_OPT_FLAGS -fPIC -fpermissive" \
CXXFLAGS="$RPM_OPT_FLAGS -fPIC" CXXFLAGS="$RPM_OPT_FLAGS -fPIC -fpermissive"
pushd lib/dicts/cmu pushd lib/dicts/cmu
make make
@ -347,6 +347,9 @@ fi
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Mon May 25 2020 Captain Wei <captain.a.wei@gmail.com> - 1.96-42
- add -fpermissive compile option
* Fri Apr 3 2020 chenli <chenli147@huawei.com> - 1.96-41 * Fri Apr 3 2020 chenli <chenli147@huawei.com> - 1.96-41
- modify spec - modify spec

4
festival.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: festvox/festival
tag_prefix: ^v
seperator: .