9397
|
1 |
#
|
|
2 |
# spec file for package freetts
|
|
3 |
#
|
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
16434
|
8 |
%define owner laca
|
9397
|
9 |
#
|
16426
|
10 |
|
|
11 |
%define OSR 4195:1.2.1
|
|
12 |
|
9397
|
13 |
Name: freetts
|
|
14 |
License: Other
|
|
15 |
Group: System/Libraries
|
|
16 |
Version: 1.2.1
|
|
17 |
Release: 40
|
|
18 |
Distribution: Java Desktop System
|
|
19 |
Vendor: Sun Microsystems, Inc.
|
|
20 |
Summary: FreeTTS Speech Synthesis System
|
|
21 |
Source: http://easynews.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}-src.zip
|
|
22 |
URL: http://sourceforge.net/projects/freetts/
|
|
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
24 |
Docdir: %{_defaultdocdir}/%{name}
|
|
25 |
Autoreqprov: on
|
|
26 |
|
|
27 |
BuildRequires: jdk
|
|
28 |
Requires: jdk
|
|
29 |
|
|
30 |
%description
|
|
31 |
FreeTTS Speech Synthesis System
|
|
32 |
FreeTTS is a speech synthesis system written entirely in the Java
|
|
33 |
programming language. It is based upon Flite, a small, fast, run-time speech
|
|
34 |
synthesis engine, which in turn is based upon University of Edinburgh's
|
|
35 |
Festival Speech Synthesis Sytem and Carnegie Mellon University's
|
|
36 |
FestVox project.
|
|
37 |
|
|
38 |
%prep
|
|
39 |
%setup -q -c -n freetts
|
|
40 |
%build
|
|
41 |
cd freetts-%{version}
|
|
42 |
%ifos solaris
|
|
43 |
export JAVA_HOME="/usr/java"
|
|
44 |
%else
|
|
45 |
export JAVA_HOME="/usr/java/jdk1.5.0_03"
|
|
46 |
%endif
|
|
47 |
ant
|
|
48 |
|
|
49 |
%install
|
|
50 |
cd freetts-%{version}
|
|
51 |
cd lib
|
|
52 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/lib/freetts
|
|
53 |
cp freetts.jar cmudict04.jar cmulex.jar en_us.jar cmu_us_kal.jar $RPM_BUILD_ROOT%{_datadir}/lib/freetts
|
|
54 |
cd ../bin
|
|
55 |
cp FreeTTSEmacspeakServer.jar $RPM_BUILD_ROOT%{_datadir}/lib/freetts
|
|
56 |
|
|
57 |
%clean
|
|
58 |
rm -rf $RPM_BUILD_ROOT
|
|
59 |
|
|
60 |
%files
|
|
61 |
%dir %attr (0755, root, root) %{_datadir}/lib/freetts
|
|
62 |
%defattr(-,root,root)
|
|
63 |
%{_datadir}/lib/freetts/*
|
|
64 |
|
|
65 |
%changelog
|
|
66 |
* Fri Jul 29 2005 - [email protected]
|
|
67 |
- Use stable JAVA_HOME directory, not the one that changes each Java release.
|
|
68 |
* Mon May 09 2005 - [email protected]
|
|
69 |
- New jdk (1.5.0_03)
|
|
70 |
* Mon Feb 28 2005 - [email protected]
|
|
71 |
- Upgrade to FreeTTS 1.2.1, fix for bug #6228329.
|
|
72 |
* Fri Oct 08 2004 - [email protected]
|
|
73 |
- cp SOURCE1 to the right place.
|
|
74 |
* Fri Oct 08 2004 - [email protected]
|
|
75 |
- Replace freetts.jar with %SOURCE1, patched jarfile from
|
|
76 |
Philip Kwok of SunLabs. Part of fix for #5087408.
|
|
77 |
* Mon Jul 05 2004 - [email protected]
|
|
78 |
- Updated to 1.2beta2 tarball.
|
|
79 |
* Thu Jun 10 2004 - [email protected]
|
|
80 |
- Correct name of source tarball, including replacing hard coded ver number
|
|
81 |
with %{version}.
|
|
82 |
* Thu Jun 10 2004 - [email protected]
|
|
83 |
- Updated spec file to freetts 1.2 (beta); changed jarfiles to match 1.2.
|
|
84 |
* Thu Mar 11 2004 - [email protected]
|
|
85 |
- Created new spec file for freetts
|