1 Summary: libenchant - generic spell checking library
2 Summary(pl): libenchant - ogólna biblioteka sprawdzania pisowni
8 Source0: http://dl.sourceforge.net/abiword/%{name}-%{version}.tar.gz
9 # Source0-md5: 491d6aa3e93f6f0f6bf6108efbb54d73
10 URL: http://www.abisource.com/enchant/
11 BuildRequires: aspell-devel >= 0.50.0
12 BuildRequires: glib2-devel >= 2.0
13 BuildRequires: pkgconfig
14 BuildRequires: uspell-devel >= 1.1.0
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 This project aims to provide an efficient, extensible abstraction for
19 dealing with different spell checking libraries. Enchant is meant to
20 provide a generic interface into various existing spell checking
21 libraries. These include, but are not limited to: Aspell/Pspell,
22 Ispell, Hspell, Uspell.
24 Enchant is also meant to be used in a cross-platform environment. Part
25 of this means that Enchant wants to limit its number of external
26 dependencies to 0, or as close is as humanly possible. Also, any
27 enchant consumer (i.e. a Word Processor) should not need to know about
28 what backend providers Enchant knows about. In fact, Enchant shouldn't
29 even need to know this information itself. To accomplish this, all of
30 Enchant's providers are dynamically loaded modules.
32 Enchant is also meant to be used in a multi-user environment, such as
33 Unix. It is preferable to have both a $USER and a $GLOBAL location for
34 both provider modules and for dictionaries themselves, when possible.
35 Enchant's module location algorithm takes this into account, and gives
36 preference to the $USER resources, when found.
39 Celem projektu jest dostarczenie wydajnej i rozszerzalnej abstrakcji
40 do obs³ugi ró¿nych bibliotek kontroli pisowni. Enchant ma dostarczaæ
41 ogólny interfejs do ró¿nych istniej±cych bibliotek. Obejmuj± one (ale
42 nie s± ograniczone do): Aspella/Pspella, Ispella, Hspella, Uspella.
44 Enchant ma byæ tak¿e u¿ywany w ¶rodowisku wieloplatformowym. Oznacza
45 to miêdzy innymi, ¿e Enchant ma mieæ ograniczon± liczbê zewnêtrznych
46 zale¿no¶ci do zera lub najbli¿ej jak to mo¿liwe. Tak¿e dowolny klient
47 enchanta (czyli procesor tekstu) nie powinien potrzebowaæ wiedzy,
48 jakie backendy s± dostêpne dla Enchanta. W rzeczywisto¶ci nawet
49 Enchant nie powinien potrzebowaæ takiej informacji. Aby to osi±gn±æ,
50 wszystkie backendy Enchanta s± dynamicznie ³adowanymi modu³ami.
52 Enchant ma byæ tak¿e u¿ywany w ¶rodowisku wielou¿ytkownikowym, takim
53 jak Unix. Preferuje siê, ¿eby istnia³y zarówno specyficzne dla
54 u¿ytkownika jak i globalne lokalizacje zarówno dla modu³ów jak i
55 samych s³owników, je¶li to mo¿liwe. Algorytm poszukiwania modu³ów
56 Enchanta bierze to pod uwagê i preferuje zasoby u¿ytkownika, je¶li
60 Summary: Header files for enchant library
61 Summary(pl): Pliki nag³ówkowe biblioteki enchant
62 Group: Development/Libraries
63 Requires: %{name} = %{version}
64 Requires: glib2-devel >= 2.0
67 Header files for enchant library.
69 %description devel -l pl
70 Pliki nag³ówkowe biblioteki enchant.
73 Summary: Static enchant library
74 Summary(pl): Statyczna biblioteka enchant
75 Group: Development/Libraries
76 Requires: %{name}-devel = %{version}
79 Static enchant library.
81 %description static -l pl
82 Statyczna biblioteka enchant.
85 Summary: aspell provider module for Enchant
86 Summary(pl): Modu³ obs³uguj±cy aspella dla Enchanta
88 Requires: %{name} = %{version}
89 Requires: aspell >= 0.50.0
92 aspell provider module for Enchant.
94 %description aspell -l pl
95 Modu³ obs³uguj±cy aspella dla Enchanta.
98 Summary: ispell provider module for Enchant
99 Summary(pl): Modu³ obs³uguj±cy ispella dla Enchanta
101 Requires: %{name} = %{version}
104 ispell provider module for Enchant.
106 %description ispell -l pl
107 Modu³ obs³uguj±cy ispella dla Enchanta.
110 Summary: myspell provider module for Enchant
111 Summary(pl): Modu³ obs³uguj±cy myspella dla Enchanta
113 Requires: %{name} = %{version}
116 myspell provider module for Enchant.
118 %description myspell -l pl
119 Modu³ obs³uguj±cy myspella dla Enchanta.
122 Summary: uspell provider module for Enchant
123 Summary(pl): Modu³ obs³uguj±cy uspella dla Enchanta
125 Requires: %{name} = %{version}
128 uspell provider module for Enchant.
130 %description uspell -l pl
131 Modu³ obs³uguj±cy uspella dla Enchanta.
138 --with-ispell-dir=/usr/lib/ispell \
139 --with-uspell-dir=/usr/share/uspell
140 # --with-myspell-dir=/some/where
145 rm -rf $RPM_BUILD_ROOT
148 DESTDIR=$RPM_BUILD_ROOT
150 # useless - modules loaded through libgmodule
151 rm -f $RPM_BUILD_ROOT%{_libdir}/enchant/*.{la,a}
154 rm -rf $RPM_BUILD_ROOT
156 %post -p /sbin/ldconfig
157 %postun -p /sbin/ldconfig
160 %defattr(644,root,root,755)
161 %doc AUTHORS MAINTAINERS NEWS README TODO
162 %attr(755,root,root) %{_bindir}/enchant
163 %attr(755,root,root) %{_bindir}/enchant-lsmod
164 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
165 %dir %{_libdir}/enchant
166 %{_mandir}/man1/enchant.1*
169 %defattr(644,root,root,755)
170 %attr(755,root,root) %{_libdir}/lib*.so
172 %{_includedir}/enchant
173 %{_pkgconfigdir}/*.pc
176 %defattr(644,root,root,755)
180 %defattr(644,root,root,755)
181 %attr(755,root,root) %{_libdir}/enchant/libenchant_aspell.so*
184 %defattr(644,root,root,755)
185 %attr(755,root,root) %{_libdir}/enchant/libenchant_ispell.so*
188 %defattr(644,root,root,755)
189 %attr(755,root,root) %{_libdir}/enchant/libenchant_myspell.so*
192 %defattr(644,root,root,755)
193 %attr(755,root,root) %{_libdir}/enchant/libenchant_uspell.so*