commit a37d6d2102db9dd03df766622c8e9f6c654c5326 Author: James Antill Date: Mon Aug 8 14:08:16 2022 -0400 Import rpm: fd57f0b0a5b5069663a9c9ea7173680ddb704fc1 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..27e9d38 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/utf8proc-v2.6.1.tar.gz diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..e979862 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,8 @@ +--- !Policy +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} + - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tedude.validation} + - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.acceptance-tier.functional} diff --git a/sources b/sources new file mode 100644 index 0000000..3f485f9 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA1 (utf8proc-v2.6.1.tar.gz) = f21b3263081adfcbe102cfea8cd4cb02e71f0efc diff --git a/utf8proc.spec b/utf8proc.spec new file mode 100644 index 0000000..dd4a144 --- /dev/null +++ b/utf8proc.spec @@ -0,0 +1,155 @@ +Summary: Library for processing UTF-8 encoded Unicode strings +Name: utf8proc +Version: 2.6.1 +Release: 3%{?dist} +License: Unicode and MIT +Group: System Environment/Libraries +URL: http://julialang.org/utf8proc/ +Source: https://github.com/JuliaLang/utf8proc/archive/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz +BuildRequires: gcc +BuildRequires: make +BuildRequires: perl + +%description +utf8proc is a library for processing UTF-8 encoded Unicode strings. +Some features are Unicode normalization, stripping of default ignorable +characters, case folding and detection of grapheme cluster boundaries. +A special character mapping is available, which converts for example +the characters “Hyphen” (U+2010), “Minus” (U+2212) and “Hyphen-Minus +(U+002D, ASCII Minus) all into the ASCII minus sign, to make them +equal for comparisons. + +The currently supported Unicode version is 9.0.0. + +This package only contains the C library. + +%package devel +Summary: Header files, libraries and development documentation for %{name} +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +Contains header files for developing applications that use the %{name} +library. + +The documentation for the C library is found in the utf8proc.h header file. +"utf8proc_map" is most likely the function you will be using for mapping UTF-8 +strings, unless you want to allocate memory yourself. + +%prep +%setup -qn %{name}-%{version} +# Disable slow tests and tests which require network access +sed -i '/-C bench/d;/\ttest.* data/d' Makefile +touch data/NormalizationTest.txt data/GraphemeBreakTest.txt data/Lowercase.txt data/Uppercase.txt + +%build +%set_build_flags +make %{?_smp_mflags} + +%check +make %{?_smp_mflags} check + +%install +make install DESTDIR=%{buildroot} prefix=%{_prefix} includedir=%{_includedir} libdir=%{_libdir} +rm %{buildroot}%{_libdir}/libutf8proc.a + +%ldconfig_scriptlets + +%files +%doc LICENSE.md NEWS.md README.md +%{_libdir}/libutf8proc.so.* + +%files devel +%{_includedir}/utf8proc.h +%{_libdir}/libutf8proc.so +%{_libdir}/pkgconfig/libutf8proc.pc + +%changelog +* Thu Jun 30 2022 Richard Lescak - 2.6.1-3 +- added Build requirements (make, perl) +- old scriptlets replaced with ldconfig_scriptlets + +* Thu Jun 30 2022 Richard Lescak - 2.6.1-2 +- changed tarball in sources + +* Tue Jun 21 2022 Richard Lescak - 2.6.1-1 +- rebase to version 2.6.1 (#2097237) (#2078557) + +* Mon Aug 05 2019 Lubos Uhliarik - 2.1.1-5 +- Resolves: #1695587 - Ensure modular RPM upgrade path + +* Mon Jul 23 2018 Joe Orton - 2.1.1-4 +- update License tag to Unicode and MIT +- BR gcc (#1606627) +- run minimal tests + +* Sat Jul 14 2018 Fedora Release Engineering - 2.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon Apr 30 2018 Milan Bouchet-Valat - 2.1.1-2 +- Fix missing build flags (RHBZ #1573115). + +* Fri Apr 27 2018 Milan Bouchet-Valat - 2.1.1-1 +- New upstream release. + +* Fri Feb 09 2018 Fedora Release Engineering - 2.1.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 2.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 2.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 2.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sat Jan 7 2017 Milan Bouchet-Valat - 2.1.0 +- New upstream release. + +* Thu Sep 15 2016 Milan Bouchet-Valat - 2.0.2-1 +- New upstream release. + +* Fri Feb 05 2016 Fedora Release Engineering - 1.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Nov 03 2015 Milan Bouchet-Valat - 1.3.1-1 +- New upstream release. + +* Tue Aug 11 2015 Milan Bouchet-Valat - 1.3-1 +- New upstream release. + +* Fri Jun 19 2015 Fedora Release Engineering - 1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Mar 28 2015 Milan Bouchet-Valat - 1.2-1 +- New upstream release. + +* Mon Aug 18 2014 Fedora Release Engineering - 1.1.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 1.1.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun May 4 2014 Milan Bouchet-Valat - 1.1.6-3 +- Add downstream SONAME version 0.1 since upstream does not set one. + +* Fri Feb 14 2014 Milan Bouchet-Valat - 1.1.6-2 +- Fix package Group. +- Do not remove build root on install phase. + +* Sun Jan 26 2014 Milan Bouchet-Valat - 1.1.6-1 +- Adapt package to Fedora. +- Updated to release 1.1.6. + +* Sat Aug 29 2009 Dries Verachtert - 1.1.4-1 - 7981/dag +- Updated to release 1.1.4. + +* Sun Jul 29 2007 Dries Verachtert - 1.1.2-1 +- Updated to release 1.1.2. + +* Mon Jul 23 2007 Dries Verachtert - 1.1.1-1 +- Updated to release 1.1.1. + +* Tue Apr 17 2007 Dries Verachtert - 1.0.3-1 +- Initial package.