|
@@ -1,18 +1,19 @@
|
|
%define sover 60
|
|
%define sover 60
|
|
|
|
+%define minorver 3
|
|
|
|
|
|
%define _unpackaged_files_terminate_build 1
|
|
%define _unpackaged_files_terminate_build 1
|
|
|
|
|
|
Summary: International Components for Unicode
|
|
Summary: International Components for Unicode
|
|
Summary(ja): ユニコード用国際化コンポーネント
|
|
Summary(ja): ユニコード用国際化コンポーネント
|
|
Name: icu
|
|
Name: icu
|
|
-Version: 60.2
|
|
+Version: %{sover}.%{minorver}
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Group: Development/Tools
|
|
Group: Development/Tools
|
|
License: MIT
|
|
License: MIT
|
|
URL: http://icu-project.org/
|
|
URL: http://icu-project.org/
|
|
|
|
|
|
-Source0: http://download.icu-project.org/files/icu4c/56.1/icu4c-60_2-src.tgz
|
|
+Source0: https://github.com/unicode-org/icu/releases/download/release-%{sover}-%{minorver}/icu4c-%{sover}_%{minorver}-src.tgz
|
|
-Source1: http://download.icu-project.org/files/icu4c/56.1/icu4c-60_2-docs.zip
|
|
+Source1: https://github.com/unicode-org/icu/releases/download/release-%{sover}-%{minorver}/icu4c-%{sover}_%{minorver}-docs.zip
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: gcc-c++
|
|
@@ -62,6 +63,7 @@ This package contains the development documentation for %{name}.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q -n %{name}
|
|
%setup -q -n %{name}
|
|
|
|
+
|
|
find . -name CVS -o -name .cvsignore | xargs -r rm -rf
|
|
find . -name CVS -o -name .cvsignore | xargs -r rm -rf
|
|
perl -pi -e 's/^(HAVE_DOT\b.*=).*$/$1 YES/' source/Doxyfile.in
|
|
perl -pi -e 's/^(HAVE_DOT\b.*=).*$/$1 YES/' source/Doxyfile.in
|
|
|
|
|
|
@@ -75,7 +77,7 @@ cd source
|
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
%configure --disable-static --with-data-packaging=library --disable-samples
|
|
%configure --disable-static --with-data-packaging=library --disable-samples
|
|
-make
|
|
+make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
@@ -83,8 +85,10 @@ make -C source install DESTDIR=$RPM_BUILD_ROOT
|
|
cp -pR ./source/tools/ctestfw/libicutest.so* $RPM_BUILD_ROOT/%{_libdir}
|
|
cp -pR ./source/tools/ctestfw/libicutest.so* $RPM_BUILD_ROOT/%{_libdir}
|
|
chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so.*
|
|
chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
+%ifarch x86_64
|
|
%check || :
|
|
%check || :
|
|
-make -C source check
|
|
+make %{?_smp_mflags} -C source check
|
|
|
|
+%endif
|
|
|
|
|
|
%clean
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
@@ -133,6 +137,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
%doc docs/*
|
|
%doc docs/*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Aug 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 60.3-1
|
|
|
|
+- updated to 60.3.
|
|
|
|
+- disables test on i686.
|
|
|
|
+
|
|
* Mon Jan 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 60.2-1
|
|
* Mon Jan 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 60.2-1
|
|
- updated to 60.2.
|
|
- updated to 60.2.
|
|
|
|
|