hunspell-vl.spec 7.4 KB

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