enchant-vl.spec 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. %bcond_with voikko
  2. %bcond_with hunspell
  3. Summary: An Enchanting Spell Checking Library
  4. Summary(ja): スペルチェックライブラリ
  5. Name: enchant
  6. Version: 1.6.0
  7. Release: 2%{?_dist_release}
  8. Group: System Environment/Libraries
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. License: LGPLv2+
  12. Source: http://www.abisource.com/downloads/enchant/%{version}/enchant-%{version}.tar.gz
  13. URL: http://www.abisource.com/
  14. BuildRequires: glib2-devel >= 2.6.0
  15. BuildRequires: aspell-devel
  16. %if %{with hunspell}
  17. BuildRequires: hunspell-devel
  18. %endif
  19. %if %{with voikko}
  20. BuildRequires: libvoikko-devel
  21. %endif
  22. BuildRequires: automake, libtool
  23. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  24. %description
  25. A library that wraps other spell checking backends.
  26. %package hunspell
  27. Summary: Integration with hunspell for libenchant
  28. Summary(ja): Integration with hunspell for libenchant
  29. Group: System Environment/Libraries
  30. Requires: enchant = %{version}-%{release}
  31. %description hunspell
  32. Libraries necessary to integrate applications using libenchant with hunspell.
  33. %package voikko
  34. Summary: Integration with voikko for libenchant
  35. Summary(ja): Integration with voikko for libenchant
  36. Group: System Environment/Libraries
  37. Requires: enchant = %{version}-%{release}
  38. %description voikko
  39. Libraries necessary to integrate applications using libenchant with voikko.
  40. %package devel
  41. Summary: Support files necessary to compile applications with libenchant.
  42. Summary(ja): Support files necessary to compile applications with libenchant.
  43. Group: Development/Libraries
  44. Requires: enchant = %{version}-%{release}
  45. Requires: glib2-devel
  46. %description devel
  47. Libraries, headers, and support files necessary to compile applications using libenchant.
  48. %prep
  49. %setup -q
  50. %build
  51. %configure \
  52. --disable-ispell \
  53. --disable-hspell \
  54. %if %{with hunspell}
  55. --with-myspell \
  56. %else
  57. --disable-myspell \
  58. %endif
  59. %if !%{with voikko}
  60. --disable-voikko \
  61. %endif
  62. --disable-zemberek \
  63. --disable-static
  64. make %{?_smp_mflags}
  65. %install
  66. rm -rf $RPM_BUILD_ROOT
  67. make DESTDIR=$RPM_BUILD_ROOT install
  68. rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
  69. rm -f $RPM_BUILD_ROOT/%{_libdir}/enchant/*.la
  70. %clean
  71. rm -r $RPM_BUILD_ROOT
  72. %post -p /sbin/ldconfig
  73. %postun -p /sbin/ldconfig
  74. %files
  75. %defattr(-,root,root)
  76. %license COPYING.LIB
  77. %doc AUTHORS README
  78. %{_bindir}/*
  79. %{_libdir}/lib*.so.*
  80. %dir %{_libdir}/enchant
  81. %{_libdir}/enchant/lib*aspell.so*
  82. %{_mandir}/man1/enchant.1.gz
  83. %{_datadir}/enchant
  84. %if %{with hunspell}
  85. %files hunspell
  86. %{_libdir}/enchant/lib*myspell.so*
  87. %endif
  88. %if %{with voikko}
  89. %files voikko
  90. %{_libdir}/enchant/lib*_voikko.so*
  91. %endif
  92. %files devel
  93. %defattr(-,root,root)
  94. %{_libdir}/*.so
  95. %{_libdir}/pkgconfig/enchant.pc
  96. %{_includedir}/enchant
  97. %changelog
  98. * Fri May 01 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.6.0-2
  99. - rebuilt with current environment.
  100. * Sat Apr 06 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.6.0-1
  101. - new upstream release
  102. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 1.4.2-2
  103. - build with rpm-4.8.1-1 for pkg-config file
  104. * Fri Sep 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.2-1
  105. - initial build for Vine Linux
  106. * Sat Jul 26 2008 Michael Schwendt <mschwendt@fedoraproject.org> 1:1.4.2-4
  107. - Rebuild for ABI-incompatible hunspell-1.2.4.2-2.fc10
  108. * Thu Jul 10 2008 Marc Maurer <uwog@abisource.com> 1:1.4.2-3
  109. - Fix 426712: don't build static libs (patch from Michael Schwendt)
  110. * Wed May 21 2008 Marc Maurer <uwog@abisource.com> 1:1.4.2-2
  111. - Rebuild
  112. * Wed May 21 2008 Marc Maurer <uwog@abisource.com> 1:1.4.2-1
  113. - New upstream release
  114. - Add voikko support in an enchant-voikko package
  115. - Bump glib-devel BR to 2.6.0
  116. * Fri Feb 08 2008 Caolan McNamara <caolanm@redhat.com> 1:1.3.0-4.fc9
  117. - minor cockup
  118. * Sat Jan 26 2008 Caolan McNamara <caolanm@redhat.com> 1:1.3.0-3.fc9
  119. - Resolves: rhbz#426402 use system hunspell not internal one and
  120. split out aspell backend.
  121. - See: rhbz#430354 hspell backend disabled until pic issue fixed
  122. * Wed Dec 19 2007 Caolan McNamara <caolanm@redhat.com> 1:1.3.0-2.fc9
  123. - tell enchant where the myspell dictionaries are
  124. * Thu Oct 12 2006 Marc Maurer <uwog@abisource.com> 1:1.3.0-1.fc6
  125. - Update to 1.3.0
  126. * Mon Sep 11 2006 Marc Maurer <uwog@abisource.com> 1:1.2.5-3.fc6
  127. - Rebuild for FC6
  128. * Mon Apr 10 2006 Marc Maurer <uwog@abisource.com> 1:1.2.5-2.fc6
  129. - Rebuild
  130. * Mon Apr 10 2006 Marc Maurer <uwog@abisource.com> 1:1.2.5-1.fc6
  131. - Package the data dir as well (bug 188516)
  132. - New upstream version
  133. - Add hspell requirement/support
  134. * Tue Feb 14 2006 Marc Maurer <uwog@abisource.com> 1:1.2.2-2.fc5
  135. - Rebuild for Fedora Extras 5
  136. * Sun Feb 05 2006 Marc Maurer <uwog@abisource.com> 1:1.2.2-1.fc5
  137. - Update to 1.2.2
  138. * Mon Jan 30 2006 Marc Maurer <uwog@abisource.com> 1:1.2.1-1.fc5
  139. - Update to 1.2.1
  140. - Drop glib Require
  141. * Sat Oct 22 2005 Marc Maurer <uwog@abisource.com> 1:1.2.0-1.fc5
  142. - Update to 1.2.0
  143. * Wed Oct 5 2005 Marc Maurer <uwog@abisource.com> 1:1.1.6-4.fc5
  144. - Add dist flag to the release number
  145. * Mon Apr 4 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1:1.1.6-3
  146. - make in %%build
  147. - disable bad buildroot rpaths in libs, don't use %%makeinstall
  148. - require %%{epoch} of main package in -devel package (Fridrich Strba)
  149. * Thu Mar 31 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1:1.1.6-2
  150. - add dep glib2-devel for pkgconfig in -devel package
  151. - include %%{_libdir}/enchant dir in main package
  152. - make -devel package require exact VR of main package
  153. - use -p /sbin/ldconfig in scriptlets
  154. * Mon Mar 28 2005 Marc Maurer <uwog@abisource.com> 1:1.1.6-1
  155. - update to 1.1.6
  156. - drop the manpage patch (RH#145010#)
  157. - fix version numbers in the spec changelog
  158. * Wed Mar 2 2005 Caolan McNamara <caolanm@redhat.com> 1:1.1.5-3
  159. - rebuild with gcc4
  160. * Fri Jan 14 2005 Caolan McNamara <caolanm@redhat.com> 1:1.1.5-2
  161. - RH#145010# misformatted manpage
  162. * Mon Dec 20 2004 Caolan McNamara <caolanm@redhat.com> 1:1.1.5-1
  163. - initial fedora import
  164. * Sun Aug 24 2003 Rui Miguel Seabra <rms@1407.org>
  165. - update spec to current stat of affairs
  166. - building from source rpm is now aware of --with and --without flags:
  167. - --without aspell --without ispell --without myspell --with uspell
  168. * Wed Jul 16 2003 Rui Miguel Seabra <rms@1407.org>
  169. - take advantage of environment rpm macros
  170. * Sun Jul 13 2003 Dom Lachowicz <cinamod@hotmail.com>
  171. - Initial version