# Generated by go2rpm 1.19.0 %bcond check 1 # https://github.com/Gaurav-Gosain/tuios %global goipath github.com/Gaurav-Gosain/tuios Version: 0.10.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 "github.com/Gaurav-Gosain/tuios/internal/session" } %gocheck2 -F %{test_ignores} %endif %files -f %{go_vendor_license_filelist} %doc docs examples README.md SECURITY.md %{_bindir}/tuios %changelog %autochangelog