package created using the webbuild interface [release 3.11.2-1mamba;Thu Sep 01 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 07:39:48 +01:00
parent 604e4f24eb
commit ca75057a8f
2 changed files with 58 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# nlohmann-json
JSON for Modern C++.

56
nlohmann-json.spec Normal file
View File

@ -0,0 +1,56 @@
Name: nlohmann-json
Version: 3.11.2
Release: 1mamba
Summary: JSON for Modern C++
Group: Development/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://json.nlohmann.me/
Source: https://github.com/nlohmann/json.git/v%{version}/json-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
%description
JSON for Modern C++.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: JSON for Modern C++ (header only library)
Requires: pkg-config
%description -n lib%{name}-devel
JSON for Modern C++ (header only library).
This package contains header files for developing applications that use %{name}.
#% debug_package
%prep
%setup -q -n json-%{version}
%build
%cmake -d build \
-DJSON_BuildTests=OFF
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/nlohmann
%{_includedir}/nlohmann/*
%dir %{_datadir}/cmake/nlohmann_json
%{_datadir}/cmake/nlohmann_json/nlohmann_json*.cmake
%{_datadir}/pkgconfig/nlohmann_json.pc
%doc LICENSE.MIT ChangeLog.md README.md
%changelog
* Thu Sep 01 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.11.2-1mamba
- package created using the webbuild interface