-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3742 from afbjorklund/rpm
Add make target for building a rpm file
- Loading branch information
Showing
4 changed files
with
43 additions
and
1 deletion.
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
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
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
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,29 @@ | ||
Name: minikube | ||
Version: --VERSION-- | ||
Release: 0 | ||
Summary: Run Kubernetes locally | ||
License: ASL 2.0 | ||
Group: Development/Tools | ||
URL: https://github.com/kubernetes/minikube | ||
|
||
# Needed for older versions of RPM | ||
BuildRoot: %{_tmppath}%{name}-buildroot | ||
|
||
%description | ||
Minikube is a tool that makes it easy to run Kubernetes locally. | ||
Minikube runs a single-node Kubernetes cluster inside a VM on your | ||
laptop for users looking to try out Kubernetes or develop with it | ||
day-to-day. | ||
|
||
%prep | ||
mkdir -p %{name}-%{version} | ||
cd %{name}-%{version} | ||
cp --OUT--/minikube-linux-amd64 . | ||
|
||
%install | ||
cd %{name}-%{version} | ||
mkdir -p %{buildroot}%{_bindir} | ||
install -m 755 minikube-linux-amd64 %{buildroot}%{_bindir}/%{name} | ||
|
||
%files | ||
%{_bindir}/%{name} |