Summary: A library implementing algorithms related to the Unicode Standard Name: courier-unicode Version: 1.1 Release: 2%{?dist} License: GPLv3 Group: System Environment/Libraries URL: http://www.courier-mta.org/unicode/ Source0: http://sourceforge.net/projects/courier/files/%{name}/%{version}/courier-unicode-1.1.tar.bz2 Source1: http://sourceforge.net/projects/courier/files/%{name}/%{version}/courier-unicode-1.1.tar.bz2.sig Source2: pubkey.maildrop BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: gnupg %description This library implements several algorithms related to the Unicode Standard: * Look up uppercase, lowercase, and titlecase equivalents of a unicode character. * Implementation of grapheme and work breaking rules. * Implementation of line breaking rules. Several ancillary functions, like looking up the unicode character that corresponds to some HTML 4.0 entity (such as “&”, for example), and determining the normal width or a double-width status of a unicode character. Also, an adaptation of the iconv(3) API for this unicode library. This library also implements C++ bindings for these algorithms. The current release of the Courier Unicode library is based on the Unicode 6.3.0 standard. %package devel Summary: Development tools for programs which will use the libunicode library Group: Development/Libraries Requires: courier-unicode = %{version}-%{release} %description devel The libunicode-devel package includes the header files and documentation necessary for developing programs which will use the libunicode library. %prep %setup -q gpg --import %{SOURCE2} gpg --verify %{SOURCE1} %{SOURCE0} %build %configure --disable-static %{__make} %{?_smp_mflags} %install rm -rf %{buildroot} %makeinstall # We don't ship .la files. rm %{buildroot}%{_libdir}/*.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %license COPYING %doc README ChangeLog AUTHORS %defattr(-,root,root,-) %{_libdir}/libunicode.so.* %files devel %defattr(-,root,root) %{_includedir}/unicode.h %{_libdir}/libunicode.so %{_mandir}/man3/* %{_mandir}/man7/* %changelog * Tue Feb 17 2015 Brian C. Lane 1.1-2 - Changed package name to courier-unicode * Wed Jan 28 2015 Brian C. Lane 1.1-1 - Initial build