input/libqb.spec
raw · 3.5 KiB
%bcond_with check
Name: libqb
Version: 2.0.10
Release: 1%{?dist}
Summary: High-performance IPC, logging and tracing library
Summary(ru): Высокопроизводительная библиотека IPC, логирования и трейсинга
License: LGPL-2.1-or-later
URL: https://github.com/ClusterLabs/libqb
Source0: https://github.com/ClusterLabs/libqb/releases/download/v%{version}/%{name}-%{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: autoconf
BuildRequires: automake
BuildRequires: check-devel
BuildRequires: doxygen
BuildRequires: gcc
BuildRequires: git
BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: make
BuildRequires: pkgconfig(glib-2.0)
# BuildRequires: procps
%description
A library providing high-performance, reusable features for client-server
architectures, including logging, tracing, inter-process communication (IPC),
and polling.
%description -l ru
libqb предоставляет высокопроизводительные и повторно используемые компоненты
для клиент-серверных архитектур, включая логирование, трейсинг, межпроцессное
взаимодействие (IPC) и polling.
%package devel
Summary: Development files for libqb
Summary(ru): Файлы разработки для libqb
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
%description -n %{name}-devel
Development headers and libraries for building applications with libqb.
%description -l ru -n %{name}-devel
Заголовочные файлы и библиотеки для разработки приложений с использованием libqb.
%package -n doxygen2man
Summary: Man page generator from Doxygen XML
Summary(ru): Генератор man-страниц из Doxygen XML
Requires: %{name}%{?_isa} = %{version}-%{release}
%description -n doxygen2man
Program to generate nicely formatted man pages from Doxygen XML files.
%description -l ru -n doxygen2man
Утилита для генерации корректно оформленных man-страниц из XML-файлов Doxygen.
%prep
%autosetup -n %{name}-%{version}
%build
./autogen.sh
%configure --disable-static
%make_build
%check
%if %{with check}
make check V=1
%endif
%install
%make_install
# RU: Удаляем ненужные .la и мусорную документацию.
# EN: Remove unnecessary .la files and unwanted documentation.
find %{buildroot} -type f -name '*.la' -delete
rm -rf %{buildroot}%{_docdir}/*
%{_fixperms} %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license COPYING
%{_sbindir}/qb-blackbox
%{_libdir}/libqb.so.*
%{_mandir}/man8/qb-blackbox.8*
%files devel
%doc README.markdown
%{_includedir}/qb/
%{_libdir}/libqb.so
%{_libdir}/pkgconfig/libqb.pc
%{_mandir}/man3/qb*3*
%files -n doxygen2man
%{_bindir}/doxygen2man
%{_mandir}/man1/doxygen2man.1*
%changelog
* Tue Jul 07 2026 NiceOS Team <support@niceos.ru> - 2.0.10-1
- EN: Update to upstream version 2.0.10.
- RU: Обновление до upstream-версии 2.0.10.
* Mon Jan 12 2026 NiceOS Team <niceos@ncsgp.ru> - 2.0.9-1
- Initial build for NiceOS (Первая сборка для НАЙС.ОС)