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

Revision 12372, 4.4 KB checked in by tomop, 2 years ago (diff)

updated 14 packages

acpica-tools-20190509-1

ethtool-5.4-1

flac-1.3.3-1

iproute-5.6.0-1

libcap-ng-0.7.10-1

libestr-0.1.11-2

libfastjson-0.99.8-4

libproxy-0.4.15-2

libpwquality-1.4.2-1

libunistring-0.9.10-2

mdadm-4.1-1

python-six-1.14.0-1

rsyslog-8.2002.0-1

speexdsp-1.2-0.16.rc3

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:        2%{?_dist_release}
9Vendor:         Project Vine
10Group:          System Environment/Libraries
11Distribution:   Vine Linux
12Packager:       yasumichi
13
14License:        GPLv3+
15URL:            https://www.gnu.org/software/libunistring/
16Source0:        https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
17BuildRoot:      %{_tmppath}/%{name}-%{version}-root
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%license COPYING
102%doc AUTHORS ChangeLog HACKING NEWS README THANKS
103%{_libdir}/*.so.*
104
105%files devel
106%{_includedir}/uni*.h
107%{_includedir}/unistring
108%{_libdir}/libunistring.so
109%{_docdir}/libunistring
110%{_infodir}/libunistring.info.gz
111
112%if %{build_compat32}
113%files -n compat32-%{name}
114%defattr(-,root,root,-)
115%{_libdir}/*.so.*
116
117%files -n compat32-%{name}-devel
118%{_libdir}/libunistring.so
119%endif
120
121%changelog
122* Sun Apr 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.10-2
123- rebuilt with current environment.
124
125* Thu Nov 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.10-1
126- updated to 0.9.10.
127
128* Fri Feb 23 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.8-1
129- updated to 0.9.8.
130
131* Tue Jan 27 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4-2
132- create compat32 packages
133
134* Mon Oct  6 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.4-1
135- updated to 0.9.4
136- moved libunistring to System Environment/Libraries
137- added %%post and %%postun
138
139* Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.3-2
140- add Requires: %{name} (devel package)
141
142* Wed Aug 15 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.9.3-1
143- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.