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