Group :: System/Libraries
RPM: jansson
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_with doc
Name: jansson
Version: 2.13.1
Release: alt2
Summary: C library for encoding, decoding and manipulating JSON data
License: MIT
Group: System/Libraries
Url: http://www.digip.org/jansson/
Source: %name-%version.tar
%if_with doc
BuildRequires: python3-module-sphinx
%endif
%description
Jansson is a C library for encoding, decoding and manipulating JSON data.
It features:
- Simple and intuitive API and data model
- Comprehensive documentation
- No dependencies on other libraries
- Full Unicode support (UTF-8)
- Extensive test suite
%package -n lib%name
Summary: C library for encoding, decoding and manipulating JSON data
Group: System/Libraries
Provides: %name = %version-%release
%description -n lib%name
Jansson is a C library for encoding, decoding and manipulating JSON data.
It features:
- Simple and intuitive API and data model
- Comprehensive documentation
- No dependencies on other libraries
- Full Unicode support (UTF-8)
- Extensive test suite
%package -n lib%name-devel
Summary: C library for encoding, decoding and manipulating JSON data
Group: Development/C
Requires: lib%name = %version-%release
%description -n lib%name-devel
Jansson is a C library for encoding, decoding and manipulating JSON data.
It features:
- Simple and intuitive API and data model
- Comprehensive documentation
- No dependencies on other libraries
- Full Unicode support (UTF-8)
- Extensive test suite
%prep
%setup
%build
%autoreconf
%configure --disable-static
%make_build
%if_with doc
%make html
%endif
%install
%makeinstall_std
%check
%make check
%files -n lib%name
%_libdir/*.so.*
%doc README* LICENSE CHANGES
%files -n lib%name-devel
%_includedir/*.h
%_pkgconfigdir/*
%_libdir/*so
%if_with doc
%doc doc/_build/html/*
%endif
%changelog
…
Full changelog you can see here
Name: jansson
Version: 2.13.1
Release: alt2
Summary: C library for encoding, decoding and manipulating JSON data
License: MIT
Group: System/Libraries
Url: http://www.digip.org/jansson/
Source: %name-%version.tar
%if_with doc
BuildRequires: python3-module-sphinx
%endif
%description
Jansson is a C library for encoding, decoding and manipulating JSON data.
It features:
- Simple and intuitive API and data model
- Comprehensive documentation
- No dependencies on other libraries
- Full Unicode support (UTF-8)
- Extensive test suite
%package -n lib%name
Summary: C library for encoding, decoding and manipulating JSON data
Group: System/Libraries
Provides: %name = %version-%release
%description -n lib%name
Jansson is a C library for encoding, decoding and manipulating JSON data.
It features:
- Simple and intuitive API and data model
- Comprehensive documentation
- No dependencies on other libraries
- Full Unicode support (UTF-8)
- Extensive test suite
%package -n lib%name-devel
Summary: C library for encoding, decoding and manipulating JSON data
Group: Development/C
Requires: lib%name = %version-%release
%description -n lib%name-devel
Jansson is a C library for encoding, decoding and manipulating JSON data.
It features:
- Simple and intuitive API and data model
- Comprehensive documentation
- No dependencies on other libraries
- Full Unicode support (UTF-8)
- Extensive test suite
%prep
%setup
%build
%autoreconf
%configure --disable-static
%make_build
%if_with doc
%make html
%endif
%install
%makeinstall_std
%check
%make check
%files -n lib%name
%_libdir/*.so.*
%doc README* LICENSE CHANGES
%files -n lib%name-devel
%_includedir/*.h
%_pkgconfigdir/*
%_libdir/*so
%if_with doc
%doc doc/_build/html/*
%endif
%changelog
…
Full changelog you can see here