mirror of
https://abf.rosa.ru/djam/daytona.git
synced 2025-02-23 19:02:58 +00:00
Imported from SRPM
This commit is contained in:
commit
211a40cd61
2 changed files with 39 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
daytona-0.31.0.tar.gz: a637e95a3d623b00378026e14f326b5ed8afd74d
|
37
daytona.spec
Normal file
37
daytona.spec
Normal 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}
|
||||
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue