source: projects/specs/trunk/lib/libu/libunicode/libunicode-vl.spec @ 9000

Revision 9000, 2.6 KB checked in by inagaki, 10 years ago (diff)

2014-10-06 Ryoichi INAGAKI <ryo1@…>

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