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