author | dcarbery |
Mon, 23 Oct 2006 12:46:17 +0000 | |
branch | gnome-2-14 |
changeset 19195 | 352a4716f1f3 |
parent 7626 | 3cc006da1cd8 |
child 7743 | b9bc3fb4d8b2 |
permissions | -rw-r--r-- |
5518 | 1 |
# |
2 |
# spec file for package gnome-speech |
|
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 |
# |
|
2009 | 8 |
Name: gnome-speech |
9 |
License: LGPL |
|
10 |
Group: System/Libraries |
|
7626
3cc006da1cd8
Bump gnome-speech to 0.4.1 and split drivers into separate packages
wwalker
parents:
7447
diff
changeset
|
11 |
Version: 0.4.1 |
5518 | 12 |
Release: 201 |
13 |
Distribution: Java Desktop System |
|
2009 | 14 |
Vendor: Sun Microsystems, Inc. |
15 |
Summary: GNOME text-to-speech engine |
|
7626
3cc006da1cd8
Bump gnome-speech to 0.4.1 and split drivers into separate packages
wwalker
parents:
7447
diff
changeset
|
16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.4/%{name}-%{version}.tar.bz2 |
2009 | 17 |
URL: http://developer.gnome.org/projects/gap/ |
18 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
19 |
Docdir: %{_defaultdocdir}/%{name} |
|
20 |
Autoreqprov: on |
|
21 |
Prereq: /sbin/ldconfig |
|
22 |
||
23 |
%define libbonobo_version 2.4.0 |
|
6280 | 24 |
%define java_access_bridge_version 1.4.6 |
5206 | 25 |
%define freetts_version 1.2.1 |
2009 | 26 |
|
5206 | 27 |
BuildRequires: jdk |
2009 | 28 |
BuildRequires: libbonobo-devel >= %{libbonobo_version} |
2015 | 29 |
BuildRequires: java-access-bridge >= %{java_access_bridge_version} |
2183
ae69b08d304a
* SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents:
2182
diff
changeset
|
30 |
BuildRequires: freetts >= %{freetts_version} |
5206 | 31 |
Requires: jdk |
2009 | 32 |
Requires: libbonobo >= %{libbonobo_version} |
2183
ae69b08d304a
* SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents:
2182
diff
changeset
|
33 |
Requires: freetts >= %{freetts_version} |
2009 | 34 |
|
35 |
%description |
|
36 |
gnome-speech module is the GNOME text-to-speech engine. |
|
37 |
||
2015 | 38 |
%package devel |
39 |
Summary: GNOME text-to-speech engine |
|
40 |
Group: Development/System/Libraries |
|
41 |
Autoreqprov: on |
|
42 |
Requires: %name = %version |
|
43 |
Requires: libbonobo-devel >= %{libbonobo_version} |
|
44 |
||
45 |
%description devel |
|
46 |
gnome-speech module is the GNOME text-to-speech engine. |
|
47 |
||
2009 | 48 |
%prep |
49 |
%setup -q |
|
5518 | 50 |
|
2009 | 51 |
|
52 |
%build |
|
3263 | 53 |
%ifos linux |
54 |
if [ -x /usr/bin/getconf ]; then |
|
55 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
56 |
fi |
|
57 |
%else |
|
3846 | 58 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 59 |
%endif |
60 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
61 |
CPUS=1 |
|
62 |
fi |
|
63 |
||
2183
ae69b08d304a
* SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents:
2182
diff
changeset
|
64 |
%ifos solaris |
2977
4a805a1dac56
gnome-speech.spec, jds-registration.spec and jdshelp.spec: Correct JDK path for Solaris 10.
dc144907
parents:
2958
diff
changeset
|
65 |
CFLAGS="-I/usr/jdk/jdk1.5.0/include -I/usr/jdk/jdk1.5.0/include/solaris $RPM_OPT_FLAGS" \ |
2183
ae69b08d304a
* SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents:
2182
diff
changeset
|
66 |
%else |
5565
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5518
diff
changeset
|
67 |
%define jdk_version 1.5.0_03 |
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5518
diff
changeset
|
68 |
export PATH="/usr/java/jdk%{jdk_version}/bin:$PATH" |
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5518
diff
changeset
|
69 |
CFLAGS="-I/usr/java/jdk%{jdk_version}/include -I/usr/java/jdk%{jdk_version}include/linux $RPM_OPT_FLAGS" \ |
2183
ae69b08d304a
* SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents:
2182
diff
changeset
|
70 |
%endif |
2009 | 71 |
./configure --prefix=%{_prefix} \ |
72 |
--sysconfdir=%{_sysconfdir} \ |
|
3666 | 73 |
--mandir=%{_mandir} \ |
5206 | 74 |
--with-freetts-dir=%{_datadir}/lib/freetts |
3263 | 75 |
make -j $CPUS |
2009 | 76 |
|
77 |
%install |
|
78 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
3628 | 79 |
#Clean up unpackaged files |
80 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
81 |
rm $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/*.la |
|
5518 | 82 |
rm -f $RPM_BUILD_ROOT%{_bindir}/theta-synthesis-driver |
83 |
rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/servers/GNOME_Speech_SynthesisDriver_Theta.server |
|
2009 | 84 |
|
85 |
%clean |
|
86 |
rm -rf $RPM_BUILD_ROOT |
|
87 |
||
88 |
%post |
|
89 |
/sbin/ldconfig |
|
90 |
||
91 |
%postun |
|
92 |
/sbin/ldconfig |
|
93 |
||
94 |
%files |
|
95 |
%defattr(-,root,root) |
|
2015 | 96 |
%{_bindir}/festival-synthesis-driver |
2183
ae69b08d304a
* SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents:
2182
diff
changeset
|
97 |
%{_bindir}/freetts-synthesis-driver |
2469
30441f3792d6
gnome-speech.spec: Move bin and jar files from devel to root rpm.
dc144907
parents:
2398
diff
changeset
|
98 |
%{_bindir}/test-speech |
2015 | 99 |
%{_libdir}/bonobo/servers/* |
100 |
%{_libdir}/orbit-2.0/*.so |
|
2114
d4656bca73f5
gnome-speech.spec: Correct line for .so files - was omitting libgnomespeech.so.
dc144907
parents:
2015
diff
changeset
|
101 |
%{_libdir}/*.so* |
2469
30441f3792d6
gnome-speech.spec: Move bin and jar files from devel to root rpm.
dc144907
parents:
2398
diff
changeset
|
102 |
%{_datadir}/jar/*.jar |
5518 | 103 |
%{_datadir}/gnome-speech |
7626
3cc006da1cd8
Bump gnome-speech to 0.4.1 and split drivers into separate packages
wwalker
parents:
7447
diff
changeset
|
104 |
%{_datadir}/idl/gnome-speech-1.0/* |
2015 | 105 |
|
106 |
%files devel |
|
107 |
%defattr(-,root,root) |
|
108 |
%{_includedir}/gnome-speech-1.0/* |
|
2009 | 109 |
%{_libdir}/pkgconfig/*.pc |
110 |
||
111 |
%changelog |
|
7626
3cc006da1cd8
Bump gnome-speech to 0.4.1 and split drivers into separate packages
wwalker
parents:
7447
diff
changeset
|
112 |
* Wed Jul 12 2006 - [email protected] |
3cc006da1cd8
Bump gnome-speech to 0.4.1 and split drivers into separate packages
wwalker
parents:
7447
diff
changeset
|
113 |
- Update to 0.4.1 |
3cc006da1cd8
Bump gnome-speech to 0.4.1 and split drivers into separate packages
wwalker
parents:
7447
diff
changeset
|
114 |
|
7447
8f81aa6a3b1d
Patch to prevent gnome-speech festival-synthesis-driver from dumping core
wwalker
parents:
6823
diff
changeset
|
115 |
* Wed Jun 14 2006 - [email protected] |
8f81aa6a3b1d
Patch to prevent gnome-speech festival-synthesis-driver from dumping core
wwalker
parents:
6823
diff
changeset
|
116 |
- Add patch for festival core dump (see bugzilla bug 341405) |
8f81aa6a3b1d
Patch to prevent gnome-speech festival-synthesis-driver from dumping core
wwalker
parents:
6823
diff
changeset
|
117 |
|
6823 | 118 |
* Thu Feb 23 2006 - [email protected] |
119 |
- Bump to 0.3.10 |
|
120 |
||
6280 | 121 |
* Mon Nov 14 2005 - [email protected] |
122 |
- Bump to 0.3.9 |
|
123 |
||
6080
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
5565
diff
changeset
|
124 |
* Tue Oct 11 2005 - [email protected] |
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
5565
diff
changeset
|
125 |
- Bump to 0.3.8 |
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
5565
diff
changeset
|
126 |
|
5565
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5518
diff
changeset
|
127 |
* Tue Aug 23 2005 - [email protected] |
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5518
diff
changeset
|
128 |
- Add variable to make updating JDK version easier. |
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5518
diff
changeset
|
129 |
|
5518 | 130 |
* Tue May 10 2005 - [email protected] |
131 |
- Upgrade to gnome-speech 0.3.7; completes fix for bug #6216633. |
|
132 |
- Remove unnecessary patch 1 which is now in the tarball. |
|
133 |
- Remove Theta drivers if they happen to have been built. |
|
134 |
||
135 |
* Mon May 09 2005 - [email protected] |
|
136 |
- New jdk (1.5.0_03) |
|
137 |
||
5206 | 138 |
* Mon Feb 28 2005 - [email protected] |
139 |
- Upgrade to FreeTTS 1.2.1, fix for bug #6228329. |
|
140 |
||
4202
c3d37f66fe0e
Changes to freetts.spec, gnome-speech.spec (added replacement freetts.jar and
wh70179
parents:
4133
diff
changeset
|
141 |
* Fri Oct 08 2004 - [email protected] |
c3d37f66fe0e
Changes to freetts.spec, gnome-speech.spec (added replacement freetts.jar and
wh70179
parents:
4133
diff
changeset
|
142 |
- Added patch gnome-speech-01-freetts-perf.diff, part of fix for bug |
c3d37f66fe0e
Changes to freetts.spec, gnome-speech.spec (added replacement freetts.jar and
wh70179
parents:
4133
diff
changeset
|
143 |
#5087408. |
c3d37f66fe0e
Changes to freetts.spec, gnome-speech.spec (added replacement freetts.jar and
wh70179
parents:
4133
diff
changeset
|
144 |
|
4021 | 145 |
* Mon Sep 20 2004 - [email protected] |
4022 | 146 |
- new path for JDK 1.5.0 |
4021 | 147 |
|
3815 | 148 |
* Mon Aug 30 2004 - [email protected] |
149 |
- Removed patch (it's in CVS now), and bumped to 0.3.5. |
|
150 |
||
3666 | 151 |
* Wed Aug 18 2004 - [email protected] |
152 |
- removed --disable-gtk-doc since this isn't an option this module's |
|
153 |
configure takes. |
|
154 |
||
3391
4fec3379a8b8
Added gnome-speech patch to freetts classpath, in gnome-speech.spec.
wh70179
parents:
3389
diff
changeset
|
155 |
* Thu Jul 22 2004 - [email protected] |
4fec3379a8b8
Added gnome-speech patch to freetts classpath, in gnome-speech.spec.
wh70179
parents:
3389
diff
changeset
|
156 |
- Add patch to fix CLASSPATH in freetts-synthesis-driver script. |
4fec3379a8b8
Added gnome-speech patch to freetts classpath, in gnome-speech.spec.
wh70179
parents:
3389
diff
changeset
|
157 |
(Please remove patch when upgrading to gnome-speech-0.3.4) |
4fec3379a8b8
Added gnome-speech patch to freetts classpath, in gnome-speech.spec.
wh70179
parents:
3389
diff
changeset
|
158 |
|
3389
bbed3a27443b
gnome-speech.spec: Remove source1 tarball. Incorrectly overwrites source with
dc144907
parents:
3320
diff
changeset
|
159 |
* Thu Jul 22 2004 - [email protected] |
bbed3a27443b
gnome-speech.spec: Remove source1 tarball. Incorrectly overwrites source with
dc144907
parents:
3320
diff
changeset
|
160 |
- Remove source1 tarball. Incorrectly overwrites source with old files. |
bbed3a27443b
gnome-speech.spec: Remove source1 tarball. Incorrectly overwrites source with
dc144907
parents:
3320
diff
changeset
|
161 |
|
3628 | 162 |
* Mon Jul 12 2004 - [email protected] |
163 |
- ported to rpm4 |
|
164 |
||
3263 | 165 |
* Wed Jul 07 2004 - [email protected] |
166 |
- added "-j $CPUS" to make to speed up builds |
|
167 |
||
3111
fbc82df264eb
Update gnome-speech and freetts (together) to use freetts 1.2.
wh70179
parents:
2977
diff
changeset
|
168 |
* Thu Jun 10 2004 - [email protected] |
fbc82df264eb
Update gnome-speech and freetts (together) to use freetts 1.2.
wh70179
parents:
2977
diff
changeset
|
169 |
- Upgrade to version 0.3.3, depend on FreeTTS 1.2 beta. |
fbc82df264eb
Update gnome-speech and freetts (together) to use freetts 1.2.
wh70179
parents:
2977
diff
changeset
|
170 |
|
2977
4a805a1dac56
gnome-speech.spec, jds-registration.spec and jdshelp.spec: Correct JDK path for Solaris 10.
dc144907
parents:
2958
diff
changeset
|
171 |
* Tue Jun 01 2004 - [email protected] |
4a805a1dac56
gnome-speech.spec, jds-registration.spec and jdshelp.spec: Correct JDK path for Solaris 10.
dc144907
parents:
2958
diff
changeset
|
172 |
- Correct JDK path in CFLAGS for Solaris. |
4a805a1dac56
gnome-speech.spec, jds-registration.spec and jdshelp.spec: Correct JDK path for Solaris 10.
dc144907
parents:
2958
diff
changeset
|
173 |
|
2958 | 174 |
* Sun May 30 2004 - dermot.mccluskey |
175 |
- new JDK |
|
176 |
||
2619 | 177 |
* Mon May 03 2004 - [email protected] |
178 |
- moved Java to 1.5.0 |
|
179 |
||
2469
30441f3792d6
gnome-speech.spec: Move bin and jar files from devel to root rpm.
dc144907
parents:
2398
diff
changeset
|
180 |
* Thu Apr 15 2004 - [email protected] |
30441f3792d6
gnome-speech.spec: Move bin and jar files from devel to root rpm.
dc144907
parents:
2398
diff
changeset
|
181 |
- Move bin and jar files from devel to root rpm. |
30441f3792d6
gnome-speech.spec: Move bin and jar files from devel to root rpm.
dc144907
parents:
2398
diff
changeset
|
182 |
|
2200
aa471adba25d
* gnome-speech.spec: Add JDK path to CFLAGS and PATH for Linux.
dc144907
parents:
2183
diff
changeset
|
183 |
* Mon Mar 15 2004 - [email protected] |
aa471adba25d
* gnome-speech.spec: Add JDK path to CFLAGS and PATH for Linux.
dc144907
parents:
2183
diff
changeset
|
184 |
- Add JDK path to CFLAGS and PATH for Linux. |
aa471adba25d
* gnome-speech.spec: Add JDK path to CFLAGS and PATH for Linux.
dc144907
parents:
2183
diff
changeset
|
185 |
|
2183
ae69b08d304a
* SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents:
2182
diff
changeset
|
186 |
* Thu Mar 11 2004 - [email protected] |
ae69b08d304a
* SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents:
2182
diff
changeset
|
187 |
- Bump ver to 1.3.2. Reset release. Add --with-freetts-dir configure switch. |
ae69b08d304a
* SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents:
2182
diff
changeset
|
188 |
- Add files created for freetts support. |
ae69b08d304a
* SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents:
2182
diff
changeset
|
189 |
|
2114
d4656bca73f5
gnome-speech.spec: Correct line for .so files - was omitting libgnomespeech.so.
dc144907
parents:
2015
diff
changeset
|
190 |
* Tue Mar 02 2004 - [email protected] |
d4656bca73f5
gnome-speech.spec: Correct line for .so files - was omitting libgnomespeech.so.
dc144907
parents:
2015
diff
changeset
|
191 |
- Correct line for .so files - was omitting libgnomespeech.so. |
d4656bca73f5
gnome-speech.spec: Correct line for .so files - was omitting libgnomespeech.so.
dc144907
parents:
2015
diff
changeset
|
192 |
|
2009 | 193 |
* Tue Feb 24 2004 - [email protected] |
2015 | 194 |
- Created new spec file for gnome-speech |