Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37845143
en ru br
ALT Linux repositórios
S:0.1.20.0.4.0355a467d-alt1

Group :: Brinquedos
RPM: goneko

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _unpackaged_files_terminate_build 1

%global import_path crg.eti.br/go/neko

Name: goneko
Version: 0.1.20.0.4.0355a467d
Release: alt1

Summary: A cross-platform open-source animated cursor-chasing cat
License: BSD-2-Clause
Group: Toys
Url: https://pkg.go.dev/crg.eti.br/go/neko
Vcs: https://github.com/crgimenes/neko

ExclusiveArch: %go_arches

Source0: %name-%version.tar
Source1: vendor.tar

BuildRequires(pre): rpm-build-golang
BuildRequires: libX11-devel
BuildRequires: libXcursor-devel
BuildRequires: libXrandr-devel
BuildRequires: libXi-devel
BuildRequires: libXinerama-devel
BuildRequires: libXxf86vm-devel
BuildRequires: libGL-devel

%description
Neko is a cat that chases the mouse cursor across the screen, an app
written in the late 1980s and ported for many platforms.

%prep
%setup -a1

%build
export BUILDDIR="$PWD/.build"
export IMPORT_PATH="%import_path"
export GOPATH="$BUILDDIR:%go_path"
%golang_prepare
cd "$BUILDDIR/src/$IMPORT_PATH"
%golang_build .

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

# rename to go-neko

mv %buildroot%_bindir/{neko,%name}

%files
%doc LICENSE README.md
%_bindir/%name

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009