mbrola/mbrola.spec

49 lines
1.8 KiB
RPMSpec

%define pkgver %(echo %version | tr -d .)
Name: mbrola
Version: 3.01h
Release: 2mamba
Summary: A speech synthesizer based on the concatenation of diphones
Group: System/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://tcts.fpms.ac.be/synthesis/
Source: http://tcts.fpms.ac.be/synthesis/mbrola/bin/pclinux/mbr%{pkgver}.zip
Source1: http://tcts.fpms.ac.be/synthesis/mbrola/dba/en1/en1-980910.zip
Source2: http://tcts.fpms.ac.be/synthesis/mbrola/dba/it3/it3-010304.zip
Source3: http://tcts.fpms.ac.be/synthesis/mbrola/dba/it4/it4-010926.zip
License: Distributable Binary
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
MBROLA is a speech synthesizer based on the concatenation of diphones. It takes a list of phonemes as input, together with prosodic information (duration of phonemes and a piecewise linear description of pitch), and produces speech samples on 16 bits (linear), at the sampling frequency of the diphone database used (it is therefore NOT a Text-To-Speech (TTS)synthesizer, since it does not accept raw text as input).
%prep
%setup -q -c -a1 -a2 -a3
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_datadir}/mbrola
cp -a en1 it3 it4 %{buildroot}%{_datadir}/mbrola/
install -D -m0755 mbrola-linux-i386 %{buildroot}%{_bindir}/mbrola
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/mbrola
%{_datadir}/mbrola/en1
%{_datadir}/mbrola/it3
%{_datadir}/mbrola/it4
%doc readme.txt
%changelog
* Mon Aug 05 2013 Automatic Build System <autodist@mambasoft.it> 3.01h-2mamba
- automatic rebuild by autodist
* Wed Sep 23 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.01h-1mamba
- package created by autospec