Name: libcdson Version: 1.0.0 Release: 2%{?dist} Summary: Pure C parsing/serialization for the DSON data format, for humans License: MPL-2.0 URL: https://github.com/frozencemetery/cdson Source0: https://github.com/frozencemetery/cdson/releases/download/v%{version}/cdson-%{version}.tar.xz Source1: cdson.patches BuildRequires: gcc BuildRequires: git BuildRequires: meson # include patches %include %{SOURCE1} %global desc \ A pure C parsing and serialization library for the DSON data serialization \ format, for humans. cdson is believed to have complete spec coverage, though \ as with any project, there may still be bugs. \ %{nil} %description %{desc} %package devel Summary: Development headers for libcdson Requires: %{name}%{?_isa} = %{version}-%{release} %description devel %desc %prep %autosetup -S git_am -n cdson-%{version} %build CFLAGS="%{build_cflags} -Wno-error=unused-result" %meson %meson_build %install %meson_install %files %{!?_licensedir:%global license %%doc} %license LICENSE %{_libdir}/*.so %files devel %{_includedir}/* %{_libdir}/pkgconfig/*.pc %changelog * Sat Jan 14 2023 Robbie Harwood - 1.0.0-2 - Add 32-bit support. In 2023. * Thu Jun 09 2022 Robbie Harwood - 1.0.0-1 - Initial import to COPR (1.0.0)