Blame SPECS/jansson.spec

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