diff --git a/icu.spec b/icu.spec index 9d6087d..465f21d 100644 --- a/icu.spec +++ b/icu.spec @@ -1,8 +1,9 @@ %define libname libicu %define pkgver %(echo %version | tr '.' '_') +%define gitver %(echo %version | tr '.' '-') Name: icu -Version: 65.1 +Version: 67.1 Release: 1mamba Summary: Set of C/C++ and Java libraries for Unicode support Group: System/Libraries @@ -10,7 +11,8 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.icu-project.org -Source: http://download.icu-project.org/files/icu4c/%{version}/icu4c-%{pkgver}-src.tgz +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 ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -47,11 +49,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 icu +%setup -q %build -cd source +cd icu4c/source %configure \ --enable-shared \ @@ -62,7 +66,7 @@ cd source %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall -C source +%makeinstall -C icu4c/source # fix wrong libraries permissions chmod +x %{buildroot}%{_libdir}/*.so.* @@ -87,11 +91,11 @@ rm -f %{buildroot}%{_datadir}/icu/%{version}/license.html %{_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) @@ -107,8 +111,8 @@ rm -f %{buildroot}%{_datadir}/icu/%{version}/license.html #%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 @@ -119,6 +123,9 @@ rm -f %{buildroot}%{_datadir}/icu/%{version}/license.html %{_libdir}/pkgconfig/icu-*.pc %changelog +* Fri May 22 2020 Automatic Build System 67.1-1mamba +- automatic version update by autodist + * Thu Dec 26 2019 Automatic Build System 65.1-1mamba - automatic version update by autodist