enchant-vl.spec 5.9 KB

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