author | dermotm |
Wed, 07 Jul 2004 09:21:36 +0000 | |
changeset 3263 | 3c14210c0b99 |
parent 3224 | 8ca3f4526524 |
child 3320 | 1b6af4da604e |
permissions | -rw-r--r-- |
2009 | 1 |
Name: gnome-speech |
2 |
License: LGPL |
|
3 |
Group: System/Libraries |
|
3111
fbc82df264eb
Update gnome-speech and freetts (together) to use freetts 1.2.
wh70179
parents:
2977
diff
changeset
|
4 |
Version: 0.3.3 |
3224 | 5 |
Release: 15 |
2009 | 6 |
Distribution: Cinnabar |
7 |
Vendor: Sun Microsystems, Inc. |
|
8 |
Summary: GNOME text-to-speech engine |
|
9 |
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-speech/0.3/%{name}-%{version}.tar.bz2 |
|
2183
ae69b08d304a
* SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents:
2182
diff
changeset
|
10 |
Source1: gnome-speech-cvs_only.tar.bz2 |
2009 | 11 |
URL: http://developer.gnome.org/projects/gap/ |
12 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
13 |
Docdir: %{_defaultdocdir}/%{name} |
|
14 |
Autoreqprov: on |
|
15 |
Prereq: /sbin/ldconfig |
|
16 |
||
17 |
%define libbonobo_version 2.4.0 |
|
2015 | 18 |
%define java_access_bridge_version 1.3.0 |
3113
b7fba8044484
Changed versioning of freetts.spec (and reference to it in gnome-speech.spec)
wh70179
parents:
3111
diff
changeset
|
19 |
%define freetts_version 1.2.beta |
2009 | 20 |
|
21 |
BuildRequires: libbonobo-devel >= %{libbonobo_version} |
|
2015 | 22 |
BuildRequires: java-access-bridge >= %{java_access_bridge_version} |
2183
ae69b08d304a
* SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents:
2182
diff
changeset
|
23 |
BuildRequires: freetts >= %{freetts_version} |
2009 | 24 |
Requires: libbonobo >= %{libbonobo_version} |
2183
ae69b08d304a
* SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents:
2182
diff
changeset
|
25 |
Requires: freetts >= %{freetts_version} |
2009 | 26 |
|
27 |
%description |
|
28 |
gnome-speech module is the GNOME text-to-speech engine. |
|
29 |
||
2015 | 30 |
%package devel |
31 |
Summary: GNOME text-to-speech engine |
|
32 |
Group: Development/System/Libraries |
|
33 |
Autoreqprov: on |
|
34 |
Requires: %name = %version |
|
35 |
Requires: libbonobo-devel >= %{libbonobo_version} |
|
36 |
||
37 |
%description devel |
|
38 |
gnome-speech module is the GNOME text-to-speech engine. |
|
39 |
||
2009 | 40 |
%prep |
41 |
%setup -q |
|
2183
ae69b08d304a
* SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents:
2182
diff
changeset
|
42 |
bzcat %SOURCE1 | tar xvf - |
2009 | 43 |
|
44 |
%build |
|
3263 | 45 |
%ifos linux |
46 |
if [ -x /usr/bin/getconf ]; then |
|
47 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
48 |
fi |
|
49 |
%else |
|
50 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l` |
|
51 |
%endif |
|
52 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
53 |
CPUS=1 |
|
54 |
fi |
|
55 |
||
2183
ae69b08d304a
* SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents:
2182
diff
changeset
|
56 |
%ifos solaris |
2977
4a805a1dac56
gnome-speech.spec, jds-registration.spec and jdshelp.spec: Correct JDK path for Solaris 10.
dc144907
parents:
2958
diff
changeset
|
57 |
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
|
58 |
%else |
2958 | 59 |
export PATH="/usr/java/jdk1.5.0/bin:$PATH" |
60 |
CFLAGS="-I/usr/java/jdk1.5.0/include -I/usr/java/jdk1.5.0/include/linux $RPM_OPT_FLAGS" \ |
|
2183
ae69b08d304a
* SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents:
2182
diff
changeset
|
61 |
%endif |
2009 | 62 |
./configure --prefix=%{_prefix} \ |
63 |
--sysconfdir=%{_sysconfdir} \ |
|
64 |
--mandir=%{_mandir} \ |
|
2183
ae69b08d304a
* SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents:
2182
diff
changeset
|
65 |
--with-freetts-dir=%{_libdir} \ |
2009 | 66 |
--disable-gtk-doc |
3263 | 67 |
make -j $CPUS |
2009 | 68 |
|
69 |
%install |
|
70 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
71 |
||
72 |
%clean |
|
73 |
rm -rf $RPM_BUILD_ROOT |
|
74 |
||
75 |
%post |
|
76 |
/sbin/ldconfig |
|
77 |
||
78 |
%postun |
|
79 |
/sbin/ldconfig |
|
80 |
||
81 |
%files |
|
82 |
%defattr(-,root,root) |
|
2015 | 83 |
%{_bindir}/festival-synthesis-driver |
2183
ae69b08d304a
* SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents:
2182
diff
changeset
|
84 |
%{_bindir}/freetts-synthesis-driver |
2469
30441f3792d6
gnome-speech.spec: Move bin and jar files from devel to root rpm.
dc144907
parents:
2398
diff
changeset
|
85 |
%{_bindir}/test-speech |
2015 | 86 |
%{_libdir}/bonobo/servers/* |
87 |
%{_libdir}/orbit-2.0/*.so |
|
2114
d4656bca73f5
gnome-speech.spec: Correct line for .so files - was omitting libgnomespeech.so.
dc144907
parents:
2015
diff
changeset
|
88 |
%{_libdir}/*.so* |
2469
30441f3792d6
gnome-speech.spec: Move bin and jar files from devel to root rpm.
dc144907
parents:
2398
diff
changeset
|
89 |
%{_datadir}/jar/*.jar |
2015 | 90 |
|
91 |
%files devel |
|
92 |
%defattr(-,root,root) |
|
93 |
%{_includedir}/gnome-speech-1.0/* |
|
2009 | 94 |
%{_libdir}/pkgconfig/*.pc |
2015 | 95 |
%{_datadir}/idl/gnome-speech-1.0/* |
2009 | 96 |
|
97 |
%changelog |
|
3263 | 98 |
* Wed Jul 07 2004 - [email protected] |
99 |
- added "-j $CPUS" to make to speed up builds |
|
100 |
||
3111
fbc82df264eb
Update gnome-speech and freetts (together) to use freetts 1.2.
wh70179
parents:
2977
diff
changeset
|
101 |
* Thu Jun 10 2004 - [email protected] |
fbc82df264eb
Update gnome-speech and freetts (together) to use freetts 1.2.
wh70179
parents:
2977
diff
changeset
|
102 |
- 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
|
103 |
|
2977
4a805a1dac56
gnome-speech.spec, jds-registration.spec and jdshelp.spec: Correct JDK path for Solaris 10.
dc144907
parents:
2958
diff
changeset
|
104 |
* 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
|
105 |
- 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
|
106 |
|
2958 | 107 |
* Sun May 30 2004 - dermot.mccluskey |
108 |
- new JDK |
|
109 |
||
2619 | 110 |
* Mon May 03 2004 - [email protected] |
111 |
- moved Java to 1.5.0 |
|
112 |
||
2469
30441f3792d6
gnome-speech.spec: Move bin and jar files from devel to root rpm.
dc144907
parents:
2398
diff
changeset
|
113 |
* 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
|
114 |
- 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
|
115 |
|
2200
aa471adba25d
* gnome-speech.spec: Add JDK path to CFLAGS and PATH for Linux.
dc144907
parents:
2183
diff
changeset
|
116 |
* Mon Mar 15 2004 - [email protected] |
aa471adba25d
* gnome-speech.spec: Add JDK path to CFLAGS and PATH for Linux.
dc144907
parents:
2183
diff
changeset
|
117 |
- 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
|
118 |
|
2183
ae69b08d304a
* SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents:
2182
diff
changeset
|
119 |
* Thu Mar 11 2004 - [email protected] |
ae69b08d304a
* SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents:
2182
diff
changeset
|
120 |
- 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
|
121 |
- Add files created for freetts support. |
ae69b08d304a
* SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents:
2182
diff
changeset
|
122 |
|
2114
d4656bca73f5
gnome-speech.spec: Correct line for .so files - was omitting libgnomespeech.so.
dc144907
parents:
2015
diff
changeset
|
123 |
* Tue Mar 02 2004 - [email protected] |
d4656bca73f5
gnome-speech.spec: Correct line for .so files - was omitting libgnomespeech.so.
dc144907
parents:
2015
diff
changeset
|
124 |
- 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
|
125 |
|
2009 | 126 |
* Tue Feb 24 2004 - [email protected] |
2015 | 127 |
- Created new spec file for gnome-speech |