File amap.spec of Package amap

# spec file for package amap
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

%define jobs $(( `/usr/bin/getconf _NPROCESSORS_ONLN` + 1 ))

Name:           amap
Version:        5.4
Release:        1.0
License:        GPL-2.0
Group:          Productivity/Networking/Security
Source:         %{name}-%{version}.tar.gz
Patch:		    amap-Path_corrections-5.2.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:	libopenssl-devel pcre-devel
Summary:        Networt protocol probing tool

Amap was innovative - the first tool to perform application protocol detection.
Then a better approach was implemented into nmap, this and the large user
base of nmap made amap pretty much obsolete.

%setup -q

%__make %{?jobs:-j%jobs}

%__rm %{buildroot}%{_bindir}/amap6
%__ln_s %{_bindir}/amap %{buildroot}%{_bindir}/amap6


openSUSE Build Service is sponsored by