author | chrisk |
Mon, 31 Aug 2009 16:23:04 +0000 | |
changeset 16434 | f21f22550fe9 |
parent 16425 | d6ed2a48e85f |
child 16438 | 5c9a2e724d58 |
permissions | -rw-r--r-- |
13238 | 1 |
# |
2 |
# spec file for package SUNWespeak |
|
3 |
# |
|
4 |
# Copyright (c) 2008 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 liyuan |
13238 | 9 |
# |
10 |
||
13198 | 11 |
%include Solaris.inc |
12 |
||
16425 | 13 |
%define OSR 8874:1.37 |
14 |
||
13198 | 15 |
%define src_name espeak |
16 |
%define src_url http://downloads.sourceforge.net/%{src_name} |
|
17 |
||
18 |
Name: SUNWespeak |
|
19 |
Summary: eSpeak - compact open source software speech synthesizer |
|
16353
750e1c5e3fe2
Bump espeak to 1.41.01. This resolves bgo#580389 - Orca hangs
ww36193
parents:
16324
diff
changeset
|
20 |
Version: 1.41.01 |
16300 | 21 |
Vendor: Sun Microsystems, Inc. |
22 |
License: GPL v3 |
|
13198 | 23 |
Source: %{src_url}/%{src_name}-%{version}-source.zip |
13238 | 24 |
Source1: %{name}-manpages-0.1.tar.gz |
13330 | 25 |
# date:2008-08-15 owner:ww36193 type:bug |
13198 | 26 |
Patch1: espeak-01-makefile.diff |
27 |
SUNW_BaseDir: %{_basedir} |
|
28 |
SUNW_Copyright: %{name}.copyright |
|
29 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
15051 | 30 |
|
13198 | 31 |
%include default-depend.inc |
13677
488541dec2e1
Add BuildRequires: SUNWaudh. OpenSolaris doesn't install SUNWaudh by default.
ww36193
parents:
13349
diff
changeset
|
32 |
BuildRequires: SUNWaudh |
15051 | 33 |
Requires: SUNWlibC |
34 |
Requires: SUNWlibmsr |
|
13198 | 35 |
|
36 |
%package devel |
|
37 |
Summary: %{summary} - development files |
|
38 |
SUNW_BaseDir: %{_basedir} |
|
39 |
%include default-depend.inc |
|
40 |
Requires: %name |
|
41 |
||
42 |
%prep |
|
43 |
%setup -q -n %{src_name}-%{version}-source |
|
44 |
%patch1 -p1 |
|
13238 | 45 |
gzcat %SOURCE1 | tar xf - |
13198 | 46 |
|
47 |
%build |
|
48 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
49 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
50 |
CPUS=1 |
|
51 |
fi |
|
13330 | 52 |
%ifarch sparc |
53 |
%define endian_macro "-DBYTE_ORDER=BIG_ENDIAN" |
|
54 |
cd platforms/big_endian |
|
55 |
make -j$CPUS CFLAGS="%{endian_macro}" |
|
56 |
./espeak-phoneme-data ../../espeak-data ../../espeak-data phondata-manifest |
|
57 |
cd ../.. |
|
58 |
%else |
|
59 |
%define endian_macro "" |
|
60 |
%endif |
|
13198 | 61 |
cd src |
13330 | 62 |
make -j$CPUS EXTRA_LIBS=-lm AUDIO=sada CXXFLAGS="-O2 %{endian_macro}" |
63 |
make install EXTRA_LIBS=-lm AUDIO=sada DESTDIR=$RPM_BUILD_ROOT CXXFLAGS="-O2 %{endian_macro}" |
|
13198 | 64 |
rm $RPM_BUILD_ROOT/%{_libdir}/lib*.a |
65 |
||
13238 | 66 |
%install |
67 |
#Install manpages |
|
68 |
rm -rf $RPM_BUILD_ROOT%{_mandir} |
|
69 |
cd %{_builddir}/%src_name-%version-source/sun-manpages |
|
70 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
71 |
||
72 |
||
13198 | 73 |
%clean |
74 |
rm -rf $RPM_BUILD_ROOT |
|
75 |
||
76 |
%files |
|
77 |
%defattr (-, root, bin) |
|
78 |
%dir %attr (0755, root, bin) %{_bindir} |
|
79 |
%{_bindir}/* |
|
80 |
%dir %attr (0755, root, bin) %{_libdir} |
|
81 |
%{_libdir}/lib*.so* |
|
82 |
%dir %attr (0755, root, sys) %{_datadir} |
|
83 |
%{_datadir}/* |
|
84 |
||
85 |
%files devel |
|
86 |
%defattr (-, root, bin) |
|
87 |
%{_includedir} |
|
88 |
||
89 |
%changelog |
|
16353
750e1c5e3fe2
Bump espeak to 1.41.01. This resolves bgo#580389 - Orca hangs
ww36193
parents:
16324
diff
changeset
|
90 |
* Tue Aug 28 2009 - [email protected] |
750e1c5e3fe2
Bump espeak to 1.41.01. This resolves bgo#580389 - Orca hangs
ww36193
parents:
16324
diff
changeset
|
91 |
- Bump to 1.41.01. This resolves bgo#580389 - Orca hangs |
750e1c5e3fe2
Bump espeak to 1.41.01. This resolves bgo#580389 - Orca hangs
ww36193
parents:
16324
diff
changeset
|
92 |
when clicking "Ok" or "Apply" button in Orca Preference dialog |
750e1c5e3fe2
Bump espeak to 1.41.01. This resolves bgo#580389 - Orca hangs
ww36193
parents:
16324
diff
changeset
|
93 |
and doo#10858 - eSpeak_Synchronize hangs Orca |
16324 | 94 |
* Fri Aug 21 2009 - [email protected] |
95 |
- Change owner to liyuan. |
|
16300 | 96 |
* Mon Aug 17 2009 - [email protected] |
97 |
- Add Vendor and License |
|
16153 | 98 |
* Tue Jul 28 2009 - [email protected] |
99 |
- Bump to 1.40.02. |
|
15715 | 100 |
* Mon May 04 2009 - [email protected] |
101 |
- Bump to 1.40. |
|
15051 | 102 |
* Tue Feb 10 2009 - [email protected] |
103 |
- Add dependency on SUNWlibC and SUNWlibmsr, CR #6755918 |
|
13677
488541dec2e1
Add BuildRequires: SUNWaudh. OpenSolaris doesn't install SUNWaudh by default.
ww36193
parents:
13349
diff
changeset
|
104 |
* Fri Sep 19 2008 - Willie Walker |
488541dec2e1
Add BuildRequires: SUNWaudh. OpenSolaris doesn't install SUNWaudh by default.
ww36193
parents:
13349
diff
changeset
|
105 |
- Add BuildRequires: SUNWaudh |
13349 | 106 |
* Mon Sep 02 2008 - Harry Lu |
107 |
- Add bug ID for espeak-02-endian.diff |
|
13330 | 108 |
* Fri Aug 29 2008 - Willie Walker |
109 |
- Fix SPARC build endian-ness |
|
13238 | 110 |
* Thu Aug 21 2008 - Dermot McCluskey |
111 |
- added manpages and file header |
|
13198 | 112 |
* Wed Aug 20 2008 - Willie Walker |
113 |
- Migrate to JDS (SFEespeak.spec to SUNWespeak.spec) |
|
114 |
* Tue Aug 12 2008 - Willie Walker |
|
115 |
- Port to SunStudio (thanks Brian Cameron!) |
|
116 |
* Tue Apr 15 2008 - Willie Walker |
|
117 |
- Upgrade to version 1.37 which contains direct SADA support and eliminates |
|
118 |
all PulseAudio and other dependencies. |
|
119 |
* Tue Jan 29 2008 - Willie Walker |
|
120 |
- Initial spec |