Name: dhcpdump Version: 1.8 Release: 1%{?dist} Summary: Parse DHCP packets License: BSD URL: http://www.mavetju.org/unix/general.php Source0: http://www.mavetju.org/download/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: libpcap-devel BuildRequires: make BuildRequires: perl-podlators %description A utility to analyze sniffed DHCP packets. %prep %autosetup %build %make_build %install mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8 install -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}/%{name} install -m 644 %{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}.8 %files %license LICENSE %doc CHANGES CONTACT FILES %{_bindir}/%{name} %{_mandir}/man8/%{name}.8* %changelog * Wed Jul 13 2022 Jonathan Wright - 1.8-1 - Initial version of the package