legacy package [release 74.2-2mamba;Sat Apr 20 2024]

This commit is contained in:
Silvan Calarco 2024-04-21 11:16:24 +02:00
parent 586b01b9fa
commit 1b791930fb
3 changed files with 269 additions and 0 deletions

View File

@ -1,2 +1,6 @@
# icu74 # icu74
ICU is a set of C/C++ and Java libraries that provides robust and full-featured Unicode and locale support.
The library provides calendar support, conversions for many character sets, language sensitive collation, date and time formatting, support for many locales, message catalogs and resources, message formatting, normalization, number and currency formatting, time zones support, transliteration, word, line and sentence breaking, etc.
This package contains the Unicode character database and derived properties, along with converters and time zones data.

25
icu-73.2-ICU-22132.patch Normal file
View File

@ -0,0 +1,25 @@
diff -u a/i18n/vtzone.cpp a/i18n/vtzone.cpp
--- a/i18n/vtzone.cpp 2023-07-14 09:05:38.000000000 +0100
+++ b/i18n/vtzone.cpp 2023-07-14 09:05:38.000000000 +0100
@@ -1735,14 +1735,14 @@
}
}
} else {
- UnicodeString icutzprop;
- UVector customProps(nullptr, uhash_compareUnicodeString, status);
+ UVector customProps(uprv_deleteUObject, uhash_compareUnicodeString, status);
if (olsonzid.length() > 0 && icutzver.length() > 0) {
- icutzprop.append(olsonzid);
- icutzprop.append(u'[');
- icutzprop.append(icutzver);
- icutzprop.append(u']');
- customProps.addElement(&icutzprop, status);
+ LocalPointer<UnicodeString> icutzprop(new UnicodeString(ICU_TZINFO_PROP), status);
+ icutzprop->append(olsonzid);
+ icutzprop->append(u'[');
+ icutzprop->append(icutzver);
+ icutzprop->append(u']');
+ customProps.adoptElement(icutzprop.orphan(), status);
}
writeZone(writer, *tz, &customProps, status);
}

240
icu74.spec Normal file
View File

@ -0,0 +1,240 @@
%define pkgver %(echo %version | tr '.' '_')
%define gitver %(echo %version | tr '.' '-')
Name: icu74
Version: 74.2
Release: 2mamba
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: https://www.icu-project.org
Source: https://github.com/unicode-org/icu.git/release-%{gitver}/icu-%{version}.tar.bz2
Patch0: icu-73.2-ICU-22132.patch
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
ICU is a set of C/C++ and Java libraries that provides robust and full-featured Unicode and locale support.
The library provides calendar support, conversions for many character sets, language sensitive collation, date and time formatting, support for many locales, message catalogs and resources, message formatting, normalization, number and currency formatting, time zones support, transliteration, word, line and sentence breaking, etc.
This package contains the Unicode character database and derived properties, along with converters and time zones data.
%package -n lib%{name}
Group: System/Libraries
Summary: Set of C/C++ and Java libraries for Unicode support
%description -n lib%{name}
ICU is a set of C/C++ and Java libraries that provides robust and full-featured Unicode support, software internationalization and globalization (i18n/g11n).
ICU is widely portable and gives applications the same results on all platforms and between C/C++ and Java software.
This package contains the runtime libraries for ICU.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Static libraries and headers for ICU
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-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).
ICU is widely portable and gives applications the same results on all platforms and between C/C++ and Java software.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q -n icu-%{version}
cd icu4c/source
%patch 0 -p1 -b .ICU-22132
cd ../..
%build
cd icu4c/source
%configure \
--enable-shared \
--enable-static \
--disable-samples
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C icu4c/source
# fix wrong libraries permissions
chmod +x %{buildroot}%{_libdir}/*.so.*
rm -f %{buildroot}%{_datadir}/icu/%{version}/license.html
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%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?/*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libicu*.so.*
%doc icu4c/LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_bindir}/icu-config
%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}/unicode
#%dir %{_includedir}/layout
#%{_includedir}/layout/*.h
%{_includedir}/unicode/*.h
%{_libdir}/libicu*.a
%{_libdir}/libicu*.so
%dir %{_libdir}/icu
%dir %{_libdir}/icu/%{version}
%{_libdir}/icu/current
%{_libdir}/icu/%{version}/Makefile.inc
%{_libdir}/icu/Makefile.inc
%{_libdir}/icu/%{version}/pkgdata.inc
%{_libdir}/icu/pkgdata.inc
%{_libdir}/pkgconfig/icu-*.pc
%changelog
* Sat Apr 20 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 74.2-2mamba
- legacy package
* Tue Dec 12 2023 Automatic Build System <autodist@mambasoft.it> 74.2-1mamba
- automatic version update by autodist
* Sun Oct 29 2023 Automatic Build System <autodist@mambasoft.it> 74.1-1mamba
- automatic version update by autodist
* Fri Sep 29 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 73.2-2mamba
- added upstream patch to fix problems seen with thunderbird >= 115 (see https://bugzilla.mozilla.org/show_bug.cgi?id=1843007 )
* Wed Jun 14 2023 Automatic Build System <autodist@mambasoft.it> 73.2-1mamba
- automatic version update by autodist
* Thu Apr 13 2023 Automatic Build System <autodist@mambasoft.it> 73.1-1mamba
- automatic version update by autodist
* Thu Oct 20 2022 Automatic Build System <autodist@mambasoft.it> 72.1-1mamba
- automatic version update by autodist
* Thu Apr 07 2022 Automatic Build System <autodist@mambasoft.it> 71.1-1mamba
- automatic version update by autodist
* 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
* Thu Oct 17 2013 Automatic Build System <autodist@mambasoft.it> 52.1-1mamba
- automatic version update by autodist
* Sat May 25 2013 Automatic Build System <autodist@mambasoft.it> 51.2-1mamba
- automatic version update by autodist
* Tue Mar 26 2013 Automatic Build System <autodist@mambasoft.it> 51.1-1mamba
- automatic version update by autodist
* Wed Jan 23 2013 Automatic Build System <autodist@mambasoft.it> 50.1.2-1mamba
- automatic version update by autodist
* Tue Dec 18 2012 Automatic Build System <autodist@mambasoft.it> 50.1.1-1mamba
- automatic version update by autodist
* Sun Dec 02 2012 Automatic Build System <autodist@mambasoft.it> 50.1-1mamba
- automatic version update by autodist
* Mon Jul 12 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.1-1mamba
- update to 4.4.1
* Tue Jun 29 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4-2mamba
- added patch to fix install of libtestfw library required by icutest tool
* Tue Mar 23 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4-1mamba
- update to 4.4
* Tue Dec 09 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0-1mamba
- update to 4.0
* Thu Oct 18 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8-1mamba
- update to 3.8
* Thu Jan 12 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 3.2-2qilnx
- fixed license
* Tue May 31 2005 Davide Madrisan <davide.madrisan@qilinux.it> 3.2-1qilnx
- package created by autospec