Package init
This commit is contained in:
commit
e1561ea444
BIN
jansson-2.11.tar.bz2
Normal file
BIN
jansson-2.11.tar.bz2
Normal file
Binary file not shown.
66
jansson.spec
Normal file
66
jansson.spec
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
Name: jansson
|
||||||
|
Version: 2.11
|
||||||
|
Release: 4
|
||||||
|
Summary: A C library for encoding, decoding and manipulating JSON data
|
||||||
|
|
||||||
|
License: MIT
|
||||||
|
URL: http://www.digip.org/jansson/
|
||||||
|
Source0: https://github.com/akheron/jansson/archive/%{name}-%{version}.tar.bz2
|
||||||
|
|
||||||
|
BuildRequires: gcc python-sphinx
|
||||||
|
|
||||||
|
%description
|
||||||
|
Jansson is a C library for encoding, decoding and manipulating JSON data.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: files for jansson development
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
%description devel
|
||||||
|
files for jansson development
|
||||||
|
|
||||||
|
%package_help
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %RPM_BUILD_ROOT
|
||||||
|
%make_install
|
||||||
|
make html
|
||||||
|
%delete_la_and_a
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc LICENSE
|
||||||
|
%{_libdir}/libjansson.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libjansson.so
|
||||||
|
%{_libdir}/pkgconfig/jansson.pc
|
||||||
|
%{_includedir}/jansson*.h
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc CHANGES
|
||||||
|
%doc doc/_build/html/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Sep 24 2019 shenyangyang<shenyangyang4@huawei.com> - 2.11-4
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:revise help package
|
||||||
|
|
||||||
|
* Mon Aug 19 2019 openEuler Builteam <buildteam@openeuler.org> - 2.11-3
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user