SUNWespeak.spec
author chrisk
Mon, 31 Aug 2009 16:23:04 +0000
changeset 16434 f21f22550fe9
parent 16425 d6ed2a48e85f
child 16438 5c9a2e724d58
permissions -rw-r--r--
2009-08-31 Christian Kelly <[email protected]> * base-specs/*.spec, *.spec: Change owner field to be parsable with spectool.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13238
d8d961a1a3fd 2008-08-21 Dermot McCluskey <[email protected]>
dermot
parents: 13198
diff changeset
     1
#
d8d961a1a3fd 2008-08-21 Dermot McCluskey <[email protected]>
dermot
parents: 13198
diff changeset
     2
# spec file for package SUNWespeak
d8d961a1a3fd 2008-08-21 Dermot McCluskey <[email protected]>
dermot
parents: 13198
diff changeset
     3
#
d8d961a1a3fd 2008-08-21 Dermot McCluskey <[email protected]>
dermot
parents: 13198
diff changeset
     4
# Copyright (c) 2008 Sun Microsystems, Inc.
d8d961a1a3fd 2008-08-21 Dermot McCluskey <[email protected]>
dermot
parents: 13198
diff changeset
     5
# This file and all modifications and additions to the pristine
d8d961a1a3fd 2008-08-21 Dermot McCluskey <[email protected]>
dermot
parents: 13198
diff changeset
     6
# package are under the same license as the package itself.
d8d961a1a3fd 2008-08-21 Dermot McCluskey <[email protected]>
dermot
parents: 13198
diff changeset
     7
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16425
diff changeset
     8
%define owner liyuan
13238
d8d961a1a3fd 2008-08-21 Dermot McCluskey <[email protected]>
dermot
parents: 13198
diff changeset
     9
#
d8d961a1a3fd 2008-08-21 Dermot McCluskey <[email protected]>
dermot
parents: 13198
diff changeset
    10
13198
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    11
%include Solaris.inc
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    12
16425
d6ed2a48e85f 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16353
diff changeset
    13
%define OSR 8874:1.37
d6ed2a48e85f 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16353
diff changeset
    14
13198
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    15
%define src_name espeak
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    16
%define src_url http://downloads.sourceforge.net/%{src_name}
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    17
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    18
Name:		SUNWespeak
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    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
2f19406544c1 Add Vendor and License to SUNWespeak.spec
ww36193
parents: 16153
diff changeset
    21
Vendor:		Sun Microsystems, Inc.
2f19406544c1 Add Vendor and License to SUNWespeak.spec
ww36193
parents: 16153
diff changeset
    22
License:	GPL v3
13198
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    23
Source:		%{src_url}/%{src_name}-%{version}-source.zip
13238
d8d961a1a3fd 2008-08-21 Dermot McCluskey <[email protected]>
dermot
parents: 13198
diff changeset
    24
Source1:        %{name}-manpages-0.1.tar.gz
13330
05b169ca0430 eSpeak fixes for SPARC
ww36193
parents: 13238
diff changeset
    25
# date:2008-08-15 owner:ww36193 type:bug
13198
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    26
Patch1:         espeak-01-makefile.diff
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    27
SUNW_BaseDir:	%{_basedir}
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    28
SUNW_Copyright: %{name}.copyright
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    29
BuildRoot:	%{_tmppath}/%{name}-%{version}-build
15051
6f635a5829a0 2009-02-10 Halton Huo <[email protected]>
halton
parents: 13677
diff changeset
    30
13198
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    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
6f635a5829a0 2009-02-10 Halton Huo <[email protected]>
halton
parents: 13677
diff changeset
    33
Requires: SUNWlibC
6f635a5829a0 2009-02-10 Halton Huo <[email protected]>
halton
parents: 13677
diff changeset
    34
Requires: SUNWlibmsr
13198
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    35
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    36
%package devel
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    37
Summary:                 %{summary} - development files
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    38
SUNW_BaseDir:            %{_basedir}
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    39
%include default-depend.inc
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    40
Requires: %name
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    41
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    42
%prep
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    43
%setup -q -n %{src_name}-%{version}-source
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    44
%patch1 -p1
13238
d8d961a1a3fd 2008-08-21 Dermot McCluskey <[email protected]>
dermot
parents: 13198
diff changeset
    45
gzcat %SOURCE1 | tar xf -
13198
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    46
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    47
%build
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    48
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    49
if test "x$CPUS" = "x" -o $CPUS = 0; then
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    50
     CPUS=1
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    51
fi
13330
05b169ca0430 eSpeak fixes for SPARC
ww36193
parents: 13238
diff changeset
    52
%ifarch sparc
05b169ca0430 eSpeak fixes for SPARC
ww36193
parents: 13238
diff changeset
    53
%define endian_macro "-DBYTE_ORDER=BIG_ENDIAN"
05b169ca0430 eSpeak fixes for SPARC
ww36193
parents: 13238
diff changeset
    54
cd platforms/big_endian
05b169ca0430 eSpeak fixes for SPARC
ww36193
parents: 13238
diff changeset
    55
make -j$CPUS CFLAGS="%{endian_macro}"
05b169ca0430 eSpeak fixes for SPARC
ww36193
parents: 13238
diff changeset
    56
./espeak-phoneme-data ../../espeak-data ../../espeak-data phondata-manifest
05b169ca0430 eSpeak fixes for SPARC
ww36193
parents: 13238
diff changeset
    57
cd ../..
05b169ca0430 eSpeak fixes for SPARC
ww36193
parents: 13238
diff changeset
    58
%else
05b169ca0430 eSpeak fixes for SPARC
ww36193
parents: 13238
diff changeset
    59
%define endian_macro ""
05b169ca0430 eSpeak fixes for SPARC
ww36193
parents: 13238
diff changeset
    60
%endif
13198
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    61
cd src
13330
05b169ca0430 eSpeak fixes for SPARC
ww36193
parents: 13238
diff changeset
    62
make -j$CPUS EXTRA_LIBS=-lm AUDIO=sada CXXFLAGS="-O2 %{endian_macro}"
05b169ca0430 eSpeak fixes for SPARC
ww36193
parents: 13238
diff changeset
    63
make install EXTRA_LIBS=-lm AUDIO=sada DESTDIR=$RPM_BUILD_ROOT CXXFLAGS="-O2 %{endian_macro}"
13198
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    64
rm $RPM_BUILD_ROOT/%{_libdir}/lib*.a
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    65
13238
d8d961a1a3fd 2008-08-21 Dermot McCluskey <[email protected]>
dermot
parents: 13198
diff changeset
    66
%install
d8d961a1a3fd 2008-08-21 Dermot McCluskey <[email protected]>
dermot
parents: 13198
diff changeset
    67
#Install manpages
d8d961a1a3fd 2008-08-21 Dermot McCluskey <[email protected]>
dermot
parents: 13198
diff changeset
    68
rm -rf $RPM_BUILD_ROOT%{_mandir}
d8d961a1a3fd 2008-08-21 Dermot McCluskey <[email protected]>
dermot
parents: 13198
diff changeset
    69
cd %{_builddir}/%src_name-%version-source/sun-manpages
d8d961a1a3fd 2008-08-21 Dermot McCluskey <[email protected]>
dermot
parents: 13198
diff changeset
    70
make install DESTDIR=$RPM_BUILD_ROOT
d8d961a1a3fd 2008-08-21 Dermot McCluskey <[email protected]>
dermot
parents: 13198
diff changeset
    71
d8d961a1a3fd 2008-08-21 Dermot McCluskey <[email protected]>
dermot
parents: 13198
diff changeset
    72
13198
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    73
%clean
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    74
rm -rf $RPM_BUILD_ROOT
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    75
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    76
%files
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    77
%defattr (-, root, bin)
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    78
%dir %attr (0755, root, bin) %{_bindir}
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    79
%{_bindir}/*
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    80
%dir %attr (0755, root, bin) %{_libdir}
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    81
%{_libdir}/lib*.so*
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    82
%dir %attr (0755, root, sys) %{_datadir}
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    83
%{_datadir}/*
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    84
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    85
%files devel
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    86
%defattr (-, root, bin)
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    87
%{_includedir}
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    88
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
    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
1f07a362343f 2009-08-21 Li Yuan <[email protected]>
liyuan
parents: 16300
diff changeset
    94
* Fri Aug 21 2009 - [email protected]
1f07a362343f 2009-08-21 Li Yuan <[email protected]>
liyuan
parents: 16300
diff changeset
    95
- Change owner to liyuan.
16300
2f19406544c1 Add Vendor and License to SUNWespeak.spec
ww36193
parents: 16153
diff changeset
    96
* Mon Aug 17 2009 - [email protected]
2f19406544c1 Add Vendor and License to SUNWespeak.spec
ww36193
parents: 16153
diff changeset
    97
- Add Vendor and License
16153
fcab51951c03 2009-07-28 Christian Kelly <[email protected]>
chrisk
parents: 15715
diff changeset
    98
* Tue Jul 28 2009 - [email protected]
fcab51951c03 2009-07-28 Christian Kelly <[email protected]>
chrisk
parents: 15715
diff changeset
    99
- Bump to 1.40.02.
15715
5e3636a97cb7 2009-05-04 Brian Cameron <[email protected]>
yippi
parents: 15051
diff changeset
   100
* Mon May 04 2009 - [email protected]
5e3636a97cb7 2009-05-04 Brian Cameron <[email protected]>
yippi
parents: 15051
diff changeset
   101
- Bump to 1.40.
15051
6f635a5829a0 2009-02-10 Halton Huo <[email protected]>
halton
parents: 13677
diff changeset
   102
* Tue Feb 10 2009 - [email protected]
6f635a5829a0 2009-02-10 Halton Huo <[email protected]>
halton
parents: 13677
diff changeset
   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
d12b87ea356f * Mon Sep 02 2008 - Harry Lu
harrylu
parents: 13330
diff changeset
   106
* Mon Sep 02 2008 - Harry Lu
d12b87ea356f * Mon Sep 02 2008 - Harry Lu
harrylu
parents: 13330
diff changeset
   107
- Add bug ID for espeak-02-endian.diff
13330
05b169ca0430 eSpeak fixes for SPARC
ww36193
parents: 13238
diff changeset
   108
* Fri Aug 29 2008 - Willie Walker
05b169ca0430 eSpeak fixes for SPARC
ww36193
parents: 13238
diff changeset
   109
- Fix SPARC build endian-ness
13238
d8d961a1a3fd 2008-08-21 Dermot McCluskey <[email protected]>
dermot
parents: 13198
diff changeset
   110
* Thu Aug 21 2008 - Dermot McCluskey
d8d961a1a3fd 2008-08-21 Dermot McCluskey <[email protected]>
dermot
parents: 13198
diff changeset
   111
- added manpages and file header
13198
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
   112
* Wed Aug 20 2008 - Willie Walker
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
   113
- Migrate to JDS (SFEespeak.spec to SUNWespeak.spec)
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
   114
* Tue Aug 12 2008 - Willie Walker
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
   115
- Port to SunStudio (thanks Brian Cameron!)
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
   116
* Tue Apr 15 2008 - Willie Walker
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
   117
- Upgrade to version 1.37 which contains direct SADA support and eliminates
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
   118
  all PulseAudio and other dependencies.
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
   119
* Tue Jan 29 2008 - Willie Walker
690186125954 Migrate SFEespeak.spec to SUNWespeak.spec
ww36193
parents:
diff changeset
   120
- Initial spec