mirror of
https://abf.rosa.ru/djam/gop.git
synced 2025-02-23 08:32:54 +00:00
Imported from SRPM
This commit is contained in:
commit
b7c0393130
2 changed files with 36 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
sources:
|
||||||
|
gop-1.0.5.tar.gz: b1f469532a22df33d26038f097b3a2f1f2eeb3b1
|
34
gop.spec
Normal file
34
gop.spec
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
%define debug %nil
|
||||||
|
%define debug_package %nil
|
||||||
|
|
||||||
|
Name: gop
|
||||||
|
Version: 1.0.5
|
||||||
|
Release: 1
|
||||||
|
Summary: GoPlus
|
||||||
|
URL: https://goplus.org
|
||||||
|
Source0: https://github.com/goplus/gop/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
License: ASL 2.0
|
||||||
|
Group: Development/Other
|
||||||
|
BuildRequires: go
|
||||||
|
BuildRequires: git-core
|
||||||
|
BuildRequires: upx
|
||||||
|
|
||||||
|
%description
|
||||||
|
GoPlus - The Go+ language for engineering, STEM education,
|
||||||
|
and data science
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
pushd cmd/gop
|
||||||
|
go build
|
||||||
|
upx %{name}
|
||||||
|
popd
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -Dm0755 cmd/gop/%{name} %{buildroot}%{_bindir}/%{name}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md LICENSE
|
||||||
|
%{_bindir}/%{name}
|
Loading…
Add table
Reference in a new issue