File amass.spec of Package amass
#
# spec file for package amass
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 Eyad Issa
#
# 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 https://bugs.opensuse.org/
#
Name: amass
Version: 4.2.0
Release: 0
Summary: In-depth attack surface mapping and asset discovery
License: Apache-2.0
URL: https://owasp.org/www-project-amass/
Source0: https://github.com/owasp-amass/amass/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: go >= 1.19
BuildRequires: golang-packaging
%description
The OWASP Amass Project performs network mapping of attack surfaces
and external asset discovery using open source information gathering
and active reconnaissance techniques.
%prep
%autosetup -p1 -a1
%build
go build -v \
-o %{name} \
-mod=vendor \
-buildmode=pie \
./cmd/amass
%install
install -D -m0755 %{name} %{buildroot}%{_bindir}/%{name}
%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%changelog