48 lines
1.1 KiB
RPMSpec
48 lines
1.1 KiB
RPMSpec
|
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 <silvan.calarco@mambasoft.it>
|
||
|
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 <silvan.calarco@mambasoft.it> 0.19.0-1mamba
|
||
|
- package created using the webbuild interface
|