%global debug_package %{nil} %global __cmake_in_source_build 1 Name: popl Version: 1.2.0 Release: 1%{?dist} Summary: Program Options Parser Library License: GPLv3 URL: https://github.com/badaix/%{name} Source0: https://github.com/badaix/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: cmake3 %description popl is a C++ command line arguments parser that supports the same set of options as GNU's getopt and thus closely follows the POSIX guidelines for the command-line options of a program. %package devel Summary: Header files for Program Options Parser library Provides: %{name}-static = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Header files for Program Options Parser library %prep %setup -q %build %cmake3 . %install %cmake3_install %files %license LICENSE %doc README.md %files devel %{_includedir}/popl.hpp %changelog * Wed Aug 19 2020 Jakub Jelen - 1.2.0-1 - Initial release for Fedora