1 |
%define major 53 |
%define major 55 |
2 |
%define libname %mklibname icu %{major} |
%define libname %mklibname icu %{major} |
3 |
%define develname %mklibname icu -d |
%define develname %mklibname icu -d |
4 |
|
|
8 |
|
|
9 |
Summary: International Components for Unicode |
Summary: International Components for Unicode |
10 |
Name: icu |
Name: icu |
11 |
Version: 53.1 |
Version: 55.1 |
12 |
Release: %mkrel 12 |
Release: %mkrel 1 |
13 |
Epoch: 1 |
Epoch: 1 |
14 |
License: MIT |
License: MIT |
15 |
Group: System/Libraries |
Group: System/Libraries |
18 |
Source1: http://download.icu-project.org/files/icu4c/%{version}/%{name}4c-%{tarballver}-docs.zip |
Source1: http://download.icu-project.org/files/icu4c/%{version}/%{name}4c-%{tarballver}-docs.zip |
19 |
Patch0: icu-50.1-disable-renaming.patch |
Patch0: icu-50.1-disable-renaming.patch |
20 |
Patch6: icu-4.6.1-do-not-promote-ldflags.patch |
Patch6: icu-4.6.1-do-not-promote-ldflags.patch |
|
Patch7: icu-53.1-CVE-2014-7923-CVE-2014-7926.patch |
|
|
Patch8: icu-53.1-regex2.patch |
|
|
Patch9: icu-CVE-2014-6585-CVE-2014-6591.patch |
|
|
Patch10: icu-55-CVE-2014-8146.patch |
|
|
Patch11: icu-55-CVE-2014-8147.patch |
|
|
Patch12: icu-55-uresbund-integer-overflow.patch |
|
21 |
BuildRequires: doxygen |
BuildRequires: doxygen |
22 |
Requires: %{libname} = %{epoch}:%{version} |
Requires: %{libname} = %{epoch}:%{version} |
23 |
|
|
89 |
%setup -q -n %{name} |
%setup -q -n %{name} |
90 |
%patch0 -p1 -b .renaming |
%patch0 -p1 -b .renaming |
91 |
#patch6 -p0 -b .ldflags |
#patch6 -p0 -b .ldflags |
|
%patch7 -p1 -b .regex-cves |
|
|
%patch8 -p1 -b .regex2 |
|
|
%patch9 -p0 -b .CVE-2014-6585-CVE-2014-6591 |
|
|
%patch10 -p3 -b .CVE-2014-8146 |
|
|
%patch11 -p3 -b .CVE-2014-8147 |
|
|
%patch12 -p3 -b .overflow |
|
92 |
|
|
93 |
mkdir -p docs |
mkdir -p docs |
94 |
pushd docs |
pushd docs |
106 |
%make doc |
%make doc |
107 |
popd |
popd |
108 |
|
|
109 |
|
%check |
110 |
|
pushd source |
111 |
|
make check |
112 |
|
popd |
113 |
|
|
114 |
%install |
%install |
115 |
%makeinstall_std -C source |
%makeinstall_std -C source |
116 |
%multiarch_binaries %{buildroot}%{_bindir}/icu-config |
%multiarch_binaries %{buildroot}%{_bindir}/icu-config |