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