# Generated by go2rpm 1.19.0 %bcond check 1 %bcond bootstrap 0 %if %{with bootstrap} %global debug_package %{nil} %endif %if %{with bootstrap} %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ %endif # https://github.com/gdamore/tcell %global goipath github.com/gdamore/tcell/v3 Version: v3.4.1 %global tag v3.4.2 %gometa -L -f %global common_description %{expand: Tcell is an alternate terminal package, similar in some ways to termbox, but better in others.} %global golicenses LICENSE webfiles/ghostty-web/LICENSE %global godocs AGENTS.md AUTHORS CHANGESv2.md CHANGESv3.md README-\\\ plan9.md README-wasm.md README-windows.md README.md\\\ SECURITY.md TUTORIAL.md vt/layouts/README.md Name: golang-github-gdamore-tcell-3 Release: %autorelease Summary: Tcell is an alternate terminal package, similar in some ways to termbox, but better in others License: Apache-2.0 AND MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep -A %autopatch -p1 %if %{without bootstrap} %generate_buildrequires %go_generate_buildrequires %endif %if %{without bootstrap} %build # _demos is excluded: Go itself refuses to build any directory whose name # starts with "_" (a real Go toolchain convention, not an oversight here), # so go2rpm's own auto-detected cmd list wrongly included it alongside the # real demos/* commands. for cmd in demos/beep demos/boxes demos/clipboard demos/colors demos/cursors demos/hello demos/styles demos/unicode; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %endif %install %gopkginstall %if %{without bootstrap} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %endif %if %{without bootstrap} %if %{with check} %check %gocheck %endif %endif %if %{without bootstrap} %files %license LICENSE webfiles/ghostty-web/LICENSE %doc AGENTS.md AUTHORS CHANGESv2.md CHANGESv3.md README-plan9.md README-wasm.md %doc README-windows.md README.md SECURITY.md TUTORIAL.md vt/layouts/README.md %{_bindir}/beep %{_bindir}/boxes %{_bindir}/clipboard %{_bindir}/colors %{_bindir}/cursors %{_bindir}/hello %{_bindir}/styles %{_bindir}/unicode %endif %gopkgfiles %changelog * Fri Aug 21 2026 Lachlan Marie - v3.4.1-1.gitv3.4.2 - Update to v3.4.2 %autochangelog