]> git.pld-linux.org Git - packages/aspell.git/blob - aspell.spec
- home_etc patch is fubar. If HOME_ETC var is not defined, it tries to open such...
[packages/aspell.git] / aspell.spec
1 Summary:        GNU Aspell is an Open Source spell checker
2 Summary(pl.UTF-8):      GNU Aspell jest kontrolerem pisowni
3 Summary(pt_BR.UTF-8):   Verificador ortográfico
4 Name:           aspell
5 Version:        0.60.6
6 Release:        4
7 Epoch:          3
8 License:        LGPL v2 or v2.1
9 Group:          Applications/Text
10 Source0:        http://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz
11 # Source0-md5:  bc80f0198773d5c05086522be67334eb
12 Patch0:         %{name}-info.patch
13 # Patch1:               %{name}-home_etc.patch
14 Patch2:         %{name}-mk-static-filter.pl.patch
15 URL:            http://aspell.net/
16 BuildRequires:  autoconf >= 2.50
17 BuildRequires:  automake
18 BuildRequires:  gettext-devel >= 0.16.1
19 BuildRequires:  libstdc++-devel
20 BuildRequires:  libtool >= 2:1.5
21 BuildRequires:  texinfo
22 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
23 Provides:       pspell = %{epoch}:%{version}-%{release}
24 Obsoletes:      libaspell15
25 Obsoletes:      pspell
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
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.
38
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.
44
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
49 fazer a checagem de arquivos LaTeX e HTML.
50
51 %package libs
52 Summary:        aspell libraries
53 Summary(pl.UTF-8):      Biblioteki aspella
54 Group:          Libraries
55 Conflicts:      aspell < 0.60.4-1.2
56
57 %description libs
58 aspell/pspell libraries
59
60 %description libs -l pl.UTF-8
61 Biblioteki aspell/pspell.
62
63 %package devel
64 Summary:        Header files for aspell development
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
67 Group:          Development/Libraries
68 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
69 Requires:       libstdc++-devel
70 Provides:       pspell-devel = %{epoch}:%{version}-%{release}
71 Obsoletes:      libaspell15-devel
72 Obsoletes:      pspell-devel
73
74 %description devel
75 Aspell is an Open Source spell checker. This package contains header
76 files for aspell development.
77
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.
81
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
85 utilizando o aspell.
86
87 %package static
88 Summary:        Static libraries for aspell development
89 Summary(pl.UTF-8):      Biblioteki statyczne aspella
90 Summary(pt_BR.UTF-8):   Bibliotecas estáticas para desenvolvimento usando Aspell
91 Group:          Development/Libraries
92 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
93 Provides:       pspell-static = %{epoch}:%{version}-%{release}
94 Obsoletes:      pspell-static
95
96 %description static
97 Aspell is an Open Source spell checker. This package contains static
98 aspell libraries.
99
100 %description static -l pl.UTF-8
101 Aspell jest kontrolerem pisowni. Pakiet ten zawiera biblioteki
102 statyczne aspella.
103
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
107 aspell.
108
109 %prep
110 %setup -q
111 %patch0 -p1
112 # home_etc patch is fubar. If HOME_ETC var is not defined, it tries to open
113 # such files:
114 # open("$HOME|.//.aspell.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
115 # Disabled until someone fixes it.
116 #%%patch1 -p1
117 %patch2 -p0
118
119 %build
120 %{__gettextize}
121 %{__libtoolize}
122 %{__aclocal} -I m4
123 %{__autoconf}
124 %{__automake}
125 %configure \
126         --enable-shared \
127         --enable-static \
128         --enable-pkgdatadir=%{_datadir}/aspell \
129         --enable-pkglibdir=%{_libdir}/aspell
130
131 %{__make}
132
133 %install
134 rm -rf $RPM_BUILD_ROOT
135
136 %{__make} install \
137         DESTDIR=$RPM_BUILD_ROOT
138
139 rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
140 %find_lang %{name}
141
142 %clean
143 rm -rf $RPM_BUILD_ROOT
144
145 %post   libs -p /sbin/ldconfig
146 %postun libs -p /sbin/ldconfig
147
148 %files -f %{name}.lang
149 %defattr(644,root,root,755)
150 %doc README manual/aspell.html
151 %{_infodir}/aspell.info*
152 %attr(755,root,root) %{_bindir}/aspell
153 %attr(755,root,root) %{_bindir}/aspell-import
154 %attr(755,root,root) %{_bindir}/pre*
155 %attr(755,root,root) %{_bindir}/run-with-aspell
156 %attr(755,root,root) %{_bindir}/word-list-compress
157 %dir %{_datadir}/aspell
158 %attr(755,root,root) %{_datadir}/aspell/ispell
159 %attr(755,root,root) %{_datadir}/aspell/spell
160 %{_datadir}/aspell/*.cmap
161 %{_datadir}/aspell/*.cset
162 %{_datadir}/aspell/*.kbd
163 %{_mandir}/man1/aspell.1*
164 %{_mandir}/man1/aspell-import.1*
165 %{_mandir}/man1/pre*.1*
166 %{_mandir}/man1/run-with-aspell.1*
167 %{_mandir}/man1/word-list-compress.1*
168
169 %files libs
170 %defattr(644,root,root,755)
171 %attr(755,root,root) %{_libdir}/libaspell.so.*.*.*
172 %attr(755,root,root) %ghost %{_libdir}/libaspell.so.15
173 %attr(755,root,root) %{_libdir}/libpspell.so.*.*.*
174 %attr(755,root,root) %ghost %{_libdir}/libpspell.so.15
175 %{_libdir}/aspell
176
177 %files devel
178 %defattr(644,root,root,755)
179 %doc manual/aspell-dev.html
180 %attr(755,root,root) %{_bindir}/pspell-config
181 %attr(755,root,root) %{_libdir}/libaspell.so
182 %attr(755,root,root) %{_libdir}/libpspell.so
183 %{_libdir}/libaspell.la
184 %{_libdir}/libpspell.la
185 %{_includedir}/pspell
186 %{_includedir}/aspell.h
187 %{_mandir}/man1/pspell-config.1*
188 %{_infodir}/aspell-dev.info*
189
190 %files static
191 %defattr(644,root,root,755)
192 %{_libdir}/libaspell.a
193 %{_libdir}/libpspell.a
This page took 0.293552 seconds and 4 git commands to generate.