hunspell-vl.spec 7.5 KB

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