N
Портал сборок NiceOS
Корпоративный портал наблюдаемости для опубликованных сборок пакетов NiceOS.

input/procps-ng.spec

raw · 3.6 KiB

Name:           procps-ng
Version:        4.0.6
Release:        1%{?dist}
Summary:        Tools for monitoring and managing system processes
Summary(ru):    Инструменты для мониторинга и управления процессами в системе

License:        GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later
URL:            https://gitlab.com/procps-ng/procps/
Source0:        https://sourceforge.net/projects/procps-ng/files/Production/%{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:  ncurses-devel

Requires:       ncurses
Conflicts:      toybox < 0.8.2-2
Provides:       procps-ng-i18n = %{version}-%{release}

%description
procps-ng is a collection of system utilities for monitoring and managing
processes on Linux systems. It includes tools such as ps, top, vmstat, w, kill,
free, slabtop, and others used to inspect process activity and system resource
usage.

%description -l ru
procps-ng — это набор системных утилит для мониторинга и управления процессами
в Linux. Включает инструменты ps, top, vmstat, w, kill, free, slabtop и другие,
которые помогают отслеживать процессы и использование системных ресурсов.

%package        devel
Summary:        Development files for procps-ng
Summary(ru):    Файлы разработки для procps-ng
Requires:       %{name} = %{version}-%{release}

%description -n %{name}-devel
The %{name}-devel package contains header files and development symlinks needed
to build applications that use libproc2 provided by procps-ng.

%description -l ru -n %{name}-devel
Пакет %{name}-devel содержит заголовочные файлы и ссылки для разработки,
необходимые для сборки приложений, использующих libproc2 из состава procps-ng.

%prep
%autosetup -p1

%build
if [ "%{_host}" != "%{_build}" ]; then
  export ac_cv_func_malloc_0_nonnull=yes
  export ac_cv_func_realloc_0_nonnull=yes
fi

%configure \
  --docdir=%{_docdir}/%{name}-%{version} \
  --disable-static \
  --disable-kill \
  --disable-silent-rules

%make_build

%install
%make_install %{?_smp_mflags}
ln -srv %{buildroot}%{_bindir}/pidof %{buildroot}%{_sbindir}/pidof

%find_lang %{name}

%check
%make_build check

%ldconfig_scriptlets

%files
%{_bindir}/free
%{_bindir}/hugetop
%{_bindir}/pgrep
%{_bindir}/pidof
%{_bindir}/pidwait
%{_bindir}/pkill
%{_bindir}/pmap
%{_bindir}/ps
%{_bindir}/pwdx
%{_bindir}/slabtop
%{_bindir}/tload
%{_bindir}/top
%{_bindir}/uptime
%{_bindir}/vmstat
%{_bindir}/w
%{_bindir}/watch
%{_sbindir}/pidof
%{_sbindir}/sysctl
%{_datadir}/locale/*
%{_docdir}/%{name}-*/*
%attr(0755,root,root) %{_libdir}/*.so.*
%{_mandir}/*/man*/*
%{_mandir}/man1/*
%{_mandir}/man5/*
%{_mandir}/man8/*

%files -n %{name}-devel
%{_includedir}/libproc2/*.h
%{_libdir}/pkgconfig/libproc2.pc
%attr(0755,root,root) %{_libdir}/*.so
%{_mandir}/man3/*.gz

%changelog
* Sun May 10 2026 NiceOS Team <support@niceos.ru> - 4.0.6-1
- Carry upstream stability and security-related fixes in core tools and libproc2.
- Подтянуть upstream-исправления стабильности и безопасности для основных утилит и libproc2.


* Fri Jan 09 2026 NiceOS Team <niceos@ncsgp.ru> - 4.0.5-1
- Initial build for NiceOS (Первая сборка для НАЙС.ОС)