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

Revision 11893, 4.3 KB checked in by tomop, 5 years ago (diff)

libunistring-0.9.10-1

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3# Basic Information
4Name:           libunistring
5Summary:        library for manipulating Unicode strings
6Summary(ja):    Unicode 文字列を処理するライブラリ
7Version:        0.9.10
8Release:        1%{?_dist_release}
9License:        GPLv3+
10Group:          System Environment/Libraries
11URL:            http://www.gnu.org/software/libunistring/
12Source0:        http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14
15Vendor:         Project Vine
16Distribution:   Vine Linux
17Packager:       yasumichi
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%package -n compat32-%{name}
49Summary:        library for manipulating Unicode strings
50Summary(ja):    Unicode 文字列を処理するライブラリ
51Group:          Development/Libraries
52Requires:       %{name} = %{version}-%{release}
53
54%description -n compat32-%{name}
55Text files are nowadays usually encoded in Unicode, and may consist of very
56different scripts – from Latin letters to Chinese Hanzi –, with many kinds
57of special characters – accents, right-to-left writing marks, hyphens,
58Roman numbers, and much more. But the POSIX platform APIs for text do not
59contain adequate functions for dealing with particular properties of many
60Unicode characters. In fact, the POSIX APIs for text have several
61assumptions at their base which don't hold for Unicode text.
62
63This library provides functions for manipulating Unicode strings and for
64manipulating C strings according to the Unicode standard.
65
66%package -n compat32-%{name}-devel
67Summary:        Development files and documentation for libunistring
68Summary(ja):    libunistring の開発用ファイルとドキュメント
69Group:          Development/Libraries
70Requires:       compat32-%{name} = %{version}-%{release}
71Requires:       %{name}-devel = %{version}-%{release}
72
73%description -n compat32-%{name}-devel
74Development files and documentation for libunistring
75
76
77%prep
78%setup -q
79
80%build
81%configure --disable-static
82%{__make} %{?_smp_mflags}
83
84%install
85%{__rm} -rf ${RPM_BUILD_ROOT}
86%{__make} install DESTDIR=${RPM_BUILD_ROOT}
87
88%{__rm} ${RPM_BUILD_ROOT}%{_libdir}/libunistring.la
89%{__rm} ${RPM_BUILD_ROOT}%{_infodir}/dir
90
91%clean
92%{__rm} -rf ${RPM_BUILD_ROOT}
93
94%post -p /sbin/ldconfig
95
96%postun -p /sbin/ldconfig
97
98
99%files
100%defattr(-,root,root)
101%doc AUTHORS COPYING ChangeLog HACKING NEWS README THANKS
102%{_libdir}/*.so.*
103
104%files devel
105%{_includedir}/uni*.h
106%{_includedir}/unistring
107%{_libdir}/libunistring.so
108%{_docdir}/libunistring
109%{_infodir}/libunistring.info.gz
110
111%if %{build_compat32}
112%files -n compat32-%{name}
113%defattr(-,root,root,-)
114%{_libdir}/*.so.*
115
116%files -n compat32-%{name}-devel
117%{_libdir}/libunistring.so
118%endif
119
120%changelog
121* Thu Nov 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.10-1
122- updated to 0.9.10.
123
124* Fri Feb 23 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.8-1
125- updated to 0.9.8.
126
127* Tue Jan 27 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4-2
128- create compat32 packages
129
130* Mon Oct  6 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.4-1
131- updated to 0.9.4
132- moved libunistring to System Environment/Libraries
133- added %%post and %%postun
134
135* Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.3-2
136- add Requires: %{name} (devel package)
137
138* Wed Aug 15 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.9.3-1
139- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.