[521] | 1 | |
---|
[9000] | 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 |
---|
[521] | 13 | |
---|
[9000] | 14 | Vendor: Project Vine |
---|
| 15 | Distribution: Vine Linux |
---|
| 16 | Packager: yasumichi |
---|
| 17 | |
---|
| 18 | # Dependency |
---|
| 19 | BuildRequires: texinfo |
---|
| 20 | BuildRequires: texlive |
---|
| 21 | BuildRequires: perl |
---|
| 22 | |
---|
[521] | 23 | %description |
---|
[9000] | 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. |
---|
[521] | 31 | |
---|
[9000] | 32 | This library provides functions for manipulating Unicode strings and for |
---|
| 33 | manipulating C strings according to the Unicode standard. |
---|
[521] | 34 | |
---|
[9000] | 35 | #%%description -l ja |
---|
| 36 | #%ここに日本語で詳細を記述してください。 |
---|
| 37 | |
---|
[521] | 38 | %package devel |
---|
[9000] | 39 | Summary: Development files and documentation for libunistring |
---|
| 40 | Summary(ja): libunistring の開発用ファイルとドキュメント |
---|
| 41 | Group: Development/Libraries |
---|
| 42 | Requires: %{name} = %{version}-%{release} |
---|
[521] | 43 | |
---|
| 44 | %description devel |
---|
[9000] | 45 | Development files and documentation for libunistring |
---|
[521] | 46 | |
---|
| 47 | %prep |
---|
[9000] | 48 | %setup -q |
---|
[521] | 49 | |
---|
| 50 | %build |
---|
[9000] | 51 | %configure --disable-static |
---|
| 52 | %{__make} %{?_smp_mflags} |
---|
[521] | 53 | |
---|
| 54 | %install |
---|
[9000] | 55 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 56 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
[521] | 57 | |
---|
[9000] | 58 | #{__rm} ${RPM_BUILD_ROOT}%{_libdir}/libunistring.a |
---|
| 59 | %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/libunistring.la |
---|
| 60 | %{__rm} ${RPM_BUILD_ROOT}%{_infodir}/dir |
---|
| 61 | |
---|
[521] | 62 | %clean |
---|
[9000] | 63 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
[521] | 64 | |
---|
| 65 | %post -p /sbin/ldconfig |
---|
| 66 | |
---|
| 67 | %postun -p /sbin/ldconfig |
---|
| 68 | |
---|
[9000] | 69 | |
---|
[521] | 70 | %files |
---|
[9000] | 71 | %defattr(-,root,root) |
---|
| 72 | %doc AUTHORS COPYING ChangeLog HACKING NEWS README THANKS |
---|
[521] | 73 | %{_libdir}/*.so.* |
---|
| 74 | |
---|
| 75 | %files devel |
---|
[9000] | 76 | %{_includedir}/uni*.h |
---|
| 77 | %{_includedir}/unistring |
---|
| 78 | %{_libdir}/libunistring.so |
---|
| 79 | %{_docdir}/libunistring |
---|
| 80 | %{_infodir}/libunistring.info.gz |
---|
[521] | 81 | |
---|
| 82 | %changelog |
---|
[9000] | 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 |
---|
[521] | 87 | |
---|
[9000] | 88 | * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.3-2 |
---|
| 89 | - add Requires: %{name} (devel package) |
---|
[521] | 90 | |
---|
[9000] | 91 | * Wed Aug 15 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.9.3-1 |
---|
| 92 | - initial build for Vine Linux |
---|