source: projects/specs/trunk/lib/libu/libunistring/libunistring-vl.spec @ 6924

Revision 6924, 2.3 KB checked in by Takemikaduchi, 12 years ago (diff)

libunistring: add Requires,
others: new upstream release

Line 
1
2# Basic Information
3Name:           libunistring
4Version:        0.9.3
5Release:        2%{?_dist_release}
6License:        GPLv3+
7Group:          Development/Libraries
8URL:            http://www.gnu.org/software/libunistring/
9Source0:        http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11
12Vendor:         Project Vine
13Distribution:   Vine Linux
14Packager:       yasumichi
15
16Summary:        library for manipulating Unicode strings
17Summary(ja):    Unicode 文字列を処理するライブラリ
18
19# Dependency
20BuildRequires:  texinfo
21BuildRequires:  texlive
22BuildRequires:  perl
23
24%description
25Text files are nowadays usually encoded in Unicode, and may consist of very
26different scripts – from Latin letters to Chinese Hanzi –, with many kinds
27of special characters – accents, right-to-left writing marks, hyphens,
28Roman numbers, and much more. But the POSIX platform APIs for text do not
29contain adequate functions for dealing with particular properties of many
30Unicode characters. In fact, the POSIX APIs for text have several
31assumptions at their base which don't hold for Unicode text.
32
33This library provides functions for manipulating Unicode strings and for
34manipulating C strings according to the Unicode standard.
35
36#%%description -l ja
37#%ここに日本語で詳細を記述してください。
38
39%package devel
40Summary:        Development files and documentation for libunistring
41Summary(ja):    libunistring の開発用ファイルとドキュメント
42Group:          Development/Libraries
43Requires:       %{name} = %{version}-%{release}
44
45%description devel
46Development 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
Note: See TracBrowser for help on using the repository browser.