-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
- Loading branch information
Showing
1 changed file
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |