author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19892 | a098647a4ec7 |
permissions | -rw-r--r-- |
19693 | 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 |
# |
|
2182 | 8 |
Name: freetts |
9 |
License: BSD |
|
10 |
Group: System/Libraries |
|
5206 | 11 |
Version: 1.2.1 |
19643 | 12 |
Release: 40 |
19693 | 13 |
Distribution: Java Desktop System |
2182 | 14 |
Vendor: Sun Microsystems, Inc. |
15 |
Summary: FreeTTS Speech Synthesis System |
|
19892 | 16 |
Source: http://kent.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}-src.zip |
2182 | 17 |
URL: http://sourceforge.net/projects/freetts/ |
18 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
19 |
Docdir: %{_defaultdocdir}/%{name} |
|
20 |
Autoreqprov: on |
|
21 |
||
5206 | 22 |
BuildRequires: jdk |
23 |
Requires: jdk |
|
2182 | 24 |
|
25 |
%description |
|
26 |
FreeTTS Speech Synthesis System |
|
27 |
FreeTTS is a speech synthesis system written entirely in the Java |
|
28 |
programming language. It is based upon Flite, a small, fast, run-time speech |
|
29 |
synthesis engine, which in turn is based upon University of Edinburgh's |
|
30 |
Festival Speech Synthesis Sytem and Carnegie Mellon University's |
|
31 |
FestVox project. |
|
32 |
||
33 |
%prep |
|
5206 | 34 |
%setup -q -c -n freetts |
2182 | 35 |
%build |
5206 | 36 |
cd freetts-%{version} |
37 |
%ifos solaris |
|
19636
d820d6b48ca1
* freetts.spec: Use stable JAVA_HOME directory, not the one that
dc144907
parents:
19365
diff
changeset
|
38 |
export JAVA_HOME="/usr/java" |
5206 | 39 |
%else |
19365 | 40 |
export JAVA_HOME="/usr/java/jdk1.5.0_03" |
5206 | 41 |
%endif |
42 |
ant |
|
2182 | 43 |
|
44 |
%install |
|
5206 | 45 |
cd freetts-%{version} |
2182 | 46 |
cd lib |
5206 | 47 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/lib/freetts |
48 |
cp freetts.jar cmudict04.jar cmulex.jar en_us.jar cmu_us_kal.jar $RPM_BUILD_ROOT%{_datadir}/lib/freetts |
|
49 |
cd ../bin |
|
50 |
cp FreeTTSEmacspeakServer.jar $RPM_BUILD_ROOT%{_datadir}/lib/freetts |
|
2182 | 51 |
|
52 |
%clean |
|
53 |
rm -rf $RPM_BUILD_ROOT |
|
54 |
||
19707
33c0216cf62b
add missing %files directive -- how did it disappear??
laca
parents:
19706
diff
changeset
|
55 |
%files |
5206 | 56 |
%dir %attr (0755, root, root) %{_datadir}/lib/freetts |
2182 | 57 |
%defattr(-,root,root) |
19706 | 58 |
%{_datadir}/lib/freetts/* |
2182 | 59 |
|
60 |
%changelog |
|
19636
d820d6b48ca1
* freetts.spec: Use stable JAVA_HOME directory, not the one that
dc144907
parents:
19365
diff
changeset
|
61 |
* Fri Jul 29 2005 - [email protected] |
d820d6b48ca1
* freetts.spec: Use stable JAVA_HOME directory, not the one that
dc144907
parents:
19365
diff
changeset
|
62 |
- Use stable JAVA_HOME directory, not the one that changes each Java release. |
d820d6b48ca1
* freetts.spec: Use stable JAVA_HOME directory, not the one that
dc144907
parents:
19365
diff
changeset
|
63 |
|
19643 | 64 |
* Mon May 09 2005 - [email protected] |
65 |
- New jdk (1.5.0_03) |
|
66 |
||
5206 | 67 |
* Mon Feb 28 2005 - [email protected] |
68 |
- Upgrade to FreeTTS 1.2.1, fix for bug #6228329. |
|
69 |
||
4202
c3d37f66fe0e
Changes to freetts.spec, gnome-speech.spec (added replacement freetts.jar and
wh70179
parents:
4133
diff
changeset
|
70 |
* Fri Oct 08 2004 - [email protected] |
4210 | 71 |
- cp SOURCE1 to the right place. |
72 |
||
73 |
* Fri Oct 08 2004 - [email protected] |
|
4202
c3d37f66fe0e
Changes to freetts.spec, gnome-speech.spec (added replacement freetts.jar and
wh70179
parents:
4133
diff
changeset
|
74 |
- Replace freetts.jar with %SOURCE1, patched jarfile from |
c3d37f66fe0e
Changes to freetts.spec, gnome-speech.spec (added replacement freetts.jar and
wh70179
parents:
4133
diff
changeset
|
75 |
Philip Kwok of SunLabs. Part of fix for #5087408. |
c3d37f66fe0e
Changes to freetts.spec, gnome-speech.spec (added replacement freetts.jar and
wh70179
parents:
4133
diff
changeset
|
76 |
|
3247 | 77 |
* Mon Jul 05 2004 - [email protected] |
78 |
- Updated to 1.2beta2 tarball. |
|
79 |
||
3115
c947a717a3bd
freetts.spec: - Correct name of source tarball, including replacing hard coded ver number with %{version}.
dc144907
parents:
3113
diff
changeset
|
80 |
* Thu Jun 10 2004 - [email protected] |
c947a717a3bd
freetts.spec: - Correct name of source tarball, including replacing hard coded ver number with %{version}.
dc144907
parents:
3113
diff
changeset
|
81 |
- Correct name of source tarball, including replacing hard coded ver number |
c947a717a3bd
freetts.spec: - Correct name of source tarball, including replacing hard coded ver number with %{version}.
dc144907
parents:
3113
diff
changeset
|
82 |
with %{version}. |
3247 | 83 |
|
3111
fbc82df264eb
Update gnome-speech and freetts (together) to use freetts 1.2.
wh70179
parents:
2958
diff
changeset
|
84 |
* Thu Jun 10 2004 - [email protected] |
fbc82df264eb
Update gnome-speech and freetts (together) to use freetts 1.2.
wh70179
parents:
2958
diff
changeset
|
85 |
- Updated spec file to freetts 1.2 (beta); changed jarfiles to match 1.2. |
fbc82df264eb
Update gnome-speech and freetts (together) to use freetts 1.2.
wh70179
parents:
2958
diff
changeset
|
86 |
|
2182 | 87 |
* Thu Mar 11 2004 - [email protected] |
88 |
- Created new spec file for freetts |