Name: libcyaml Version: 1.1.0 Release: 1%{?dist} Summary: C library for reading and writing YAML License: ISC URL: https://github.com/tlsa/libcyaml Source0: https://github.com/tlsa/libcyaml/archive/v%{version}.tar.gz BuildRequires: gcc BuildRequires: libyaml-devel %description LibCYAML is a C library for reading and writing structured YAML documents. It is written in ISO C11 and licensed under the ISC licence. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup %build %make_build VARIANT=debug %install rm -rf $RPM_BUILD_ROOT %make_install PREFIX=/ LIBDIR=%{_libdir} INCLUDEDIR=%{_includedir} VARIANT=debug %files %license LICENSE %doc README.md CHANGES.md %{_libdir}/*.so.* %files devel %{_includedir}/* %{_libdir}/*.so %{_libdir}/*.a %{_libdir}/pkgconfig/*.pc %changelog * Mon Jun 8 2020 Mattias Ohlsson - 1.1.0-1 - Initial build