|
|
|
@@ -1,21 +1,25 @@
|
|
|
|
|
%define libname libicu
|
|
|
|
|
%define pkgver %(echo %version | tr '.' '_')
|
|
|
|
|
%define gitver %(echo %version | tr '.' '-')
|
|
|
|
|
|
|
|
|
|
Name: icu
|
|
|
|
|
Version: 53.1
|
|
|
|
|
Version: 70.1
|
|
|
|
|
Release: 1mamba
|
|
|
|
|
Summary: Set of C/C++ and Java libraries for Unicode support
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Vendor: openmamba
|
|
|
|
|
Distribution: openmamba
|
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
|
URL: http://www.icu-project.org
|
|
|
|
|
Source: http://download.icu-project.org/files/icu4c/%{version}/icu4c-%{pkgver}-src.tgz
|
|
|
|
|
Patch0: %{name}-4.4-ctestfw-makefilein.patch
|
|
|
|
|
Patch1: %{name}-4.4.1-arm_assembly.patch
|
|
|
|
|
URL: https://www.icu-project.org
|
|
|
|
|
Source: https://github.com/unicode-org/icu.git/release-%{gitver}/icu-%{version}.tar.bz2
|
|
|
|
|
#Source: http://download.icu-project.org/files/icu4c/%{version}/icu4c-%{pkgver}-src.tgz
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{libname} = %{version}
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
|
BuildRequires: libgcc
|
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
Requires: %{libname} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
ICU is a set of C/C++ and Java libraries that provides robust and full-featured Unicode and locale support.
|
|
|
|
@@ -36,7 +40,7 @@ This package contains the runtime libraries for ICU.
|
|
|
|
|
%package -n %{libname}-devel
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Summary: Static libraries and headers for ICU
|
|
|
|
|
Requires: %{libname} = %{version}
|
|
|
|
|
Requires: %{libname} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n %{libname}-devel
|
|
|
|
|
ICU is a set of C/C++ and Java libraries that provides robust and full-featured Unicode support, software internationalization and globalization (i18n/g11n).
|
|
|
|
@@ -44,13 +48,13 @@ ICU is widely portable and gives applications the same results on all platforms
|
|
|
|
|
|
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{name}
|
|
|
|
|
#%patch0 -p1
|
|
|
|
|
#%patch1 -p1
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
cd source
|
|
|
|
|
cd icu4c/source
|
|
|
|
|
|
|
|
|
|
%configure \
|
|
|
|
|
--enable-shared \
|
|
|
|
@@ -61,7 +65,7 @@ cd source
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
%makeinstall -C source
|
|
|
|
|
%makeinstall -C icu4c/source
|
|
|
|
|
|
|
|
|
|
# fix wrong libraries permissions
|
|
|
|
|
chmod +x %{buildroot}%{_libdir}/*.so.*
|
|
|
|
@@ -78,18 +82,20 @@ rm -f %{buildroot}%{_datadir}/icu/%{version}/license.html
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_bindir}/derb
|
|
|
|
|
%{_bindir}/gen*
|
|
|
|
|
%{_bindir}/icuexportdata
|
|
|
|
|
%{_bindir}/icuinfo
|
|
|
|
|
%{_bindir}/makeconv
|
|
|
|
|
%{_bindir}/pkgdata
|
|
|
|
|
%{_bindir}/uconv
|
|
|
|
|
%{_sbindir}/escapesrc
|
|
|
|
|
%{_sbindir}/gen*
|
|
|
|
|
%{_sbindir}/icupkg
|
|
|
|
|
%{_mandir}/man?/*
|
|
|
|
|
%doc license.html readme.html
|
|
|
|
|
|
|
|
|
|
%files -n %{libname}
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
%{_libdir}/libicu*.so.*
|
|
|
|
|
%doc icu4c/LICENSE
|
|
|
|
|
|
|
|
|
|
%files -n %{libname}-devel
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
@@ -97,15 +103,16 @@ rm -f %{buildroot}%{_datadir}/icu/%{version}/license.html
|
|
|
|
|
%dir %{_datadir}/icu
|
|
|
|
|
%dir %{_datadir}/icu/%{version}
|
|
|
|
|
%dir %{_datadir}/icu/%{version}/config
|
|
|
|
|
%{_datadir}/icu/%{version}/LICENSE
|
|
|
|
|
%{_datadir}/icu/%{version}/mkinstalldirs
|
|
|
|
|
%{_datadir}/icu/%{version}/config/mh-linux
|
|
|
|
|
%{_datadir}/icu/%{version}/install-sh
|
|
|
|
|
%dir %{_includedir}/layout
|
|
|
|
|
%dir %{_includedir}/unicode
|
|
|
|
|
%{_includedir}/layout/*.h
|
|
|
|
|
#%dir %{_includedir}/layout
|
|
|
|
|
#%{_includedir}/layout/*.h
|
|
|
|
|
%{_includedir}/unicode/*.h
|
|
|
|
|
%{_libdir}/*.a
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/libicu*.a
|
|
|
|
|
%{_libdir}/libicu*.so
|
|
|
|
|
%dir %{_libdir}/icu
|
|
|
|
|
%dir %{_libdir}/icu/%{version}
|
|
|
|
|
%{_libdir}/icu/current
|
|
|
|
@@ -116,6 +123,57 @@ rm -f %{buildroot}%{_datadir}/icu/%{version}/license.html
|
|
|
|
|
%{_libdir}/pkgconfig/icu-*.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Nov 01 2021 Automatic Build System <autodist@mambasoft.it> 70.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Fri Apr 09 2021 Automatic Build System <autodist@mambasoft.it> 69.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Tue Dec 22 2020 Automatic Build System <autodist@mambasoft.it> 68.2-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Fri May 22 2020 Automatic Build System <autodist@mambasoft.it> 67.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Thu Dec 26 2019 Automatic Build System <autodist@mambasoft.it> 65.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Fri Apr 26 2019 Automatic Build System <autodist@mambasoft.it> 64.2-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Sun Apr 07 2019 Automatic Build System <autodist@mambasoft.it> 64.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Tue Oct 30 2018 Automatic Build System <autodist@mambasoft.it> 63.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Thu Aug 09 2018 Automatic Build System <autodist@mambasoft.it> 62.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Fri Mar 30 2018 Automatic Build System <autodist@mambasoft.it> 61.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Wed Dec 20 2017 Automatic Build System <autodist@mambasoft.it> 60.2-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2017 Automatic Build System <autodist@mambasoft.it> 59.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Thu Dec 15 2016 Automatic Build System <autodist@mambasoft.it> 58.2-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Tue Apr 19 2016 Automatic Build System <autodist@mambasoft.it> 57.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Tue Nov 03 2015 Automatic Build System <autodist@mambasoft.it> 56.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Thu Apr 09 2015 Automatic Build System <autodist@mambasoft.it> 55.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Tue Oct 21 2014 Automatic Build System <autodist@mambasoft.it> 54.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Fri Apr 18 2014 Automatic Build System <autodist@mambasoft.it> 53.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|