cli11/cli11.spec

57 lines
1.7 KiB
RPMSpec

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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 2.4.2-1mamba
- package created using the webbuild interface