]> git.pld-linux.org Git - packages/aspell.git/blame - aspell.spec
- fix info dir for main and devel packages
[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
caa5ea6d 6Release: 6
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
6903c623 20BuildRequires: libstdc++-devel
fdd666a7 21BuildRequires: libtool >= 2:1.5
caa5ea6d 22BuildRequires: ncurses-devel
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
caa5ea6d
ER
151%post -p /sbin/postshell
152-/usr/sbin/fix-info-dir -c %{_infodir}
153
154%postun -p /sbin/postshell
155-/usr/sbin/fix-info-dir -c %{_infodir}
156
157%post devel -p /sbin/postshell
158-/usr/sbin/fix-info-dir -c %{_infodir}
159
160%postun devel -p /sbin/postshell
161-/usr/sbin/fix-info-dir -c %{_infodir}
162
246f91bc 163%files -f %{name}.lang
692f503b 164%defattr(644,root,root,755)
246f91bc 165%doc README manual/aspell.html
166%{_infodir}/aspell.info*
e614fd50
JB
167%attr(755,root,root) %{_bindir}/aspell
168%attr(755,root,root) %{_bindir}/aspell-import
246f91bc 169%attr(755,root,root) %{_bindir}/pre*
246f91bc 170%attr(755,root,root) %{_bindir}/run-with-aspell
e614fd50 171%attr(755,root,root) %{_bindir}/word-list-compress
f8820f74
ER
172%dir %{_datadir}/aspell
173%attr(755,root,root) %{_datadir}/aspell/ispell
174%attr(755,root,root) %{_datadir}/aspell/spell
175%{_datadir}/aspell/*.cmap
176%{_datadir}/aspell/*.cset
177%{_datadir}/aspell/*.kbd
e614fd50
JB
178%{_mandir}/man1/aspell.1*
179%{_mandir}/man1/aspell-import.1*
180%{_mandir}/man1/pre*.1*
181%{_mandir}/man1/run-with-aspell.1*
182%{_mandir}/man1/word-list-compress.1*
7c47e7ac 183
206e8364
JB
184%files libs
185%defattr(644,root,root,755)
e614fd50 186%attr(755,root,root) %{_libdir}/libaspell.so.*.*.*
f8820f74 187%attr(755,root,root) %ghost %{_libdir}/libaspell.so.15
e614fd50 188%attr(755,root,root) %{_libdir}/libpspell.so.*.*.*
f8820f74 189%attr(755,root,root) %ghost %{_libdir}/libpspell.so.15
206e8364
JB
190%{_libdir}/aspell
191
9b3c8de6 192%files devel
692f503b 193%defattr(644,root,root,755)
246f91bc 194%doc manual/aspell-dev.html
fdd666a7 195%attr(755,root,root) %{_bindir}/pspell-config
e614fd50
JB
196%attr(755,root,root) %{_libdir}/libaspell.so
197%attr(755,root,root) %{_libdir}/libpspell.so
198%{_libdir}/libaspell.la
199%{_libdir}/libpspell.la
29808a3a 200%{_includedir}/pspell
e614fd50
JB
201%{_includedir}/aspell.h
202%{_mandir}/man1/pspell-config.1*
203%{_infodir}/aspell-dev.info*
692f503b
AF
204
205%files static
206%defattr(644,root,root,755)
e614fd50
JB
207%{_libdir}/libaspell.a
208%{_libdir}/libpspell.a
This page took 0.101396 seconds and 4 git commands to generate.