15b0a91
Name:           festival-freebsoft-utils
15b0a91
Version:        0.10
a06e48c
Release:        %autorelease
15b0a91
Summary:        Utilities that enhance Festival with some useful features
15b0a91
15b0a91
BuildArch:      noarch
15b0a91
7345221
# Note that the documentation is dual-licensed; see the License field for the
7345221
# -doc subpackage.
7345221
License:        GPL-2.0-or-later
15b0a91
URL:            https://www.freebsoft.org/festival-freebsoft-utils
15b0a91
Source0:        https://freebsoft.org/pub/projects/%{name}/%{name}-%{version}.tar.gz
15b0a91
15b0a91
# Fix a section level error in fdl.texi
15b0a91
# https://github.com/brailcom/festival-freebsoft-utils/pull/1
5d7d941
Patch:          https://github.com/brailcom/festival-freebsoft-utils/pull/1.patch
15b0a91
15b0a91
Requires:       festival
15b0a91
# From docs/festival-freebsoft-utils.texi:
15b0a91
#   Having SoX (@url{http://sox.sourceforge.net}) installed is strongly
15b0a91
#   recommended, many festival-freebsoft-utils functions don't work without it.
15b0a91
Recommends:     sox
15b0a91
# From docs/festival-freebsoft-utils.texi:
15b0a91
#   As Festival does not support UTF-8 encoding, festival-freebsoft-utils uses
15b0a91
#   the iconv utility for character coding conversions.
15b0a91
# Note that this is currently provided by glibc-common, so it should be
15b0a91
# available even without the explicit dependency.
15b0a91
Recommends:     /usr/bin/iconv
6abb1c4
6abb1c4
%description
15b0a91
A collection of utilities that enhance Festival with some useful features. They
6abb1c4
provide all that is needed for interaction with Speech Dispatcher.
6abb1c4
6abb1c4
Key festival-freebsoft-utils features are:
15b0a91
15b0a91
• Generalized concept of input events. festival-freebsoft-utils allows not only
15b0a91
  plain text synthesis, but also combining it with sounds. Additionally,
15b0a91
  mechanism of logical events mapped to other events is provided.
15b0a91
• Substitution of events for given words.
15b0a91
• High-level voice selection mechanism and setting of basic prosodic parameters.
15b0a91
• Spelling mode.
15b0a91
• Capital letter signalization.
15b0a91
• Punctuation modes, for explicit reading or not reading punctuation characters.
15b0a91
• Incremental synthesis of texts and events.
15b0a91
• Speech Dispatcher support.
15b0a91
• Rudimentary SSML support.
15b0a91
• Enhance the Festival extension language with functions commonly used in Lisp.
15b0a91
• Support for wrapping already defined Festival functions by your own code.
15b0a91
• Everything is written in the extension language, no patching of the Festival
6abb1c4
  C++ sources is needed.
6abb1c4
15b0a91
15b0a91
%package doc
15b0a91
Summary:        Documentation for festival-freebsoft-utils
15b0a91
7345221
License:        GPL-2.0-or-later OR GFDL-1.2-no-invariants-or-later
7345221
15b0a91
BuildRequires:  make
15b0a91
BuildRequires:  texinfo-tex
15b0a91
BuildRequires:  tex(latex)
15b0a91
15b0a91
%description doc
15b0a91
Documentation for festival-freebsoft-utils in info, PDF, and HTML formats.
15b0a91
15b0a91
6abb1c4
%prep
15b0a91
%autosetup -p1
15b0a91
6abb1c4
6abb1c4
%build
15b0a91
# Remove pre-built info page
15b0a91
%make_build clean
15b0a91
# Build info, PDF, and HTML docs from the texinfo sources.
15b0a91
%make_build info pdf html
15b0a91
6abb1c4
6abb1c4
%install
2611836
install -t '%{buildroot}/%{_datadir}/festival' -D -p -m 0644 *.scm
15b0a91
install -t '%{buildroot}/%{_infodir}' -D -p -m 0644 doc/*.info
15b0a91
install -t '%{buildroot}/%{_pkgdocdir}' -D -p -m 0644 \
15b0a91
    doc/*.pdf doc/*.html ANNOUNCE NEWS README
6abb1c4
6abb1c4
6abb1c4
%files
15b0a91
%license COPYING
2611836
%{_datadir}/festival/*.scm
6abb1c4
15b0a91
15b0a91
%files doc
15b0a91
%license COPYING
15b0a91
%doc %{_pkgdocdir}/ANNOUNCE
15b0a91
%doc %{_pkgdocdir}/NEWS
15b0a91
%doc %{_pkgdocdir}/README
15b0a91
15b0a91
%doc %{_pkgdocdir}/festival-freebsoft-utils.pdf
15b0a91
%doc %{_pkgdocdir}/festival-freebsoft-utils.html
15b0a91
15b0a91
%doc %{_infodir}/festival-freebsoft-utils.info*
15b0a91
15b0a91
6abb1c4
%changelog
a06e48c
%autochangelog