2018-03-27 12:07:24 +02:00
|
|
|
#
|
|
|
|
# spec file for package catatonit
|
|
|
|
#
|
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: catatonit
|
2018-03-31 14:31:14 +02:00
|
|
|
Version: 0.1.2
|
2018-03-27 12:07:24 +02:00
|
|
|
Release: 0
|
2018-03-31 14:31:14 +02:00
|
|
|
Summary: Incredibly simple container init
|
2018-03-27 12:07:24 +02:00
|
|
|
License: GPL-3.0-or-later
|
|
|
|
Group: System/Management
|
2018-03-31 14:31:14 +02:00
|
|
|
Url: https://github.com/openSUSE/catatonit
|
2018-03-27 12:07:24 +02:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
|
|
|
Source1: %{name}-%{version}.tar.xz.asc
|
|
|
|
Source2: %{name}.keyring
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
|
|
|
%description
|
2018-03-31 14:31:14 +02:00
|
|
|
A container init so simple it's effectively brain-dead. This is a
|
|
|
|
reimplementation of other container inits (such as tini or dumb-init), using
|
|
|
|
modern Linux facilities (such as signalfd(2)) and with no additional features
|
|
|
|
or bloat. It forwards (almost) all signals to the spawned child, exits when the
|
|
|
|
spawned child dies, and reaps any zombies it sees.
|
2018-03-27 12:07:24 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -fi
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
ln -s %{_bindir}/%{name} %{buildroot}%{_bindir}/docker-init
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2018-03-31 14:31:14 +02:00
|
|
|
%doc README.md
|
|
|
|
%if 0%{?suse_version} >= 1500
|
|
|
|
%license COPYING
|
|
|
|
%else
|
|
|
|
%doc COPYING
|
|
|
|
%endif
|
2018-03-27 12:07:24 +02:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_bindir}/docker-init
|
|
|
|
|
|
|
|
%changelog
|