%define debug_package %{nil} Name: warewulf Summary: A suite of tools for bare metal provisioning of containers Version: @VERSION@ Release: 1%{?dist} License: BSD Group: System Environment/Clustering Source: %{name}-%{version}.tar.gz ExclusiveOS: linux BuildRoot: %{?_tmppath}/%{name}-%{version}-%{release}-root %description Warewulf is a bare metal container provisioning system. %prep %setup -q %build make all %install %{__make} install DESTDIR=$RPM_BUILD_ROOT %{?mflags_install} #%pre groupadd -r warewulf >/dev/null 2>&1 || : %post %if %{?rhel}%{!?rhel:0} >= 7 groupadd -r warewulf >/dev/null 2>&1 || : systemctl daemon-reload >/dev/null 2>&1 || : %endif %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %attr(0755, root, warewulf) %dir /etc/warewulf/ %config(noreplace) /etc/warewulf/* /usr/bin/wwctl /usr/lib/firewalld/services/warewulf.xml /usr/lib/systemd/system/warewulfd.service /var/warewulf %changelog * Tue Jan 26 2021 14:46:24 JST Brian Clemens - 4.0.0 - Initial release