Группа :: Сети/Прочее
Пакет: chisel
Главная Изменения Спек Патчи Sources Загрузить 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
…
Полный changelog можно просмотреть здесь
%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
…
Полный changelog можно просмотреть здесь