Репозиторий Sisyphus
Последнее обновление: 16 апреля 2021 | Пакетов: 17844 | Посещений: 20735341
en ru br
Репозитории ALT
S:1.5.0.2-alt2
5.1: 1.5.0-alt1.M51.1
4.1: 1.2.0pre2-alt0.M41.1
www.altlinux.org/Changes

Группа :: Звук
Пакет: voiceman

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: voiceman
Version: 1.2.0pre2
Release: alt0.M41.1
Packager: Michael Pozhidaev <msp at altlinux.ru>

Summary: Universal server for processing speech output
Group: Sound
License: GPL
Source: %name-%version.tar.gz
Source1: %name
Source2: %name.conf
Source3: %name-test

# Automatically added by buildreq on Mon Aug 11 2008

BuildRequires: gcc-c++ libao-devel

%description
%name is a utility for processing speech output in different
languages. Currently supported languages are English and
Russian. %name performs speech preprocessing to mark acronyms and
replace number with their word representation.  The important
developing goal is to implement the processing of speech output from
all installed application in single place and make reconfiguring easy.
%name can also process speech from remote computers by handling TCP/IP
connections.
This package contains client applications for connecting to VoiceMan daemon.

%package server
Summary: The VoiceMan server
Group: Sound
Requires: iconv libao chkconfig  aplay
%description server
%name is a utility for processing speech output in different
languages. Currently supported languages are English and
Russian. %name performs speech preprocessing to mark acronyms and
replace number with their word representation.  The important
developing goal is to implement the processing of speech output from
all installed application in single place and make reconfiguring easy.
%name can also process speech from remote computers by handling TCP/IP
connections.
This package contains VoiceMan server

%package -n libvmclient-devel
Summary: C/C++ development files for producing speech output with voicemand
Group: Sound
%description -n libvmclient-devel
This package contains files used in developing applications in C/C++.
With these files you can connect to voiceman, produce speech with it
and control different speech parameters such as pitch, rate and
volume.

%prep
%setup -q
%build
%configure default_socket=/var/run/voiceman.socket default_port=5511 log_file=/var/log/voiceman
make

%install
install -pD -m755 ./daemon/voicemand %buildroot%_bindir/voicemand
install -pD -m755 %SOURCE3 %buildroot%_bindir/voiceman-test
install -pD -m755 ./clients/voiceman %buildroot%_bindir/voiceman
install -pD -m755 ./clients/voiceman-espeak %buildroot%_bindir/voiceman-espeak
install -pD -m755 ./utils/voiceman-trim %buildroot%_bindir/voiceman-trim
install -pD -m644 %SOURCE2 %buildroot%_sysconfdir/%name.conf
install -pD -m755 %SOURCE1 %buildroot%_sysconfdir/rc.d/init.d/%name

install -d -m755 %buildroot%_sysconfdir/%name.d
install -d -m755 %buildroot%_datadir/%name/sounds
install -pD -m644 ./data/ru_const %buildroot%_datadir/%name/ru_const
install -pD -m644 ./data/replacements %buildroot%_datadir/%name/replacements
install -pD -m644 ./data/charstable %buildroot%_datadir/%name/charstable
install -pD -m644 ./data/caps %buildroot%_datadir/%name/caps

install -pD -m644 ./libvmclient/vmclient.h %buildroot%_includedir/vmclient/vmclient.h
install -pD -m644 ./libvmclient/libvmclient.a %buildroot%_libdir/libvmclient.a

%preun
/sbin/service %name stop
/sbin/chkconfig --del %name

%files
%_bindir/voiceman
%_bindir/voiceman-espeak

%files server
%doc COPYING README ChangeLog NEWS THANKS doc/architecture-rus.pdf
%_bindir/voicemand
%_bindir/voiceman-trim
%_bindir/voiceman-test
%config %_sysconfdir/voiceman.conf
%_sysconfdir/voiceman.d
%config %_sysconfdir/rc.d/init.d/voiceman
%_datadir/*

%files -n libvmclient-devel
%doc examples/example1.c examples/example2.c examples/example3.c examples/makefile
%_includedir/*
%_libdir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin