## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.19.0 %bcond check 1 # https://github.com/Gaurav-Gosain/tuios %global goipath github.com/Gaurav-Gosain/tuios Version: 0.11.1 %gometa -L -f Name: tuios Release: %autorelease Summary: A terminal window manager that knows what your agents are doing. Tiling panes, workspaces, sessions that survive restarts, and one Inbox for every coding agent # Generated by go-vendor-tools License: Apache-2.0 AND BSD-3-Clause AND ISC AND MIT AND OFL-1.1 URL: %{gourl} Source0: %{gosource} # Generated by go-vendor-tools Source1: %{archivename}-vendor.tar.bz2 Source2: go-vendor-tools.toml BuildRequires: go-vendor-tools BuildRequires: git-core %description A terminal window manager that knows what your agents are doing. Tiling panes, workspaces, sessions that survive restarts, and one Inbox for every coding agent. %prep %goprep -p1 tar -xf %{S:1} %generate_buildrequires %go_vendor_license_buildrequires -c %{S:2} %build %global gomodulesmode GO111MODULE=on %global currentgoldflags %{nil} %global timestamp %(date -u +'%Y-%m-%dT%H:%M:%SZ') export GO_LDFLAGS=" -X main.commit=%{release} -X main.version=%{version} -X main.date=%{timestamp} -X main.builtBy=rpm " %gobuild -o %{gobuilddir}/bin/tuios %{goipath}/cmd/tuios %install %go_vendor_license_install -c %{S:2} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %check %go_vendor_license_check -c %{S:2} %if %{with check} %global test_ignores %{shrink: %dnl valid name was refused: "feat/ok" is not a valid branch name -s "TestCheckTransferShapeRefusesWhatBundleWorktreeCannotSend" -s "TestValidBranch" %dnl event streams differ -s "TestLifecycleEventsMatchHeadlessAndAttached" %dnl unexpected extra event -s "TestLifecycleEventsFireExactlyOnce" -s "TestStaleClientSyncRaisesNoPhantomEvents" %dnl got error: map[code:window_not_found -s "TestSetAgentMetaRefusesTheReservedKeys" %dnl -s "TestARefusedDeliveryIsReportedAndDismissed" -s "TestReattachIssuesAFreshNonce" -s "TestAPaneCannotTypeIntoAPaneThatHoldsMore" -s "TestAttachedClientAnswersGetWindowAndNeverAPanesKeys" -s "TestEveryVerbExampleReachesItsHandler" %dnl -d "internal/session" -d "e2e" %dnl ppc64le failing tests %[ "%{_arch}" == "ppc64le" ? "-s TestMultipleControllers" : "" ] %dnl s390x failing tests %[ "%{_arch}" == "s390x" ? "-s TestTheSweptRegionStopsWhereEachRowsTextEnds" : "" ] %[ "%{_arch}" == "s390x" ? "-s TestPaneRowTextEndReadsTheRowTheFrameDraws" : "" ] %[ "%{_arch}" == "s390x" ? "-s TestFrameSinkEmitsTheFrame" : "" ] %[ "%{_arch}" == "s390x" ? "-s TestTheWholePlaceholderFlow" : "" ] %[ "%{_arch}" == "s390x" ? "-s TestATransmitThatDeclaresAVirtualPlacement" : "" ] %[ "%{_arch}" == "s390x" ? "-s TestCellsBeforeTheImageNameTheSameHostID" : "" ] %[ "%{_arch}" == "s390x" ? "-s TestSaverDoesNotMoveAScreenWithEmptyTopRows" : "" ] %[ "%{_arch}" == "s390x" ? "-s TestSaverDoesNotMoveAScreenThatStartsAtTheTop" : "" ] %[ "%{_arch}" == "s390x" ? "-s TestEffectPreviewDoesNotMoveTheScreen" : "" ] %[ "%{_arch}" == "s390x" ? "-s TestHistoryRowWithAWideRuneAtTheEdgeIsClippedToThePane" : "" ] } %gocheck2 -F %{test_ignores} %endif %files -f %{go_vendor_license_filelist} %doc docs examples README.md SECURITY.md %{_bindir}/tuios %changelog ## START: Generated by rpmautospec * Mon Oct 26 2026 John Doe - 0.11.1-1 - Uncommitted changes ## END: Generated by rpmautospec