Group :: Other
RPM: go-task
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%global import_path github.com/go-task/task
Name: go-task
Version: 3.19.1
Release: alt1
Summary: A task runner / simpler Make alternative written in Go
License: MIT
Group: Other
Url: https://github.com/go-task/task
Packager: Mikhail Gordeev <obirvalger at altlinux.org>
Source0: %name-%version.tar
Source1: vendor.tar
BuildRequires(pre): rpm-build-golang
BuildRequires: golang
%description
Task is a task runner / build tool that aims to be simpler and easier to use
than, for example, GNU Make.
%prep
%setup -a1
%build
export BUILDDIR="$PWD/.build"
export IMPORT_PATH="%import_path"
export GOPATH="$BUILDDIR:%go_path"
%golang_prepare
cd .build/src/%import_path
%golang_build cmd/task
%install
export BUILDDIR="$PWD/.build"
export IGNORE_SOURCES=1
%golang_install
install -Dm 644 completion/zsh/_task %buildroot/%_datadir/zsh/site-functions/_task
%files
%_bindir/task
%doc *.md
%doc docs
%_datadir/zsh/site-functions/_task
%changelog
…
Full changelog you can see here
Name: go-task
Version: 3.19.1
Release: alt1
Summary: A task runner / simpler Make alternative written in Go
License: MIT
Group: Other
Url: https://github.com/go-task/task
Packager: Mikhail Gordeev <obirvalger at altlinux.org>
Source0: %name-%version.tar
Source1: vendor.tar
BuildRequires(pre): rpm-build-golang
BuildRequires: golang
%description
Task is a task runner / build tool that aims to be simpler and easier to use
than, for example, GNU Make.
%prep
%setup -a1
%build
export BUILDDIR="$PWD/.build"
export IMPORT_PATH="%import_path"
export GOPATH="$BUILDDIR:%go_path"
%golang_prepare
cd .build/src/%import_path
%golang_build cmd/task
%install
export BUILDDIR="$PWD/.build"
export IGNORE_SOURCES=1
%golang_install
install -Dm 644 completion/zsh/_task %buildroot/%_datadir/zsh/site-functions/_task
%files
%_bindir/task
%doc *.md
%doc docs
%_datadir/zsh/site-functions/_task
%changelog
…
Full changelog you can see here