Группа :: Разработка/C++
Пакет: libutfcpp
Главная Изменения Спек Патчи Sources Загрузить 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
…
Полный changelog можно просмотреть здесь
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
…
Полный changelog можно просмотреть здесь