Blame SPECS/jansson.spec

9ff092
Name:		jansson
9ff092
Version:	2.14
9ff092
Release:	1%{?dist}
9ff092
Summary:	C library for encoding, decoding and manipulating JSON data
9ff092
9ff092
Group:		System Environment/Libraries
9ff092
License:	MIT
9ff092
URL:		http://www.digip.org/jansson/
9ff092
Source0:	https://github.com/akheron/jansson/releases/download/v%{version}/jansson-%{version}.tar.bz2
9ff092
Patch1:		Fix-the-check-exports-tests-for-versioned-symbols.patch
9ff092
9ff092
BuildRequires:	gcc
9ff092
BuildRequires:	autoconf automake libtool
9ff092
BuildRequires:	python3-sphinx
9ff092
9ff092
%description
9ff092
Small library for parsing and writing JSON documents.
9ff092
9ff092
%package devel
9ff092
Summary: Header files for jansson
9ff092
Group: Development/Libraries
9ff092
Requires: %{name}%{?_isa} = %{version}-%{release}
9ff092
9ff092
%description devel
9ff092
Header files for developing applications making use of jansson.
9ff092
9ff092
%package devel-doc
9ff092
Summary: Development documentation for jansson
9ff092
BuildArch: noarch
9ff092
9ff092
%description devel-doc
9ff092
Development documentation for jansson.
9ff092
9ff092
%prep
9ff092
%autosetup -p1
9ff092
autoreconf --force --install -I m4
9ff092
9ff092
%if 0%{?rhel} == 6
9ff092
%{__sed} -i 's/code-block:: shell/code-block:: none/g' doc/*.rst
9ff092
%endif
9ff092
9ff092
%build
9ff092
%configure --disable-static
9ff092
make %{?_smp_mflags}
9ff092
make html
9ff092
9ff092
%check
9ff092
make check
9ff092
9ff092
%install
9ff092
make install INSTALL="install -p" DESTDIR="$RPM_BUILD_ROOT"
9ff092
rm "$RPM_BUILD_ROOT%{_libdir}"/*.la
9ff092
9ff092
%ldconfig_scriptlets
9ff092
9ff092
%files
9ff092
%doc LICENSE CHANGES
9ff092
%{_libdir}/*.so.*
9ff092
9ff092
%files devel
9ff092
%{_libdir}/*.so
9ff092
%{_libdir}/pkgconfig/%{name}.pc
9ff092
%{_includedir}/*
9ff092
9ff092
%files devel-doc
9ff092
%doc doc/_build/html/*
9ff092
9ff092
%changelog
9ff092
* Sun Nov 28 2021 Xin Long <lxin@redhat.com> - 2.14-1
9ff092
- Rebase to 2.14
9ff092
  Related: rhbz#2001062
9ff092
9ff092
* Fri Aug 03 2018 Xin Long <lxin@redhat.com> - 2.11-3
9ff092
- Deal with warnings under gcc 8
9ff092
- Call va_end after va_copy in json_vsprintf
9ff092
- Fix bogus date in jansson.spec
9ff092
9ff092
* Mon Jul 09 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.11-2
9ff092
- Change to python3-sphinx
9ff092
9ff092
* Sat Mar 10 2018 Corey Farrell <git@cfware.com> - 2.11-1
9ff092
- Update to Jansson 2.11
9ff092
9ff092
* Mon Feb 19 2018 Jared Smith <jsmith@fedoraproject.org> - 2.10-7
9ff092
- Add missing BuildRequires on gcc
9ff092
9ff092
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-6
9ff092
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9ff092
9ff092
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.10-5
9ff092
- Switch to %%ldconfig_scriptlets
9ff092
9ff092
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-4
9ff092
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
9ff092
9ff092
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-3
9ff092
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9ff092
9ff092
* Sat Jun 10 2017 Nathaniel McCallum <npmccallum@redhat.com> - 2.10-2
9ff092
- Add upstream patch for optional arguments to json_pack()
9ff092
- Migrate to use autosetup macro
9ff092
9ff092
* Thu Mar 02 2017 Nathaniel McCallum <npmccallum@redhat.com> - 2.10-1
9ff092
- Update to Jansson 2.10
9ff092
9ff092
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-2
9ff092
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9ff092
9ff092
* Tue Sep 20 2016 Nathaniel McCallum <npmccallum@redhat.com> - 2.9-1
9ff092
- Update to Jansson 2.9
9ff092
9ff092
* Fri Sep 16 2016 Nathaniel McCallum <npmccallum@redhat.com> - 2.8-1
9ff092
- Update to Jansson 2.8
9ff092
- Add json_auto_t patch
9ff092
9ff092
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-3
9ff092
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9ff092
9ff092
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-2
9ff092
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9ff092
9ff092
* Mon Jan 05 2015 Jiri Pirko <jpirko@redhat.com> 2.7-1
9ff092
- Update to Jansson 2.7
9ff092
9ff092
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-5
9ff092
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
9ff092
9ff092
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-4
9ff092
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9ff092
9ff092
* Sat Mar 15 2014 Jiri Pirko <jpirko@redhat.com> 2.6-3
9ff092
- Create devel-doc package
9ff092
9ff092
* Tue Mar 11 2014 Peter Robinson <pbrobinson@fedoraproject.org> 2.6-2
9ff092
- Package cleanups
9ff092
9ff092
* Thu Feb 13 2014 Jared Smith <jsmith@fedoraproject.org> - 2.6-1
9ff092
- Update to Jansson 2.6 for CVE-2013-6401 
9ff092
9ff092
* Sat Jan 25 2014 Jiri Pirko <jpirko@redhat.com> 2.5-1
9ff092
- Update to Jansson 2.5.
9ff092
9ff092
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-3
9ff092
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9ff092
9ff092
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-2
9ff092
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9ff092
9ff092
* Thu Nov 08 2012 Jiri Pirko <jpirko@redhat.com> 2.4-1
9ff092
- Update to Jansson 2.4.
9ff092
9ff092
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-2
9ff092
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9ff092
9ff092
* Fri Feb 03 2012 Jiri Pirko <jpirko@redhat.com> 2.3-1
9ff092
- Update to Jansson 2.3.
9ff092
9ff092
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2
9ff092
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9ff092
9ff092
* Sat Jun 11 2011 Sean Middleditch <sean@middleditch.us> 2.1-1
9ff092
- Update to Jansson 2.1.
9ff092
- Drop Sphinx patch, no longer necessary.
9ff092
9ff092
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
9ff092
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9ff092
9ff092
* Sat Jul 03 2010 Sean Middleditch <sean@middleditch.us> 1.3-1
9ff092
- Update to Jansson 1.3.
9ff092
- Disable warnings-as-errors for Sphinx documentation.
9ff092
9ff092
* Thu Jan 21 2010 Sean Middleditch <sean@middleditch.us> 1.2-1
9ff092
- Update to Jansson 1.2.
9ff092
9ff092
* Mon Jan 11 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-4
9ff092
- Update jansson description per upstream's suggestions.
9ff092
- Removed README from docs.
9ff092
9ff092
* Sat Jan 09 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-3
9ff092
- Correct misspelling of jansson in the pkg-config file.
9ff092
9ff092
* Sat Jan 09 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-2
9ff092
- Fix Changelog dates.
9ff092
- Mix autoheader warning.
9ff092
- Added make check.
9ff092
- Build and install HTML documentation in -devel package.
9ff092
9ff092
* Thu Jan 07 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-1
9ff092
- Initial packaging for Fedora.