input/libxmlb.spec
raw · 4.2 KiB
Name: libxmlb
Version: 0.3.27
Release: 1%{?dist}
Summary: A library for working with binary XML files
Summary(ru): Библиотека для работы с двоичными XML-файлами
License: LGPL-2.1-or-later
URL: https://github.com/hughsie/libxmlb
Source0: https://github.com/hughsie/libxmlb/releases/download/%{version}/libxmlb-%{version}.tar.xz
Packager: NICE SOFT GROUP LLC (ООО "НАЙС СОФТ ГРУПП") 5024245440 <niceos@ncsgp.ru>
Vendor: NiceSOFT
Distribution: NiceOS.Core
BugURL: https://bugs.niceos.ru/
VCS: https://specs.niceos.ru/rmps/%{name}
BuildRequires: glib-devel
BuildRequires: gobject-introspection
BuildRequires: gtk-doc
BuildRequires: meson
BuildRequires: ninja-build
BuildRequires: python3 python3-libs python3-xml
BuildRequires: pcre2-devel libffi-devel glib2-devel pkg-config
BuildRequires: zlib-devel
BuildRequires: util-linux-devel
BuildRequires: libselinux-devel
BuildRequires: xz-devel
BuildRequires: zstd-devel
BuildRequires: gobject-introspection-devel
%description
libxmlb is a library for working with binary XML representations, providing
efficient loading, parsing and querying of XML data. It is designed for
applications that require fast and reliable access to XML metadata.
%description -l ru
libxmlb — библиотека для работы с двоичными представлениями XML, предоставляющая
эффективную загрузку, разбор и поиск по XML-данным. Она оптимизирована для
приложений, которым нужен быстрый и надёжный доступ к XML-метаданным.
%package devel
Summary: Development files for libxmlb library
Summary(ru): Файлы разработки для библиотеки libxmlb
Requires: %{name} = %{version}-%{release}
%description -n %{name}-devel
Header files, pkg-config metadata and development symlinks for building
applications against libxmlb.
%description -l ru -n %{name}-devel
Заголовочные файлы, метаданные pkg-config и ссылки для разработки, необходимые
для сборки приложений, использующих libxmlb.
%prep
%autosetup
%build
%meson \
-Dgtkdoc=false \
-Dintrospection=true \
-Dstemmer=false
%meson_build
%install
%meson_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc README.md
%{_bindir}/xb-tool
%attr(0755,root,root) %{_libdir}/libxmlb.so.*
%{_mandir}/man1/xb-tool.1.gz
%{_datadir}/installed-tests/libxmlb/*
/usr/libexec/installed-tests/libxmlb/*
/usr/lib/girepository-1.0/Xmlb-2.0.typelib
%files devel
%{_includedir}/libxmlb-2
%{_libdir}/libxmlb.so
%{_libdir}/pkgconfig/xmlb.pc
%{_datadir}/gir-1.0/Xmlb-2.0.gir
%changelog
* Sun May 24 2026 NiceOS Team <support@niceos.ru> - 0.3.27-1
- EN: Update libxmlb to 0.3.27.
Upstream fixes several parser robustness issues (NULL dereference, potential use-after-free, infinite loop, recursion and predicate limits) and raises the minimum required GLib version to 2.68.
- RU: Обновить libxmlb до 0.3.27.
В upstream исправлены проблемы устойчивости парсера (NULL dereference, потенциальный use-after-free, бесконечный цикл, лимиты рекурсии и предикатов) и повышено минимальное требование к GLib до 2.68.
* Sat May 02 2026 NiceOS Team <support@niceos.ru> - 0.3.26-1
- EN: - Update libxmlb from 0.3.21 to 0.3.26.
- Pull in upstream fixes for an OOB read in token index lookup and a stack overflow in export recursion.
- Note upstream behavior change: parse CDATA as text.
- RU: - Обновить libxmlb с 0.3.21 до 0.3.26.
- Подтянуть upstream-исправления для OOB read в token index lookup и stack overflow в рекурсивном export.
- Учесть upstream-изменение поведения: разбор CDATA как текста.
* Fri Jan 09 2026 NiceOS Team <niceos@ncsgp.ru> - 0.3.21-1
- Initial build for NiceOS (Первая сборка для НАЙС.ОС)