]> git.pld-linux.org Git - packages/aspell.git/blob - aspell.spec
s/%{_target}/%{_target_platform}/
[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 %{_includedir}/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 %{_target_platform} \
60         --prefix=/usr \
61         --libdir=%{_datadir} \
62         --enable-shared \
63         --enable-static
64 make 
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 make install \
70         DESTDIR=$RPM_BUILD_ROOT \
71         pkgdatadir=%{_datadir}/aspell \
72         libdir=%{_libdir}
73
74 #cp -pr $RPM_BUILD_ROOT/usr/doc/aspell .
75
76 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
77 strip $RPM_BUILD_ROOT%{_bindir}/* || :
78
79 ln -sf aspell $RPM_BUILD_ROOT%{_bindir}/ispell
80 rm -rf $RPM_BUILD_ROOT/usr/{bin/run-with-aspell,share/aspell/ispell}
81
82 gzip -9nf manual/manual2.lyx manual/man-text/*.txt
83
84 %post   -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files
91 %defattr(644,root,root,755)
92 %doc README TODO manual/{*,man-text/*.txt}.gz
93 %attr(755,root,root) %{_bindir}/*
94 %{_datadir}/aspell
95 %{_libdir}/libaspell.so.*.*
96
97 %files  devel
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/libaspell.so
100 %{_includedir}/aspell
101 %{_libdir}/libaspell.la
102
103 %files static
104 %defattr(644,root,root,755)
105 %{_libdir}/libaspell.a
106
107 %changelog
108 * Mon May  3 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
109   [.27.2-3]
110 - added BuildPrereq rules,
111 - moved aspell dictionaries to %{_datadir}/aspell,
112 - added stripping shared libraries,
113 - "manke install" with using $DESTDIR,
114 - added using $RPM_OPT_FLAGS in CXXFLAGS on compile time,
115 - added %{_bindir}/ispell symplink to aspell,
116 - added gzipping %doc,
117 - added Provides and Obsoletes ispell (asspel is full replacement ispell but
118   much faster and beter).
119
120 * Fri Apr 30 1999 Artur Frysiak <wiget@pld.org.pl>
121 - added static subpackage
122 - full %%attr description
123 - partial pl translation
124
125 * Tue Mar  2 1999 Ryan Weaver <ryanw@infohwy.com>
126   [aspell-.27.2-2]
127 - Changes from .27.1 to .27.2 (Mar 1, 1999)
128 - Fixed a major bug that caused aspell to dump core when used
129   without any arguments
130 - Fixed another major bug that caused aspell to do nothing when used
131   in interactive mode.
132 - Added an option to exit in Aspell's interactive mode.
133 - Removed some old documentation files from the distribution.
134 - Minor changes on to the section on using Aspell with egcs.
135 - Minor changes to remove -Wall warnings.
This page took 0.137808 seconds and 4 git commands to generate.