gnome-speech.spec
author bc99092
Fri, 20 Aug 2004 16:35:18 +0000
changeset 3666 8b78bc9006bf
parent 3628 cf6118e136d2
child 3679 a83eeeda363e
permissions -rw-r--r--
2004-08-20 Brian Cameron <[email protected]> * gnome-keyring.spec, gnome-mag.spec, gnome-speech.spec, gnome-vfs-extras.spec, jdshelp.spec, nautilus.spec: Removed --enable-gtk-doc/--disable-gtk-doc for modules that don't build gtk-docs. * gimp.spec: Had both --enable-gtk-doc and --disable-gtk-doc. Removed the disable.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2009
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
     1
Name:         gnome-speech
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
     2
License:      LGPL
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
     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
3519
bad9ff064e09 Incremented release numbers for build 16
dermotm
parents: 3425
diff changeset
     5
Release:      18
2009
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
     6
Distribution: Cinnabar 
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
     7
Vendor:       Sun Microsystems, Inc.
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
     8
Summary:      GNOME text-to-speech engine
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
     9
Source:       http://ftp.gnome.org/pub/GNOME/sources/gnome-speech/0.3/%{name}-%{version}.tar.bz2
3391
4fec3379a8b8 Added gnome-speech patch to freetts classpath, in gnome-speech.spec.
wh70179
parents: 3389
diff changeset
    10
Patch1:       gnome-speech-01-freetts-classpath.diff
2009
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    11
URL:          http://developer.gnome.org/projects/gap/
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    12
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    13
Docdir:       %{_defaultdocdir}/%{name}
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    14
Autoreqprov:  on
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    15
Prereq:	      /sbin/ldconfig
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    16
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    17
%define libbonobo_version 2.4.0
2015
bbb3e015b63a 2004-02-26 Glynn Foster <[email protected]>
gman
parents: 2009
diff changeset
    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
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    20
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    21
BuildRequires: libbonobo-devel >= %{libbonobo_version}
2015
bbb3e015b63a 2004-02-26 Glynn Foster <[email protected]>
gman
parents: 2009
diff changeset
    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
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    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
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    26
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    27
%description
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    28
gnome-speech module is the GNOME text-to-speech engine.
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    29
2015
bbb3e015b63a 2004-02-26 Glynn Foster <[email protected]>
gman
parents: 2009
diff changeset
    30
%package devel
bbb3e015b63a 2004-02-26 Glynn Foster <[email protected]>
gman
parents: 2009
diff changeset
    31
Summary:      GNOME text-to-speech engine
bbb3e015b63a 2004-02-26 Glynn Foster <[email protected]>
gman
parents: 2009
diff changeset
    32
Group:        Development/System/Libraries
bbb3e015b63a 2004-02-26 Glynn Foster <[email protected]>
gman
parents: 2009
diff changeset
    33
Autoreqprov:  on
bbb3e015b63a 2004-02-26 Glynn Foster <[email protected]>
gman
parents: 2009
diff changeset
    34
Requires:     %name = %version
bbb3e015b63a 2004-02-26 Glynn Foster <[email protected]>
gman
parents: 2009
diff changeset
    35
Requires:     libbonobo-devel >= %{libbonobo_version}
bbb3e015b63a 2004-02-26 Glynn Foster <[email protected]>
gman
parents: 2009
diff changeset
    36
bbb3e015b63a 2004-02-26 Glynn Foster <[email protected]>
gman
parents: 2009
diff changeset
    37
%description devel
bbb3e015b63a 2004-02-26 Glynn Foster <[email protected]>
gman
parents: 2009
diff changeset
    38
gnome-speech module is the GNOME text-to-speech engine.
bbb3e015b63a 2004-02-26 Glynn Foster <[email protected]>
gman
parents: 2009
diff changeset
    39
2009
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    40
%prep
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    41
%setup -q
3391
4fec3379a8b8 Added gnome-speech patch to freetts classpath, in gnome-speech.spec.
wh70179
parents: 3389
diff changeset
    42
%patch1 -p0
2009
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    43
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    44
%build
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    45
%ifos linux
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    46
if [ -x /usr/bin/getconf ]; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    47
  CPUS=`getconf _NPROCESSORS_ONLN`
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    48
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    49
%else
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    50
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l`
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    51
%endif
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    52
if test "x$CPUS" = "x" -o $CPUS = 0; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    53
  CPUS=1
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    54
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    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
3655558ced77 Incremented release numbers for build 11
dermotm
parents: 2777
diff changeset
    59
export PATH="/usr/java/jdk1.5.0/bin:$PATH"
3655558ced77 Incremented release numbers for build 11
dermotm
parents: 2777
diff changeset
    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
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    62
./configure --prefix=%{_prefix}			\
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    63
            --sysconfdir=%{_sysconfdir}		\
3666
8b78bc9006bf 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3628
diff changeset
    64
            --mandir=%{_mandir}			\
8b78bc9006bf 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3628
diff changeset
    65
            --with-freetts-dir=%{_libdir}
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    66
make -j $CPUS
2009
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    67
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    68
%install
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    69
make DESTDIR=$RPM_BUILD_ROOT install
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    70
#Clean up unpackaged files
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    71
rm $RPM_BUILD_ROOT%{_libdir}/*.la
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    72
rm $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/*.la
2009
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    73
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    74
%clean
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    75
rm -rf $RPM_BUILD_ROOT
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    76
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    77
%post
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    78
/sbin/ldconfig
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    79
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    80
%postun
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    81
/sbin/ldconfig
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    82
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    83
%files
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    84
%defattr(-,root,root)
2015
bbb3e015b63a 2004-02-26 Glynn Foster <[email protected]>
gman
parents: 2009
diff changeset
    85
%{_bindir}/festival-synthesis-driver
2183
ae69b08d304a * SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents: 2182
diff changeset
    86
%{_bindir}/freetts-synthesis-driver
2469
30441f3792d6 gnome-speech.spec: Move bin and jar files from devel to root rpm.
dc144907
parents: 2398
diff changeset
    87
%{_bindir}/test-speech
2015
bbb3e015b63a 2004-02-26 Glynn Foster <[email protected]>
gman
parents: 2009
diff changeset
    88
%{_libdir}/bonobo/servers/*
bbb3e015b63a 2004-02-26 Glynn Foster <[email protected]>
gman
parents: 2009
diff changeset
    89
%{_libdir}/orbit-2.0/*.so
2114
d4656bca73f5 gnome-speech.spec: Correct line for .so files - was omitting libgnomespeech.so.
dc144907
parents: 2015
diff changeset
    90
%{_libdir}/*.so*
2469
30441f3792d6 gnome-speech.spec: Move bin and jar files from devel to root rpm.
dc144907
parents: 2398
diff changeset
    91
%{_datadir}/jar/*.jar
2015
bbb3e015b63a 2004-02-26 Glynn Foster <[email protected]>
gman
parents: 2009
diff changeset
    92
bbb3e015b63a 2004-02-26 Glynn Foster <[email protected]>
gman
parents: 2009
diff changeset
    93
%files devel
bbb3e015b63a 2004-02-26 Glynn Foster <[email protected]>
gman
parents: 2009
diff changeset
    94
%defattr(-,root,root)
bbb3e015b63a 2004-02-26 Glynn Foster <[email protected]>
gman
parents: 2009
diff changeset
    95
%{_includedir}/gnome-speech-1.0/*
2009
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    96
%{_libdir}/pkgconfig/*.pc
2015
bbb3e015b63a 2004-02-26 Glynn Foster <[email protected]>
gman
parents: 2009
diff changeset
    97
%{_datadir}/idl/gnome-speech-1.0/*
2009
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    98
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
    99
%changelog
3666
8b78bc9006bf 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3628
diff changeset
   100
* Wed Aug 18 2004 - [email protected]
8b78bc9006bf 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3628
diff changeset
   101
- removed --disable-gtk-doc since this isn't an option this module's
8b78bc9006bf 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3628
diff changeset
   102
  configure takes.
8b78bc9006bf 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3628
diff changeset
   103
3391
4fec3379a8b8 Added gnome-speech patch to freetts classpath, in gnome-speech.spec.
wh70179
parents: 3389
diff changeset
   104
* Thu Jul 22 2004 - [email protected]
4fec3379a8b8 Added gnome-speech patch to freetts classpath, in gnome-speech.spec.
wh70179
parents: 3389
diff changeset
   105
- 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
   106
  (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
   107
3389
bbed3a27443b gnome-speech.spec: Remove source1 tarball. Incorrectly overwrites source with
dc144907
parents: 3320
diff changeset
   108
* Thu Jul 22 2004 - [email protected]
bbed3a27443b gnome-speech.spec: Remove source1 tarball. Incorrectly overwrites source with
dc144907
parents: 3320
diff changeset
   109
- 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
   110
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
   111
* Mon Jul 12 2004 - [email protected]
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
   112
- ported to rpm4
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
   113
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   114
* Wed Jul 07 2004 - [email protected]
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   115
- added "-j $CPUS" to make to speed up builds
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   116
3111
fbc82df264eb Update gnome-speech and freetts (together) to use freetts 1.2.
wh70179
parents: 2977
diff changeset
   117
* Thu Jun 10 2004 - [email protected]
fbc82df264eb Update gnome-speech and freetts (together) to use freetts 1.2.
wh70179
parents: 2977
diff changeset
   118
- 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
   119
2977
4a805a1dac56 gnome-speech.spec, jds-registration.spec and jdshelp.spec: Correct JDK path for Solaris 10.
dc144907
parents: 2958
diff changeset
   120
* 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
   121
- 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
   122
2958
3655558ced77 Incremented release numbers for build 11
dermotm
parents: 2777
diff changeset
   123
* Sun May 30 2004 - dermot.mccluskey
3655558ced77 Incremented release numbers for build 11
dermotm
parents: 2777
diff changeset
   124
- new JDK
3655558ced77 Incremented release numbers for build 11
dermotm
parents: 2777
diff changeset
   125
2619
a032fc86f08a Incremented release numbers for build 09
dermotm
parents: 2494
diff changeset
   126
* Mon May 03 2004 - [email protected]
a032fc86f08a Incremented release numbers for build 09
dermotm
parents: 2494
diff changeset
   127
- moved Java to 1.5.0
a032fc86f08a Incremented release numbers for build 09
dermotm
parents: 2494
diff changeset
   128
2469
30441f3792d6 gnome-speech.spec: Move bin and jar files from devel to root rpm.
dc144907
parents: 2398
diff changeset
   129
* 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
   130
- 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
   131
2200
aa471adba25d * gnome-speech.spec: Add JDK path to CFLAGS and PATH for Linux.
dc144907
parents: 2183
diff changeset
   132
* Mon Mar 15 2004 - [email protected]
aa471adba25d * gnome-speech.spec: Add JDK path to CFLAGS and PATH for Linux.
dc144907
parents: 2183
diff changeset
   133
- 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
   134
2183
ae69b08d304a * SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents: 2182
diff changeset
   135
* Thu Mar 11 2004 - [email protected]
ae69b08d304a * SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents: 2182
diff changeset
   136
- 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
   137
- Add files created for freetts support.
ae69b08d304a * SUNWgnome-a11y-speech.spec: Add files introduced by building
dc144907
parents: 2182
diff changeset
   138
2114
d4656bca73f5 gnome-speech.spec: Correct line for .so files - was omitting libgnomespeech.so.
dc144907
parents: 2015
diff changeset
   139
* Tue Mar 02 2004 - [email protected]
d4656bca73f5 gnome-speech.spec: Correct line for .so files - was omitting libgnomespeech.so.
dc144907
parents: 2015
diff changeset
   140
- 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
   141
2009
eadee01ea092 GNOME text-to-speech engine.
dc144907
parents:
diff changeset
   142
* Tue Feb 24 2004 - [email protected]
2015
bbb3e015b63a 2004-02-26 Glynn Foster <[email protected]>
gman
parents: 2009
diff changeset
   143
- Created new spec file for gnome-speech