Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37848907
en ru br
ALT Linux repos
S:1.9.1-alt1

Group :: Networking/Other
RPM: chisel

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%global import_path github.com/jpillora/chisel
%def_without check

Name: chisel
Version: 1.9.1
Release: alt1

Summary: TCP tunnel over HTTP

License: MIT
Group: Networking/Other
Url: https://github.com/jpillora/chisel

# Source-url: https://github.com/jpillora/chisel/archive/refs/tags/v%version.tar.gz

Source: %name-%version.tar

# auto predownloaded node modules during update version with rpmgs from etersoft-build-utils

# ask me about description using: lav at etersoft.ru
Source1: %name-development-%version.tar


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

%description
A fast TCP tunnel over HTTP.

%prep
%setup -a1

%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

%check
#gocheck

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

%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