Package go-task: Specfile
%global import_path github.com/go-task/task Name: go-task Version: 2.4.0 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@altlinux.org> Source: %name-%version.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 %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 * Sat Mar 16 2019 Mikhail Gordeev <obirvalger@altlinux.org> 2.4.0-alt1 - Initial build for Sisyphus |