Name: enum4linux Version: 0.9.1 Release: 1%{?dist} Summary: A tool for enumerating information from Windows and Samba systems License: GPL URL: https://github.com/CiscoCXSecurity/enum4linux Source0: https://github.com/CiscoCXSecurity/enum4linux/archive/refs/tags/v%{version}.tar.gz BuildArch: noarch Requires: perl, samba-client, polenum, openldap-clients %description enum4linux is a tool for gathering information from Windows and Samba systems. %prep %autosetup # Fix polenum call in the Perl script sed -i 's|polenum.py|polenum|' enum4linux.pl %build # Nothing to build %install install -Dm755 enum4linux.pl %{buildroot}%{_bindir}/enum4linux install -Dm644 share-list.txt %{buildroot}%{_datadir}/enum4linux/share-list.txt %files %license COPYING.GPL %doc README.md %{_bindir}/enum4linux %{_datadir}/enum4linux/share-list.txt %changelog * Sat May 25 2025 Your Name - 0.9.1-1 - Initial RPM release