package created using the webbuild interface [release 0.99.9-1mamba;Mon Mar 22 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 04:14:22 +01:00
parent df62250be1
commit b67133a5a9
2 changed files with 68 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libfastjson
A small library with essential json handling functions very fast in JSON processing.

66
libfastjson.spec Normal file
View File

@ -0,0 +1,66 @@
Name: libfastjson
Version: 0.99.9
Release: 1mamba
Summary: A small library with essential json handling functions very fast in JSON processing
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/rsyslog/libfastjson
## GITSOURCE https://github.com/rsyslog/libfastjson.git v0.99.9
Source: https://github.com/rsyslog/libfastjson.git/v%{version}/libfastjson-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 libfastjson' to get the list of build requirements.
## AUTOBUILDREQ-END
%description
A small library with essential json handling functions very fast in JSON processing.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
./autogen.sh
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libfastjson.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libfastjson
%{_includedir}/libfastjson/*.h
%{_libdir}/libfastjson.a
%{_libdir}/libfastjson.la
%{_libdir}/libfastjson.so
%{_libdir}/pkgconfig/libfastjson.pc
%doc ChangeLog README.html README.md
%changelog
* Mon Mar 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.99.9-1mamba
- package created using the webbuild interface