mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
add: args-hxx (#645)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "args-hxx.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: args-hxx
|
||||
Version: 6.4.6
|
||||
Release: 1%?dist
|
||||
Summary: A simple header-only C++ argument parser library
|
||||
License: MIT
|
||||
URL: https://github.com/Taywee/args
|
||||
Source0: %url/archive/refs/tags/%version.tar.gz
|
||||
BuildRequires: make doxygen gcc-c++ cmake
|
||||
|
||||
%description
|
||||
A simple header-only C++ argument parser library. Supposed to be flexible and
|
||||
powerful, and attempts to be compatible with the functionality of the Python
|
||||
standard argparse library (though not necessarily the API).
|
||||
|
||||
%prep
|
||||
%autosetup -n args-%version
|
||||
|
||||
%build
|
||||
%cmake
|
||||
%cmake_build
|
||||
make doc/man
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
make installman DESTDIR=%buildroot%_prefix
|
||||
|
||||
%files
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("Taywee/args"));
|
||||
Reference in New Issue
Block a user