Files
openRuyi/SPECS/go-golang-x-term/go-golang-x-term.spec

42 lines
1.1 KiB
RPMSpec

# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: misaka00251 <liuxin@iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0
%define _name term
%define go_import_path golang.org/x/term
Name: go-golang-x-term
Version: 0.38.0
Release: %autorelease
Summary: Go terminal and console support
License: BSD-3-Clause
URL: https://golang.org/x/term
VCS: git:https://github.com/golang/term
#!RemoteAsset
Source0: https://github.com/golang/term/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: golangmodules
BuildOption(prep): -n %{_name}-%{version}
BuildRequires: go
BuildRequires: go-rpm-macros
BuildRequires: go(golang.org/x/sys)
Provides: go(golang.org/x/term) = %{version}
Requires: go(golang.org/x/sys)
%description
This repository provides Go terminal and console support packages.
%files
%license LICENSE*
%doc README*
%{go_sys_gopath}/%{go_import_path}
%changelog
%{?autochangelog}