jansson/jansson.spec

81 lines
1.6 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:53:55 -04:00
Name: jansson
2020-06-03 16:01:53 +08:00
Version: 2.13.1
Release: 3
2019-09-30 10:53:55 -04:00
Summary: A C library for encoding, decoding and manipulating JSON data
License: MIT
URL: http://www.digip.org/jansson/
Source0: https://digip.org/jansson/releases/%{name}-%{version}.tar.bz2
2019-09-30 10:53:55 -04:00
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
* Mon Aug 03 2020 Leo Fang <leofang_94@163.com> - 2.13.1-3
- Update url of Source0
2020-08-01 15:27:48 +08:00
* Sat Aug 1 2020 xinghe<xinghe1@huawei.com> - 2.13.1-2
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:remove 2.11.tar
* Wed Jun 10 2020 xinghe<xinghe1@huawei.com> - 2.13.1-1
2020-06-03 16:01:53 +08:00
- Type:enhancement
- ID:NA
- SUG:NA
2020-06-10 11:14:15 +08:00
- DESC:Upgrade version 2.11 to 2.13.1
2019-09-30 10:53:55 -04:00
* Tue Sep 24 2019 shenyangyang<shenyangyang4@huawei.com> - 2.11-4
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:revise help package
2020-06-10 11:14:15 +08:00
2019-09-30 10:53:55 -04:00
* Mon Aug 19 2019 openEuler Builteam <buildteam@openeuler.org> - 2.11-3
- Package init