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