1 Summary: GNU Aspell is an Open Source spell checker
2 Summary(pl.UTF-8): GNU Aspell jest kontrolerem pisowni
3 Summary(pt_BR.UTF-8): Verificador ortográfico
8 License: LGPL v2 or v2.1
9 Group: Applications/Text
10 Source0: https://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz
11 # Source0-md5: 012fa9209203ae4e5a61c2a668fd10e3
12 Patch0: %{name}-info.patch
13 Patch1: %{name}-ac.patch
14 #Patch2: %{name}-home_etc.patch
15 URL: http://aspell.net/
16 BuildRequires: autoconf >= 2.50
17 BuildRequires: automake
18 BuildRequires: gettext-tools >= 0.19.3
19 BuildRequires: libstdc++-devel
20 BuildRequires: libtool >= 2:1.5
21 BuildRequires: ncurses-devel
22 BuildRequires: texinfo
23 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
24 Provides: pspell = %{epoch}:%{version}-%{release}
25 Obsoletes: libaspell15
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 GNU Aspell is a Free and Open Source spell checker designed to
31 eventually replace Ispell. It can either be used as a library or as an
32 independent spell checker. Its main feature is that it does a much
33 better job of coming up with possible suggestions than just about any
34 other spell checker out there for the English language, including
35 Ispell and Microsoft Word. It also has many other technical
36 enhancements over Ispell such as using shared memory for dictionaries
37 and intelligently handling personal dictionaries when more than one
38 Aspell process is open at once.
40 %description -l pl.UTF-8
41 GNU Aspell jest kontrolerem pisowni zaprojektowanym tak, by móc
42 zastąpić ispella. Dodatkowo zawiera wsparcie dla innych języków niż
43 angielski. Interfejs aspella napisany został w C++, a interfejsy w
44 Perlu i C są aktualnie rozwijane.
46 %description -l pt_BR.UTF-8
47 GNU Aspell é um verificador ortográfico criado para substituir o
48 antigo "ispell". Sua principal vantagem (sobre o Ispell) é uma melhor
49 sugestão de correções. Aspell inclui suporte a vários idiomas e pode
50 fazer a checagem de arquivos LaTeX e HTML.
53 Summary: aspell libraries
54 Summary(pl.UTF-8): Biblioteki aspella
56 Conflicts: aspell < 0.60.4-1.2
59 aspell/pspell libraries
61 %description libs -l pl.UTF-8
62 Biblioteki aspell/pspell.
65 Summary: Header files for aspell development
66 Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających aspella
67 Summary(pt_BR.UTF-8): Arquivos para desenvolvimento usando Aspell
68 Group: Development/Libraries
69 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
70 Requires: libstdc++-devel
71 Provides: pspell-devel = %{epoch}:%{version}-%{release}
72 Obsoletes: libaspell15-devel
73 Obsoletes: pspell-devel
76 Aspell is an Open Source spell checker. This package contains header
77 files for aspell development.
79 %description devel -l pl.UTF-8
80 Aspell jest kontrolerem pisowni. Ten pakiet zawiera pliki nagłówkowe
81 dla programistów używających bibliotek aspella.
83 %description devel -l pt_BR.UTF-8
84 Aspell é um corretor ortográfico. O pacote -devel inclui bibliotecas
85 dinâmicas e arquivos de inclusão necessários para o desenvolvimento
89 Summary: Static libraries for aspell development
90 Summary(pl.UTF-8): Biblioteki statyczne aspella
91 Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento usando Aspell
92 Group: Development/Libraries
93 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
94 Provides: pspell-static = %{epoch}:%{version}-%{release}
95 Obsoletes: pspell-static
98 Aspell is an Open Source spell checker. This package contains static
101 %description static -l pl.UTF-8
102 Aspell jest kontrolerem pisowni. Pakiet ten zawiera biblioteki
105 %description static -l pt_BR.UTF-8
106 Aspell é um corretor ortográfico. O pacote -devel-static inclui as
107 bibliotecas estáticas necessárias para o desenvolvimento utilizando o
114 # home_etc patch is fubar. If HOME_ETC var is not defined, it tries to open
116 # open("$HOME|.//.aspell.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
117 # Disabled until someone fixes it.
128 --enable-pkgdatadir=%{_datadir}/aspell \
129 --enable-pkglibdir=%{_libdir}/aspell
134 rm -rf $RPM_BUILD_ROOT
137 DESTDIR=$RPM_BUILD_ROOT
139 rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
143 rm -rf $RPM_BUILD_ROOT
145 %post libs -p /sbin/ldconfig
146 %postun libs -p /sbin/ldconfig
148 %post -p /sbin/postshell
149 -/usr/sbin/fix-info-dir -c %{_infodir}
151 %postun -p /sbin/postshell
152 -/usr/sbin/fix-info-dir -c %{_infodir}
154 %post devel -p /sbin/postshell
155 -/usr/sbin/fix-info-dir -c %{_infodir}
157 %postun devel -p /sbin/postshell
158 -/usr/sbin/fix-info-dir -c %{_infodir}
160 %files -f %{name}.lang
161 %defattr(644,root,root,755)
162 %doc README manual/aspell.html
163 %{_infodir}/aspell.info*
164 %attr(755,root,root) %{_bindir}/aspell
165 %attr(755,root,root) %{_bindir}/aspell-import
166 %attr(755,root,root) %{_bindir}/pre*
167 %attr(755,root,root) %{_bindir}/run-with-aspell
168 %attr(755,root,root) %{_bindir}/word-list-compress
169 %dir %{_datadir}/aspell
170 %attr(755,root,root) %{_datadir}/aspell/ispell
171 %attr(755,root,root) %{_datadir}/aspell/spell
172 %{_datadir}/aspell/*.cmap
173 %{_datadir}/aspell/*.cset
174 %{_datadir}/aspell/*.kbd
175 %{_mandir}/man1/aspell.1*
176 %{_mandir}/man1/aspell-import.1*
177 %{_mandir}/man1/pre*.1*
178 %{_mandir}/man1/run-with-aspell.1*
179 %{_mandir}/man1/word-list-compress.1*
182 %defattr(644,root,root,755)
183 %attr(755,root,root) %{_libdir}/libaspell.so.*.*.*
184 %attr(755,root,root) %ghost %{_libdir}/libaspell.so.15
185 %attr(755,root,root) %{_libdir}/libpspell.so.*.*.*
186 %attr(755,root,root) %ghost %{_libdir}/libpspell.so.15
190 %defattr(644,root,root,755)
191 %doc manual/aspell-dev.html
192 %attr(755,root,root) %{_bindir}/pspell-config
193 %attr(755,root,root) %{_libdir}/libaspell.so
194 %attr(755,root,root) %{_libdir}/libpspell.so
195 %{_libdir}/libaspell.la
196 %{_libdir}/libpspell.la
197 %{_includedir}/pspell
198 %{_includedir}/aspell.h
199 %{_mandir}/man1/pspell-config.1*
200 %{_infodir}/aspell-dev.info*
203 %defattr(644,root,root,755)
204 %{_libdir}/libaspell.a
205 %{_libdir}/libpspell.a