mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-01 01:21:57 +00:00
4643523b9e
* chore(sync): frawhide -> f44 * bump(gurk): release 3 → 4 * bump(discord-ptb): release 1 → 2 * bump(chdig): release 1 → 2 * bump(discord-canary): release 1 → 2 * bump(feishin): release 1 → 2 * bump(bazzite-portal): release 3 → 4 * bump(discord): release 1 → 2 * bump(coolercontrol): release 1 → 2 * bump(discord-ptb-openasar): release 1 → 2 * bump(bitwarden-cli.bin): release 2 → 3 * bump(discord-openasar): release 1 → 2 * bump(discord-canary-openasar): release 1 → 2 --------- Co-authored-by: hamachitan[bot] <252235638+hamachitan[bot]@users.noreply.github.com>
34 lines
734 B
RPMSpec
34 lines
734 B
RPMSpec
%define debug_package %nil
|
|
Name: sops
|
|
Version: 3.12.1
|
|
Release: 1%?dist
|
|
Summary: Simple and flexible tool for managing secrets
|
|
License: MPL-2.0
|
|
URL: https://github.com/getsops/sops
|
|
Source0: %url/archive/refs/tags/v%version.tar.gz
|
|
BuildRequires: go git
|
|
|
|
%description
|
|
An editor of encrypted files that supports YAML, JSON, ENV, INI and BINARY
|
|
formats and encrypts with AWS KMS, GCP KMS, Azure Key Vault, age, and PGP.
|
|
|
|
%prep
|
|
%autosetup
|
|
go mod download -x
|
|
|
|
%build
|
|
mkdir -p build/bin
|
|
go build -ldflags "-s -w" -v -x -buildmode=pie -o build/bin/sops ./cmd/sops
|
|
|
|
%install
|
|
mkdir -p %buildroot%_bindir
|
|
install -pm755 build/bin/sops %buildroot%_bindir/
|
|
|
|
%files
|
|
%doc README.rst
|
|
%license LICENSE
|
|
%_bindir/sops
|
|
|
|
%changelog
|
|
%autochangelog
|