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

RevLine 
[9295]1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
[6722]2
3# Basic Information
4Name:           libunistring
[9301]5Summary:        library for manipulating Unicode strings
6Summary(ja):    Unicode 文字列を処理するライブラリ
[11893]7Version:        0.9.10
[11523]8Release:        1%{?_dist_release}
[6722]9License:        GPLv3+
[9301]10Group:          System Environment/Libraries
[6722]11URL:            http://www.gnu.org/software/libunistring/
[11523]12Source0:        http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
[6722]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 の開発用ファイルとドキュメント
[6924]42Group:          Development/Libraries
43Requires:       %{name} = %{version}-%{release}
[6722]44
45%description devel
46Development files and documentation for libunistring
47
[9295]48%package -n compat32-%{name}
[9301]49Summary:        library for manipulating Unicode strings
50Summary(ja):    Unicode 文字列を処理するライブラリ
51Group:          Development/Libraries
52Requires:       %{name} = %{version}-%{release}
[9295]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
[9301]67Summary:        Development files and documentation for libunistring
68Summary(ja):    libunistring の開発用ファイルとドキュメント
69Group:          Development/Libraries
70Requires:       compat32-%{name} = %{version}-%{release}
71Requires:       %{name}-devel = %{version}-%{release}
[9295]72
73%description -n compat32-%{name}-devel
74Development files and documentation for libunistring
75
[9301]76
[6722]77%prep
78%setup -q
79
80%build
[9301]81%configure --disable-static
[6722]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
[9301]94%post -p /sbin/ldconfig
[6722]95
[9301]96%postun -p /sbin/ldconfig
97
98
[6722]99%files
[9301]100%defattr(-,root,root)
[6722]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
[9295]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
[6722]120%changelog
[11893]121* Thu Nov 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.10-1
122- updated to 0.9.10.
123
[11523]124* Fri Feb 23 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.8-1
125- updated to 0.9.8.
126
[9301]127* Tue Jan 27 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4-2
[9295]128- create compat32 packages
129
[9301]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
[6924]135* Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.3-2
136- add Requires: %{name} (devel package)
137
[6722]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.