From cfa13da1725526082602b0e258e4e89c6f6b1998 Mon Sep 17 00:00:00 2001 From: madomado Date: Sun, 23 Jul 2023 02:15:43 +0800 Subject: [PATCH] add: args-hxx (#645) --- anda/lib/args-hxx/anda.hcl | 5 +++++ anda/lib/args-hxx/args-hxx.spec | 32 ++++++++++++++++++++++++++++++++ anda/lib/args-hxx/update.rhai | 1 + 3 files changed, 38 insertions(+) create mode 100644 anda/lib/args-hxx/anda.hcl create mode 100644 anda/lib/args-hxx/args-hxx.spec create mode 100644 anda/lib/args-hxx/update.rhai diff --git a/anda/lib/args-hxx/anda.hcl b/anda/lib/args-hxx/anda.hcl new file mode 100644 index 0000000000..27a80367f9 --- /dev/null +++ b/anda/lib/args-hxx/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "args-hxx.spec" + } +} diff --git a/anda/lib/args-hxx/args-hxx.spec b/anda/lib/args-hxx/args-hxx.spec new file mode 100644 index 0000000000..a08a88b437 --- /dev/null +++ b/anda/lib/args-hxx/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 diff --git a/anda/lib/args-hxx/update.rhai b/anda/lib/args-hxx/update.rhai new file mode 100644 index 0000000000..1c610f61f0 --- /dev/null +++ b/anda/lib/args-hxx/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("Taywee/args"));