Name: plutovg Version: 1.0.0 Release: %autorelease Summary: Tiny 2D vector graphics library in C License: MIT URL: https://github.com/sammycage/plutovg Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc %description PlutoVG is a standalone 2D vector graphics library in C. %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 %cmake %cmake_build %install %cmake_install %files %license LICENSE %doc README.md %{_libdir}/lib%{name}.so.1 %files devel %{_includedir}/%{name} %{_libdir}/cmake/%{name} %{_libdir}/lib%{name}.so %changelog %autochangelog