]> git.pld-linux.org Git - packages/aspell.git/blob - aspell.spec
2e7d8698b2f32aca6358c8dc8a85cb70f92cfd9f
[packages/aspell.git] / aspell.spec
1 Summary:        Aspell is an Open Source spell checker.
2 Name:           aspell
3 Version:        .27.2
4 Release:        3
5 Serial:         1
6 Copyright:      LGPL
7 Group:          Utilities/Text
8 Group(pl):      Narzêdzia/Tekst
9 Vendor:         Kevin Atkinson <kevinatk@home.com>
10 Source:         http://metalab.unc.edu/kevina/aspell/%{name}-%{version}.tar.gz
11 URL:            http://metalab.unc.edu/kevina/aspell/
12 Provides:       ispell
13 Obsoletes:      ispell
14 BuildRoot:      /tmp/%{name}-%{version}-root
15
16 %description
17 Aspell is an Open Source spell checker designed to eventually replace
18 Ispell. Its main feature is that it does a much better job of coming up with
19 possible suggestions than Ispell does. In fact recent tests shows that it
20 even does better than Microsoft Word 97's spell checker in some cases. In
21 addition it has both compile time and run time support for other non English
22 languages. Aspell also doubles as a powerful C++ library with C and Perl
23 interfaces in the works.
24
25 %package devel
26 Summary:        Libraries and header files for aspell development
27 Group:          Development/Libraries
28 Group(pl):      Programowanie/Biblioteki
29 Serial:         %{serial}
30 Requires:       %{name} = %{version}
31
32 %description devel
33 Aspell is an Open Source spell checker.
34
35 Libraries and header files for aspell development
36
37 %package static
38 Summary:        Static Libraries for aspell development
39 Group:          Development/Libraries
40 Group(pl):      Programowanie/Biblioteki
41 Serial:         %{serial}
42 Requires:       %{name}-devel = %{version}
43
44 %description static
45 Aspell is an Open Source spell checker.
46
47 Static Libraries for aspell development
48
49 %prep
50 %setup -q
51
52 cp -p /usr/include/g++/stl_rope.h .
53 patch <misc/stl_rope-30.diff
54
55 %build
56 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
57 CXXFLAGS="$RPM_OPT_FLAGS" \
58 ./configure \
59         --prefix=/usr \
60         --libdir=/usr/share \
61         --enable-shared \
62         --enable-static
63 make 
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 make install-strip \
69         DESTDIR=$RPM_BUILD_ROOT \
70         pkgdatadir=/usr/share/aspell \
71         libdir=/usr/lib
72
73 #cp -pr $RPM_BUILD_ROOT/usr/doc/aspell .
74
75 strip --strip-unneeded $RPM_BUILD_ROOT/usr/lib/lib*.so.*.*
76
77 ln -sf aspell $RPM_BUILD_ROOT/usr/bin/ispell
78 rm -rf $RPM_BUILD_ROOT/usr/{bin/run-with-aspell,share/aspell/ispell}
79
80 gzip -9nf manual/manual2.lyx manual/man-text/*.txt
81
82 %post   -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %files
89 %defattr(644,root,root,755)
90 %doc README TODO manual/{*,man-text/*.txt}.gz
91 %attr(755,root,root) /usr/bin/*
92 /usr/share/aspell
93 /usr/lib/libaspell.so.*.*
94
95 %files  devel
96 %defattr(644,root,root,755)
97 %attr(755,root,root) /usr/lib/libaspell.so
98 /usr/include/aspell
99 /usr/lib/libaspell.la
100
101 %files static
102 %defattr(644,root,root,755)
103 /usr/lib/libaspell.a
104
105 %changelog
106 * Mon May  3 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
107   [.27.2-3]
108 - moved aspell dictionaries to /usr/share/aspell,
109 - added stripping shared libraries,
110 - "manke install" with using $DESTDIR,
111 - added using $RPM_OPT_FLAGS in CXXFLAGS on compile time,
112 - added /usr/bin/ispell symplink to aspell,
113 - added gzipping %doc,
114 - added Provides and Obsoletes ispell (asspel is full replacement ispell but
115   much faster and beter).
116
117 * Fri Apr 30 1999 Artur Frysiak <wiget@pld.org.pl>
118 - added static subpackage
119 - full %%attr description
120 - partial pl translation
121
122 * Tue Mar  2 1999 Ryan Weaver <ryanw@infohwy.com>
123   [aspell-.27.2-2]
124 - Changes from .27.1 to .27.2 (Mar 1, 1999)
125 - Fixed a major bug that caused aspell to dump core when used
126   without any arguments
127 - Fixed another major bug that caused aspell to do nothing when used
128   in interactive mode.
129 - Added an option to exit in Aspell's interactive mode.
130 - Removed some old documentation files from the distribution.
131 - Minor changes on to the section on using Aspell with egcs.
132 - Minor changes to remove -Wall warnings.
This page took 0.631395 seconds and 3 git commands to generate.