1 # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
3 # All modifications and additions to the file contributed by third parties
4 # remain the property of their copyright owners, unless otherwise agreed
5 # upon. The license for this file, and modifications and additions to the
6 # file, is the same license as for the pristine package itself (unless the
7 # license for the pristine package is not an Open Source License, in which
8 # case the license is the MIT License). An "Open Source License" is a
9 # license that conforms to the Open Source Definition (Version 1.9)
10 # published by the Open Source Initiative.
16 Summary: A Free and Open Source Spell Checker
17 Url: http://aspell.net/
18 Group: System/Libraries
19 Source0: ftp://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz
21 BuildRequires: gcc-c++
22 BuildRequires: gettext-tools
23 BuildRequires: libtool
24 BuildRequires: ncurses-devel
27 GNU Aspell is a spell checker designed to eventually replace Ispell. It
28 can be used as a library or as an independent spell checker.
30 Its main feature is that it does a much better job of coming up with
31 possible suggestions than just about any other spell checker available
32 for the English language, including Ispell and Microsoft Word. It also
33 has many other technical enhancements over Ispell, such as using shared
34 memory for dictionaries and intelligently handling personal
35 dictionaries when more than one Aspell process is open at once.
38 Summary: Include Files and Libraries Mandatory for Development with aspell
39 Group: Development/Libraries
41 Requires: libaspell = %{version}
42 Requires: libpspell = %{version}
45 This package contains all necessary include files and libraries needed
46 to develop applications that require aspell.
49 Summary: GNU Aspell - Ispell compatibility
51 Requires: %{name} = %{version}
54 GNU Aspell is a spell checker designed to eventually replace Ispell. It
55 can be used as a library or as an independent spell checker.
57 This package contains an ispell script for compatibility reasons so that
58 programs that expect the "ispell" command will work correctly.
61 Summary: GNU Aspell - Spell compatibility
63 Requires: %{name} = %{version}
66 GNU Aspell is a spell checker designed to eventually replace Ispell. It
67 can be used as a library or as an independent spell checker.
69 This package contains a spell script for compatibility reasons so that programs
70 that expect the "spell" command will work correctly.
73 Summary: GNU Aspell Library
74 Group: System/Libraries
76 %description -n libaspell
77 GNU Aspell is a spell checker designed to eventually replace Ispell. It
78 can be used as a library or as an independent spell checker.
80 This package contains the aspell library.
83 Summary: GNU Aspell - Pspell Compatibility Library
84 Group: System/Libraries
86 %description -n libpspell
87 GNU Aspell is a spell checker designed to eventually replace Ispell. It
88 can be used as a library or as an independent spell checker.
90 This package contains the pspell compatibility library.
97 export CXXFLAGS="%{optflags} `ncursesw6-config --cflags`"
98 #this is an ugly kludge , don't look :-)
99 export LDFLAGS="`ncursesw6-config --libs`"
101 --enable-curses="-lncursesw" \
108 # Links for compatibility reasons (ispell and spell)
109 ln -s %{_libdir}/aspell-0.60/ispell %{buildroot}%{_bindir}
110 ln -s %{_libdir}/aspell-0.60/spell %{buildroot}%{_bindir}
111 %fdupes -s %{buildroot}
118 %post -n libaspell -p /sbin/ldconfig
120 %postun -n libaspell -p /sbin/ldconfig
122 %post -n libpspell -p /sbin/ldconfig
124 %postun -n libpspell -p /sbin/ldconfig
127 %files -f %{name}.lang
128 %defattr(-,root,root,-)
131 %{_bindir}/aspell-import
133 %{_bindir}/run-with-aspell
134 %{_bindir}/word-list-compress
137 %defattr(-,root,root,-)
138 %doc manual/aspell-dev.html/
139 %{_bindir}/pspell-config
140 %{_includedir}/pspell/
142 %{_libdir}/libaspell.so
143 %{_libdir}/libpspell.so
144 %doc %{_infodir}/%{name}-dev.info%{ext_info}
145 %doc %{_mandir}/man1/pspell-config.1%{ext_man}
148 %defattr(-,root,root,-)
152 %defattr(-,root,root,-)
156 %defattr(-,root,root,-)
157 %{_libdir}/aspell-0.60/
158 %{_libdir}/libaspell.so.15*
161 %defattr(-,root,root,-)
162 %{_libdir}/libpspell.so.15*