| 1 | |
|---|
| 2 | # Basic Information |
|---|
| 3 | Name: libunistring |
|---|
| 4 | Summary: library for manipulating Unicode strings |
|---|
| 5 | Summary(ja): Unicode 文字列を処理するライブラリ |
|---|
| 6 | Version: 0.9.4 |
|---|
| 7 | Release: 1%{?_dist_release} |
|---|
| 8 | License: GPLv3+ |
|---|
| 9 | Group: System Environment/Libraries |
|---|
| 10 | URL: http://www.gnu.org/software/libunistring/ |
|---|
| 11 | Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz |
|---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 13 | |
|---|
| 14 | Vendor: Project Vine |
|---|
| 15 | Distribution: Vine Linux |
|---|
| 16 | Packager: yasumichi |
|---|
| 17 | |
|---|
| 18 | # Dependency |
|---|
| 19 | BuildRequires: texinfo |
|---|
| 20 | BuildRequires: texlive |
|---|
| 21 | BuildRequires: perl |
|---|
| 22 | |
|---|
| 23 | %description |
|---|
| 24 | Text files are nowadays usually encoded in Unicode, and may consist of very |
|---|
| 25 | different scripts – from Latin letters to Chinese Hanzi –, with many kinds |
|---|
| 26 | of special characters – accents, right-to-left writing marks, hyphens, |
|---|
| 27 | Roman numbers, and much more. But the POSIX platform APIs for text do not |
|---|
| 28 | contain adequate functions for dealing with particular properties of many |
|---|
| 29 | Unicode characters. In fact, the POSIX APIs for text have several |
|---|
| 30 | assumptions at their base which don't hold for Unicode text. |
|---|
| 31 | |
|---|
| 32 | This library provides functions for manipulating Unicode strings and for |
|---|
| 33 | manipulating C strings according to the Unicode standard. |
|---|
| 34 | |
|---|
| 35 | #%%description -l ja |
|---|
| 36 | #%ここに日本語で詳細を記述してください。 |
|---|
| 37 | |
|---|
| 38 | %package devel |
|---|
| 39 | Summary: Development files and documentation for libunistring |
|---|
| 40 | Summary(ja): libunistring の開発用ファイルとドキュメント |
|---|
| 41 | Group: Development/Libraries |
|---|
| 42 | Requires: %{name} = %{version}-%{release} |
|---|
| 43 | |
|---|
| 44 | %description devel |
|---|
| 45 | Development files and documentation for libunistring |
|---|
| 46 | |
|---|
| 47 | %prep |
|---|
| 48 | %setup -q |
|---|
| 49 | |
|---|
| 50 | %build |
|---|
| 51 | %configure --disable-static |
|---|
| 52 | %{__make} %{?_smp_mflags} |
|---|
| 53 | |
|---|
| 54 | %install |
|---|
| 55 | %{__rm} -rf ${RPM_BUILD_ROOT} |
|---|
| 56 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
|---|
| 57 | |
|---|
| 58 | #{__rm} ${RPM_BUILD_ROOT}%{_libdir}/libunistring.a |
|---|
| 59 | %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/libunistring.la |
|---|
| 60 | %{__rm} ${RPM_BUILD_ROOT}%{_infodir}/dir |
|---|
| 61 | |
|---|
| 62 | %clean |
|---|
| 63 | %{__rm} -rf ${RPM_BUILD_ROOT} |
|---|
| 64 | |
|---|
| 65 | %post -p /sbin/ldconfig |
|---|
| 66 | |
|---|
| 67 | %postun -p /sbin/ldconfig |
|---|
| 68 | |
|---|
| 69 | |
|---|
| 70 | %files |
|---|
| 71 | %defattr(-,root,root) |
|---|
| 72 | %doc AUTHORS COPYING ChangeLog HACKING NEWS README THANKS |
|---|
| 73 | %{_libdir}/*.so.* |
|---|
| 74 | |
|---|
| 75 | %files devel |
|---|
| 76 | %{_includedir}/uni*.h |
|---|
| 77 | %{_includedir}/unistring |
|---|
| 78 | %{_libdir}/libunistring.so |
|---|
| 79 | %{_docdir}/libunistring |
|---|
| 80 | %{_infodir}/libunistring.info.gz |
|---|
| 81 | |
|---|
| 82 | %changelog |
|---|
| 83 | * Mon Oct 6 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.4-1 |
|---|
| 84 | - updated to 0.9.4 |
|---|
| 85 | - moved libunistring to System Environment/Libraries |
|---|
| 86 | - added %%post and %%postun |
|---|
| 87 | |
|---|
| 88 | * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.3-2 |
|---|
| 89 | - add Requires: %{name} (devel package) |
|---|
| 90 | |
|---|
| 91 | * Wed Aug 15 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.9.3-1 |
|---|
| 92 | - initial build for Vine Linux |
|---|