]>
Commit | Line | Data |
---|---|---|
29808a3a | 1 | Summary: GNU Aspell is an Open Source spell checker |
b2074ef5 ER |
2 | Summary(pl.UTF-8): GNU Aspell jest kontrolerem pisowni |
3 | Summary(pt_BR.UTF-8): Verificador ortográfico | |
692f503b | 4 | Name: aspell |
58793b2f | 5 | Version: 0.60.6 |
9493c72a | 6 | Release: 5 |
3229d7a8 | 7 | Epoch: 3 |
58793b2f | 8 | License: LGPL v2 or v2.1 |
08284c5c | 9 | Group: Applications/Text |
14f62ae4 | 10 | Source0: http://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz |
58793b2f | 11 | # Source0-md5: bc80f0198773d5c05086522be67334eb |
adfd1e7c | 12 | Patch0: %{name}-info.patch |
1e460ecc | 13 | # Patch1: %{name}-home_etc.patch |
9c42f955 | 14 | Patch2: %{name}-mk-static-filter.pl.patch |
e31ae270 | 15 | Patch3: %{name}-ac.patch |
29808a3a | 16 | URL: http://aspell.net/ |
e614fd50 | 17 | BuildRequires: autoconf >= 2.50 |
c0e7792e | 18 | BuildRequires: automake |
e614fd50 | 19 | BuildRequires: gettext-devel >= 0.16.1 |
e31ae270 | 20 | BuildRequires: ncurses-devel |
6903c623 | 21 | BuildRequires: libstdc++-devel |
fdd666a7 | 22 | BuildRequires: libtool >= 2:1.5 |
829fa502 | 23 | BuildRequires: texinfo |
d11713af | 24 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
29808a3a | 25 | Provides: pspell = %{epoch}:%{version}-%{release} |
b5416d60 | 26 | Obsoletes: libaspell15 |
27 | Obsoletes: pspell | |
a0727e14 | 28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
7c47e7ac | 29 | |
30 | %description | |
29808a3a AM |
31 | GNU Aspell is a Free and Open Source spell checker designed to |
32 | eventually replace Ispell. It can either be used as a library or as an | |
33 | independent spell checker. Its main feature is that it does a much | |
34 | better job of coming up with possible suggestions than just about any | |
35 | other spell checker out there for the English language, including | |
36 | Ispell and Microsoft Word. It also has many other technical | |
37 | enhancements over Ispell such as using shared memory for dictionaries | |
38 | and intelligently handling personal dictionaries when more than one | |
39 | Aspell process is open at once. | |
1b33fe9a | 40 | |
45c1e30c JR |
41 | %description -l pl.UTF-8 |
42 | GNU Aspell jest kontrolerem pisowni zaprojektowanym tak, by móc | |
43 | zastąpić ispella. Dodatkowo zawiera wsparcie dla innych języków niż | |
44 | angielski. Interfejs aspella napisany został w C++, a interfejsy w | |
45 | Perlu i C są aktualnie rozwijane. | |
03b960a4 | 46 | |
45c1e30c JR |
47 | %description -l pt_BR.UTF-8 |
48 | GNU Aspell é um verificador ortográfico criado para substituir o | |
49 | antigo "ispell". Sua principal vantagem (sobre o Ispell) é uma melhor | |
50 | sugestão de correções. Aspell inclui suporte a vários idiomas e pode | |
b5416d60 | 51 | fazer a checagem de arquivos LaTeX e HTML. |
52 | ||
206e8364 JB |
53 | %package libs |
54 | Summary: aspell libraries | |
b2074ef5 | 55 | Summary(pl.UTF-8): Biblioteki aspella |
206e8364 | 56 | Group: Libraries |
ec313917 | 57 | Conflicts: aspell < 0.60.4-1.2 |
206e8364 JB |
58 | |
59 | %description libs | |
60 | aspell/pspell libraries | |
61 | ||
45c1e30c | 62 | %description libs -l pl.UTF-8 |
206e8364 JB |
63 | Biblioteki aspell/pspell. |
64 | ||
1b33fe9a | 65 | %package devel |
c0e7792e | 66 | Summary: Header files for aspell development |
b2074ef5 ER |
67 | Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających aspella |
68 | Summary(pt_BR.UTF-8): Arquivos para desenvolvimento usando Aspell | |
7c47e7ac | 69 | Group: Development/Libraries |
d11713af | 70 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
471c1212 | 71 | Requires: libstdc++-devel |
29808a3a | 72 | Provides: pspell-devel = %{epoch}:%{version}-%{release} |
b5416d60 | 73 | Obsoletes: libaspell15-devel |
74 | Obsoletes: pspell-devel | |
692f503b | 75 | |
1b33fe9a | 76 | %description devel |
c0e7792e JB |
77 | Aspell is an Open Source spell checker. This package contains header |
78 | files for aspell development. | |
692f503b | 79 | |
45c1e30c JR |
80 | %description devel -l pl.UTF-8 |
81 | Aspell jest kontrolerem pisowni. Ten pakiet zawiera pliki nagłówkowe | |
82 | dla programistów używających bibliotek aspella. | |
03b960a4 | 83 | |
45c1e30c JR |
84 | %description devel -l pt_BR.UTF-8 |
85 | Aspell é um corretor ortográfico. O pacote -devel inclui bibliotecas | |
86 | dinâmicas e arquivos de inclusão necessários para o desenvolvimento | |
b5416d60 | 87 | utilizando o aspell. |
88 | ||
1b33fe9a | 89 | %package static |
c0e7792e | 90 | Summary: Static libraries for aspell development |
b2074ef5 ER |
91 | Summary(pl.UTF-8): Biblioteki statyczne aspella |
92 | Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento usando Aspell | |
692f503b | 93 | Group: Development/Libraries |
fdd666a7 | 94 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
29808a3a | 95 | Provides: pspell-static = %{epoch}:%{version}-%{release} |
a0727e14 | 96 | Obsoletes: pspell-static |
692f503b | 97 | |
1b33fe9a | 98 | %description static |
c0e7792e JB |
99 | Aspell is an Open Source spell checker. This package contains static |
100 | aspell libraries. | |
7c47e7ac | 101 | |
45c1e30c | 102 | %description static -l pl.UTF-8 |
36035ad5 | 103 | Aspell jest kontrolerem pisowni. Pakiet ten zawiera biblioteki |
c0e7792e | 104 | statyczne aspella. |
03b960a4 | 105 | |
45c1e30c JR |
106 | %description static -l pt_BR.UTF-8 |
107 | Aspell é um corretor ortográfico. O pacote -devel-static inclui as | |
108 | bibliotecas estáticas necessárias para o desenvolvimento utilizando o | |
b5416d60 | 109 | aspell. |
110 | ||
7c47e7ac | 111 | %prep |
29808a3a | 112 | %setup -q |
8a20b7ca | 113 | %patch0 -p1 |
1e460ecc | 114 | # home_etc patch is fubar. If HOME_ETC var is not defined, it tries to open |
115 | # such files: | |
116 | # open("$HOME|.//.aspell.conf", O_RDONLY) = -1 ENOENT (No such file or directory) | |
117 | # Disabled until someone fixes it. | |
118 | #%%patch1 -p1 | |
9c42f955 | 119 | %patch2 -p0 |
e31ae270 | 120 | %patch3 -p1 |
7c47e7ac | 121 | |
7c47e7ac | 122 | %build |
c60a7195 | 123 | %{__gettextize} |
f7f1ba2a | 124 | %{__libtoolize} |
b3d888b5 | 125 | %{__aclocal} -I m4 |
f7f1ba2a JB |
126 | %{__autoconf} |
127 | %{__automake} | |
c0e7792e | 128 | %configure \ |
1b33fe9a | 129 | --enable-shared \ |
7882411f | 130 | --enable-static \ |
131 | --enable-pkgdatadir=%{_datadir}/aspell \ | |
ab1a1eaa | 132 | --enable-pkglibdir=%{_libdir}/aspell |
93c59535 | 133 | |
29808a3a | 134 | %{__make} |
7c47e7ac | 135 | |
136 | %install | |
692f503b | 137 | rm -rf $RPM_BUILD_ROOT |
2c8b2a3c | 138 | |
222611b2 | 139 | %{__make} install \ |
c0e7792e | 140 | DESTDIR=$RPM_BUILD_ROOT |
7c47e7ac | 141 | |
ce7517ab | 142 | rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir |
246f91bc | 143 | %find_lang %{name} |
144 | ||
7c47e7ac | 145 | %clean |
146 | rm -rf $RPM_BUILD_ROOT | |
147 | ||
d11713af ER |
148 | %post libs -p /sbin/ldconfig |
149 | %postun libs -p /sbin/ldconfig | |
c0e7792e | 150 | |
246f91bc | 151 | %files -f %{name}.lang |
692f503b | 152 | %defattr(644,root,root,755) |
246f91bc | 153 | %doc README manual/aspell.html |
154 | %{_infodir}/aspell.info* | |
e614fd50 JB |
155 | %attr(755,root,root) %{_bindir}/aspell |
156 | %attr(755,root,root) %{_bindir}/aspell-import | |
246f91bc | 157 | %attr(755,root,root) %{_bindir}/pre* |
246f91bc | 158 | %attr(755,root,root) %{_bindir}/run-with-aspell |
e614fd50 | 159 | %attr(755,root,root) %{_bindir}/word-list-compress |
f8820f74 ER |
160 | %dir %{_datadir}/aspell |
161 | %attr(755,root,root) %{_datadir}/aspell/ispell | |
162 | %attr(755,root,root) %{_datadir}/aspell/spell | |
163 | %{_datadir}/aspell/*.cmap | |
164 | %{_datadir}/aspell/*.cset | |
165 | %{_datadir}/aspell/*.kbd | |
e614fd50 JB |
166 | %{_mandir}/man1/aspell.1* |
167 | %{_mandir}/man1/aspell-import.1* | |
168 | %{_mandir}/man1/pre*.1* | |
169 | %{_mandir}/man1/run-with-aspell.1* | |
170 | %{_mandir}/man1/word-list-compress.1* | |
7c47e7ac | 171 | |
206e8364 JB |
172 | %files libs |
173 | %defattr(644,root,root,755) | |
e614fd50 | 174 | %attr(755,root,root) %{_libdir}/libaspell.so.*.*.* |
f8820f74 | 175 | %attr(755,root,root) %ghost %{_libdir}/libaspell.so.15 |
e614fd50 | 176 | %attr(755,root,root) %{_libdir}/libpspell.so.*.*.* |
f8820f74 | 177 | %attr(755,root,root) %ghost %{_libdir}/libpspell.so.15 |
206e8364 JB |
178 | %{_libdir}/aspell |
179 | ||
9b3c8de6 | 180 | %files devel |
692f503b | 181 | %defattr(644,root,root,755) |
246f91bc | 182 | %doc manual/aspell-dev.html |
fdd666a7 | 183 | %attr(755,root,root) %{_bindir}/pspell-config |
e614fd50 JB |
184 | %attr(755,root,root) %{_libdir}/libaspell.so |
185 | %attr(755,root,root) %{_libdir}/libpspell.so | |
186 | %{_libdir}/libaspell.la | |
187 | %{_libdir}/libpspell.la | |
29808a3a | 188 | %{_includedir}/pspell |
e614fd50 JB |
189 | %{_includedir}/aspell.h |
190 | %{_mandir}/man1/pspell-config.1* | |
191 | %{_infodir}/aspell-dev.info* | |
692f503b AF |
192 | |
193 | %files static | |
194 | %defattr(644,root,root,755) | |
e614fd50 JB |
195 | %{_libdir}/libaspell.a |
196 | %{_libdir}/libpspell.a |