author | gman |
Thu, 30 Sep 2010 21:37:28 +0000 | |
branch | gnome-2-30 |
changeset 20130 | c7dfc176dcbd |
parent 17864 | 337913e88a9d |
child 20112 | cb4d5eea04b0 |
child 21371 | 4e79a4b0946c |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package gnome-speech |
|
3 |
# |
|
11457 | 4 |
# Copyright 2008 Sun Microsystems, Inc. |
9397 | 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 liyuan |
9397 | 9 |
# |
16426 | 10 |
|
17852 | 11 |
%define OSR LFI#105446 (gnome Exec. summary):n/a |
16426 | 12 |
|
9397 | 13 |
Name: gnome-speech |
14560 | 14 |
License: LGPL v2 |
9397 | 15 |
Group: System/Libraries |
15093 | 16 |
Version: 0.4.25 |
9397 | 17 |
Release: 201 |
18 |
Distribution: Java Desktop System |
|
17864 | 19 |
Vendor: Gnome Community |
9397 | 20 |
Summary: GNOME text-to-speech engine |
21 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.4/%{name}-%{version}.tar.bz2 |
|
13157
a344294aac95
Handle fallout of porting eSpeak from gcc to SunStudio.
ww36193
parents:
13022
diff
changeset
|
22 |
# date:2008-08-15 owner:ww36193 type:bug |
a344294aac95
Handle fallout of porting eSpeak from gcc to SunStudio.
ww36193
parents:
13022
diff
changeset
|
23 |
Patch1: gnome-speech-01-espeak.diff |
9397 | 24 |
URL: http://developer.gnome.org/projects/gap/ |
25 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
26 |
Docdir: %{_defaultdocdir}/%{name} |
|
27 |
Autoreqprov: on |
|
28 |
Prereq: /sbin/ldconfig |
|
29 |
||
30 |
%define libbonobo_version 2.4.0 |
|
31 |
%define java_access_bridge_version 1.4.6 |
|
32 |
%define freetts_version 1.2.1 |
|
33 |
||
34 |
BuildRequires: jdk |
|
35 |
BuildRequires: libbonobo-devel >= %{libbonobo_version} |
|
36 |
BuildRequires: java-access-bridge >= %{java_access_bridge_version} |
|
37 |
BuildRequires: freetts >= %{freetts_version} |
|
38 |
Requires: jdk |
|
39 |
Requires: libbonobo >= %{libbonobo_version} |
|
40 |
Requires: freetts >= %{freetts_version} |
|
41 |
||
42 |
%description |
|
43 |
gnome-speech module is the GNOME text-to-speech engine. |
|
44 |
||
45 |
%package devel |
|
46 |
Summary: GNOME text-to-speech engine |
|
47 |
Group: Development/System/Libraries |
|
48 |
Autoreqprov: on |
|
49 |
Requires: %name = %version |
|
50 |
Requires: libbonobo-devel >= %{libbonobo_version} |
|
51 |
||
52 |
%description devel |
|
53 |
gnome-speech module is the GNOME text-to-speech engine. |
|
54 |
||
55 |
%prep |
|
56 |
%setup -q |
|
13157
a344294aac95
Handle fallout of porting eSpeak from gcc to SunStudio.
ww36193
parents:
13022
diff
changeset
|
57 |
%patch1 -p1 |
9397 | 58 |
|
59 |
||
60 |
%build |
|
61 |
%ifos linux |
|
62 |
if [ -x /usr/bin/getconf ]; then |
|
63 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
64 |
fi |
|
65 |
%else |
|
66 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
67 |
%endif |
|
68 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
69 |
CPUS=1 |
|
70 |
fi |
|
71 |
||
16303
056b6b4d2555
Fix for doo#10579 - Gnome-speech doesn't work on vermillion-121.
ww36193
parents:
15999
diff
changeset
|
72 |
# Prevent missing symbols from happening with espeak-synthesis-driver |
056b6b4d2555
Fix for doo#10579 - Gnome-speech doesn't work on vermillion-121.
ww36193
parents:
15999
diff
changeset
|
73 |
# |
056b6b4d2555
Fix for doo#10579 - Gnome-speech doesn't work on vermillion-121.
ww36193
parents:
15999
diff
changeset
|
74 |
%ifos solaris |
056b6b4d2555
Fix for doo#10579 - Gnome-speech doesn't work on vermillion-121.
ww36193
parents:
15999
diff
changeset
|
75 |
export LDFLAGS="-Wl,-zcombreloc -Wl,-Bdirect" |
056b6b4d2555
Fix for doo#10579 - Gnome-speech doesn't work on vermillion-121.
ww36193
parents:
15999
diff
changeset
|
76 |
%endif |
056b6b4d2555
Fix for doo#10579 - Gnome-speech doesn't work on vermillion-121.
ww36193
parents:
15999
diff
changeset
|
77 |
|
10572 | 78 |
%if %option_with_java |
9397 | 79 |
%ifos solaris |
13157
a344294aac95
Handle fallout of porting eSpeak from gcc to SunStudio.
ww36193
parents:
13022
diff
changeset
|
80 |
export CFLAGS="-I/usr/jdk/jdk1.5.0/include -I/usr/jdk/jdk1.5.0/include/solaris $RPM_OPT_FLAGS" \ |
9397 | 81 |
%else |
82 |
%define jdk_version 1.5.0_03 |
|
83 |
export PATH="/usr/java/jdk%{jdk_version}/bin:$PATH" |
|
13157
a344294aac95
Handle fallout of porting eSpeak from gcc to SunStudio.
ww36193
parents:
13022
diff
changeset
|
84 |
export CFLAGS="-I/usr/java/jdk%{jdk_version}/include -I/usr/java/jdk%{jdk_version}include/linux $RPM_OPT_FLAGS" \ |
9397 | 85 |
%endif |
10572 | 86 |
%define java_home_option |
87 |
%else |
|
88 |
%define java_home_option --with-java-home=/dont/find/me --without-freetts-dir |
|
89 |
%endif |
|
90 |
||
15034 | 91 |
libtoolize -f |
13157
a344294aac95
Handle fallout of porting eSpeak from gcc to SunStudio.
ww36193
parents:
13022
diff
changeset
|
92 |
aclocal $ACLOCAL_FLAGS |
a344294aac95
Handle fallout of porting eSpeak from gcc to SunStudio.
ww36193
parents:
13022
diff
changeset
|
93 |
automake |
a344294aac95
Handle fallout of porting eSpeak from gcc to SunStudio.
ww36193
parents:
13022
diff
changeset
|
94 |
autoconf |
9397 | 95 |
./configure --prefix=%{_prefix} \ |
96 |
--sysconfdir=%{_sysconfdir} \ |
|
97 |
--mandir=%{_mandir} \ |
|
10572 | 98 |
--with-freetts-dir=%{_datadir}/lib/freetts \ |
99 |
%java_home_option |
|
9397 | 100 |
make -j $CPUS |
101 |
||
102 |
%install |
|
103 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
104 |
#Clean up unpackaged files |
|
105 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
106 |
rm $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/*.la |
|
107 |
rm -f $RPM_BUILD_ROOT%{_bindir}/theta-synthesis-driver |
|
108 |
rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/servers/GNOME_Speech_SynthesisDriver_Theta.server |
|
109 |
||
110 |
%clean |
|
111 |
rm -rf $RPM_BUILD_ROOT |
|
112 |
||
113 |
%post |
|
114 |
/sbin/ldconfig |
|
115 |
||
116 |
%postun |
|
117 |
/sbin/ldconfig |
|
118 |
||
119 |
%files |
|
120 |
%defattr(-,root,root) |
|
121 |
%{_bindir}/festival-synthesis-driver |
|
122 |
%{_bindir}/freetts-synthesis-driver |
|
123 |
%{_bindir}/test-speech |
|
124 |
%{_libdir}/bonobo/servers/* |
|
125 |
%{_libdir}/orbit-2.0/*.so |
|
126 |
%{_libdir}/*.so* |
|
127 |
%{_datadir}/jar/*.jar |
|
128 |
%{_datadir}/gnome-speech |
|
129 |
%{_datadir}/idl/gnome-speech-1.0/* |
|
130 |
||
131 |
%files devel |
|
132 |
%defattr(-,root,root) |
|
133 |
%{_includedir}/gnome-speech-1.0/* |
|
134 |
%{_libdir}/pkgconfig/*.pc |
|
135 |
||
136 |
%changelog |
|
16303
056b6b4d2555
Fix for doo#10579 - Gnome-speech doesn't work on vermillion-121.
ww36193
parents:
15999
diff
changeset
|
137 |
* Tue Aug 18 2009 - [email protected] |
056b6b4d2555
Fix for doo#10579 - Gnome-speech doesn't work on vermillion-121.
ww36193
parents:
15999
diff
changeset
|
138 |
- Move LDFLAGS outside of %option_with_java since LDFLAGS is to |
056b6b4d2555
Fix for doo#10579 - Gnome-speech doesn't work on vermillion-121.
ww36193
parents:
15999
diff
changeset
|
139 |
prevent missing symbols in the espeak-synthesis driver |
15093 | 140 |
* Mon Feb 16 2009 - [email protected] |
141 |
- Bump to 0.4.25 |
|
15034 | 142 |
* Fri Feb 06 2009 - [email protected] |
143 |
- Bump to 0.4.23. Run libtoolize before aclocal. |
|
14560 | 144 |
* Wed Nov 05 2008 - [email protected] |
145 |
- Change copyright information. |
|
13157
a344294aac95
Handle fallout of porting eSpeak from gcc to SunStudio.
ww36193
parents:
13022
diff
changeset
|
146 |
* Mon Aug 18 2008 - [email protected] |
a344294aac95
Handle fallout of porting eSpeak from gcc to SunStudio.
ww36193
parents:
13022
diff
changeset
|
147 |
- Handle the fallout of porting eSpeak to SunStudio. |
13022 | 148 |
* Tue Aug 05 2008 - [email protected] |
149 |
- Bump to 0.4.21. |
|
12684 | 150 |
* Tue Jun 17 2008 - [email protected] |
151 |
- Bump to 0.4.20. |
|
12162 | 152 |
* Fri Apr 18 2008 - [email protected] |
12684 | 153 |
- Bump to 0.4.19. |
12162 | 154 |
* Tue Jan 15 2008 - [email protected] |
11457 | 155 |
- Bump to 0.4.18. |
11330 | 156 |
* Tue Dec 18 2007 - [email protected] |
157 |
- Bump to 0.4.17. |
|
10572 | 158 |
* Fri Sep 28 2007 - [email protected] |
159 |
- disable java stuff if the --without-java option is used |
|
10230 | 160 |
* Mon Jul 30 2007 - [email protected] |
161 |
- Bump to 0.4.16. |
|
10169 | 162 |
* Mon Jul 09 2007 - [email protected] |
163 |
- Bump to 0.4.15. |
|
10068 | 164 |
* Mon Jun 18 2007 - [email protected] |
165 |
- Bump to 0.4.14. |
|
10004 | 166 |
* Wed Jun 06 2007 - [email protected] |
167 |
- Bump to 0.4.13. |
|
9895 | 168 |
* Tue May 15 2007 - [email protected] |
169 |
- Bump to 0.4.12. |
|
9731 | 170 |
* Thu Apr 12 2007 - [email protected] |
171 |
- Bump to 0.4.11. |
|
172 |
* Tue Feb 27 2007 - [email protected] |
|
9397 | 173 |
- Bump to 0.4.10. |
9731 | 174 |
* Mon Feb 12 2007 - [email protected] |
9397 | 175 |
- Bump to 0.4.9. |
9731 | 176 |
* Mon Jan 22 2007 - [email protected] |
9397 | 177 |
- Bump to 0.4.8. |
178 |
* Thu Dec 14 2006 - [email protected] |
|
179 |
- Bump to 0.4.7. |
|
180 |
* Mon Nov 06 2006 - [email protected] |
|
181 |
- Bump to 0.4.6. |
|
182 |
* Tue Aug 29 2006 - [email protected] |
|
183 |
- Bump to 0.4.5. |
|
184 |
* Tue Aug 22 2006 - [email protected] |
|
185 |
- Bump to 0.4.4. |
|
186 |
* Mon Aug 07 2006 - [email protected] |
|
187 |
- Update to 0.4.3 |
|
188 |
* Mon Jul 24 2006 - [email protected] |
|
189 |
- Update to 0.4.2 |
|
190 |
* Wed Jul 12 2006 - [email protected] |
|
191 |
- Update to 0.4.1 |
|
192 |
* Wed Jun 14 2006 - [email protected] |
|
193 |
- Add patch for festival core dump (see bugzilla bug 341405) |
|
194 |
* Thu Feb 23 2006 - [email protected] |
|
195 |
- Bump to 0.3.10 |
|
196 |
* Mon Nov 14 2005 - [email protected] |
|
197 |
- Bump to 0.3.9 |
|
198 |
* Tue Oct 11 2005 - [email protected] |
|
199 |
- Bump to 0.3.8 |
|
200 |
* Tue Aug 23 2005 - [email protected] |
|
201 |
- Add variable to make updating JDK version easier. |
|
202 |
* Tue May 10 2005 - [email protected] |
|
203 |
- Upgrade to gnome-speech 0.3.7; completes fix for bug #6216633. |
|
204 |
- Remove unnecessary patch 1 which is now in the tarball. |
|
205 |
- Remove Theta drivers if they happen to have been built. |
|
206 |
* Mon May 09 2005 - [email protected] |
|
207 |
- New jdk (1.5.0_03) |
|
208 |
* Mon Feb 28 2005 - [email protected] |
|
209 |
- Upgrade to FreeTTS 1.2.1, fix for bug #6228329. |
|
210 |
* Fri Oct 08 2004 - [email protected] |
|
211 |
- Added patch gnome-speech-01-freetts-perf.diff, part of fix for bug |
|
212 |
#5087408. |
|
213 |
* Mon Sep 20 2004 - [email protected] |
|
214 |
- new path for JDK 1.5.0 |
|
215 |
* Mon Aug 30 2004 - [email protected] |
|
216 |
- Removed patch (it's in CVS now), and bumped to 0.3.5. |
|
217 |
* Wed Aug 18 2004 - [email protected] |
|
218 |
- removed --disable-gtk-doc since this isn't an option this module's |
|
219 |
configure takes. |
|
220 |
* Thu Jul 22 2004 - [email protected] |
|
221 |
- Add patch to fix CLASSPATH in freetts-synthesis-driver script. |
|
222 |
(Please remove patch when upgrading to gnome-speech-0.3.4) |
|
223 |
* Thu Jul 22 2004 - [email protected] |
|
224 |
- Remove source1 tarball. Incorrectly overwrites source with old files. |
|
225 |
* Mon Jul 12 2004 - [email protected] |
|
226 |
- ported to rpm4 |
|
227 |
* Wed Jul 07 2004 - [email protected] |
|
228 |
- added "-j $CPUS" to make to speed up builds |
|
229 |
* Thu Jun 10 2004 - [email protected] |
|
230 |
- Upgrade to version 0.3.3, depend on FreeTTS 1.2 beta. |
|
231 |
* Tue Jun 01 2004 - [email protected] |
|
232 |
- Correct JDK path in CFLAGS for Solaris. |
|
233 |
* Sun May 30 2004 - dermot.mccluskey |
|
234 |
- new JDK |
|
235 |
* Mon May 03 2004 - [email protected] |
|
236 |
- moved Java to 1.5.0 |
|
237 |
* Thu Apr 15 2004 - [email protected] |
|
238 |
- Move bin and jar files from devel to root rpm. |
|
239 |
* Mon Mar 15 2004 - [email protected] |
|
240 |
- Add JDK path to CFLAGS and PATH for Linux. |
|
241 |
* Thu Mar 11 2004 - [email protected] |
|
242 |
- Bump ver to 1.3.2. Reset release. Add --with-freetts-dir configure switch. |
|
243 |
- Add files created for freetts support. |
|
244 |
* Tue Mar 02 2004 - [email protected] |
|
245 |
- Correct line for .so files - was omitting libgnomespeech.so. |
|
246 |
* Tue Feb 24 2004 - [email protected] |
|
247 |
- Created new spec file for gnome-speech |