2022-05-13 10:12:41 +00:00
|
|
|
#
|
|
|
|
# spec file for package rapidyaml
|
|
|
|
#
|
2023-01-04 14:25:54 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2022-05-13 10:12:41 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: rapidyaml
|
2023-01-04 14:25:54 +00:00
|
|
|
Version: 0.5.0
|
2022-05-13 10:12:41 +00:00
|
|
|
Release: 0
|
2022-05-13 15:06:55 +00:00
|
|
|
Summary: A library to parse and emit YAML
|
2022-05-13 10:12:41 +00:00
|
|
|
License: MIT
|
|
|
|
Group: Development/Libraries/C and C++
|
2022-05-14 03:43:07 +00:00
|
|
|
URL: https://github.com/biojppm/%{name}
|
2022-05-13 10:12:41 +00:00
|
|
|
Source0: https://github.com/biojppm/%{name}/releases/download/v%{version}/%{name}-%{version}-src.tgz
|
2022-05-20 16:16:43 +00:00
|
|
|
Patch0: cmake.patch
|
2022-05-13 10:12:41 +00:00
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: git
|
|
|
|
|
|
|
|
%description
|
2022-05-13 15:06:55 +00:00
|
|
|
ryml is a C++ library to parse and emit YAML.
|
|
|
|
|
2023-01-04 14:25:54 +00:00
|
|
|
%package -n libc4core0_1_11
|
2022-05-13 15:06:55 +00:00
|
|
|
Summary: Utility library of rapidyaml
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2023-01-04 14:25:54 +00:00
|
|
|
%description -n libc4core0_1_11
|
2022-05-13 15:06:55 +00:00
|
|
|
ryml is a C++ library to parse and emit YAML.
|
|
|
|
|
2023-01-04 14:25:54 +00:00
|
|
|
%package -n libryml0_5_0
|
2022-05-13 15:06:55 +00:00
|
|
|
Summary: A library to parse and emit YAML
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2023-01-04 14:25:54 +00:00
|
|
|
%description -n libryml0_5_0
|
2022-05-13 15:06:55 +00:00
|
|
|
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.
|
2022-05-13 10:12:41 +00:00
|
|
|
|
|
|
|
%package devel
|
2022-05-13 15:06:55 +00:00
|
|
|
Summary: Header files for rapidyaml, a library to parse and emit YAML
|
2022-05-13 10:12:41 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2023-01-04 14:25:54 +00:00
|
|
|
Requires: libc4core0_1_11 = %{version}-%{release}
|
|
|
|
Requires: libryml0_5_0 = %{version}-%{release}
|
2022-05-13 10:12:41 +00:00
|
|
|
|
|
|
|
%description devel
|
2022-05-13 15:06:55 +00:00
|
|
|
ryml is a C++ library to parse and emit YAML.
|
2022-05-13 10:12:41 +00:00
|
|
|
|
|
|
|
This package contains development headers and examples.
|
|
|
|
|
|
|
|
%prep
|
2022-05-21 02:09:05 +00:00
|
|
|
%autosetup -n %{name}-%{version}-src -p1
|
2022-05-13 10:12:41 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
|
2023-01-04 14:25:54 +00:00
|
|
|
%post -n libc4core0_1_11 -p /sbin/ldconfig
|
|
|
|
%postun -n libc4core0_1_11 -p /sbin/ldconfig
|
|
|
|
%post -n libryml0_5_0 -p /sbin/ldconfig
|
|
|
|
%postun -n libryml0_5_0 -p /sbin/ldconfig
|
2022-05-13 10:12:41 +00:00
|
|
|
|
2023-01-04 14:25:54 +00:00
|
|
|
%files -n libc4core0_1_11
|
2022-05-13 10:12:41 +00:00
|
|
|
%license LICENSE.txt
|
|
|
|
%{_libdir}/libc4core.so.*
|
2022-05-13 15:06:55 +00:00
|
|
|
|
2023-01-04 14:25:54 +00:00
|
|
|
%files -n libryml0_5_0
|
2022-05-13 10:12:41 +00:00
|
|
|
%{_libdir}/libryml.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc README.md
|
|
|
|
%license LICENSE.txt
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/cmake/c4core
|
|
|
|
%{_libdir}/cmake/ryml
|
|
|
|
%{_libdir}/libc4core.so
|
|
|
|
%{_libdir}/libryml.so
|
|
|
|
|
|
|
|
%changelog
|