diff --git a/README.md b/README.md index 94d95bb..971a3ea 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # tini +Tini - A tiny but valid init for containers diff --git a/tini.spec b/tini.spec new file mode 100644 index 0000000..0541e83 --- /dev/null +++ b/tini.spec @@ -0,0 +1,47 @@ +Name: tini +Version: 0.19.0 +Release: 1mamba +Summary: A tiny but valid init for containers +Group: System/Servers +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: ttps://github.com/krallin/tini.git +## GITSOURCE https://github.com/krallin/tini.git v0.19.0 +Source: https://github.com/krallin/tini.git/v%{version}/tini-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Tini - A tiny but valid init for containers + +#% debug_package + +%prep +%setup -q + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/tini +%{_bindir}/tini-static +%doc LICENSE + +%changelog +* Tue Aug 25 2020 Silvan Calarco 0.19.0-1mamba +- package created using the webbuild interface