]> git.pld-linux.org Git - packages/aspell.git/blame - aspell.spec
- rel 5
[packages/aspell.git] / aspell.spec
CommitLineData
29808a3a 1Summary: GNU Aspell is an Open Source spell checker
b2074ef5
ER
2Summary(pl.UTF-8): GNU Aspell jest kontrolerem pisowni
3Summary(pt_BR.UTF-8): Verificador ortográfico
692f503b 4Name: aspell
58793b2f 5Version: 0.60.6
9493c72a 6Release: 5
3229d7a8 7Epoch: 3
58793b2f 8License: LGPL v2 or v2.1
08284c5c 9Group: Applications/Text
14f62ae4 10Source0: http://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz
58793b2f 11# Source0-md5: bc80f0198773d5c05086522be67334eb
adfd1e7c 12Patch0: %{name}-info.patch
1e460ecc 13# Patch1: %{name}-home_etc.patch
9c42f955 14Patch2: %{name}-mk-static-filter.pl.patch
e31ae270 15Patch3: %{name}-ac.patch
29808a3a 16URL: http://aspell.net/
e614fd50 17BuildRequires: autoconf >= 2.50
c0e7792e 18BuildRequires: automake
e614fd50 19BuildRequires: gettext-devel >= 0.16.1
e31ae270 20BuildRequires: ncurses-devel
6903c623 21BuildRequires: libstdc++-devel
fdd666a7 22BuildRequires: libtool >= 2:1.5
829fa502 23BuildRequires: texinfo
d11713af 24Requires: %{name}-libs = %{epoch}:%{version}-%{release}
29808a3a 25Provides: pspell = %{epoch}:%{version}-%{release}
b5416d60 26Obsoletes: libaspell15
27Obsoletes: pspell
a0727e14 28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
7c47e7ac 29
30%description
29808a3a
AM
31GNU Aspell is a Free and Open Source spell checker designed to
32eventually replace Ispell. It can either be used as a library or as an
33independent spell checker. Its main feature is that it does a much
34better job of coming up with possible suggestions than just about any
35other spell checker out there for the English language, including
36Ispell and Microsoft Word. It also has many other technical
37enhancements over Ispell such as using shared memory for dictionaries
38and intelligently handling personal dictionaries when more than one
39Aspell process is open at once.
1b33fe9a 40
45c1e30c
JR
41%description -l pl.UTF-8
42GNU Aspell jest kontrolerem pisowni zaprojektowanym tak, by móc
43zastąpić ispella. Dodatkowo zawiera wsparcie dla innych języków niż
44angielski. Interfejs aspella napisany został w C++, a interfejsy w
45Perlu i C są aktualnie rozwijane.
03b960a4 46
45c1e30c
JR
47%description -l pt_BR.UTF-8
48GNU Aspell é um verificador ortográfico criado para substituir o
49antigo "ispell". Sua principal vantagem (sobre o Ispell) é uma melhor
50sugestão de correções. Aspell inclui suporte a vários idiomas e pode
b5416d60 51fazer a checagem de arquivos LaTeX e HTML.
52
206e8364
JB
53%package libs
54Summary: aspell libraries
b2074ef5 55Summary(pl.UTF-8): Biblioteki aspella
206e8364 56Group: Libraries
ec313917 57Conflicts: aspell < 0.60.4-1.2
206e8364
JB
58
59%description libs
60aspell/pspell libraries
61
45c1e30c 62%description libs -l pl.UTF-8
206e8364
JB
63Biblioteki aspell/pspell.
64
1b33fe9a 65%package devel
c0e7792e 66Summary: Header files for aspell development
b2074ef5
ER
67Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających aspella
68Summary(pt_BR.UTF-8): Arquivos para desenvolvimento usando Aspell
7c47e7ac 69Group: Development/Libraries
d11713af 70Requires: %{name}-libs = %{epoch}:%{version}-%{release}
471c1212 71Requires: libstdc++-devel
29808a3a 72Provides: pspell-devel = %{epoch}:%{version}-%{release}
b5416d60 73Obsoletes: libaspell15-devel
74Obsoletes: pspell-devel
692f503b 75
1b33fe9a 76%description devel
c0e7792e
JB
77Aspell is an Open Source spell checker. This package contains header
78files for aspell development.
692f503b 79
45c1e30c
JR
80%description devel -l pl.UTF-8
81Aspell jest kontrolerem pisowni. Ten pakiet zawiera pliki nagłówkowe
82dla programistów używających bibliotek aspella.
03b960a4 83
45c1e30c
JR
84%description devel -l pt_BR.UTF-8
85Aspell é um corretor ortográfico. O pacote -devel inclui bibliotecas
86dinâmicas e arquivos de inclusão necessários para o desenvolvimento
b5416d60 87utilizando o aspell.
88
1b33fe9a 89%package static
c0e7792e 90Summary: Static libraries for aspell development
b2074ef5
ER
91Summary(pl.UTF-8): Biblioteki statyczne aspella
92Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento usando Aspell
692f503b 93Group: Development/Libraries
fdd666a7 94Requires: %{name}-devel = %{epoch}:%{version}-%{release}
29808a3a 95Provides: pspell-static = %{epoch}:%{version}-%{release}
a0727e14 96Obsoletes: pspell-static
692f503b 97
1b33fe9a 98%description static
c0e7792e
JB
99Aspell is an Open Source spell checker. This package contains static
100aspell libraries.
7c47e7ac 101
45c1e30c 102%description static -l pl.UTF-8
36035ad5 103Aspell jest kontrolerem pisowni. Pakiet ten zawiera biblioteki
c0e7792e 104statyczne aspella.
03b960a4 105
45c1e30c
JR
106%description static -l pt_BR.UTF-8
107Aspell é um corretor ortográfico. O pacote -devel-static inclui as
108bibliotecas estáticas necessárias para o desenvolvimento utilizando o
b5416d60 109aspell.
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 137rm -rf $RPM_BUILD_ROOT
2c8b2a3c 138
222611b2 139%{__make} install \
c0e7792e 140 DESTDIR=$RPM_BUILD_ROOT
7c47e7ac 141
ce7517ab 142rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
246f91bc 143%find_lang %{name}
144
7c47e7ac 145%clean
146rm -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
This page took 0.06408 seconds and 4 git commands to generate.