Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37540697
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: utf8proc

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: utf8proc
Version: 2.8.0
Release: alt1

Summary: Library for processing UTF-8 encoded Unicode strings
License: BSD
Group: System/Libraries

Url: http://julialang.org/utf8proc/
Source: https://github.com/JuliaLang/utf8proc/archive/v%version.tar.gz#/%name-%version.tar.gz

%description
utf8proc is a library for processing UTF-8 encoded Unicode strings

%package -n lib%name
Summary: Library for processing UTF-8 encoded Unicode strings
Group: System/Libraries

%description -n lib%name
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 14.
This package only contains the C library.

%package -n lib%name-devel
Summary: Header files, libraries and development documentation for %name
Group: Development/Other

%description -n lib%name-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

%build
CFLAGS='%optflags' \
%make_build

%check
%make_build test/normtest test/graphemetest test/printproperty \
    test/charwidth test/normtest test/graphemetest test/charwidth

%install
%makeinstall_std prefix=%prefix includedir=%_includedir libdir=%_libdir
rm %buildroot%_libdir/libutf8proc.a

%files
%doc *.md
%_libdir/*.so.*

%files -n lib%name-devel
%_includedir/*.h
%_libdir/*.so
%_pkgconfigdir/*.pc

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin