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