1 | Name: hunspell |
---|
2 | Summary: A spell checker and morphological analyzer library |
---|
3 | Version: 1.3.2 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | Source0: http://downloads.sourceforge.net/%{name}/hunspell-%{version}.tar.gz |
---|
6 | Source1: http://people.debian.org/~agmartin/misc/ispellaff2myspell |
---|
7 | Source2: http://people.redhat.com/caolanm/hunspell/wordlist2hunspell |
---|
8 | Source100: find-requires-hunspell.sh |
---|
9 | Group: System Environment/Libraries |
---|
10 | URL: http://hunspell.sourceforge.net/ |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
12 | License: LGPLv2+ or GPLv2+ or MPLv1.1 |
---|
13 | BuildRequires: libtool, ncurses-devel |
---|
14 | Patch0: hunspell.rhbz759647.patch |
---|
15 | |
---|
16 | #define __find_requires %{SOURCE100} |
---|
17 | %define __perl_requires %{SOURCE100} |
---|
18 | |
---|
19 | %description |
---|
20 | Hunspell is a spell checker and morphological analyzer library and program |
---|
21 | designed for languages with rich morphology and complex word compounding or |
---|
22 | character encoding. Hunspell interfaces: Ispell-like terminal interface using |
---|
23 | Curses library, Ispell pipe interface, OpenOffice.org UNO module. |
---|
24 | |
---|
25 | %package devel |
---|
26 | Requires: hunspell = %{version}-%{release}, pkgconfig |
---|
27 | Summary: Files for developing with hunspell |
---|
28 | Group: Development/Libraries |
---|
29 | |
---|
30 | %description devel |
---|
31 | Includes and definitions for developing with hunspell |
---|
32 | |
---|
33 | %prep |
---|
34 | %setup -q |
---|
35 | %patch0 -p0 -b .rhbz759647 |
---|
36 | |
---|
37 | %build |
---|
38 | libtoolize --automake --force |
---|
39 | aclocal -I m4 |
---|
40 | autoconf |
---|
41 | automake |
---|
42 | %configure --disable-static --with-ui --with-readline |
---|
43 | for i in man/*.? man/hu/*.?; do |
---|
44 | iconv -f ISO-8859-2 -t UTF-8 $i > $i.new |
---|
45 | mv -f $i.new $i |
---|
46 | done |
---|
47 | make %{?_smp_mflags} |
---|
48 | |
---|
49 | %install |
---|
50 | rm -rf %{buildroot} |
---|
51 | make DESTDIR=%{buildroot} install |
---|
52 | %find_lang %{name} |
---|
53 | rm -f %{buildroot}/%{_libdir}/*.a |
---|
54 | rm -f %{buildroot}/%{_libdir}/*.la |
---|
55 | rm -f %{buildroot}/%{_bindir}/example |
---|
56 | mkdir %{buildroot}/%{_datadir}/myspell |
---|
57 | #mv %{buildroot}/%{_includedir}/*munch* %{buildroot}/%{_includedir}/%{name} |
---|
58 | install -m 755 src/tools/affixcompress %{buildroot}/%{_bindir}/affixcompress |
---|
59 | install -m 755 src/tools/makealias %{buildroot}/%{_bindir}/makealias |
---|
60 | install -m 755 %{SOURCE1} %{buildroot}/%{_bindir}/ispellaff2myspell |
---|
61 | install -m 755 %{SOURCE2} %{buildroot}/%{_bindir}/wordlist2hunspell |
---|
62 | |
---|
63 | %clean |
---|
64 | rm -rf %{buildroot} |
---|
65 | |
---|
66 | %post -p /sbin/ldconfig |
---|
67 | |
---|
68 | %postun -p /sbin/ldconfig |
---|
69 | |
---|
70 | %check |
---|
71 | make check |
---|
72 | |
---|
73 | %files -f %{name}.lang |
---|
74 | %defattr(-,root,root,-) |
---|
75 | %doc README README.myspell COPYING COPYING.LGPL COPYING.MPL AUTHORS AUTHORS.myspell license.hunspell license.myspell THANKS |
---|
76 | %{_libdir}/*.so.* |
---|
77 | %{_datadir}/myspell |
---|
78 | %{_bindir}/hunspell |
---|
79 | %{_mandir}/man1/hunspell.1.gz |
---|
80 | %{_mandir}/man4/hunspell.4.gz |
---|
81 | %lang(hu) %{_mandir}/hu/man1/hunspell.1.gz |
---|
82 | %lang(hu) %{_mandir}/hu/man4/hunspell.4.gz |
---|
83 | |
---|
84 | %files devel |
---|
85 | %defattr(-,root,root,-) |
---|
86 | %{_includedir}/%{name} |
---|
87 | %{_libdir}/*.so |
---|
88 | %{_bindir}/affixcompress |
---|
89 | %{_bindir}/makealias |
---|
90 | %{_bindir}/munch |
---|
91 | %{_bindir}/unmunch |
---|
92 | %{_bindir}/analyze |
---|
93 | %{_bindir}/chmorph |
---|
94 | %{_bindir}/hzip |
---|
95 | %{_bindir}/hunzip |
---|
96 | %{_bindir}/ispellaff2myspell |
---|
97 | %{_bindir}/wordlist2hunspell |
---|
98 | %{_bindir}/wordforms |
---|
99 | %{_libdir}/pkgconfig/hunspell.pc |
---|
100 | %{_mandir}/man1/hunzip.1.gz |
---|
101 | %{_mandir}/man1/hzip.1.gz |
---|
102 | %{_mandir}/man3/hunspell.3.gz |
---|
103 | |
---|
104 | %changelog |
---|
105 | * Tue Mar 06 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.3.2-1 |
---|
106 | - updated to 1.3.2 |
---|
107 | - import Patch0 from Fedora (rhbz#759647 temp file name collision) |
---|
108 | |
---|
109 | * Mon Oct 11 2010 Shu KONNO <owa@bg.wakwak.com> 1.2.8-2 |
---|
110 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
111 | - s/__find_requires/__perl_requires/ |
---|
112 | |
---|
113 | * Thu Oct 15 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.2.8-1 |
---|
114 | - new upstream release |
---|
115 | |
---|
116 | * Fri Oct 31 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.7-1 |
---|
117 | - initial build for Vine Linux |
---|
118 | |
---|
119 | * Sat Oct 18 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.7-5 |
---|
120 | - sort as per "C" locale |
---|
121 | |
---|
122 | * Fri Oct 17 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.7-4 |
---|
123 | - make wordlist2hunspell remove blank lines |
---|
124 | |
---|
125 | * Mon Sep 15 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.7-3 |
---|
126 | - Workaround rhbz#462184 uniq/sort problems with viramas |
---|
127 | |
---|
128 | * Tue Sep 09 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.7-2 |
---|
129 | - add wordlist2hunspell |
---|
130 | |
---|
131 | * Sat Aug 23 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.7-1 |
---|
132 | - latest version |
---|
133 | |
---|
134 | * Tue Jul 29 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.6-1 |
---|
135 | - latest version |
---|
136 | |
---|
137 | * Sun Jul 27 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.5-1 |
---|
138 | - latest version |
---|
139 | |
---|
140 | * Tue Jul 22 2008 Kristian Høgsberg <krh@redhat.com> - 1.2.4.2-2 |
---|
141 | - Drop ABI breaking hunspell-1.2.2-xulrunner.pita.patch and fix the |
---|
142 | hunspell include in xulrunner. |
---|
143 | |
---|
144 | * Fri Jun 18 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.4.2-1 |
---|
145 | - latest version |
---|
146 | |
---|
147 | * Thu Jun 17 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.4-1 |
---|
148 | - latest version |
---|
149 | |
---|
150 | * Fri May 16 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.2-3 |
---|
151 | - Resolves: rhbz#446821 fix crash |
---|
152 | |
---|
153 | * Wed May 14 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.2-2 |
---|
154 | - give xulrunner what it needs so we can get on with it |
---|
155 | |
---|
156 | * Fri Apr 18 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.2-1 |
---|
157 | - latest version |
---|
158 | - drop integrated hunspell-1.2.1-1863239.badstructs.patch |
---|
159 | |
---|
160 | * Wed Mar 05 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.1-6 |
---|
161 | - add ispellaff2myspell to devel |
---|
162 | |
---|
163 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.1-5 |
---|
164 | - Autorebuild for GCC 4.3 |
---|
165 | |
---|
166 | * Thu Jan 03 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.1-4 |
---|
167 | - add hunspell-1.2.1-1863239.badstructs.patch |
---|
168 | |
---|
169 | * Fri Nov 09 2007 Caolan McNamara <caolanm@redhat.com> - 1.2.1-2 |
---|
170 | - pkg-config cockup |
---|
171 | |
---|
172 | * Mon Nov 05 2007 Caolan McNamara <caolanm@redhat.com> - 1.2.1-1 |
---|
173 | - latest version |
---|
174 | |
---|
175 | * Mon Oct 08 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.12.2-2 |
---|
176 | - lang fix for man pages from Ville Skyttä |
---|
177 | |
---|
178 | * Wed Sep 05 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.12.2-1 |
---|
179 | - next version |
---|
180 | |
---|
181 | * Tue Aug 28 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.11.2-1 |
---|
182 | - next version |
---|
183 | |
---|
184 | * Fri Aug 24 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.10-1 |
---|
185 | - next version |
---|
186 | |
---|
187 | * Thu Aug 02 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.9-2 |
---|
188 | - clarify license |
---|
189 | |
---|
190 | * Wed Jul 25 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.9-1 |
---|
191 | - latest version |
---|
192 | |
---|
193 | * Wed Jul 18 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.8.2-1 |
---|
194 | - latest version |
---|
195 | |
---|
196 | * Tue Jul 17 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.8-1 |
---|
197 | - latest version |
---|
198 | |
---|
199 | * Sat Jul 07 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.7-1 |
---|
200 | - latest version |
---|
201 | - drop integrated hunspell-1.1.5.freem.patch |
---|
202 | |
---|
203 | * Fri Jun 29 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.6-1 |
---|
204 | - latest version |
---|
205 | - drop integrated hunspell-1.1.4-defaultdictfromlang.patch |
---|
206 | - drop integrated hunspell-1.1.5-badheader.patch |
---|
207 | - drop integrated hunspell-1.1.5.encoding.patch |
---|
208 | |
---|
209 | * Fri Jun 29 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.5.3-5 |
---|
210 | - fix memory leak |
---|
211 | http://sourceforge.net/tracker/index.php?func=detail&aid=1745263&group_id=143754&atid=756395 |
---|
212 | |
---|
213 | * Wed Jun 06 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.5.3-4 |
---|
214 | - Resolves: rhbz#212984 discovered problem with missing wordchars |
---|
215 | |
---|
216 | * Tue May 22 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.5.3-3 |
---|
217 | - Resolves: rhbz#240696 extend encoding patch to promote and add |
---|
218 | dictionary 8bit WORDCHARS to the ucs-2 word char list |
---|
219 | |
---|
220 | * Mon May 21 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.5.3-2 |
---|
221 | - Resolves: rhbz#240696 add hunspell-1.1.5.encoding.patch |
---|
222 | |
---|
223 | * Mon May 21 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.5.3-1 |
---|
224 | - patchlevel release |
---|
225 | |
---|
226 | * Tue Mar 20 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.5-2 |
---|
227 | - some junk in delivered headers |
---|
228 | |
---|
229 | * Tue Mar 20 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.5-1 |
---|
230 | - next version |
---|
231 | |
---|
232 | * Fri Feb 09 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.4-6 |
---|
233 | - some spec cleanups |
---|
234 | |
---|
235 | * Fri Jan 19 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.4-5 |
---|
236 | - .pc |
---|
237 | |
---|
238 | * Thu Jan 11 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.4-4 |
---|
239 | - fix out of range |
---|
240 | |
---|
241 | * Fri Dec 15 2006 Caolan McNamara <caolanm@redhat.com> - 1.1.4-3 |
---|
242 | - hunspell#1616353 simple c api for hunspell |
---|
243 | |
---|
244 | * Wed Nov 29 2006 Caolan McNamara <caolanm@redhat.com> - 1.1.4-2 |
---|
245 | - add hunspell-1.1.4-defaultdictfromlang.patch to take locale as default |
---|
246 | dictionary |
---|
247 | |
---|
248 | * Wed Oct 25 2006 Caolan McNamara <caolanm@redhat.com> - 1.1.4-1 |
---|
249 | - initial version |
---|