mirror of
https://abf.rosa.ru/djam/daytona.git
synced 2025-02-24 03:13:01 +00:00
37 lines
679 B
RPMSpec
37 lines
679 B
RPMSpec
%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}
|
|
|
|
|
|
|