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