Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37046160
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: jansson

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin