From b67133a5a900ef158f8b00e12341fc6ac39fd292 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:14:22 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.99.9-1mamba;Mon Mar 22 2021] --- README.md | 2 ++ libfastjson.spec | 66 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 libfastjson.spec diff --git a/README.md b/README.md index e993bb1..514916f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libfastjson +A small library with essential json handling functions very fast in JSON processing. + diff --git a/libfastjson.spec b/libfastjson.spec new file mode 100644 index 0000000..d806c7b --- /dev/null +++ b/libfastjson.spec @@ -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 +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 0.99.9-1mamba +- package created using the webbuild interface