diff --git a/nmap.spec b/nmap.spec index c8c433f..710c7e2 100644 --- a/nmap.spec +++ b/nmap.spec @@ -2,7 +2,7 @@ %define with_zenmap 1 Name: nmap -Version: 7.80 +Version: 7.90 Release: 1mamba Epoch: 1 Summary: Network exploration tool and security scanner @@ -67,6 +67,8 @@ Nmap is a utility for network exploration or security auditing. This package contains zenmap, a PyGTK frontend for Nmap. %endif +%debug_package + %prep %setup -q %patch0 -p1 @@ -92,6 +94,8 @@ cd .. [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall +%find_lang nmap --with-man + %if %with_zenmap sed -i "s,%{buildroot},,g" %{buildroot}%{_bindir}/zenmap sed -i "s,%{buildroot},,g" %{buildroot}%{_bindir}/uninstall_zenmap @@ -113,37 +117,21 @@ rm -f %{buildroot}%{_datadir}/applications/zenmap-root.desktop %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} -%files +%files -f %{name}.lang %defattr(-,root,root) %{_bindir}/ncat %{_bindir}/ndiff %{_bindir}/nmap -%{_bindir}/nmap-update %{_bindir}/nping %{_bindir}/uninstall_ndiff %{_datadir}/ncat/ %{_datadir}/nmap/ -#%{_libexecdir}/nmap/nselib-bin %{_mandir}/man1/ncat.* %{_mandir}/man1/ndiff.* %{_mandir}/man1/nmap.* -%{_mandir}/man1/nmap-update.1.gz %{_mandir}/man1/nping.* -%lang(de) %{_mandir}/de/man1/nmap.1* -%lang(es) %{_mandir}/es/man1/nmap.1* -%lang(fr) %{_mandir}/fr/man1/nmap.1* -%lang(hr) %{_mandir}/hr/man1/nmap.1* -%lang(hu) %{_mandir}/hu/man1/nmap.1* -%lang(it) %{_mandir}/it/man1/nmap.1* -%lang(ja) %{_mandir}/ja/man1/nmap.1* -%lang(pl) %{_mandir}/pl/man1/nmap.1* -%lang(pt_BR) %{_mandir}/pt_BR/man1/nmap.1* -%lang(pt_PT) %{_mandir}/pt_PT/man1/nmap.1* -%lang(ro) %{_mandir}/ro/man1/nmap.1* -%lang(ru) %{_mandir}/ru/man1/nmap.1* -%lang(sk) %{_mandir}/sk/man1/nmap.1* -%lang(zh) %{_mandir}/zh/man1/nmap.1* -%doc CHANGELOG COPYING HACKING docs/README docs/*.txt +%doc LICENSE +#%doc CHANGELOG HACKING docs/README docs/*.txt %if %with_zenmap %files -n zenmap -f zenmap.lang @@ -176,6 +164,9 @@ rm -f %{buildroot}%{_datadir}/applications/zenmap-root.desktop %endif %changelog +* Fri Oct 09 2020 Automatic Build System 7.90-1mamba +- automatic version update by autodist + * Sat Aug 10 2019 Automatic Build System 7.80-1mamba - automatic version update by autodist @@ -350,7 +341,7 @@ rm -f %{buildroot}%{_datadir}/applications/zenmap-root.desktop * Wed Jul 07 2004 Davide Madrisan 3.55-1qilnx - update to 3.55 -* Fri Jan 22 2004 Davide Madrisan 3.50-1qilnx +* Thu Jan 22 2004 Davide Madrisan 3.50-1qilnx - specfile and package updated - added documentation files @@ -360,7 +351,7 @@ rm -f %{buildroot}%{_datadir}/applications/zenmap-root.desktop * Tue Sep 23 2003 Davide Madrisan 3.45-1qilnx - rebuild with version 3.45 -* Fri Jul 03 2003 Silvan Calarco 3.30-1qilnx +* Thu Jul 03 2003 Silvan Calarco 3.30-1qilnx - build with new version * Fri Jun 20 2003 Silvan Calarco 3.27-3qilnx