2024-01-05 18:33:35 +01:00
|
|
|
Name: tini
|
|
|
|
Version: 0.19.0
|
2024-03-07 09:29:47 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 18:33:35 +01:00
|
|
|
Summary: A tiny but valid init for containers
|
|
|
|
Group: System/Servers
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-03-07 09:29:47 +01:00
|
|
|
URL: https://github.com/krallin/tini
|
2024-01-05 18:33:35 +01:00
|
|
|
Source: https://github.com/krallin/tini.git/v%{version}/tini-%{version}.tar.bz2
|
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
|
|
|
%description
|
|
|
|
Tini - A tiny but valid init for containers
|
|
|
|
|
2024-03-07 09:29:47 +01:00
|
|
|
%debug_package
|
2024-01-05 18:33:35 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-03-07 09:29:47 +01:00
|
|
|
# Do not strip binaries
|
|
|
|
sed -i CMakeLists.txt -e 's/ -Wl,-s//'
|
2024-01-05 18:33:35 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build
|
2024-03-07 09:29:47 +01:00
|
|
|
|
2024-01-05 18:33:35 +01:00
|
|
|
%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
|
2024-03-07 09:29:47 +01:00
|
|
|
* Wed Mar 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.19.0-2mamba
|
|
|
|
- URL fixed (closes https://src.openmamba.org/rpms/tini/issues/1)
|
|
|
|
- don't strip binaries and add debug package
|
|
|
|
|
2024-01-05 18:33:35 +01:00
|
|
|
* Tue Aug 25 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.19.0-1mamba
|
|
|
|
- package created using the webbuild interface
|