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

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

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

Name: rapidyaml
Version: 0.4.1
Release: alt3

Summary: A library to parse and emit YAML
License: MIT
Group: System/Libraries

URL: https://github.com/biojppm/%name
Packager: Nazarov Denis <nenderus at altlinux.org>

Source: https://github.com/biojppm/%name/releases/download/v%version/%name-%version-src.tgz

Patch0: %name-libdir-alt.patch

BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: git-core
BuildRequires: python3-dev

%description
ryml is a C++ library to parse and emit YAML.

%package -n libryml
Summary: A library to parse and emit YAML
Group: System/Libraries

%description -n libryml
ryml is a C++ library to parse and emit YAML.

ryml parses both read-only and in-situ source buffers; the resulting
data nodes hold only views to sub-ranges of the source buffer. No
string copies or duplications are done.

%package -n libc4core
Summary: Utility library of %name
Group: System/Libraries

%description -n libc4core
ryml is a C++ library to parse and emit YAML.

%package -n libryml-devel
Summary: Header files for rapidyaml, a library to parse and emit YAML
Group: Development/C++

%description -n libryml-devel
ryml is a C++ library to parse and emit YAML.

This package contains development headers and examples.

%prep
%setup -n %name-%version-src
%patch0 -p1

%build
%cmake \
-DBUILD_SHARED_LIBS:BOOL=TRUE \
-D_ARCHIVE_INSTALL_DIR=%_lib/ \
-D_LIBRARY_INSTALL_DIR=%_lib/

%cmake_build

%install
%cmake_install

%files -n libryml
%_libdir/libryml.so.*

%files -n libc4core
%_libdir/libc4core.so.*

%files -n libryml-devel
%doc README.md
%_includedir/*
%_libdir/cmake/c4core
%_libdir/cmake/ryml
%_libdir/libc4core.so
%_libdir/libryml.so

%changelog

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

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