mirror of
https://abf.rosa.ru/djam/lima.git
synced 2025-02-24 15:22:49 +00:00
Imported from SRPM
This commit is contained in:
commit
99e9e789a6
2 changed files with 49 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
sources:
|
||||||
|
lima-0.18.0.tar.gz: bcb07b13715d1f49964028032df47443ba848799
|
47
lima.spec
Normal file
47
lima.spec
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
%define debug %nil
|
||||||
|
%define debug_package %nil
|
||||||
|
|
||||||
|
Name: lima
|
||||||
|
Version: 0.18.0
|
||||||
|
Release: 1
|
||||||
|
Summary: Linux virtual machines
|
||||||
|
URL: https://lima-vm.io
|
||||||
|
Source0: https://github.com/lima-vm/lima/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
License: ASL 2.0
|
||||||
|
Group: Development/Other
|
||||||
|
BuildRequires: go
|
||||||
|
BuildRequires: git-core
|
||||||
|
BuildRequires: upx
|
||||||
|
Provides: %{name}ctl
|
||||||
|
|
||||||
|
%description
|
||||||
|
Lima launches Linux virtual machines with automatic file
|
||||||
|
sharing and port forwarding (similar to WSL2).
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
# fix version
|
||||||
|
sed -i '/^VERSION=/s/=.*/=%{version}/' Makefile
|
||||||
|
|
||||||
|
%build
|
||||||
|
export GOPROXY=direct
|
||||||
|
%make
|
||||||
|
|
||||||
|
upx _output/bin/%{name}ctl
|
||||||
|
|
||||||
|
%install
|
||||||
|
%makeinstall PREFIX=%{_prefix} DEST=%{buildroot}%{_prefix}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md LICENSE
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%{_bindir}/apptainer.lima
|
||||||
|
%{_bindir}/docker.lima
|
||||||
|
%{_bindir}/kubectl.lima
|
||||||
|
%{_bindir}/limactl
|
||||||
|
%{_bindir}/nerdctl.lima
|
||||||
|
%{_bindir}/podman.lima
|
||||||
|
%{_datadir}/%{name}/*
|
||||||
|
%{_mandir}/man1/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue