File ircha.spec of Package ircha

# Ircha
# 2006 Manuel Arostegui Ramirez

Name:           ircha
Version:        1.0.0
Release:        1
License:        GPL
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Docdir:         %{_datadir}/doc
Autoreqprov:    on
Source:         %{name}-%{version}.tar.gz
Summary:        text-to-speech technology provides lifelike voices
Group:          Amusements/Games
URL:            http://www.telefonica.net/web2/ircha/
Packager:	Manuel Arostegui <manuel@todo-linux.com>

%description

Ircha text-to-speech technology provides lifelike voices for the dynamic data and prompts in any kind of voice application. Today, Ircha  offers a large number of additional features, such as expressive speech and mixed language for mostly of IRC Clients.

%prep
rm -fr $RPM_BUILD_ROOT

%setup -q
%build
%install
mkdir -p $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr
mkdir -p $RPM_BUILD_ROOT/usr/lib
mkdir -p $RPM_BUILD_ROOT/usr/share/
mkdir -p $RPM_BUILD_ROOT/usr/share/ircha/
mkdir -p $RPM_BUILD_ROOT/usr/local/
mkdir -p $RPM_BUILD_ROOT/usr/local/bin/
cp -aRf * $RPM_BUILD_ROOT/usr/share/ircha/

./install DESTDIR=$RPM_BUILD_ROOT
./instalacion_diccionario
cp $RPM_BUILD_ROOT/usr/share/ircha/lee.pl $RPM_BUILD_ROOT/usr/local/bin/lee
 
%clean 
%files
/usr/local/bin/lee
  /usr/share/ircha/LEEME
   /usr/share/ircha/LEEME.kvirc
   /usr/share/ircha/banlist
   /usr/share/ircha/diccionario
   /usr/share/ircha/diccionario.user
   /usr/share/ircha/es1.zip
   /usr/share/ircha/es1/es1
   /usr/share/ircha/instalacion_diccionario
   /usr/share/ircha/install
   /usr/share/ircha/ircha-bitchx.1.1.tar.gz
   /usr/share/ircha/ircha-irsii.0.2.0.tar.gz
   /usr/share/ircha/ircha-ksirc.0.1.0.tar.gz
   /usr/share/ircha/ircha-kvirc.0.7.0.tar.gz
   /usr/share/ircha/ircha-x-chat.0.2.0.tar.gz
   /usr/share/ircha/ircha.spec
   /usr/share/ircha/ircha_l.pl
   /usr/share/ircha/ircha_l_clt.pl
   /usr/share/ircha/irchad.pl
   /usr/share/ircha/irchalib.pl
   /usr/share/ircha/lee.pl
   /usr/share/ircha/mbrola
   /usr/share/ircha/ttp.pl
   /usr/share/ircha/tts.pl

%post