# Generated by go2rpm %bcond_without check # https://github.com/gopherjs/gopherjs %global goipath github.com/gopherjs/gopherjs %global commit 3e4dfb77656c424b6d1196a4d5fed0fcf63677cc %gometa %global common_description %{expand: GopherJS compiles Go code (golang.org) to pure JavaScript code. Its main purpose is to give you the opportunity to write front-end code in Go which will still run in all browsers.} %global golicenses LICENSE %global godocs doc README.md Name: %{goname} Version: 0 Release: 0.7%{?dist} Summary: Compiler from Go to JavaScript for running Go code in a browser # Upstream license specification: BSD-2-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/fsnotify/fsnotify) BuildRequires: golang(github.com/kisielk/gotool) BuildRequires: golang(github.com/neelance/astrewrite) BuildRequires: golang(github.com/neelance/sourcemap) BuildRequires: golang(github.com/shurcooL/httpfs/vfsutil) BuildRequires: golang(github.com/spf13/cobra) BuildRequires: golang(github.com/spf13/pflag) BuildRequires: golang(golang.org/x/crypto/ssh/terminal) BuildRequires: golang(golang.org/x/sys/unix) BuildRequires: golang(golang.org/x/tools/go/buildutil) BuildRequires: golang(golang.org/x/tools/go/gcexportdata) BuildRequires: golang(golang.org/x/tools/go/types/typeutil) %description %{common_description} %gopkg %prep %goprep # Remove extra dependencies rm tests/misc_test.go build/build_test.go %build %gobuild -o %{gobuilddir}/bin/gopherjs %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck -d build -d tests %endif %files %license LICENSE %doc doc README.md %{_bindir}/* %gopkgfiles %changelog * Mon May 27 20:32:37 CEST 2019 Robert-André Mauchin - 0-0.7.20190527git3e4dfb7 - Bump to commit 3e4dfb77656c424b6d1196a4d5fed0fcf63677cc * Fri Feb 01 2019 Fedora Release Engineering - 0-0.6.git1babbf9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Oct 05 2018 Robert-André Mauchin - 0-0.5.20181005git1babbf9 - Bump to commit 1babbf986f6fcb1156d0646cdba5c4f81bc32849 * Fri Jul 13 2018 Fedora Release Engineering - 0-0.4.git8dffc02 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Robert-André Mauchin - 0-0.3.20180628git8dffc02 - Bump to commit 8dffc02ea1cb8398bb73f30424697c60fcf8d4c5 * Mon Apr 23 2018 Robert-André Mauchin - 0-0.2.20180418gite14987c - Unbootstrap * Sat Mar 24 2018 Robert-André Mauchin - 0-0.1.20180418gite14987c - First package for Fedora