Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37851480
en ru br
ALT Linux repos
S:0.10.2-alt3

Group :: System/Configuration/Boot and Init
RPM: shepherd

 Main   Changelog   Spec   Patches   Sources   Download   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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin