diff --git a/README.md b/README.md index 2834702..a485797 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # cli11 +CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface. + diff --git a/cli11.spec b/cli11.spec new file mode 100644 index 0000000..ce3fd11 --- /dev/null +++ b/cli11.spec @@ -0,0 +1,56 @@ +Name: cli11 +Version: 2.4.2 +Release: 1mamba +Summary: A command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://cliutils.github.io/CLI11/book/ +Source: https://github.com/CLIUtils/CLI11.git/v%{version}/CLI11-%{version}.tar.bz2 +License: BSD +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: cmake + +%description +CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: A command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface. + +%description -n lib%{name}-devel +CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface. +This package contains libraries and header files for developing applications that use %{name}. + +#% debug_package + +%prep +%setup -q -n CLI11-%{version} + +%build +%cmake +%cmake_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%cmake_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/CLI +%{_includedir}/CLI/*.hpp +%dir %{_includedir}/CLI/impl +%{_includedir}/CLI/impl/*.hpp +%dir %{_datadir}/cmake/CLI11 +%{_datadir}/cmake/CLI11/CLI11*.cmake +%{_datadir}/pkgconfig/CLI11.pc +%doc LICENSE README.md + +%changelog +* Sat May 04 2024 Silvan Calarco 2.4.2-1mamba +- package created using the webbuild interface