Update to 2.5.4 - Closes rhbz#2157883

This commit is contained in:
Mikel Olasagasti Uranga
2023-01-05 10:21:44 +01:00
parent ab35bc814d
commit b0688e4d85
3 changed files with 14 additions and 24 deletions

1
.gitignore vendored
View File

@@ -7,3 +7,4 @@
/tcell-2.5.0.tar.gz /tcell-2.5.0.tar.gz
/tcell-2.5.2.tar.gz /tcell-2.5.2.tar.gz
/tcell-2.5.3.tar.gz /tcell-2.5.3.tar.gz
/tcell-2.5.4.tar.gz

View File

@@ -1,10 +1,9 @@
# Generated by go2rpm 1.3 # Generated by go2rpm 1.8.2
%bcond_without check %bcond_without check
# https://github.com/gdamore/tcell # https://github.com/gdamore/tcell
%global goipath github.com/gdamore/tcell/v2 %global goipath github.com/gdamore/tcell/v2
%global forgeurl https://github.com/gdamore/tcell Version: 2.5.4
Version: 2.5.3
%gometa %gometa
@@ -13,29 +12,15 @@ Tcell is an alternate terminal package, similar in some ways to termbox, but
better in others.} better in others.}
%global golicenses LICENSE %global golicenses LICENSE
%global godocs README.adoc AUTHORS %global godocs CHANGESv2.md AUTHORS TUTORIAL.md README.md
Name: %{goname} Name: %{goname}
Release: %autorelease Release: %autorelease
Summary: Alternate terminal package Summary: Alternate terminal package
# Upstream license specification: Apache-2.0 License: Apache-2.0
License: ASL 2.0
URL: %{gourl} URL: %{gourl}
Source0: %{gosource} Source: %{gosource}
BuildRequires: golang(github.com/gdamore/encoding)
BuildRequires: golang(github.com/lucasb-eyer/go-colorful) >= 1.2.0
BuildRequires: golang(github.com/mattn/go-runewidth) >= 0.0.13
BuildRequires: golang(golang.org/x/sys/unix)
BuildRequires: golang(golang.org/x/term)
BuildRequires: golang(golang.org/x/text/encoding) >= 0.3.7
BuildRequires: golang(golang.org/x/text/encoding/charmap) >= 0.3.7
BuildRequires: golang(golang.org/x/text/encoding/japanese) >= 0.3.7
BuildRequires: golang(golang.org/x/text/encoding/korean) >= 0.3.7
BuildRequires: golang(golang.org/x/text/encoding/simplifiedchinese) >= 0.3.7
BuildRequires: golang(golang.org/x/text/encoding/traditionalchinese) >= 0.3.7
BuildRequires: golang(golang.org/x/text/transform) >= 0.3.7
# These are all needed for rebuilding the terminfo database. # These are all needed for rebuilding the terminfo database.
BuildRequires: kitty-terminfo BuildRequires: kitty-terminfo
@@ -44,13 +29,14 @@ BuildRequires: ncurses-base
BuildRequires: ncurses-term BuildRequires: ncurses-term
BuildRequires: rxvt-unicode BuildRequires: rxvt-unicode
%description
%{common_description} %description %{common_description}
%gopkg %gopkg
%prep %prep
%goprep %goprep
# Use existing sources for: # Use existing sources for:
# * foot, as we have no source since it isn't packaged # * foot, as we have no source since it isn't packaged
# * sun, which is hand-coded, not generated # * sun, which is hand-coded, not generated
@@ -59,6 +45,9 @@ BuildRequires: rxvt-unicode
find terminfo/?/ \! -path '*foot/foot.go' -a \! -path '*sun/term.go' -a \! -path '*xterm/direct.go' -a \! -path '*xterm_termite/term.go' -type f -delete find terminfo/?/ \! -path '*foot/foot.go' -a \! -path '*sun/term.go' -a \! -path '*xterm/direct.go' -a \! -path '*xterm_termite/term.go' -type f -delete
sed -i 's/go run mkinfo.go/$1/g' terminfo/gen.sh sed -i 's/go run mkinfo.go/$1/g' terminfo/gen.sh
%generate_buildrequires
%go_generate_buildrequires
%build %build
# Rebuild database from source. # Rebuild database from source.
%gobuild -o %{gobuilddir}/bin/mkinfo terminfo/mkinfo.go %gobuild -o %{gobuilddir}/bin/mkinfo terminfo/mkinfo.go
@@ -78,7 +67,7 @@ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
%files %files
%license LICENSE %license LICENSE
%doc README.md AUTHORS %doc CHANGESv2.md AUTHORS TUTORIAL.md README.md
%{_bindir}/* %{_bindir}/*
%gopkgfiles %gopkgfiles

View File

@@ -1 +1 @@
SHA512 (tcell-2.5.3.tar.gz) = 01f6a5602697cbaef32e82eea50a800f1dd50c952979355953c125e39b95dff5ca97a1afdec30eedd7e4ff83435c4c66f1841803fb32e5fbd78681e8ab6cc3fc SHA512 (tcell-2.5.4.tar.gz) = 59a9388f441fe09d2cc00fdcabfb2872dfc1975a89221cadcc04b75b60ffa883d92090e47ea0321d557b9822ee75aebbeed65f6074ec9cf97e21b996f5a52183