hunspell-vl.spec 7.6 KB

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