catatonit/catatonit.spec
Aleksa Sarai a00034bde1 Accepting request 591540 from home:cyphar
Initial import of catatonit v0.1.1, a docker-init implementation that is much
simpler and handles signals in a far more correct way than the official one.

OBS-URL: https://build.opensuse.org/request/show/591540
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/catatonit?expand=0&rev=1
2018-03-27 10:07:24 +00:00

56 lines
1.5 KiB
RPMSpec

#
# 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
Version: 0.1.1
Release: 0
Summary: Brain-dead container init
License: GPL-3.0-or-later
Group: System/Management
Url: https://github.com/cyphar/catatonit
Source0: %{name}-%{version}.tar.xz
Source1: %{name}-%{version}.tar.xz.asc
Source2: %{name}.keyring
BuildRequires: gcc
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
%description
A container init so simple it's effectively brain-dead.
%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)
%doc README.md COPYING
%{_bindir}/%{name}
%{_bindir}/docker-init
%changelog