File epos.spec of Package epos
#
# spec file for package epos (Version 2.5.37)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: epos
BuildRequires: gcc-c++ sgmltool
License: GPL v2 or later
Group: Productivity/Text/Convertors
AutoReqProv: on
Version: 2.5.37
Release: 59
Summary: A Open Text-To-Speech Synthesis Platform
Url: http://epos.ure.cas.cz
Source: %{name}-%{version}.tar.bz2
Source2: eposd
Patch: epos-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %install_info_prereq
%description
Epos is a language independent rule-driven Text-to-Speech (TTS) system
primarily designed to serve as a research tool. Epos is (or tries to
be) independent of the language processed, linguistic description
method, and computing environment. It is usable for Czech and Slovak
TTS synthesis at this moment.
Authors:
--------
Petr Horak <horak@ure.cas.cz>
Jirka Hanika <geo@cuni.cz>
%prep
%setup -q
%patch
%build
%{suse_update_config -f}
CFLAGS="$RPM_OPT_FLAGS" \
CXXFLAGS="$RPM_OPT_FLAGS"\
./configure --prefix=/usr
make
%install
make "DESTDIR=$RPM_BUILD_ROOT" install
install -d $RPM_BUILD_ROOT/{usr/sbin,etc/init.d}
install -m 744 %{S:2} $RPM_BUILD_ROOT/etc/init.d/
ln -sf ../../etc/init.d/eposd $RPM_BUILD_ROOT/%{_sbindir}/rceposd
%clean
rm -rf $RPM_BUILD_ROOT
%preun
%stop_on_removal eposd
%postun
%restart_on_update eposd
%insserv_cleanup
%files
%defattr(-,root,root)
%doc WELCOME Changes THANKS doc
/usr/bin/*
%dir /usr/share/epos
/usr/share/epos/*
/usr/sbin/rceposd
%attr(0755,root,root) %config /etc/init.d/*
%changelog
* Wed Dec 05 2007 - ro@suse.de
- fix build with gcc-4.3
* Thu Jan 25 2007 - anicka@suse.cz
- build all files with $RPM_OPT_FLAGS
* Fri Oct 06 2006 - anicka@suse.cz
- update to 2.5.37
* gcc 4.1 fix
- remove last patch (fixed in upstream)
* Thu Apr 27 2006 - anicka@suse.cz
- package created