Name: festlex_cmu
Version: 2.5
Release: 1%{?dist}
Summary: The english cmu dictionary for festival
BuildArch: noarch

License: MIT
URL: http://www.festvox.org/
Source0: https://trycht.cz/festvox/packed/festival/%{version}/festlex_CMU.tar.gz

Requires: festival

%description
This package contains the english dictionary from the Carnegie Mellon university. It is required by some of the festival voices. 

%prep
%autosetup -n festival

%build
# Drop some unneeded files.
rm lib/dicts/cmu/Makefile

%install
mkdir -p %{buildroot}%{_datadir}/festival
cp -p -r lib/dicts %{buildroot}%{_datadir}/festival

%files
%license lib/dicts/cmu/COPYING
%{_datadir}/festival/*

%changelog
* Fri May 18 2018 Lukáš Tyrychtr <lukastyrychtr@gmail.com> 2.5-1
- Initial release