Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37387737
en ru br
ALT Linux repos
S:3.2.3-alt1

Group :: Development/C++
RPM: libutfcpp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: libutfcpp
Version: 3.2.3
Release: alt1

Summary: A library for handling UTF-8 encoded strings

License: BSL-1.0
Group: Development/C++
Url: https://github.com/nemtrif/utfcpp

Packager: Vitaly Lipatov <lav at altlinux.ru>

# Source-url: https://github.com/nemtrif/utfcpp/archive/refs/tags/v%version.tar.gz

Source: %name-%version.tar

# Source1-url: https://github.com/nemtrif/ftest/archive/refs/heads/master.zip

Source1: %name-ftest-%version.tar

BuildRequires(pre): cmake gcc-c++

%description
A C++ header only library for handling UTF-8 encoded strings.

See https://github.com/ledger/utfcpp also.

%prep
%setup -a1

%build
%cmake
%cmake_build

%install
cd source
install -d %buildroot/%_includedir/utf8/
install -m0644 utf8.h %buildroot/%_includedir
install -m0644 utf8/*.h %buildroot/%_includedir/utf8

%check
cd %_host_alias/tests
./apitests
./cpp11
./cpp17
./noexceptionstests

%package devel
Summary: A library for handling UTF-8 encoded strings
Group: Development/C++

%description devel
A library for handling UTF-8 encoded strings.

%files devel
%doc README.md
%_includedir/utf8/
%_includedir/utf8.h

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin