package created using the webbuild interface [release 1.7.18-1mamba;Sat Sep 21 2024]
This commit is contained in:
parent
7e8816db5a
commit
e746d2267a
73
cjson.spec
Normal file
73
cjson.spec
Normal file
@ -0,0 +1,73 @@
|
||||
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 <silvan.calarco@mambasoft.it>
|
||||
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 <silvan.calarco@mambasoft.it> 1.7.18-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user