1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
%global import_path github.com/mattn/go-colorable Name: golang-github-mattn-go-colorable Version: 0.0.7 Release: alt1 Summary: Colorable writer for windows. License: MIT Group: Development/Other Url: https://godoc.org/%import_path Source: %name-%version.tar Packager: Denis Pynkin <dans@altlinux.ru> ExclusiveArch: %go_arches BuildRequires(pre): rpm-build-golang BuildArch: noarch BuildRequires: golang-tools %description This package is possible to handle escape sequence for ansi color on windows. %package devel Summary: Colorable writer for windows. Group: Development/Other Requires: golang Provides: golang(%import_path) = %version-%release %description devel This package is possible to handle escape sequence for ansi color on windows. %prep %setup -q %build export BUILDDIR="$PWD/.build" export IMPORT_PATH="%import_path" %golang_prepare %install export BUILDDIR="$PWD/.build" export GOPATH="%go_path" %golang_install rm -rf -- %buildroot/%go_path/src/%import_path/_example %files devel %doc README.md LICENSE %go_path/src/* %changelog * Mon Mar 13 2017 Denis Pynkin <dans@altlinux.org> 0.0.7-alt1 - Update * Sun Oct 23 2016 Denis Pynkin <dans@altlinux.org> 0.0.6-alt2.git6c903ff4 - Update * Tue Aug 23 2016 Denis Pynkin <dans@altlinux.org> 0.0.6-alt1 - Version update * Thu Mar 10 2016 Denis Pynkin <dans@altlinux.org> 0-alt2.git9cbef7c3 - Update * Tue Feb 16 2016 Denis Pynkin <dans@altlinux.ru> 0-alt1.git9fdad7c4 - Initial package