libfastjson/libfastjson.spec

71 lines
1.8 KiB
RPMSpec

Name: libfastjson
Version: 1.2304.0
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
Source: https://github.com/rsyslog/libfastjson.git/v%{version}/libfastjson-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## 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.so
%{_libdir}/pkgconfig/libfastjson.pc
%doc ChangeLog README.html README.md
%changelog
* Tue Apr 18 2023 Automatic Build System <autodist@mambasoft.it> 1.2304.0-1mamba
- automatic version update by autodist
* Mon Apr 03 2023 Automatic Build System <autodist@mambasoft.it> 0.99.9.1-1mamba
- automatic version update by autodist
* Mon Mar 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.99.9-1mamba
- package created using the webbuild interface