⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 zenmap-4.53-1.spec

📁 Ubuntu packages of security software。 相当不错的源码
💻 SPEC
字号:
# By default, Zenmap will be built using whatever version of Python is# the default on your system. To change this, use something like#     --define "__python /usr/bin/python2.5"%define name zenmap%define version 4.53%define release 1%define _prefix /usr# Find where Python modules are installed. See# http://fedoraproject.org/wiki/Packaging/Python.%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}Summary: Multi-platform graphical Nmap frontend and results viewerName: %{name}Version: %{version}Release: %{release}Epoch: 2License: http://www.insecure.org/nmap/man/man-legal.htmlGroup: Applications/SystemSource0: http://www.insecure.org/nmap/dist/nmap-%{version}.tgzURL: http://www.insecure.org/nmap/BuildArch: noarch# Disable automatic dependency calculation because we want to provide# packages for more than one version of Python. Without this, RPM will# grep through the installed files and automatically add things like#   Requires: python(abi) = 2.4# setup.py takes care of adjusting sys.path to point to wherever the# modules were installed so it's not dependent on any particular ABI.AutoReqProv: noRequires: python >= 2.4, nmap, pygtk2, python-sqlite2Prefix: %{_prefix}BuildRoot: %{_tmppath}/%{name}-root%descriptionZenmap is an Nmap frontend. It is meant to be useful for advanced usersand to make Nmap easy to use by beginners. It was originally derivedfrom Umit, an Nmap GUI created as part of the Google Summer of Code.%prep%setup -q -n nmap-%{version}%build%configure --without-openssl --with-zenmap PYTHON="%{__python}"make build-zenmap DESTDIR=$RPM_BUILD_ROOT%install[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOTmake install-zenmap DESTDIR=$RPM_BUILD_ROOT# Don't package the uninstaller with the RPM.rm -f $RPM_BUILD_ROOT%{_bindir}/uninstall_zenmapmkdir -p $RPM_BUILD_ROOT%{_mandir}/man1cp docs/zenmap.1 $RPM_BUILD_ROOT%{_mandir}/man1/gzip $RPM_BUILD_ROOT%{_mandir}/man1/* || :%clean[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT%files%defattr(-,root,root)%doc %{_mandir}/man1/zenmap.1.gz%{_bindir}/zenmap%{_bindir}/nmapfe%{_bindir}/xnmap# This gets the modules and the .egg-info file if it was installed.%{python_sitelib}/*%{_datadir}/icons/*%{_datadir}/pixmaps/*%{_datadir}/zenmap%changelog* Mon Nov 27 2007 David Fifield (david(a)bamsoftware.com)- Install the zenmap.1 man page.* Thu Nov 22 2007 David Fifield (david(a)bamsoftware.com)- Use an explicit --with-zenmap.* Fri Nov 16 2007 David Fifield (david(a)bamsoftware.com)- Add AutoReqProv: no. This keeps dependencies from being calculated  automatically. This is because we don't want RPM to say the package  depends on python(abi) = 2.4, say, when it doesn't really.* Thu Nov 08 2007 David Fifield (david(a)bamsoftware.com)- Split the zenmap subpackage into its own spec file.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -