mirror of
https://abf.rosa.ru/djam/esbuild.git
synced 2025-02-23 22:32:53 +00:00
Imported from SRPM
This commit is contained in:
commit
0058697cb7
2 changed files with 34 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
esbuild-0.18.5.tar.gz: 05c6073d65923d1147f6b8407ce06d8cbba19473
|
32
esbuild.spec
Normal file
32
esbuild.spec
Normal file
|
@ -0,0 +1,32 @@
|
|||
%define debug %nil
|
||||
%define debug_package %nil
|
||||
|
||||
Name: esbuild
|
||||
Version: 0.18.5
|
||||
Release: 1
|
||||
Summary: An extremely fast bundler for the web
|
||||
URL: https://esbuild.github.io
|
||||
Source0: https://github.com/evanw/esbuild/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
License: MIT
|
||||
Group: Development/Other
|
||||
BuildRequires: go
|
||||
BuildRequires: git-core
|
||||
BuildRequires: upx
|
||||
|
||||
%description
|
||||
An extremely fast bundler for the web
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
CGO_ENABLED=0 go build -ldflags="-s -w" -o bin/%{name} ./cmd/esbuild
|
||||
upx bin/%{name}
|
||||
|
||||
%install
|
||||
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
||||
|
||||
%files
|
||||
%doc README.md LICENSE.md docs
|
||||
%{_bindir}/%{name}
|
||||
|
Loading…
Add table
Reference in a new issue