Name: redkite Version: 1.2.0 Release: 1%{?dist} Summary: A small software GUI toolkit License: GPLv3+ URL: https://gitlab.com/iurie-sw/redkite Source0: https://github.com/iurie-sw/%{name}/archive/v%{version}.tar.gz BuildRequires: cmake gcc gcc-c++ BuildRequires: cairo-devel %description Redkite is a small free software GUI toolkit. It is developed in C++17 and inspired from other well known GUI toolkits. %package -n %{name}-devel Summary: Files needed for building applications with %{name} Requires: %{name} = %{version}-%{release} %description -n %{name}-devel The %{name}-devel package includes header files and libraries necessary for developing programs which use the %{name} library. %prep %autosetup %build mkdir build cd build %cmake -DCMAKE_INSTALL_LIBDIR=%{_libdir} ../ %make_build %install rm -rf $RPM_BUILD_ROOT cd build %make_install %files %license LICENSE %doc README.md %{_bindir}/rkpng2c %{_mandir}/man1/rkpng2c.1* %files -n %{name}-devel %{_libdir}/lib%{name}.a %{_includedir}/%{name}/*.h %changelog * Thu Nov 05 2020 Mattias Ohlsson - 1.2.0-1 - Update to 1.2.0 * Fri Jan 24 2020 Mattias Ohlsson - 0.6.3-1 - Initial build