File nuclei.spec of Package nuclei
#
# spec file for package nuclei
#
# Copyright (c) 2026, Martin Hauke <mardnh@gmx.de>
#
# 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: nuclei
Version: 3.7.1
Release: 0
Summary: A fast, customizable vulnerability scanner
License: MIT
URL: https://docs.projectdiscovery.io/opensource/nuclei/overview
Source: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: go
BuildRequires: golang-packaging
%{go_provides}
%description
Nuclei is a modern, high-performance vulnerability scanner that
leverages simple YAML-based templates. It empowers you to design
custom vulnerability detection scenarios that mimic
real-world conditions, leading to zero false positives.
* Simple YAML format for creating and customizing vulnerability
templates.
* Contributed by thousands of security professionals to tackle
trending vulnerabilities.
* Reduce false positives by simulating real-world steps to
verify a vulnerability.
* Ultra-fast parallel scan processing and request clustering.
* Integrate into CI/CD pipelines for vulnerability detection
and regression testing.
* Supports multiple protocols like TCP, DNS, HTTP, SSL, WHOIS,
JavaScript, Code and more.
* Integrate with Jira, Splunk, GitHub, Elastic, GitLab.
%prep
%autosetup -a 1
%build
go build \
-mod=vendor \
-buildmode=pie \
-o nuclei_bin ./cmd/nuclei/main.go
%install
install -Dm 0755 nuclei_bin %{buildroot}%{_bindir}/nuclei
%files
%license LICENSE.md
%doc README.md SYNTAX-REFERENCE.md
%{_bindir}/nuclei
%changelog