## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # https://docs.fedoraproject.org/en-US/packaging-guidelines/#_use_noarch_only_in_subpackages %global debug_package %{nil} Name: args Version: 6.4.8 Release: %autorelease Summary: Simple, small, flexible, single-header C++11 argument parsing library License: MIT URL: https://github.com/Taywee/args Source: %{url}/archive/%{version}/args-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ %description A simple, small, flexible, single-header C++11 argument parsing library. This is designed to appear somewhat similar to Python's argparse, but in C++, with static type checking, and hopefully a lot faster (also allowing fully nestable group logic, where Python's argparse does not). %package devel Summary: Development files for %{name} # https://docs.fedoraproject.org/en-US/packaging-guidelines/#_packaging_header_only_libraries Provides: %{name}-static = %{version}-%{release} BuildArch: noarch %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup %conf %cmake \ -DARGS_BUILD_EXAMPLE=OFF %build %cmake_build %install %cmake_install %check %ctest %files devel %license LICENSE %{_includedir}/args.hxx %{_libdir}/pkgconfig/args.pc %{_prefix}/lib/cmake/args %changelog ## START: Generated by rpmautospec * Fri Feb 13 2026 John Doe - 6.4.8-1 - Uncommitted changes ## END: Generated by rpmautospec