Name: hyphen Summary: A text hyphenation library Version: 2.3 Release: alt2 License: LGPLv2+ or MPLv1.1 Group: System/Libraries URL: http://hunspell.sourceforge.net/ Packager: Valery Inozemtsev <shrek@altlinux.ru> Source: http://downloads.sourceforge.net/hunspell/%name-%version.tar.gz # Automatically added by buildreq on Sat Dec 29 2007 BuildRequires: gcc-c++ %description Hyphen is a library for high quality hyphenation and justification. %package -n lib%name Summary: A text hyphenation library Group: System/Libraries %description -n lib%name Hyphen is a library for high quality hyphenation and justification. %package -n lib%name-devel Summary: Files for developing with hyphen Group: Development/C++ Requires: lib%name = %version-%release %description -n lib%name-devel Includes and definitions for developing with hyphen %package en Summary: English hyphenation rules Group: Text tools Requires: lib%name %description en English hyphenation rules. %prep %setup -q %build %configure \ --disable-static %make_build %install %make DESTDIR=%buildroot install cd %buildroot%_datadir/hyphen/ en_US_aliases="en 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 %post -n lib%name %post_ldconfig %postun -n lib%name %postun_ldconfig %files -n lib%name %doc AUTHORS README.* TODO %_libdir/*.so.* %dir %_datadir/hyphen %files -n lib%name-devel %_includedir/hyphen.h %_bindir/substrings.pl %_libdir/*.so %files en %_datadir/hyphen/hyph_en*.dic %changelog * Sun Dec 30 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.3-alt2 - new varient alias * Sat Dec 29 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.3-alt1 - initial release