input/utf8proc.spec
raw · 3.1 KiB
Name: utf8proc
Version: 2.11.3
Release: 1%{?dist}
Summary: Library for processing UTF-8 encoded strings
Summary(ru): Библиотека для обработки строк в кодировке UTF-8
License: MIT
URL: https://github.com/JuliaStrings/utf8proc
Source0: https://github.com/JuliaStrings/utf8proc/archive/refs/tags/v%{version}.tar.gz
Packager: NICE SOFT GROUP LLC (ООО "НАЙС СОФТ ГРУПП") 5024245440 <niceos@ncsgp.ru>
Vendor: NiceSOFT
Distribution: NiceOS.Core
BugURL: https://bugs.niceos.ru/
VCS: https://specs.niceos.ru/rmps/%{name}
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: make
BuildRequires: pkgconfig
%description
utf8proc is a small, clean C library that provides Unicode normalization,
case-folding, and other operations for UTF-8 encoded strings.
%description -l ru
utf8proc — небольшая библиотека на C для обработки строк в UTF-8. Она включает
нормализацию Unicode, преобразование регистра, удаление диакритики и другие
полезные операции с текстом.
%package devel
Summary: Development files for utf8proc
Summary(ru): Файлы разработки для utf8proc
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Headers, pkg-config file, and symlinks required to build applications using
utf8proc.
%description -l ru devel
Заголовочный файл, pkg-config и симлинки, необходимые для разработки
приложений, использующих utf8proc.
%prep
%autosetup -p1
%build
%cmake -S . -B %{_vpath_builddir} \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DCMAKE_INSTALL_LIBDIR=%{_libdir} \
-DCMAKE_INSTALL_PREFIX=%{_prefix}
%cmake_build
%install
%cmake_install
%{_fixperms} %{buildroot}/*
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license LICENSE.md
%doc NEWS.md README.md
%{_libdir}/libutf8proc.so.*
%files devel
%{_includedir}/utf8proc.h
%{_libdir}/libutf8proc.so
%{_libdir}/pkgconfig/libutf8proc.pc
%{_libdir}/cmake/utf8proc/*
%changelog
* Sat May 09 2026 NiceOS Team <support@niceos.ru> - 2.11.3-1
- EN: - Update utf8proc from 2.10.0 to 2.11.3.
- Upstream fixes an out-of-bounds memory access in utf8proc_map when UTF8PROC_CHARBOUND is used with UTF8PROC_COMPOSE.
- No verified ABI/API/CLI breaks were found in upstream release notes.
- RU: - Обновить utf8proc с 2.10.0 до 2.11.3.
- В upstream исправлено выходящее за границы обращение к памяти в utf8proc_map при совместном использовании UTF8PROC_CHARBOUND и UTF8PROC_COMPOSE.
- В релизных заметках не найдено подтверждённых ABI/API/CLI-ломающих изменений.
* Sun Jan 11 2026 NiceOS Team <niceos@ncsgp.ru> - 2.10.0-1
- Initial build for NiceOS (Первая сборка для НАЙС.ОС)