# -*- coding: ascii; tab-width: 4 -*-
Info2: <<
Package: zenmap
Version: 7.93
Revision: 1
Maintainer: Daniel Johnson <daniel@daniel-johnson.org>
Type: python 2.7
Description: Offical Nmap GUI
DescDetail: <<
	Zenmap is the official Nmap Security Scanner GUI. It is a
	multi-platform (Linux, Windows, Mac OS X, BSD, etc.) free and open
	source application which aims to make Nmap easy for beginners to use
	while providing advanced features for experienced Nmap users.
	Frequently used scans can be saved as profiles to make them easy to run
	repeatedly. A command creator allows interactive creation of Nmap
	command lines. Scan results can be saved and viewed later. Saved scan
	results can be compared with one another to see how they differ. The
	results of recent scans are stored in a searchable database.
<<
DescUsage: <<
	zenmap should be run as root or with sudo for full functionallity.
	With some versions of glib2, zenmap crashes with an error about being
	unable to recognize the image type of some files. Running 'sudo -s' first,
	then running zenmap should fix this.
<<
License: GPL2
Homepage: http://nmap.org/zenmap

Depends: <<
	desktop-file-utils,
	nmap (>= %v),
	python%type_pkg[python],
	pygtk2-gtk-py%type_pkg[python]
<<
Conflicts: nmap (<< 4.76-2), umit
Replaces: nmap (<< 4.76-2), umit

Source: https://nmap.org/dist/nmap-%v.tar.bz2
Source-Checksum: SHA256(55bcfe4793e25acc96ba4274d8c4228db550b8e8efd72004b38ec55a2dd16651)

CompileScript: <<
	cd zenmap && %p/bin/python%type_raw[python] setup.py build
<<

InstallScript: <<
	cd zenmap && %p/bin/python%type_raw[python] setup.py install --prefix=%p --root=%d
	install -d %i/share/man/man1
	install -c -m 644 docs/zenmap.1 %i/share/man/man1
	/bin/ln -sf zenmap %i/bin/nmapfe
	/bin/ln -sf zenmap %i/bin/xnmap
	/bin/rm %i/bin/uninstall_zenmap
<<
DocFiles: CHANGELOG HACKING LICENSE docs/README
ConfFiles: %p/share/zenmap/config/zenmap.conf

PostInstScript: <<
	. %p/bin/init.sh
	[ -x %p/bin/update-desktop-database ] && update-desktop-database -q %p/share/applications || :
<<

PostRmScript: <<
	. %p/bin/init.sh
	[ -x %p/bin/update-desktop-database ] && update-desktop-database -q %p/share/applications || :
<<
<<