Imported from SRPM

This commit is contained in:
Sergey Zhemoytel 2024-09-14 14:33:23 +03:00
commit 211a40cd61
2 changed files with 39 additions and 0 deletions

2
.abf.yml Normal file
View file

@ -0,0 +1,2 @@
sources:
daytona-0.31.0.tar.gz: a637e95a3d623b00378026e14f326b5ed8afd74d

37
daytona.spec Normal file
View file

@ -0,0 +1,37 @@
%define debug %nil
%define debug_package %nil
Name: daytona
Version: 0.31.0
Release: 1
Summary: Dev Environment Manager
URL: https://daytona.io
Source0: https://github.com/daytonaio/daytona/archive/v%{version}/%{name}-%{version}.tar.gz
License: ASL 2.0
Group: Development/Other
BuildRequires: go
BuildRequires: git-core
BuildRequires: upx
%description
Set up a development environment on any infrastructure, with
a single command.
%prep
%setup -q
%build
export GOPROXY=direct
go build -ldflags "-s -w" -o bin/%{name} ./cmd/%{name}
upx bin/%{name}
%install
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
%files
%doc README.md LICENSE
%{_bindir}/%{name}