From f88446cb301eaebdb9931230c2292316206bd22b Mon Sep 17 00:00:00 2001 From: Kevin Fox Date: Sun, 26 Jan 2025 12:40:45 -0800 Subject: [PATCH] Add missing file Signed-off-by: Kevin Fox --- examples/rpms/spiffe-helper.spec | 54 ++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 examples/rpms/spiffe-helper.spec diff --git a/examples/rpms/spiffe-helper.spec b/examples/rpms/spiffe-helper.spec new file mode 100644 index 0000000..3b1ed46 --- /dev/null +++ b/examples/rpms/spiffe-helper.spec @@ -0,0 +1,54 @@ +############################################################################## +# +# To you, dear reader: +# +# If you are a normal user, we recommend not reading further. Its probably not +# the file your looking for. +# +# If you are looking at using this file as a base for your own work, please +# don't. It is a horrible example. Please look elsewhere. +# +# If you are a package maintainer, please read on. We recognize this spec file +# is blasphemous, a terrible abomination, a crime against nature, and more. We +# regret needing to produce it, but had to in order to attract enough users to +# find you. We beseech thee, kind and generous package maintainer, please help +# us mend our wicked ways by joining us and help us produce proper packaging. +# You are our only hope. +# +############################################################################## + +%define ARCH %(echo %{_arch} | sed s/aarch64/arm64/) + +Summary: SPIFFE Helper +Name: spiffe-helper +Version: 0.9.0 +Release: 1 +Group: Applications/Internet +License: Apache-2.0 +URL: https://spiffe.io +#FIXME grab binaries once they are available +Source0: https://github.com/spiffe/spiffe-helper/archive/refs/tags/v%{version}.tar.gz + +%description +SPIFFE Helper + +%global _missing_build_ids_terminate_build 0 +%global debug_package %{nil} + +%prep + +%setup -c + +%build +cd spiffe-helper-%{version} +make + +%install +mkdir -p %{buildroot}/usr/bin +cp spiffe-helper-%{version}/spiffe-helper %{buildroot}/usr/bin + +%clean +rm -rf %{buildroot} + +%files +/usr/bin/spiffe-helper