Name: cjson Version: 1.7.18 Release: 1mamba Summary: Ultralightweight JSON parser in ANSI C Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/DaveGamble/cJSON Source: https://github.com/DaveGamble/cJSON.git/v%{version}/cJSON-%{version}.tar.bz2 License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END BuildRequires: cmake Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description Ultralightweight JSON parser in ANSI C. %package -n lib%{name} Group: System/Libraries Summary: Ultralightweight JSON parser in ANSI C %description -n lib%{name} Ultralightweight JSON parser in ANSI C. This package contains shared libraries for %{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q -n cJSON-%{version} %build %cmake %cmake_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %cmake_install %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libcjson.so.* %doc LICENSE %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/cjson %{_includedir}/cjson/* %{_libdir}/libcjson.so %dir %{_libdir}/cmake/cJSON %{_libdir}/cmake/cJSON/*.cmake %{_libdir}/pkgconfig/libcjson.pc %doc README.md %changelog * Sat Sep 21 2024 Silvan Calarco 1.7.18-1mamba - package created using the webbuild interface