hyphen-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. Name: hyphen
  2. Summary: A text hyphenation library
  3. Version: 2.8.8
  4. Release: 2%{?_dist_release}
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. URL: http://hunspell.sf.net
  9. License: LGPLv2+ or MPLv1.1
  10. Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildRequires: perl, patch
  13. %description
  14. Hyphen is a library for high quality hyphenation and justification.
  15. %package devel
  16. Summary: Files for developing with hyphen
  17. Group: programming
  18. Requires: hyphen = %{version}-%{release}
  19. %description devel
  20. Includes and definitions for developing with hyphen
  21. %package en
  22. Summary: English hyphenation rules
  23. Summary(ja): English hyphenation rules
  24. Group: publishing
  25. Requires: hyphen
  26. %description en
  27. English hyphenation rules.
  28. %debug_package
  29. %prep
  30. %setup -q
  31. %build
  32. %configure --disable-static
  33. make %{?_smp_mflags}
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. make DESTDIR=$RPM_BUILD_ROOT install
  37. rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
  38. pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
  39. en_US_aliases="en_AU en_BS en_BZ en_CA en_GH en_GB en_IE en_IN en_JM en_NA en_NZ en_PH en_TT en_ZA en_ZW"
  40. for lang in $en_US_aliases; do
  41. ln -s hyph_en_US.dic hyph_$lang.dic
  42. done
  43. popd
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %files
  47. %defattr(-,root,root,-)
  48. %doc AUTHORS ChangeLog README README.hyphen README.nonstandard TODO
  49. %{_libdir}/*.so.*
  50. %dir %{_datadir}/hyphen
  51. %files en
  52. %defattr(-,root,root,-)
  53. %{_datadir}/hyphen/hyph_en*.dic
  54. %files devel
  55. %defattr(-,root,root,-)
  56. %{_includedir}/hyphen.h
  57. %{_libdir}/*.so
  58. %{_bindir}/substrings.pl
  59. %changelog
  60. * Thu Mar 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.8.8-2
  61. - rebuilt with current environment.
  62. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.8-1
  63. - update to 2.8.8
  64. * Tue Jun 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.3-1
  65. - update to 2.8.3
  66. * Fri Jul 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4-1
  67. - initial build for Vine Linux
  68. * Fri May 02 2008 Caolan McNamara <caolanm@redhat.com> - 2.4-1
  69. - latest version
  70. * Tue Feb 19 2008 Caolan McNamara <caolanm@redhat.com> - 2.3.1-1
  71. - latest version
  72. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.3-2
  73. - Autorebuild for GCC 4.3
  74. * Mon Nov 12 2007 Caolan McNamara <caolanm@redhat.com> - 2.3-1
  75. - initial version