## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Summary: Library for processing UTF-8 encoded Unicode strings Name: utf8proc Version: 2.10.0 Release: %autorelease License: MIT AND Unicode-DFS-2015 URL: http://julialang.org/utf8proc/ Source: https://github.com/JuliaLang/utf8proc/archive/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz BuildRequires: make BuildRequires: gcc BuildRequires: perl-interpreter %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. This package only contains the C library. %package devel Summary: Header files, libraries and development documentation for %{name} 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 %autosetup # 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_build %check %set_build_flags 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.3* %files devel %{_includedir}/utf8proc.h %{_libdir}/libutf8proc.so %{_libdir}/pkgconfig/libutf8proc.pc %changelog ## START: Generated by rpmautospec * Tue Mar 04 2025 Tomas Korbar - 2.10.0-1 - Rebase to 2.10.0 * Sun Jan 19 2025 Fedora Release Engineering - 2.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Mon Oct 07 2024 Tomas Korbar - 2.9.0-1 - Rebase to 2.9.0 * Sat Jul 20 2024 Fedora Release Engineering - 2.7.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jan 27 2024 Fedora Release Engineering - 2.7.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Sep 29 2023 Joe Orton - 2.7.0-6 - migrate to SPDX license * Sat Jul 22 2023 Fedora Release Engineering - 2.7.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 2.7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 2.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 2.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Dec 26 2021 Milan Bouchet-Valat - 2.7.0-1 - New upstream release 2.7.0 * Thu Nov 11 2021 Tom Stellard - 2.6.1-5 - Use set_build_flags before running tests * Fri Jul 23 2021 Fedora Release Engineering - 2.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 2.6.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Jan 09 2021 Tom Stellard - 2.6.1-2 - Add BuildRequires: make * Wed Dec 16 2020 Milan Bouchet-Valat - 2.6.1-1 - New upstream release 2.6.1 * Wed Jul 29 2020 Fedora Release Engineering - 2.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jan 31 2020 Fedora Release Engineering - 2.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jul 27 2019 Fedora Release Engineering - 2.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 16 2019 Milan Bouchet-Valat - 2.4.0-1 - New upstream release 2.4.0 * Sun Apr 21 2019 Milan Bouchet-Valat - 2.3.0-1 - New upstream release 2.3.0 * Sun Feb 03 2019 Fedora Release Engineering - 2.1.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 28 2019 Igor Gnatenko - 2.1.1-6 - Remove obsolete Group tag * Tue Jan 22 2019 Igor Gnatenko - 2.1.1-5 - Remove obsolete ldconfig scriptlets * Mon Jul 23 2018 Joe Orton - 2.1.1-4 - update License tag to Unicode and MIT BR gcc (#1606627) run minimal tests Resolves: rhbz#1606627 * 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 * Fri Apr 27 2018 Milan Bouchet-Valat - 2.1.1-1 - New upstream release 2.1.1 * 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 07 2017 Milan Bouchet-Valat - 2.1.0-1 - New upstream release 2.1.0 * Tue Sep 20 2016 Milan Bouchet-Valat - 2.0.2-2 - Fix description to reflect support for Unicode 9 * Thu Sep 15 2016 Milan Bouchet-Valat - 2.0.2-1 - New upstream release 2.0.2 * 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 1.3.1 * Tue Aug 11 2015 Milan Bouchet-Valat - 1.3-1 - New upstream release 1.3 * Fri Jun 19 2015 Dennis Gilmore - 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 1.2 * Mon Aug 18 2014 Peter Robinson - 1.1.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Dennis Gilmore - 1.1.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu May 29 2014 Milan Bouchet-Valat - 1.1.6-1 - Initial commit ## END: Generated by rpmautospec