1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- Name: hyphen
- Summary: A text hyphenation library
- Version: 2.8.8
- Release: 1%{?_dist_release}
- Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz
- Group: System Environment/Libraries
- URL: http://hunspell.sf.net
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
- License: LGPLv2+ or MPLv1.1
- BuildRequires: perl, patch
- %description
- Hyphen is a library for high quality hyphenation and justification.
- %package devel
- Requires: hyphen = %{version}-%{release}
- Summary: Files for developing with hyphen
- Group: Development/Libraries
- %description devel
- Includes and definitions for developing with hyphen
- %package en
- Requires: hyphen
- Summary: English hyphenation rules
- Summary(ja): English hyphenation rules
- Group: Applications/Text
- %description en
- English hyphenation rules.
- %prep
- %setup -q
- %build
- %configure --disable-static
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make DESTDIR=$RPM_BUILD_ROOT install
- rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
- pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
- 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"
- for lang in $en_US_aliases; do
- ln -s hyph_en_US.dic hyph_$lang.dic
- done
- popd
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %files
- %defattr(-,root,root,-)
- %doc AUTHORS ChangeLog README README.hyphen README.nonstandard TODO
- %{_libdir}/*.so.*
- %dir %{_datadir}/hyphen
- %files en
- %defattr(-,root,root,-)
- %{_datadir}/hyphen/hyph_en*.dic
- %files devel
- %defattr(-,root,root,-)
- %{_includedir}/hyphen.h
- %{_libdir}/*.so
- %{_bindir}/substrings.pl
- %changelog
- * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.8-1
- - update to 2.8.8
- * Tue Jun 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.3-1
- - update to 2.8.3
- * Fri Jul 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4-1
- - initial build for Vine Linux
- * Fri May 02 2008 Caolan McNamara <caolanm@redhat.com> - 2.4-1
- - latest version
- * Tue Feb 19 2008 Caolan McNamara <caolanm@redhat.com> - 2.3.1-1
- - latest version
- * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.3-2
- - Autorebuild for GCC 4.3
- * Mon Nov 12 2007 Caolan McNamara <caolanm@redhat.com> - 2.3-1
- - initial version
|