Group :: Shells
RPM: powerline-go
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%global _unpackaged_files_terminate_build 1
%global import_path github.com/justjanne/powerline-go
Name: powerline-go
Version: 1.22.1
Release: alt1
Summary: A beautiful and useful low-latency prompt for your shell, written in go
License: GPLv3
Group: Shells
Url: https://github.com/justjanne/powerline-go
Source: %name-%version.tar
Patch: %name-%version.patch
ExclusiveArch: %go_arches
BuildRequires(pre): rpm-build-golang
%description
A Powerline like prompt for Bash, ZSH and Fish.
- Shows some important details about the git/hg branch
- Changes color if the last command exited with a failure code
- If you're too deep into a directory tree, shortens the displayed
path with an ellipsis
- Shows the current Python virtualenv environment
- It's easy to customize and extend.
%prep
%setup
%patch -p1
%build
export BUILDDIR="$PWD/.build"
export IMPORT_PATH="%import_path"
export GOPATH="$BUILDDIR:%go_path"
%golang_prepare
%golang_build .
%install
export BUILDDIR="$PWD/.build"
export IGNORE_SOURCES=1
%golang_install
%files
%doc *.md
%_bindir/*
%changelog
…
Full changelog you can see here
%global import_path github.com/justjanne/powerline-go
Name: powerline-go
Version: 1.22.1
Release: alt1
Summary: A beautiful and useful low-latency prompt for your shell, written in go
License: GPLv3
Group: Shells
Url: https://github.com/justjanne/powerline-go
Source: %name-%version.tar
Patch: %name-%version.patch
ExclusiveArch: %go_arches
BuildRequires(pre): rpm-build-golang
%description
A Powerline like prompt for Bash, ZSH and Fish.
- Shows some important details about the git/hg branch
- Changes color if the last command exited with a failure code
- If you're too deep into a directory tree, shortens the displayed
path with an ellipsis
- Shows the current Python virtualenv environment
- It's easy to customize and extend.
%prep
%setup
%patch -p1
%build
export BUILDDIR="$PWD/.build"
export IMPORT_PATH="%import_path"
export GOPATH="$BUILDDIR:%go_path"
%golang_prepare
%golang_build .
%install
export BUILDDIR="$PWD/.build"
export IGNORE_SOURCES=1
%golang_install
%files
%doc *.md
%_bindir/*
%changelog
…
Full changelog you can see here