aspell.spec
author dcarbery
Mon, 23 Oct 2006 12:46:17 +0000
branchgnome-2-14
changeset 19195 352a4716f1f3
parent 7105 3dc2520ca4ad
child 8529 ace8e9b8a2b7
permissions -rw-r--r--
2006-10-23 Damien Carbery <[email protected]> * docs/ssa/*: Remove these, as they're now up on the JDS project pages under 'Tasks/Single Sys Admin'.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2386
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
     1
#
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     2
# License (c) 2005 Sun Microsystems Inc.
2386
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
     3
# This file and all modifications and additions to the pristine
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
     4
# package are under the same license as the package itself.
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
     5
#
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
     6
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
     7
Name:     	aspell
6414
aba60f23ccf0 * aspell.spec: Bump to 0.60.4.
dc144907
parents: 6244
diff changeset
     8
Version: 	0.60.4
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     9
Release:        356
2386
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    10
Vendor:		Sun Microsystems, Inc.
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    11
Distribution:	Java Desktop System
2386
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    12
License:	LGPL
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    13
BuildRoot:	%{_tmppath}/%{name}-%{version}-build
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    14
Docdir:         %{_datadir}/doc
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    15
Autoreqprov:	on
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    16
URL:		http://www.sun.com/software/javadesktopsystem/
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    17
Epoch:		2
6244
f5e4528b4be9 2005-11-02 Glynn Foster <[email protected]>
gman
parents: 5780
diff changeset
    18
Source:		ftp://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz
6670
f7ed84d9aca7 2006-01-25 Brian Cameron <[email protected]>
bc99092
parents: 6414
diff changeset
    19
Patch1:		aspell-01-forte.diff
2386
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    20
Summary:	A spelling checker.
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    21
Group:		Applications/Text
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    22
Obsoletes:	pspell < 0.50
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    23
Obsoletes:	aspell-en-gb < 0.50
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    24
Obsoletes:	aspell-en-ca < 0.50
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    25
Obsoletes:	aspell-en < 0.50
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    26
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    27
%description
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    28
Aspell is a spelling checker designed to eventually replace Ispell.
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    29
It also has support for checking (La)TeX and Html files, and run time
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    30
support for other non-English languages.
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    31
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    32
%files
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    33
%defattr(-, root, root)
6923
45fbffcf5f44 2006-03-13 Laszlo Peter <[email protected]>
laca
parents: 6678
diff changeset
    34
%doc README TODO
2386
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    35
%{_bindir}/*
6923
45fbffcf5f44 2006-03-13 Laszlo Peter <[email protected]>
laca
parents: 6678
diff changeset
    36
%{_datadir}/*
2386
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    37
%{_libdir}/lib*.so.*
7105
3dc2520ca4ad * aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents: 6923
diff changeset
    38
%{_libdir}/aspell
2386
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    39
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    40
%package -n aspell-devel
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    41
Summary:	Static libraries and header files for aspell
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    42
Group:		Applications/Text
4848
99851739bb98 * aspell.spec: Fix 5108760: Remove Epoch macro, causing dependency
dc144907
parents: 4801
diff changeset
    43
Requires:	aspell => %{version}-%{release}
2386
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    44
Obsoletes:	pspell-devel < 0.50
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    45
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    46
%description -n aspell-devel
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    47
Aspell is a spelling checker. The aspell-devel package includes the
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    48
static libraries and header files needed for Aspell development.  Note
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    49
that the recommend way to use aspell is through the Pspell library.
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    50
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    51
%files -n aspell-devel
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    52
%defattr(-, root, root)
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    53
%{_libdir}/*.so*
2386
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    54
%{_includedir}/*
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    55
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    56
%prep
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    57
%setup  -q -n %{name}-%{version}
6670
f7ed84d9aca7 2006-01-25 Brian Cameron <[email protected]>
bc99092
parents: 6414
diff changeset
    58
%patch1 -p1
2386
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    59
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    60
%build
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    61
%ifos linux
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    62
if [ -x /usr/bin/getconf ]; then
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    63
  CPUS=`getconf _NPROCESSORS_ONLN`
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    64
fi
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    65
%else
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    66
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    67
%endif
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    68
if test "x$CPUS" = "x" -o $CPUS = 0; then
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    69
  CPUS=1
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    70
fi
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    71
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    72
libtoolize --force
5758
1602e727fc6d 2005-09-06 Laszlo Peter <[email protected]>
laca
parents: 5518
diff changeset
    73
aclocal $ACLOCAL_FLAGS
1602e727fc6d 2005-09-06 Laszlo Peter <[email protected]>
laca
parents: 5518
diff changeset
    74
autoconf
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    75
automake -a -c -f
6670
f7ed84d9aca7 2006-01-25 Brian Cameron <[email protected]>
bc99092
parents: 6414
diff changeset
    76
f7ed84d9aca7 2006-01-25 Brian Cameron <[email protected]>
bc99092
parents: 6414
diff changeset
    77
%ifos solaris
f7ed84d9aca7 2006-01-25 Brian Cameron <[email protected]>
bc99092
parents: 6414
diff changeset
    78
%define curses_options "--disable-wide-curses"
f7ed84d9aca7 2006-01-25 Brian Cameron <[email protected]>
bc99092
parents: 6414
diff changeset
    79
%else
f7ed84d9aca7 2006-01-25 Brian Cameron <[email protected]>
bc99092
parents: 6414
diff changeset
    80
%define curses_options ""
f7ed84d9aca7 2006-01-25 Brian Cameron <[email protected]>
bc99092
parents: 6414
diff changeset
    81
%endif
f7ed84d9aca7 2006-01-25 Brian Cameron <[email protected]>
bc99092
parents: 6414
diff changeset
    82
f7ed84d9aca7 2006-01-25 Brian Cameron <[email protected]>
bc99092
parents: 6414
diff changeset
    83
# For some reason, wide curses fails on Solaris, so disabling for now.
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    84
CFLAGS="$RPM_OPT_FLAGS" ./configure \
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    85
    --prefix=%{_prefix} \
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    86
    --sysconfdir=/etc \
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    87
    --mandir=%{_mandir} \
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    88
    --infodir=%{_datadir}/info \
7105
3dc2520ca4ad * aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents: 6923
diff changeset
    89
    --localstatedir=/var %{curses_options} \
3dc2520ca4ad * aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents: 6923
diff changeset
    90
    --enable-pkgdatadir=%{_libdir}/aspell  \
3dc2520ca4ad * aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents: 6923
diff changeset
    91
    --enable-pkglibdir=%{_libdir}/aspell
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    92
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    93
make -j$CPUS
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    94
2386
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
    95
%install
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    96
make install DESTDIR=$RPM_BUILD_ROOT mkdir_p="mkdir -p"
7105
3dc2520ca4ad * aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents: 6923
diff changeset
    97
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
3dc2520ca4ad * aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents: 6923
diff changeset
    98
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
6923
45fbffcf5f44 2006-03-13 Laszlo Peter <[email protected]>
laca
parents: 6678
diff changeset
    99
rm -rf $RPM_BUILD_ROOT%{_datadir}/info
3646
70de5f2416c4 * aspell.spec: Delete *.la in %install so they are not reported as unpackaged files.
dc144907
parents: 3519
diff changeset
   100
2386
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
   101
%clean
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
   102
rm -rf $RPM_BUILD_ROOT
2386
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
   103
7105
3dc2520ca4ad * aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents: 6923
diff changeset
   104
%changelog
3dc2520ca4ad * aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents: 6923
diff changeset
   105
* Thu Apr 20 2006 - [email protected]
3dc2520ca4ad * aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents: 6923
diff changeset
   106
- Change pkgdatadir and pkglibdir to %{_libdir}/aspell, request by 
3dc2520ca4ad * aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents: 6923
diff changeset
   107
  LSARC/2006/231.
3dc2520ca4ad * aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents: 6923
diff changeset
   108
- Delete *.la and *.a in %install.
2386
e8b83b3d76a3 2004-04-04 Laszlo Peter <[email protected]>
laca
parents:
diff changeset
   109
6678
cb0eaf7dbc17 2006-01-27 Damien Carbery <[email protected]>
dc144907
parents: 6670
diff changeset
   110
* Fri Jan 27 2006 - [email protected]
cb0eaf7dbc17 2006-01-27 Damien Carbery <[email protected]>
dc144907
parents: 6670
diff changeset
   111
- Remove libtool hack as forte bug is fixed.
7105
3dc2520ca4ad * aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents: 6923
diff changeset
   112
6923
45fbffcf5f44 2006-03-13 Laszlo Peter <[email protected]>
laca
parents: 6678
diff changeset
   113
* Wed Jan 25 2006 - [email protected]
6670
f7ed84d9aca7 2006-01-25 Brian Cameron <[email protected]>
bc99092
parents: 6414
diff changeset
   114
- Updated so aspell 0.60.4 now builds.  Added --disable-wide-curses when
f7ed84d9aca7 2006-01-25 Brian Cameron <[email protected]>
bc99092
parents: 6414
diff changeset
   115
  building on Solaris, since this causes build problems.
7105
3dc2520ca4ad * aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents: 6923
diff changeset
   116
6414
aba60f23ccf0 * aspell.spec: Bump to 0.60.4.
dc144907
parents: 6244
diff changeset
   117
* Tue Dec 20 2005 - [email protected]
aba60f23ccf0 * aspell.spec: Bump to 0.60.4.
dc144907
parents: 6244
diff changeset
   118
- Bump to 0.60.4.
7105
3dc2520ca4ad * aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents: 6923
diff changeset
   119
5780
f4bb792157f9 2005-09-09 Laszlo Peter <[email protected]>
laca
parents: 5760
diff changeset
   120
* Fri Sep 09 2005 - [email protected]
f4bb792157f9 2005-09-09 Laszlo Peter <[email protected]>
laca
parents: 5760
diff changeset
   121
- make it not crash when built with libtool 1.5.20
7105
3dc2520ca4ad * aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents: 6923
diff changeset
   122
5758
1602e727fc6d 2005-09-06 Laszlo Peter <[email protected]>
laca
parents: 5518
diff changeset
   123
* Wed Sep 07 2005 - [email protected]
5760
7dcd0b41a599 2005-09-06 Laszlo Peter <[email protected]>
laca
parents: 5758
diff changeset
   124
- run autoconf; remove libtool hack -- no longer needed
7105
3dc2520ca4ad * aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents: 6923
diff changeset
   125
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
   126
* Fri Aug 05 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
   127
- simplify spec file
7105
3dc2520ca4ad * aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents: 6923
diff changeset
   128
4961
d6d5ecfa3d59 2005-01-28 Takao Fujiwara <[email protected]>
fujiwara
parents: 4860
diff changeset
   129
* Fri Jan 28 2005 - [email protected]
d6d5ecfa3d59 2005-01-28 Takao Fujiwara <[email protected]>
fujiwara
parents: 4860
diff changeset
   130
- Fix the wrong description by script failure.
7105
3dc2520ca4ad * aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents: 6923
diff changeset
   131
4848
99851739bb98 * aspell.spec: Fix 5108760: Remove Epoch macro, causing dependency
dc144907
parents: 4801
diff changeset
   132
* Fri Jan 14 2005 - [email protected]
99851739bb98 * aspell.spec: Fix 5108760: Remove Epoch macro, causing dependency
dc144907
parents: 4801
diff changeset
   133
- Fix 5108760: Remove Epoch macro, causing dependency problem with YaST.
7105
3dc2520ca4ad * aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents: 6923
diff changeset
   134
3686
78421fa744b4 2004-08-23 Niall Power <[email protected]>
niall
parents: 3679
diff changeset
   135
* Mon Aug 23 2004 - [email protected]
78421fa744b4 2004-08-23 Niall Power <[email protected]>
niall
parents: 3679
diff changeset
   136
- Add Epoch macro to requires feild of the devel package.
78421fa744b4 2004-08-23 Niall Power <[email protected]>
niall
parents: 3679
diff changeset
   137
  Under rpm4 rules it won't install without it.
7105
3dc2520ca4ad * aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents: 6923
diff changeset
   138
3646
70de5f2416c4 * aspell.spec: Delete *.la in %install so they are not reported as unpackaged files.
dc144907
parents: 3519
diff changeset
   139
* Fri Aug 20 2004 - [email protected]
70de5f2416c4 * aspell.spec: Delete *.la in %install so they are not reported as unpackaged files.
dc144907
parents: 3519
diff changeset
   140
- Delete *.la in %install so they are not reported as unpackaged files.
7105
3dc2520ca4ad * aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents: 6923
diff changeset
   141
2908
24aef5c3c3fd 2004-05-27 Laszlo Peter <[email protected]>
laca
parents: 2777
diff changeset
   142
* Thu May 27 2004 - [email protected]
24aef5c3c3fd 2004-05-27 Laszlo Peter <[email protected]>
laca
parents: 2777
diff changeset
   143
- added patch to compile with Forte
24aef5c3c3fd 2004-05-27 Laszlo Peter <[email protected]>
laca
parents: 2777
diff changeset
   144
- hack libtool to work around a forte bug