hunspell-vl.spec 7.7 KB

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