From a73be88c464857a53d030d5737dad7530d9fa0b7 Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Thu, 25 Dec 2025 02:07:26 -0600 Subject: [PATCH] chore (ctwm): add %check, clean up some formatting (#8594) Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/desktops/ctwm/ctwm.desktop | 4 ++-- anda/desktops/ctwm/ctwm.spec | 16 ++++++++++------ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/anda/desktops/ctwm/ctwm.desktop b/anda/desktops/ctwm/ctwm.desktop index 2d255d41cc..62f51d54be 100644 --- a/anda/desktops/ctwm/ctwm.desktop +++ b/anda/desktops/ctwm/ctwm.desktop @@ -3,5 +3,5 @@ Name=CTWM Comment=Claude's Tab Window Manager TryExec=ctwm Exec=ctwm -Type=Xsession -Encoding=UTF-8 \ No newline at end of file +Type=Application +Encoding=UTF-8 diff --git a/anda/desktops/ctwm/ctwm.spec b/anda/desktops/ctwm/ctwm.spec index 1a1447bcda..5cc5187659 100644 --- a/anda/desktops/ctwm/ctwm.spec +++ b/anda/desktops/ctwm/ctwm.spec @@ -1,13 +1,13 @@ -Summary: Lightweight window manager with virtual workspaces Name: ctwm +Summary: Lightweight window manager with virtual workspaces Version: 4.1.0 -Release: 1%?dist +Release: 2%?dist URL: https://ctwm.org -BuildRequires: libjpeg-turbo-devel libX11-devel libXext-devel libXmu-devel libXpm-devel libXt-devel libXrandr-devel cmake gcc m4 +BuildRequires: libjpeg-turbo-devel libX11-devel libXext-devel libXmu-devel libXpm-devel libXt-devel libXrandr-devel cmake gcc m4 desktop-file-utils Source0: https://www.ctwm.org/dist/%{name}-%{version}.tar.xz Source1: %{name}.desktop License: MIT -Requires: m4 +Requires: m4 # Derived from RPMSphere's packaging %description @@ -22,7 +22,10 @@ CTWM is a window manager based on TWM (with virtual workspaces added). %install %cmake_install -%{__install} -Dm644 %{SOURCE1} %{buildroot}%{_datadir}/xsessions/%{name}.desktop +install -Dm644 %{SOURCE1} %{buildroot}%{_datadir}/xsessions/%{name}.desktop + +%check +desktop-file-validate %{buildroot}%{_datadir}/xsessions/%{name}.desktop %files %doc README.md CHANGES.md @@ -35,6 +38,8 @@ CTWM is a window manager based on TWM (with virtual workspaces added). %{_datadir}/examples/ctwm/system.ctwmrc %changelog +* Wed Dec 24 2025 Owen Zimmerman +- Add %check section * Tue Dec 17 2024 Owen Zimmerman - Add .desktop and .rhai file, fix dependancies, and switch to .tar.xz source (smaller download) * Thu Jun 27 2024 Jaiden Riordan - 4.1.0 @@ -52,4 +57,3 @@ CTWM is a window manager based on TWM (with virtual workspaces added). * Tue May 3 2005 Richard Levitte - Received the original from Johan Vromans. Adjusted it to become an official .spec file. -