1 Summary: Aspell is an Open Source spell checker.
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
15 BuildRoot: /tmp/%{name}-%{version}-root
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.
27 Summary: Libraries and header files for aspell development
28 Group: Development/Libraries
29 Group(pl): Programowanie/Biblioteki
31 Requires: %{name} = %{version}
34 Aspell is an Open Source spell checker.
36 Libraries and header files for aspell development
39 Summary: Static Libraries for aspell development
40 Group: Development/Libraries
41 Group(pl): Programowanie/Biblioteki
43 Requires: %{name}-devel = %{version}
46 Aspell is an Open Source spell checker.
48 Static Libraries for aspell development
53 cp -p %{_includedir}/g++/stl_rope.h .
54 patch <misc/stl_rope-30.diff
57 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
58 CXXFLAGS="$RPM_OPT_FLAGS" \
59 ./configure %{_target_platform} \
61 --libdir=%{_datadir} \
67 rm -rf $RPM_BUILD_ROOT
70 DESTDIR=$RPM_BUILD_ROOT \
71 pkgdatadir=%{_datadir}/aspell \
74 #cp -pr $RPM_BUILD_ROOT/usr/doc/aspell .
76 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
77 strip $RPM_BUILD_ROOT%{_bindir}/* || :
79 ln -sf aspell $RPM_BUILD_ROOT%{_bindir}/ispell
80 rm -rf $RPM_BUILD_ROOT/usr/{bin/run-with-aspell,share/aspell/ispell}
82 gzip -9nf manual/manual2.lyx manual/man-text/*.txt
84 %post -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
88 rm -rf $RPM_BUILD_ROOT
91 %defattr(644,root,root,755)
92 %doc README TODO manual/{*,man-text/*.txt}.gz
93 %attr(755,root,root) %{_bindir}/*
95 %{_libdir}/libaspell.so.*.*
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/libaspell.so
100 %{_includedir}/aspell
101 %{_libdir}/libaspell.la
104 %defattr(644,root,root,755)
105 %{_libdir}/libaspell.a
107 %define date %(LC_ALL="C" date +"%a %b %d %Y"`)