Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kerossin
esbuild
esbuild.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File esbuild.spec of Package esbuild
# # spec file for package esbuild # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # #macros for Fedora %global goipath github.com/evanw/esbuild %global tag v%{version} %global extractdir0 esbuild-%{version} Name: esbuild Version: 0.20.2 Release: 0 Summary: A JavaScript bundler written for speed License: MIT Group: Development/Languages/Other URL: https://esbuild.github.io Source0: https://github.com/evanw/esbuild/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: vendor.tar.xz Patch0: remove-version-check.patch BuildRequires: util-linux %if 0%{?fedora} BuildRequires: go-rpm-macros BuildRequires: golang %else BuildRequires: golang-packaging BuildRequires: golang(API) %endif %description esbuild is a JavaScript bundler and minifier. %{gopkg} %prep %autosetup -a1 -p1 %build export CFLAGS="%{optflags}" export CXXFLAGS="%{optflags}" %if 0%{?fedora} %goprep -k -e %gobuild ./cmd/esbuild %else %{goprep} . go build -v -p 4 -x -buildmode=pie -mod vendor ./cmd/esbuild %endif %install install -pvDm755 %{name} "%{buildroot}/%{_bindir}/%{name}" %files %license LICENSE.md %doc CHANGELOG.md README.md %{_bindir}/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor