From 590e632c016df1aaf4a4500911d353db6cd20f5b Mon Sep 17 00:00:00 2001 From: wenyuzifang Date: Thu, 21 Aug 2025 02:26:29 +0800 Subject: [PATCH] Update code from upstream --- tmux.spec | 13 +++++++++++-- tmux@.service | 13 +++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 tmux@.service diff --git a/tmux.spec b/tmux.spec index 50aa837..7b58770 100644 --- a/tmux.spec +++ b/tmux.spec @@ -1,8 +1,8 @@ -%define anolis_release 1 +%define anolis_release 1 %global _hardened_build 1 Name: tmux -Version: 3.3a +Version: 3.5a Release: %{anolis_release}%{?dist} Summary: A terminal multiplexer @@ -12,6 +12,8 @@ License: ISC and BSD URL: https://tmux.github.io/ Source0: https://github.com/tmux/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz Source1: bash_completion_tmux.sh +Source2: https://github.com/tmux/tmux/releases/download/3.5a/tmux-3.5a.tar.gz +Source3: tmux@.service BuildRequires: make BuildRequires: gcc @@ -20,6 +22,9 @@ BuildRequires: pkgconfig(tinfo) BuildRequires: pkgconfig(ncurses) BuildRequires: pkgconfig(ncursesw) BuildRequires: libutempter-devel +BuildRequires: systemd-devel +BuildRequires: automake +BuildRequires: byacc %description tmux is a "terminal multiplexer." It enables a number of terminals (or @@ -77,6 +82,10 @@ fi %doc example_tmux.conf %changelog +* Thu Aug 21 2025 wenyuzifang - 3.5a-1 +- Updated to version 3.5a to fix xxxxxxxxxx + + * Mon Mar 13 2023 Feng Su - 3.3a-1 - update to v3.3a - add doc package diff --git a/tmux@.service b/tmux@.service new file mode 100644 index 0000000..2e631eb --- /dev/null +++ b/tmux@.service @@ -0,0 +1,13 @@ +[Unit] +Description=tmux session for user %I +After=graphical-session.target + +[Service] +Type=forking +User=%I +ExecStart=/usr/bin/tmux new-session -s %I -d +ExecStop=/usr/bin/tmux kill-session -t %I +WorkingDirectory=~ + +[Install] +WantedBy=multi-user.target -- Gitee