67 lines
1.7 KiB
RPMSpec
67 lines
1.7 KiB
RPMSpec
|
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
|