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