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