From 34ca81d86bb2e53e20aa1589965bfb19f131f2c3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:51:28 +0100 Subject: [PATCH] legacy package [release 62.1-2mamba;Fri Nov 09 2018] --- README.md | 5 ++ icu62.spec | 192 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 197 insertions(+) create mode 100644 icu62.spec diff --git a/README.md b/README.md index a88775d..fab413e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # icu62 +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. + diff --git a/icu62.spec b/icu62.spec new file mode 100644 index 0000000..3cfd3cb --- /dev/null +++ b/icu62.spec @@ -0,0 +1,192 @@ +%define libname libicu62 +%define pkgver %(echo %version | tr '.' '_') + +Name: icu62 +Version: 62.1 +Release: 2mamba +Summary: Set of C/C++ and Java libraries for Unicode support +Group: System/Libraries +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 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +Requires: %{libname} = %{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 %{libname} +Group: System/Libraries +Summary: Set of C/C++ and Java libraries for Unicode support + +%description -n %{libname} +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 %{libname}-devel +Group: Development/Libraries +Summary: Static libraries and headers for ICU +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). +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 need for development. + +%prep +%setup -q -n icu + +%build +cd source + +%configure \ + --enable-shared \ + --enable-static \ + --disable-samples + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C 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 %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/derb +%{_bindir}/gen* +%{_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.* + +%files -n %{libname}-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}/*.a +%{_libdir}/*.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 +* Fri Nov 09 2018 Silvan Calarco 62.1-2mamba +- legacy package + +* Thu Aug 09 2018 Automatic Build System 62.1-1mamba +- automatic version update by autodist + +* Fri Mar 30 2018 Automatic Build System 61.1-1mamba +- automatic version update by autodist + +* Wed Dec 20 2017 Automatic Build System 60.2-1mamba +- automatic version update by autodist + +* Fri Jul 21 2017 Automatic Build System 59.1-1mamba +- automatic version update by autodist + +* Thu Dec 15 2016 Automatic Build System 58.2-1mamba +- automatic version update by autodist + +* Tue Apr 19 2016 Automatic Build System 57.1-1mamba +- automatic version update by autodist + +* Tue Nov 03 2015 Automatic Build System 56.1-1mamba +- automatic version update by autodist + +* Thu Apr 09 2015 Automatic Build System 55.1-1mamba +- automatic version update by autodist + +* Tue Oct 21 2014 Automatic Build System 54.1-1mamba +- automatic version update by autodist + +* Fri Apr 18 2014 Automatic Build System 53.1-1mamba +- automatic version update by autodist + +* Thu Oct 17 2013 Automatic Build System 52.1-1mamba +- automatic version update by autodist + +* Sat May 25 2013 Automatic Build System 51.2-1mamba +- automatic version update by autodist + +* Tue Mar 26 2013 Automatic Build System 51.1-1mamba +- automatic version update by autodist + +* Wed Jan 23 2013 Automatic Build System 50.1.2-1mamba +- automatic version update by autodist + +* Tue Dec 18 2012 Automatic Build System 50.1.1-1mamba +- automatic version update by autodist + +* Sun Dec 02 2012 Automatic Build System 50.1-1mamba +- automatic version update by autodist + +* Mon Jul 12 2010 Silvan Calarco 4.4.1-1mamba +- update to 4.4.1 + +* Tue Jun 29 2010 Silvan Calarco 4.4-2mamba +- added patch to fix install of libtestfw library required by icutest tool + +* Tue Mar 23 2010 Silvan Calarco 4.4-1mamba +- update to 4.4 + +* Tue Dec 09 2008 Silvan Calarco 4.0-1mamba +- update to 4.0 + +* Thu Oct 18 2007 Silvan Calarco 3.8-1mamba +- update to 3.8 + +* Thu Jan 12 2006 Stefano Cotta Ramusino 3.2-2qilnx +- fixed license + +* Tue May 31 2005 Davide Madrisan 3.2-1qilnx +- package created by autospec