author | dcarbery |
Mon, 23 Oct 2006 12:46:17 +0000 | |
branch | gnome-2-14 |
changeset 19195 | 352a4716f1f3 |
parent 7105 | 3dc2520ca4ad |
child 8529 | ace8e9b8a2b7 |
permissions | -rw-r--r-- |
2386 | 1 |
# |
5518 | 2 |
# License (c) 2005 Sun Microsystems Inc. |
2386 | 3 |
# This file and all modifications and additions to the pristine |
4 |
# package are under the same license as the package itself. |
|
5 |
# |
|
6 |
||
7 |
Name: aspell |
|
6414 | 8 |
Version: 0.60.4 |
5518 | 9 |
Release: 356 |
2386 | 10 |
Vendor: Sun Microsystems, Inc. |
5518 | 11 |
Distribution: Java Desktop System |
2386 | 12 |
License: LGPL |
13 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
14 |
Docdir: %{_datadir}/doc |
|
15 |
Autoreqprov: on |
|
16 |
URL: http://www.sun.com/software/javadesktopsystem/ |
|
17 |
Epoch: 2 |
|
6244 | 18 |
Source: ftp://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz |
6670 | 19 |
Patch1: aspell-01-forte.diff |
2386 | 20 |
Summary: A spelling checker. |
21 |
Group: Applications/Text |
|
22 |
Obsoletes: pspell < 0.50 |
|
23 |
Obsoletes: aspell-en-gb < 0.50 |
|
24 |
Obsoletes: aspell-en-ca < 0.50 |
|
25 |
Obsoletes: aspell-en < 0.50 |
|
26 |
||
27 |
%description |
|
28 |
Aspell is a spelling checker designed to eventually replace Ispell. |
|
29 |
It also has support for checking (La)TeX and Html files, and run time |
|
30 |
support for other non-English languages. |
|
31 |
||
32 |
%files |
|
33 |
%defattr(-, root, root) |
|
6923 | 34 |
%doc README TODO |
2386 | 35 |
%{_bindir}/* |
6923 | 36 |
%{_datadir}/* |
2386 | 37 |
%{_libdir}/lib*.so.* |
7105
3dc2520ca4ad
* aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents:
6923
diff
changeset
|
38 |
%{_libdir}/aspell |
2386 | 39 |
|
40 |
%package -n aspell-devel |
|
41 |
Summary: Static libraries and header files for aspell |
|
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 | 44 |
Obsoletes: pspell-devel < 0.50 |
45 |
||
46 |
%description -n aspell-devel |
|
47 |
Aspell is a spelling checker. The aspell-devel package includes the |
|
48 |
static libraries and header files needed for Aspell development. Note |
|
49 |
that the recommend way to use aspell is through the Pspell library. |
|
50 |
||
51 |
%files -n aspell-devel |
|
52 |
%defattr(-, root, root) |
|
5518 | 53 |
%{_libdir}/*.so* |
2386 | 54 |
%{_includedir}/* |
55 |
||
56 |
%prep |
|
57 |
%setup -q -n %{name}-%{version} |
|
6670 | 58 |
%patch1 -p1 |
2386 | 59 |
|
60 |
%build |
|
5518 | 61 |
%ifos linux |
62 |
if [ -x /usr/bin/getconf ]; then |
|
63 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
64 |
fi |
|
65 |
%else |
|
66 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
67 |
%endif |
|
68 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
69 |
CPUS=1 |
|
70 |
fi |
|
71 |
||
72 |
libtoolize --force |
|
5758 | 73 |
aclocal $ACLOCAL_FLAGS |
74 |
autoconf |
|
5518 | 75 |
automake -a -c -f |
6670 | 76 |
|
77 |
%ifos solaris |
|
78 |
%define curses_options "--disable-wide-curses" |
|
79 |
%else |
|
80 |
%define curses_options "" |
|
81 |
%endif |
|
82 |
||
83 |
# For some reason, wide curses fails on Solaris, so disabling for now. |
|
5518 | 84 |
CFLAGS="$RPM_OPT_FLAGS" ./configure \ |
85 |
--prefix=%{_prefix} \ |
|
86 |
--sysconfdir=/etc \ |
|
87 |
--mandir=%{_mandir} \ |
|
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 | 92 |
|
93 |
make -j$CPUS |
|
94 |
||
2386 | 95 |
%install |
5518 | 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 | 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 | 101 |
%clean |
5518 | 102 |
rm -rf $RPM_BUILD_ROOT |
2386 | 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 | 109 |
|
6678 | 110 |
* Fri Jan 27 2006 - [email protected] |
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 | 113 |
* Wed Jan 25 2006 - [email protected] |
6670 | 114 |
- Updated so aspell 0.60.4 now builds. Added --disable-wide-curses when |
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 | 117 |
* Tue Dec 20 2005 - [email protected] |
118 |
- Bump to 0.60.4. |
|
7105
3dc2520ca4ad
* aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents:
6923
diff
changeset
|
119 |
|
5780 | 120 |
* Fri Sep 09 2005 - [email protected] |
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 | 123 |
* Wed Sep 07 2005 - [email protected] |
5760 | 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 | 126 |
* Fri Aug 05 2005 - [email protected] |
127 |
- simplify spec file |
|
7105
3dc2520ca4ad
* aspell.spec, Solaris/SUNWaspell.spec: Change aspell lib dir
hh150184
parents:
6923
diff
changeset
|
128 |
|
4961 | 129 |
* Fri Jan 28 2005 - [email protected] |
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 | 135 |
* Mon Aug 23 2004 - [email protected] |
136 |
- Add Epoch macro to requires feild of the devel package. |
|
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 | 142 |
* Thu May 27 2004 - [email protected] |
143 |
- added patch to compile with Forte |
|
144 |
- hack libtool to work around a forte bug |