Imported from SRPM

This commit is contained in:
Sergey Zhemoytel 2025-02-14 23:34:31 +03:00
commit 8f84ffbad3
2 changed files with 42 additions and 0 deletions

2
.abf.yml Normal file
View file

@ -0,0 +1,2 @@
sources:
openclarity-1.1.3.tar.gz: 4cc8b68a6fa7d79d77bbe59be33b4548487742f6

40
openclarity.spec Normal file
View file

@ -0,0 +1,40 @@
%define debug %nil
%define debug_package %nil
Name: openclarity
Version: 1.1.3
Release: 1
Summary: A tool built to enhance security and observability of cloud native applications
URL: https://openclarity.io
Source0: https://github.com/openclarity/openclarity/archive/v%{version}/%{name}-%{version}.tar.gz
License: ASL 2.0
Group: Security
Provides: %{name}-cli == %{EVRD}
BuildRequires: go
BuildRequires: git-core
BuildRequires: nodejs14
BuildRequires: pkgconfig(gpgme)
%description
OpenClarity is an open source tool for agentless detection
and management of Virtual Machine Software Bill Of Materials
(SBOM) and security threats such as vulnerabilities, exploits,
malware, rootkits, misconfigurations and leaked secrets.
%prep
%setup -q
%build
export GOPROXY=https://proxy.golang.org,direct
export PATH=$PATH:/opt/nodejs14/bin
#go build --ldflags="-s -w" -o bin/%{name}-cli ./cli
%make build-all-go
%install
install -Dm0755 bin/%{name}-cli %{buildroot}%{_bindir}/%{name}-cli
%files
%doc README.md LICENSE docs ARCHITECTURE.md
%{_bindir}/%{name}-cli