Group :: Som
RPM: festvox_rablpc8k
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define voice rablpc8k
%define voicepath english/rab_diphone
%define version 1.95
%define release alt2
Name: festvox_%{voice}
Version: %{version}
Release: %{release}
Group: Sound
Copyright: X11-style
URL: http://www.cstr.ed.ac.uk/projects/festival.html
Packager: Igor Vlasenko <viy at altlinux.org>
Summary: Festival voice: British English RP male speaker (8KHz sampling)
Requires: festival, festlex_POSLEX, festlex_OALD
Provides: festvox
BuildArch: noarch
# useless and too slow on large data files
AutoReqProv: no
Source0: http://www.cstr.ed.ac.uk/downloads/festival/1.95/festvox_%{voice}.tar.bz2
%description
British English RP male speaker using residual excited LPC diphone database
at 8KHz sampling. (Lower quality)
%prep
%setup -q -c
%build
%install
VOICE_DIR=$RPM_BUILD_ROOT%{_datadir}/festival/voices
install -d $VOICE_DIR/%{voicepath}/festvox
install -d $VOICE_DIR/%{voicepath}/group
install -m 644 festival/lib/voices/%{voicepath}/festvox/* $VOICE_DIR/%{voicepath}/festvox
install -m 644 festival/lib/voices/%{voicepath}/group/* $VOICE_DIR/%{voicepath}/group
%files
%doc festival/lib/voices/%{voicepath}/COPYING
%{_datadir}/festival/*
%changelog
…
Todas as alterações você pod ver aqui
%define voicepath english/rab_diphone
%define version 1.95
%define release alt2
Name: festvox_%{voice}
Version: %{version}
Release: %{release}
Group: Sound
Copyright: X11-style
URL: http://www.cstr.ed.ac.uk/projects/festival.html
Packager: Igor Vlasenko <viy at altlinux.org>
Summary: Festival voice: British English RP male speaker (8KHz sampling)
Requires: festival, festlex_POSLEX, festlex_OALD
Provides: festvox
BuildArch: noarch
# useless and too slow on large data files
AutoReqProv: no
Source0: http://www.cstr.ed.ac.uk/downloads/festival/1.95/festvox_%{voice}.tar.bz2
%description
British English RP male speaker using residual excited LPC diphone database
at 8KHz sampling. (Lower quality)
%prep
%setup -q -c
%build
%install
VOICE_DIR=$RPM_BUILD_ROOT%{_datadir}/festival/voices
install -d $VOICE_DIR/%{voicepath}/festvox
install -d $VOICE_DIR/%{voicepath}/group
install -m 644 festival/lib/voices/%{voicepath}/festvox/* $VOICE_DIR/%{voicepath}/festvox
install -m 644 festival/lib/voices/%{voicepath}/group/* $VOICE_DIR/%{voicepath}/group
%files
%doc festival/lib/voices/%{voicepath}/COPYING
%{_datadir}/festival/*
%changelog
…
Todas as alterações você pod ver aqui