fd62de
Name:		jansson
d9d3ac
Version:	2.14
d9d3ac
Release:	1%{?dist}
fd62de
Summary:	C library for encoding, decoding and manipulating JSON data
fd62de
fd62de
License:	MIT
fd62de
URL:		http://www.digip.org/jansson/
d9d3ac
Source0:	https://github.com/akheron/jansson/releases/download/v%{version}/jansson-%{version}.tar.bz2
fd62de
d9d3ac
Patch0:		Fix-the-check-exports-tests-for-versioned-symbols.patch
fd62de
fd62de
BuildRequires:	gcc
fd62de
BuildRequires:	python3-sphinx
fd62de
BuildRequires: make
fd62de
fd62de
%description
fd62de
Small library for parsing and writing JSON documents.
fd62de
fd62de
%package devel
fd62de
Summary: Header files for jansson
fd62de
Requires: %{name}%{?_isa} = %{version}-%{release}
fd62de
fd62de
%description devel
fd62de
Header files for developing applications making use of jansson.
fd62de
fd62de
%package devel-doc
fd62de
Summary: Development documentation for jansson
fd62de
BuildArch: noarch
fd62de
fd62de
%description devel-doc
fd62de
Development documentation for jansson.
fd62de
fd62de
%prep
fd62de
%autosetup -p1
fd62de
fd62de
%if 0%{?rhel} == 6
fd62de
%{__sed} -i 's/code-block:: shell/code-block:: none/g' doc/*.rst
fd62de
%endif
fd62de
fd62de
%build
fd62de
%configure --disable-static
fd62de
%make_build
fd62de
make html
fd62de
fd62de
%check
fd62de
make check
fd62de
fd62de
%install
fd62de
%make_install
fd62de
rm "$RPM_BUILD_ROOT%{_libdir}"/*.la
fd62de
fd62de
%ldconfig_scriptlets
fd62de
fd62de
%files
fd62de
%license LICENSE
fd62de
%doc CHANGES
fd62de
%{_libdir}/*.so.*
fd62de
fd62de
%files devel
fd62de
%{_libdir}/*.so
fd62de
%{_libdir}/pkgconfig/%{name}.pc
fd62de
%{_includedir}/*
fd62de
fd62de
%files devel-doc
fd62de
%doc doc/_build/html/*
fd62de
fd62de
%changelog
d9d3ac
* Mon Nov 15 2021 Xin Long <lxin@redhat.com> - 2.14-1
d9d3ac
- Rebase to 2.14
d9d3ac
  Related: rhbz#2001066
d9d3ac
fd62de
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.13.1-4
fd62de
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
fd62de
  Related: rhbz#1991688
fd62de
fd62de
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.13.1-3
fd62de
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
fd62de
fd62de
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.1-2
fd62de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
fd62de
fd62de
* Mon Aug 24 2020 Charalampos Stratakis <cstratak@redhat.com> - 2.13.1-1
fd62de
- Update to 2.13.1 (#1831402)
fd62de
- Fix docs build failures with Sphinx 3 (#1823532)
fd62de
- Use make macros: https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
fd62de
fd62de
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.12-7
fd62de
- Second attempt - Rebuilt for
fd62de
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
fd62de
fd62de
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.12-6
fd62de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
fd62de
fd62de
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.12-5
fd62de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
fd62de
fd62de
* Sat Aug  3 2019 Peter Robinson <pbrobinson@fedoraproject.org> 2.12-4
fd62de
- Fix build deps, use %%license
fd62de
fd62de
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.12-3
fd62de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
fd62de
fd62de
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.12-2
fd62de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
fd62de
fd62de
* Mon Nov 26 2018 Corey Farrell <git@cfware.com> - 2.12-1
fd62de
- Update to Jansson 2.12
fd62de
fd62de
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-2
fd62de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
fd62de
fd62de
* Sat Mar 10 2018 Corey Farrell <git@cfware.com> - 2.11-1
fd62de
- Update to Jansson 2.11
fd62de
fd62de
* Mon Feb 19 2018 Jared Smith <jsmith@fedoraproject.org> - 2.10-7
fd62de
- Add missing BuildRequires on gcc
fd62de
fd62de
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-6
fd62de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
fd62de
fd62de
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.10-5
fd62de
- Switch to %%ldconfig_scriptlets
fd62de
fd62de
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-4
fd62de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
fd62de
fd62de
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-3
fd62de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
fd62de
fd62de
* Sat Jun 10 2017 Nathaniel McCallum <npmccallum@redhat.com> - 2.10-2
fd62de
- Add upstream patch for optional arguments to json_pack()
fd62de
- Migrate to use autosetup macro
fd62de
fd62de
* Thu Mar 02 2017 Nathaniel McCallum <npmccallum@redhat.com> - 2.10-1
fd62de
- Update to Jansson 2.10
fd62de
fd62de
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-2
fd62de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
fd62de
fd62de
* Tue Sep 20 2016 Nathaniel McCallum <npmccallum@redhat.com> - 2.9-1
fd62de
- Update to Jansson 2.9
fd62de
fd62de
* Fri Sep 16 2016 Nathaniel McCallum <npmccallum@redhat.com> - 2.8-1
fd62de
- Update to Jansson 2.8
fd62de
- Add json_auto_t patch
fd62de
fd62de
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-3
fd62de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
fd62de
fd62de
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-2
fd62de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
fd62de
fd62de
* Mon Jan 05 2015 Jiri Pirko <jpirko@redhat.com> 2.7-1
fd62de
- Update to Jansson 2.7
fd62de
fd62de
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-5
fd62de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
fd62de
fd62de
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-4
fd62de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
fd62de
fd62de
* Sat Mar 15 2014 Jiri Pirko <jpirko@redhat.com> 2.6-3
fd62de
- Create devel-doc package
fd62de
fd62de
* Tue Mar 11 2014 Peter Robinson <pbrobinson@fedoraproject.org> 2.6-2
fd62de
- Package cleanups
fd62de
fd62de
* Thu Feb 13 2014 Jared Smith <jsmith@fedoraproject.org> - 2.6-1
fd62de
- Update to Jansson 2.6 for CVE-2013-6401 
fd62de
fd62de
* Sat Jan 25 2014 Jiri Pirko <jpirko@redhat.com> 2.5-1
fd62de
- Update to Jansson 2.5.
fd62de
fd62de
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-3
fd62de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fd62de
fd62de
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-2
fd62de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
fd62de
fd62de
* Thu Nov 08 2012 Jiri Pirko <jpirko@redhat.com> 2.4-1
fd62de
- Update to Jansson 2.4.
fd62de
fd62de
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-2
fd62de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
fd62de
fd62de
* Fri Feb 03 2012 Jiri Pirko <jpirko@redhat.com> 2.3-1
fd62de
- Update to Jansson 2.3.
fd62de
fd62de
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2
fd62de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
fd62de
fd62de
* Thu Jun 11 2011 Sean Middleditch <sean@middleditch.us> 2.1-1
fd62de
- Update to Jansson 2.1.
fd62de
- Drop Sphinx patch, no longer necessary.
fd62de
fd62de
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
fd62de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
fd62de
fd62de
* Thu Jul 03 2010 Sean Middleditch <sean@middleditch.us> 1.3-1
fd62de
- Update to Jansson 1.3.
fd62de
- Disable warnings-as-errors for Sphinx documentation.
fd62de
fd62de
* Thu Jan 21 2010 Sean Middleditch <sean@middleditch.us> 1.2-1
fd62de
- Update to Jansson 1.2.
fd62de
fd62de
* Thu Jan 11 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-4
fd62de
- Update jansson description per upstream's suggestions.
fd62de
- Removed README from docs.
fd62de
fd62de
* Thu Jan 09 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-3
fd62de
- Correct misspelling of jansson in the pkg-config file.
fd62de
fd62de
* Thu Jan 09 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-2
fd62de
- Fix Changelog dates.
fd62de
- Mix autoheader warning.
fd62de
- Added make check.
fd62de
- Build and install HTML documentation in -devel package.
fd62de
fd62de
* Thu Jan 07 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-1
fd62de
- Initial packaging for Fedora.