|
|
75552a |
Name: jansson
|
|
|
75552a |
Version: 2.4
|
|
|
75552a |
Release: 2%{?dist}
|
|
|
75552a |
Summary: C library for encoding, decoding and manipulating JSON data
|
|
|
75552a |
|
|
|
75552a |
Group: System Environment/Libraries
|
|
|
75552a |
License: MIT
|
|
|
75552a |
URL: http://www.digip.org/jansson/
|
|
|
75552a |
Source0: http://www.digip.org/jansson/releases/jansson-%{version}.tar.bz2
|
|
|
75552a |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
75552a |
|
|
|
75552a |
BuildRequires: python-sphinx
|
|
|
75552a |
|
|
|
75552a |
%description
|
|
|
75552a |
Small library for parsing and writing JSON documents.
|
|
|
75552a |
|
|
|
75552a |
%package devel
|
|
|
75552a |
Summary: Header files for jansson
|
|
|
75552a |
Group: Development/Libraries
|
|
|
75552a |
Requires: %{name} = %{version}-%{release}
|
|
|
75552a |
Requires: pkgconfig
|
|
|
75552a |
|
|
|
75552a |
%description devel
|
|
|
75552a |
Header files for developing applications making use of jansson.
|
|
|
75552a |
|
|
|
75552a |
%prep
|
|
|
75552a |
%setup -q
|
|
|
75552a |
|
|
|
75552a |
%build
|
|
|
75552a |
%configure --disable-static
|
|
|
75552a |
make %{?_smp_mflags}
|
|
|
75552a |
make html
|
|
|
75552a |
|
|
|
75552a |
%check
|
|
|
75552a |
make check
|
|
|
75552a |
|
|
|
75552a |
%install
|
|
|
75552a |
rm -rf "$RPM_BUILD_ROOT"
|
|
|
75552a |
make install INSTALL="install -p" DESTDIR="$RPM_BUILD_ROOT"
|
|
|
75552a |
rm "$RPM_BUILD_ROOT%{_libdir}"/*.la
|
|
|
75552a |
|
|
|
75552a |
%clean
|
|
|
75552a |
rm -rf "$RPM_BUILD_ROOT"
|
|
|
75552a |
|
|
|
75552a |
%post -p /sbin/ldconfig
|
|
|
75552a |
|
|
|
75552a |
%postun -p /sbin/ldconfig
|
|
|
75552a |
|
|
|
75552a |
%files
|
|
|
75552a |
%defattr(-,root,root,-)
|
|
|
75552a |
%doc LICENSE CHANGES
|
|
|
75552a |
%{_libdir}/*.so.*
|
|
|
75552a |
|
|
|
75552a |
%files devel
|
|
|
75552a |
%defattr(-,root,root,-)
|
|
|
75552a |
%doc doc/_build/html/*
|
|
|
75552a |
%{_libdir}/*.so
|
|
|
75552a |
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
75552a |
%{_includedir}/*
|
|
|
75552a |
|
|
|
75552a |
%changelog
|
|
|
75552a |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-2
|
|
|
75552a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
75552a |
|
|
|
75552a |
* Thu Nov 08 2012 Jiri Pirko <jpirko@redhat.com> 2.4-1
|
|
|
75552a |
- Update to Jansson 2.4.
|
|
|
75552a |
|
|
|
75552a |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-2
|
|
|
75552a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
75552a |
|
|
|
75552a |
* Fri Feb 03 2012 Jiri Pirko <jpirko@redhat.com> 2.3-1
|
|
|
75552a |
- Update to Jansson 2.3.
|
|
|
75552a |
|
|
|
75552a |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2
|
|
|
75552a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
75552a |
|
|
|
75552a |
* Thu Jun 11 2011 Sean Middleditch <sean@middleditch.us> 2.1-1
|
|
|
75552a |
- Update to Jansson 2.1.
|
|
|
75552a |
- Drop Sphinx patch, no longer necessary.
|
|
|
75552a |
|
|
|
75552a |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
|
|
|
75552a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
75552a |
|
|
|
75552a |
* Thu Jul 03 2010 Sean Middleditch <sean@middleditch.us> 1.3-1
|
|
|
75552a |
- Update to Jansson 1.3.
|
|
|
75552a |
- Disable warnings-as-errors for Sphinx documentation.
|
|
|
75552a |
|
|
|
75552a |
* Thu Jan 21 2010 Sean Middleditch <sean@middleditch.us> 1.2-1
|
|
|
75552a |
- Update to Jansson 1.2.
|
|
|
75552a |
|
|
|
75552a |
* Thu Jan 11 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-4
|
|
|
75552a |
- Update jansson description per upstream's suggestions.
|
|
|
75552a |
- Removed README from docs.
|
|
|
75552a |
|
|
|
75552a |
* Thu Jan 09 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-3
|
|
|
75552a |
- Correct misspelling of jansson in the pkg-config file.
|
|
|
75552a |
|
|
|
75552a |
* Thu Jan 09 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-2
|
|
|
75552a |
- Fix Changelog dates.
|
|
|
75552a |
- Mix autoheader warning.
|
|
|
75552a |
- Added make check.
|
|
|
75552a |
- Build and install HTML documentation in -devel package.
|
|
|
75552a |
|
|
|
75552a |
* Thu Jan 07 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-1
|
|
|
75552a |
- Initial packaging for Fedora.
|