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

Группа :: Система/Настройка/Загрузка и инициализация
Пакет: shepherd

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

%def_with check

%define guile_sitedir %(guile-config info sitedir)
%define bash_completionsdir %_datadir/bash-completion/completions

Name: shepherd
Version: 0.10.2
Release: alt3

Summary: The GNU Shepherd
License: GPL-3.0+
Group: System/Configuration/Boot and Init
Url: https://www.gnu.org/software/shepherd/
Vcs: git://git.savannah.gnu.org/shepherd.git

Source0: %name-%version.tar
Patch0: %name-%version-alt-fix-runstatedir.patch

Requires: guile-fibers
Conflicts: sysvinit
Conflicts: systemd-sysvinit

BuildRequires: guile-devel
BuildRequires: guile-fibers
BuildRequires: help2man
BuildRequires: texinfo

%if_with check
BuildRequires(pre): /proc
%endif

%description
The GNU Shepherd is a service manager written in Guile that looks after
the herd of daemons running on the system. It can be used as an "init"
system (PID 1) and also by unprivileged users to manage per-user
daemons-e.g., tor, privoxy, mcron. It supports several daemon startup
mechanisms, including inetd and systemd-style socket activation.
The GNU Shepherd is configured in Guile Scheme and can be extended in
the same language. It builds on a simple memory-safe and callback-free
programming model.

%prep
%setup
%patch0 -p1

%build
%autoreconf
%configure \
   --with-bash-completion-dir=%bash_completionsdir
%make_build

%install
%makeinstall_std
%find_lang %name

%check
%make_build check

%files -f %name.lang
%guile_ccachedir/shepherd*
%guile_sitedir/shepherd*
%_bindir/herd
%_bindir/shepherd
%_sbindir/halt
%_sbindir/reboot
%_sbindir/shutdown
%_libdir/shepherd
%_infodir/shepherd.info.*
%_man1dir/herd.*
%_man1dir/shepherd.*
%_man8dir/halt.*
%_man8dir/reboot.*
%bash_completionsdir/herd

%changelog

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

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