Group :: Development/Other
RPM: esbuild
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%global import_path github.com/evanw/esbuild
%global _unpackaged_files_terminate_build 1
Name: esbuild
Version: 0.14.54
Release: alt1
Summary: An extremely fast JavaScript and CSS bundler and minifier
Group: Development/Other
License: MIT
Url: https://esbuild.github.io
Source: %name-%version.tar
Patch: %name-%version.patch
ExclusiveArch: %go_arches
BuildRequires(pre): rpm-build-golang
BuildRequires: node
%description
%summary.
%prep
%setup
%patch -p1
%build
export BUILDDIR="$PWD/.gopath"
export IMPORT_PATH="%import_path"
export GOPATH="$BUILDDIR:%go_path"
export GOFLAGS="-mod=vendor"
#%%golang_prepare
#pushd $BUILDDIR/src/%%import_path
#go install ./...
%make_build esbuild
#popd
%install
install -D -m 755 %name %buildroot%_bindir/%name
%files
%doc README.md
%_bindir/%name
%changelog
…
Full changelog you can see here
%global _unpackaged_files_terminate_build 1
Name: esbuild
Version: 0.14.54
Release: alt1
Summary: An extremely fast JavaScript and CSS bundler and minifier
Group: Development/Other
License: MIT
Url: https://esbuild.github.io
Source: %name-%version.tar
Patch: %name-%version.patch
ExclusiveArch: %go_arches
BuildRequires(pre): rpm-build-golang
BuildRequires: node
%description
%summary.
%prep
%setup
%patch -p1
%build
export BUILDDIR="$PWD/.gopath"
export IMPORT_PATH="%import_path"
export GOPATH="$BUILDDIR:%go_path"
export GOFLAGS="-mod=vendor"
#%%golang_prepare
#pushd $BUILDDIR/src/%%import_path
#go install ./...
%make_build esbuild
#popd
%install
install -D -m 755 %name %buildroot%_bindir/%name
%files
%doc README.md
%_bindir/%name
%changelog
…
Full changelog you can see here