File flite.spec of Package flite

# spec file for package flite
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           flite
Version:        1.4
Release:        1
License:        BSD-style
Summary:        Small, fast speech synthesis engine (text-to-speech)
Group:          Productivity/Multimedia/Other
Patch0:         flite-1.4-sharedlibs.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  alsa-devel
BuildRequires:  alsa-lib-devel
BuildRequires:  autoconf
BuildRequires:  ed
BuildRequires:  texinfo

Flite (festival-lite) is a small, fast run-time speech synthesis engine
developed at CMU and primarily designed for small embedded machines and/or
large servers. Flite is designed as an alternative synthesis engine to
Festival for voices built using the FestVox suite of voice building tools.

%package devel
Summary:        Development files for flite
Group:          Development/Libraries/C and C++
Requires:       flite = %{version}

%description devel
Development files for Flite, a small, fast speech synthesis engine.

%setup -q -n %{name}-%{version}-release

%configure \
  --enable-shared \

# This package fails parallel make (thus cannot be built using "_smp_flags")
# Build documentation
cd doc
make flite.html

make install INSTALLBINDIR=%{buildroot}%{_bindir} INSTALLLIBDIR=%{buildroot}%{_libdir}  INSTALLINCDIR=%{buildroot}%{_includedir}/flite

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files devel