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