Sisyphus repository
Last update: 17 october 2019 | SRPMs: 17500 | Visits: 15283943
en ru br
ALT Linux repos
S:1.1.0-alt1

Group :: Other
RPM: ccat

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%global import_path github.com/jingweno/ccat
Name:     ccat
Version:  1.1.0
Release:  alt1

Summary:  Colorizing cat
License:  MIT
Group:    Other
Url:      https://github.com/jingweno/ccat

Packager: Mikhail Gordeev <obirvalger at altlinux.org>

Source:   %name-%version.tar

BuildRequires(pre): rpm-build-golang
BuildRequires: golang

%description
It works similar to cat but displays content with syntax highlighting.

%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 .

%install
export BUILDDIR="$PWD/.build"
export IGNORE_SOURCES=1

%golang_install

%files
%_bindir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin