| 1 | %define ver 1.4 |
|---|
| 2 | %define rel 2 |
|---|
| 3 | |
|---|
| 4 | Summary: Courier Unicode Library |
|---|
| 5 | Name: courier-unicode |
|---|
| 6 | Version: %{ver} |
|---|
| 7 | Release: %{rel}%{?_dist_release} |
|---|
| 8 | License: GPLv3 |
|---|
| 9 | Group: System Environment/Libraries |
|---|
| 10 | URL: http://www.courier-mta.org/unicode/ |
|---|
| 11 | Source0: %{name}-%{version}.tar.bz2 |
|---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
|---|
| 13 | |
|---|
| 14 | %description |
|---|
| 15 | This library implements several algorithms related to the Unicode Standard: |
|---|
| 16 | |
|---|
| 17 | - Look up uppercase, lowercase, and titlecase equivalents of a unicode |
|---|
| 18 | character. |
|---|
| 19 | - Implementation of grapheme and work breaking rules. |
|---|
| 20 | - Implementation of line breaking rules. |
|---|
| 21 | - Several ancillary functions, like looking up the unicode character |
|---|
| 22 | that corresponds to some HTML 4.0 entity (such as “&”, for example), |
|---|
| 23 | and determining the normal width or a double-width status of a unicode |
|---|
| 24 | character. Also, an adaptation of the iconv(3) API for this unicode library. |
|---|
| 25 | |
|---|
| 26 | This library also implements C++ bindings for these algorithms. |
|---|
| 27 | |
|---|
| 28 | %package devel |
|---|
| 29 | Summary: Libraries and header files for %{name} |
|---|
| 30 | Group: Development/Libraries |
|---|
| 31 | Requires: %{name} = %{version}-%{release} |
|---|
| 32 | |
|---|
| 33 | %description devel |
|---|
| 34 | Libraries and header files for %{name} |
|---|
| 35 | |
|---|
| 36 | Vendor: Project Vine |
|---|
| 37 | Distribution: Vine Linux |
|---|
| 38 | Packager: iwaim |
|---|
| 39 | |
|---|
| 40 | %prep |
|---|
| 41 | %setup -q |
|---|
| 42 | %configure --enable-shared --enable-static=no |
|---|
| 43 | |
|---|
| 44 | %build |
|---|
| 45 | %__make |
|---|
| 46 | |
|---|
| 47 | %install |
|---|
| 48 | rm -rf $RPM_BUILD_ROOT |
|---|
| 49 | %makeinstall |
|---|
| 50 | |
|---|
| 51 | %clean |
|---|
| 52 | rm -rf $RPM_BUILD_ROOT |
|---|
| 53 | |
|---|
| 54 | |
|---|
| 55 | %files |
|---|
| 56 | %defattr(-,root,root,-) |
|---|
| 57 | %doc AUTHORS COPYING ChangeLog README |
|---|
| 58 | %{_mandir}/man?/* |
|---|
| 59 | %{_libdir}/*.so.* |
|---|
| 60 | |
|---|
| 61 | %files devel |
|---|
| 62 | %{_includedir}/* |
|---|
| 63 | %{_libdir}/*.so |
|---|
| 64 | |
|---|
| 65 | %changelog |
|---|
| 66 | * Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4-2 |
|---|
| 67 | - rebuild with gcc-5.4.0 |
|---|
| 68 | |
|---|
| 69 | * Tue Dec 29 2015 IWAI, Masaharu <iwaim.sub@gmail.com> 1.4-1 |
|---|
| 70 | - update to 1.4 |
|---|
| 71 | |
|---|
| 72 | * Wed Jan 7 2015 IWAI, Masaharu <iwaim.sub@gmail.com> 1.1-1 |
|---|
| 73 | - initial build for Vine Linux |
|---|