tini/tini.spec
Silvan Calarco 4eed219206 URL fixed (closes #1)
don't strip binaries and add debug package [release 0.19.0-2mamba;Wed Mar 06 2024]
2024-03-07 09:29:47 +01:00

52 lines
1.2 KiB
RPMSpec

Name: tini
Version: 0.19.0
Release: 2mamba
Summary: A tiny but valid init for containers
Group: System/Servers
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/krallin/tini
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
%debug_package
%prep
%setup -q
# Do not strip binaries
sed -i CMakeLists.txt -e 's/ -Wl,-s//'
%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
* 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
* Tue Aug 25 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.19.0-1mamba
- package created using the webbuild interface