]> git.pld-linux.org Git - packages/enchant.git/blob - enchant.spec
- fixed descriptions
[packages/enchant.git] / enchant.spec
1 Summary:        libenchant - generic spell checking library
2 Summary(pl):    libenchant - ogólna biblioteka sprawdzania pisowni
3 Name:           enchant
4 Version:        1.2.0
5 Release:        2
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://www.abisource.com/downloads/enchant/1.2.0/%{name}-%{version}.tar.gz
9 # Source0-md5:  e44a734a85fbbadf898fb935ac346f31
10 URL:            http://www.abisource.com/enchant/
11 BuildRequires:  aspell-devel >= 2:0.50.0
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  glib2-devel >= 2.0
15 BuildRequires:  hspell-devel
16 BuildRequires:  libtool
17 BuildRequires:  pkgconfig
18 BuildRequires:  uspell-devel >= 1.1.0
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 This project aims to provide an efficient, extensible abstraction for
23 dealing with different spell checking libraries. Enchant is meant to
24 provide a generic interface into various existing spell checking
25 libraries. These include, but are not limited to: Aspell/Pspell,
26 Ispell, Hspell, Uspell.
27
28 Enchant is also meant to be used in a cross-platform environment. Part
29 of this means that Enchant wants to limit its number of external
30 dependencies to 0, or as close is as humanly possible. Also, any
31 enchant consumer (i.e. a Word Processor) should not need to know about
32 what backend providers Enchant knows about. In fact, Enchant shouldn't
33 even need to know this information itself. To accomplish this, all of
34 Enchant's providers are dynamically loaded modules.
35
36 Enchant is also meant to be used in a multi-user environment, such as
37 Unix. It is preferable to have both a $USER and a $GLOBAL location for
38 both provider modules and for dictionaries themselves, when possible.
39 Enchant's module location algorithm takes this into account, and gives
40 preference to the $USER resources, when found.
41
42 %description -l pl
43 Celem projektu jest dostarczenie wydajnej i rozszerzalnej abstrakcji
44 do obs³ugi ró¿nych bibliotek kontroli pisowni. Enchant ma dostarczaæ
45 ogólny interfejs do ró¿nych istniej±cych bibliotek. Obejmuj± one (ale
46 nie s± ograniczone do): Aspella/Pspella, Ispella, Hspella, Uspella.
47
48 Enchant ma byæ tak¿e u¿ywany w ¶rodowisku wieloplatformowym. Oznacza
49 to miêdzy innymi, ¿e Enchant ma mieæ ograniczon± liczbê zewnêtrznych
50 zale¿no¶ci do zera lub najbli¿ej jak to mo¿liwe. Tak¿e dowolny klient
51 enchanta (czyli procesor tekstu) nie powinien potrzebowaæ wiedzy,
52 jakie backendy s± dostêpne dla Enchanta. W rzeczywisto¶ci nawet
53 Enchant nie powinien potrzebowaæ takiej informacji. Aby to osi±gn±æ,
54 wszystkie backendy Enchanta s± dynamicznie ³adowanymi modu³ami.
55
56 Enchant ma byæ tak¿e u¿ywany w ¶rodowisku wielou¿ytkownikowym, takim
57 jak Unix. Preferuje siê, ¿eby istnia³y zarówno specyficzne dla
58 u¿ytkownika jak i globalne lokalizacje zarówno dla modu³ów jak i
59 samych s³owników, je¶li to mo¿liwe. Algorytm poszukiwania modu³ów
60 Enchanta bierze to pod uwagê i preferuje zasoby u¿ytkownika, je¶li
61 takie znajdzie.
62
63 %package devel
64 Summary:        Header files for enchant library
65 Summary(pl):    Pliki nag³ówkowe biblioteki enchant
66 Group:          Development/Libraries
67 Requires:       %{name} = %{version}-%{release}
68 Requires:       glib2-devel >= 2.0
69
70 %description devel
71 Header files for enchant library.
72
73 %description devel -l pl
74 Pliki nag³ówkowe biblioteki enchant.
75
76 %package static
77 Summary:        Static enchant library
78 Summary(pl):    Statyczna biblioteka enchant
79 Group:          Development/Libraries
80 Requires:       %{name}-devel = %{version}-%{release}
81
82 %description static
83 Static enchant library.
84
85 %description static -l pl
86 Statyczna biblioteka enchant.
87
88 %package aspell
89 Summary:        aspell provider module for Enchant
90 Summary(pl):    Modu³ obs³uguj±cy aspella dla Enchanta
91 Group:          Libraries
92 Requires:       %{name} = %{version}-%{release}
93 Requires:       aspell >= 2:0.50.0
94
95 %description aspell
96 aspell provider module for Enchant.
97
98 %description aspell -l pl
99 Modu³ obs³uguj±cy aspella dla Enchanta.
100
101 %package hspell
102 Summary:        hspell provider module for Enchant
103 Summary(pl):    Modu³ obs³uguj±cy hspella dla Enchanta
104 Group:          Libraries
105 Requires:       %{name} = %{version}-%{release}
106
107 %description hspell
108 hspell provider module for Enchant.
109
110 %description hspell -l pl
111 Modu³ obs³uguj±cy hspella dla Enchanta.
112
113 %package ispell
114 Summary:        ispell provider module for Enchant
115 Summary(pl):    Modu³ obs³uguj±cy ispella dla Enchanta
116 Group:          Libraries
117 Requires:       %{name} = %{version}-%{release}
118
119 %description ispell
120 ispell provider module for Enchant.
121
122 %description ispell -l pl
123 Modu³ obs³uguj±cy ispella dla Enchanta.
124
125 %package myspell
126 Summary:        myspell provider module for Enchant
127 Summary(pl):    Modu³ obs³uguj±cy myspella dla Enchanta
128 Group:          Libraries
129 Requires:       %{name} = %{version}-%{release}
130
131 %description myspell
132 myspell provider module for Enchant.
133
134 %description myspell -l pl
135 Modu³ obs³uguj±cy myspella dla Enchanta.
136
137 %package uspell
138 Summary:        uspell provider module for Enchant
139 Summary(pl):    Modu³ obs³uguj±cy uspella dla Enchanta
140 Group:          Libraries
141 Requires:       %{name} = %{version}-%{release}
142
143 %description uspell
144 uspell provider module for Enchant.
145
146 %description uspell -l pl
147 Modu³ obs³uguj±cy uspella dla Enchanta.
148
149 %prep
150 %setup -q
151
152 %build
153 %{__libtoolize}
154 %{__aclocal} -I ac-helpers
155 %{__autoconf}
156 %{__automake}
157 %configure \
158         --disable-binreloc \
159         --with-ispell-dir=/usr/lib/ispell \
160         --with-uspell-dir=/usr/share/uspell
161 # --with-myspell-dir=/some/where
162
163 %{__make}
164
165 %install
166 rm -rf $RPM_BUILD_ROOT
167
168 %{__make} install \
169         DESTDIR=$RPM_BUILD_ROOT
170
171 # useless - modules loaded through libgmodule
172 rm -f $RPM_BUILD_ROOT%{_libdir}/enchant/*.{la,a}
173
174 %clean
175 rm -rf $RPM_BUILD_ROOT
176
177 %post
178 /sbin/ldconfig
179 %banner %{name} -e << EOF
180 you should install one of the backends for enchant:
181 - enchant-aspell
182 - enchant-ispell
183 - enchant-myspell
184 - enchant-uspell
185 and appropriate dictionaries
186 EOF
187 %postun -p /sbin/ldconfig
188
189 %files
190 %defattr(644,root,root,755)
191 %doc AUTHORS MAINTAINERS NEWS README TODO
192 %attr(755,root,root) %{_bindir}/enchant
193 %attr(755,root,root) %{_bindir}/enchant-lsmod
194 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
195 %dir %{_libdir}/enchant
196 %{_datadir}/enchant
197 %{_mandir}/man1/enchant.1*
198
199 %files devel
200 %defattr(644,root,root,755)
201 %attr(755,root,root) %{_libdir}/lib*.so
202 %{_libdir}/lib*.la
203 %{_includedir}/enchant
204 %{_pkgconfigdir}/*.pc
205
206 %files static
207 %defattr(644,root,root,755)
208 %{_libdir}/lib*.a
209
210 %files aspell
211 %defattr(644,root,root,755)
212 %attr(755,root,root) %{_libdir}/enchant/libenchant_aspell.so*
213
214 %files hspell
215 %defattr(644,root,root,755)
216 %attr(755,root,root) %{_libdir}/enchant/libenchant_hspell.so*
217
218 %files ispell
219 %defattr(644,root,root,755)
220 %attr(755,root,root) %{_libdir}/enchant/libenchant_ispell.so*
221
222 %files myspell
223 %defattr(644,root,root,755)
224 %attr(755,root,root) %{_libdir}/enchant/libenchant_myspell.so*
225
226 %files uspell
227 %defattr(644,root,root,755)
228 %attr(755,root,root) %{_libdir}/enchant/libenchant_uspell.so*
This page took 0.04522 seconds and 4 git commands to generate.