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