c5cae8
Name:		jansson
c5cae8
Version:	2.10
c5cae8
Release:	1%{?dist}
c5cae8
Summary:	C library for encoding, decoding and manipulating JSON data
c5cae8
c5cae8
Group:		System Environment/Libraries
c5cae8
License:	MIT
c5cae8
URL:		http://www.digip.org/jansson/
c5cae8
Source0:	http://www.digip.org/jansson/releases/jansson-%{version}.tar.bz2
c5cae8
c5cae8
BuildRequires:	python-sphinx
c5cae8
c5cae8
%description
c5cae8
Small library for parsing and writing JSON documents.
c5cae8
c5cae8
%package devel
c5cae8
Summary: Header files for jansson
c5cae8
Group: Development/Libraries
c5cae8
Requires: %{name}%{?_isa} = %{version}-%{release}
c5cae8
c5cae8
%description devel
c5cae8
Header files for developing applications making use of jansson.
c5cae8
c5cae8
%package devel-doc
c5cae8
Summary: Development documentation for jansson
c5cae8
BuildArch: noarch
c5cae8
c5cae8
%description devel-doc
c5cae8
Development documentation for jansson.
c5cae8
c5cae8
%prep
c5cae8
%setup -q
c5cae8
c5cae8
%if 0%{?rhel} == 6
c5cae8
%{__sed} -i 's/code-block:: shell/code-block:: none/g' doc/*.rst
c5cae8
%endif
c5cae8
c5cae8
%build
c5cae8
%configure --disable-static
c5cae8
make %{?_smp_mflags}
c5cae8
make html
c5cae8
c5cae8
%check
c5cae8
make check
c5cae8
c5cae8
%install
c5cae8
make install INSTALL="install -p" DESTDIR="$RPM_BUILD_ROOT"
c5cae8
rm "$RPM_BUILD_ROOT%{_libdir}"/*.la
c5cae8
c5cae8
%post -p /sbin/ldconfig
c5cae8
c5cae8
%postun -p /sbin/ldconfig
c5cae8
c5cae8
%files
c5cae8
%doc LICENSE CHANGES
c5cae8
%{_libdir}/*.so.*
c5cae8
c5cae8
%files devel
c5cae8
%{_libdir}/*.so
c5cae8
%{_libdir}/pkgconfig/%{name}.pc
c5cae8
%{_includedir}/*
c5cae8
c5cae8
%files devel-doc
c5cae8
%doc doc/_build/html/*
c5cae8
c5cae8
%changelog
c5cae8
* Fri Mar 10 2017 Nathaniel McCallum <npmccallum@redhat.com> - 2.10-1
c5cae8
- Update to 2.10 [1389805]
c5cae8
- Merge spec file with Fedora
c5cae8
c5cae8
* Fri Mar 14 2014 Jiri Pirko <jpirko@redhat.com> 2.4-6
c5cae8
- Fix multilib conflicts by creating devel-doc package [1076415]
c5cae8
c5cae8
* Thu Feb 13 2014 Jiri Pirko <jpirko@redhat.com> 2.4-5
c5cae8
- Change hash function, randomize hashes [1063831]
c5cae8
c5cae8
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.4-4
c5cae8
- Mass rebuild 2014-01-24
c5cae8
c5cae8
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.4-3
c5cae8
- Mass rebuild 2013-12-27
c5cae8
c5cae8
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-2
c5cae8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c5cae8
c5cae8
* Thu Nov 08 2012 Jiri Pirko <jpirko@redhat.com> 2.4-1
c5cae8
- Update to Jansson 2.4.
c5cae8
c5cae8
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-2
c5cae8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c5cae8
c5cae8
* Fri Feb 03 2012 Jiri Pirko <jpirko@redhat.com> 2.3-1
c5cae8
- Update to Jansson 2.3.
c5cae8
c5cae8
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2
c5cae8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c5cae8
c5cae8
* Thu Jun 11 2011 Sean Middleditch <sean@middleditch.us> 2.1-1
c5cae8
- Update to Jansson 2.1.
c5cae8
- Drop Sphinx patch, no longer necessary.
c5cae8
c5cae8
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
c5cae8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c5cae8
c5cae8
* Thu Jul 03 2010 Sean Middleditch <sean@middleditch.us> 1.3-1
c5cae8
- Update to Jansson 1.3.
c5cae8
- Disable warnings-as-errors for Sphinx documentation.
c5cae8
c5cae8
* Thu Jan 21 2010 Sean Middleditch <sean@middleditch.us> 1.2-1
c5cae8
- Update to Jansson 1.2.
c5cae8
c5cae8
* Thu Jan 11 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-4
c5cae8
- Update jansson description per upstream's suggestions.
c5cae8
- Removed README from docs.
c5cae8
c5cae8
* Thu Jan 09 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-3
c5cae8
- Correct misspelling of jansson in the pkg-config file.
c5cae8
c5cae8
* Thu Jan 09 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-2
c5cae8
- Fix Changelog dates.
c5cae8
- Mix autoheader warning.
c5cae8
- Added make check.
c5cae8
- Build and install HTML documentation in -devel package.
c5cae8
c5cae8
* Thu Jan 07 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-1
c5cae8
- Initial packaging for Fedora.