]>
Commit | Line | Data |
---|---|---|
7c47e7ac | 1 | %define name aspell |
2 | %define version .27.2 | |
3 | %define release 2 | |
4 | %define serial 1 | |
5 | ||
6 | Summary: Aspell is an Open Source spell checker. | |
7 | Name: %{name} | |
8 | Version: %{version} | |
9 | Release: %{release} | |
10 | Serial: %{serial} | |
11 | Copyright: LGPL | |
12 | Group: Utilities/Text | |
13 | URL: http://metalab.unc.edu/kevina/aspell | |
14 | Vendor: Kevin Atkinson <kevinatk@home.com> | |
15 | Source: %{name}-%{version}.tar.gz | |
16 | Distribution: Freshmeat RPMs | |
17 | Packager: Ryan Weaver <ryanw@infohwy.com> | |
18 | BuildRoot: /tmp/%{name}-%{version} | |
19 | ||
20 | %description | |
21 | Aspell is an Open Source spell checker designed to eventually replace | |
22 | Ispell. Its main feature is that it does a much better job of coming | |
23 | up with possible suggestions than Ispell does. In fact recent tests | |
24 | shows that it even does better than Microsoft Word 97's spell checker | |
25 | in some cases. In addition it has both compile time and run time | |
26 | support for other non English languages. Aspell also doubles as a | |
27 | powerful C++ library with C and Perl interfaces in the works. | |
28 | ||
29 | %package devel | |
30 | Summary: Static Libraries and header files for aspell | |
31 | Group: Development/Libraries | |
32 | Serial: %{serial} | |
33 | %description devel | |
34 | Aspell is an Open Source spell checker. | |
35 | ||
36 | Static Libraries and header files for aspell | |
37 | ||
38 | %prep | |
39 | %setup -q | |
40 | ||
41 | cp -p /usr/include/g++/stl_rope.h . | |
42 | patch <misc/stl_rope-30.diff | |
43 | ||
44 | ./configure --prefix=/usr --enable-static | |
45 | ||
46 | %build | |
47 | make | |
48 | ||
49 | %install | |
50 | if [ -e $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi | |
51 | mkdir -p $RPM_BUILD_ROOT | |
52 | make DESTDIR=$RPM_BUILD_ROOT install-strip | |
53 | ||
54 | cp -pr $RPM_BUILD_ROOT/usr/doc/aspell . | |
55 | ||
56 | %post | |
57 | /sbin/ldconfig | |
58 | ||
59 | %postun | |
60 | /sbin/ldconfig | |
61 | ||
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %files | |
66 | %defattr(-,root,root) | |
67 | %doc README TODO aspell/* | |
68 | /usr/bin/aspell | |
69 | /usr/bin/run-with-aspell | |
70 | /usr/lib/aspell | |
71 | /usr/lib/libaspell.so.* | |
72 | ||
73 | %files devel | |
74 | %defattr(-,root,root) | |
75 | /usr/include/aspell | |
76 | /usr/lib/libaspell.a | |
77 | /usr/lib/libaspell.la | |
78 | /usr/lib/libaspell.so | |
79 | ||
80 | %changelog | |
81 | * Tue Mar 2 1999 Ryan Weaver <ryanw@infohwy.com> | |
82 | [aspell-.27.2-2] | |
83 | - Changes from .27.1 to .27.2 (Mar 1, 1999) | |
84 | - Fixed a major bug that caused aspell to dump core when used | |
85 | without any arguments | |
86 | - Fixed another major bug that caused aspell to do nothing when used | |
87 | in interactive mode. | |
88 | - Added an option to exit in Aspell's interactive mode. | |
89 | - Removed some old documentation files from the distribution. | |
90 | - Minor changes on to the section on using Aspell with egcs. | |
91 | - Minor changes to remove -Wall warnings. |