From 6e1802b6dd9c5bb6fa89e4321f4efa9705d3e059 Mon Sep 17 00:00:00 2001 From: Jaiden Riordan Date: Wed, 3 Apr 2024 14:09:59 -0500 Subject: [PATCH 1/3] add: ctwm --- anda/desktops/ctwm/anda.hcl | 5 ++++ anda/desktops/ctwm/ctwm.spec | 54 ++++++++++++++++++++++++++++++++++ anda/desktops/ctwm/update.rhai | 0 3 files changed, 59 insertions(+) create mode 100644 anda/desktops/ctwm/anda.hcl create mode 100644 anda/desktops/ctwm/ctwm.spec create mode 100644 anda/desktops/ctwm/update.rhai diff --git a/anda/desktops/ctwm/anda.hcl b/anda/desktops/ctwm/anda.hcl new file mode 100644 index 0000000000..8ab55e93bf --- /dev/null +++ b/anda/desktops/ctwm/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "ctwm.spec" + } +} \ No newline at end of file diff --git a/anda/desktops/ctwm/ctwm.spec b/anda/desktops/ctwm/ctwm.spec new file mode 100644 index 0000000000..1012011bf9 --- /dev/null +++ b/anda/desktops/ctwm/ctwm.spec @@ -0,0 +1,54 @@ +Summary: Lightweight window manager with virtual workspaces +Name: ctwm +Version: 4.1.0 +Release: 1 +URL: https://ctwm.org +BuildRequires: libx11-devel libjpg-devel libxt-devel libxext-devel libxmu-devel libxpm-devel cmake +Source0: https://www.ctwm.org/dist/%{name}-%{version}.tar.gz +Source1: %{name}.desktop +License: MIT +Requires: m4 +# Derived from RPMSphere's packaging + +%description +CTWM is a window manager based on TWM (with virtual workspaces added) + +%prep +%setup -q + +%build +%cmake +%cmake_build + +%install +%cmake_install +%{__install} -Dm644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%doc README.md CHANGES.md COPYRIGHT +%{_bindir}/%{name} +%{_mandir}/man1/%{name}* +%{_datadir}/xsessions/%{name}.desktop +%{_datadir}/ctwm +%{_datadir}/doc/ctwm/ctwm.1.html +%{_datadir}/examples/ctwm/system.ctwmrc + +%changelog +* Wed Apr 3 2024 Jaiden Riordan - 4.1.0 +- Rewrite for Terra, Thanks RPMSphere +* Tue Dec 24 2019 Wei-Lun Chao - 4.0.3 +- Rebuilt for Fedora +* Sat Apr 9 2011 Agnelo de la Crotche +- package for openSUSE 11.3/11.4 +* Thu Feb 16 2006 Richard Levitte +- Release ctwm 3.8a. +* Wed May 4 2005 Rudolph T Maceyko +- Tweaks. Added all .ctwmrc files as well as sound and VMS docs. +* Wed May 4 2005 Richard Levitte +- Changed some directory specifications to RedHat-ish standards. +* Tue May 3 2005 Richard Levitte +- Received the original from Johan Vromans. Adjusted it to become + an official .spec file. \ No newline at end of file diff --git a/anda/desktops/ctwm/update.rhai b/anda/desktops/ctwm/update.rhai new file mode 100644 index 0000000000..e69de29bb2 From a5c3e35f889e94f08d7dba3faca3cccb01f8fbad Mon Sep 17 00:00:00 2001 From: Jaiden Riordan Date: Wed, 3 Apr 2024 16:01:45 -0500 Subject: [PATCH 2/3] maybe it's the update? --- anda/desktops/ctwm/update.rhai | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 anda/desktops/ctwm/update.rhai diff --git a/anda/desktops/ctwm/update.rhai b/anda/desktops/ctwm/update.rhai deleted file mode 100644 index e69de29bb2..0000000000 From e6f5efeb46b4ff567b03d65b12168c2c027ced67 Mon Sep 17 00:00:00 2001 From: Jaiden Riordan Date: Thu, 4 Apr 2024 11:44:38 -0500 Subject: [PATCH 3/3] fix: ctwm specfile --- anda/desktops/ctwm/ctwm.spec | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/anda/desktops/ctwm/ctwm.spec b/anda/desktops/ctwm/ctwm.spec index 1012011bf9..13b1e389fb 100644 --- a/anda/desktops/ctwm/ctwm.spec +++ b/anda/desktops/ctwm/ctwm.spec @@ -11,7 +11,7 @@ Requires: m4 # Derived from RPMSphere's packaging %description -CTWM is a window manager based on TWM (with virtual workspaces added) +CTWM is a window manager based on TWM (with virtual workspaces added.) %prep %setup -q @@ -24,11 +24,8 @@ CTWM is a window manager based on TWM (with virtual workspaces added) %cmake_install %{__install} -Dm644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop -%clean -rm -rf $RPM_BUILD_ROOT - %files -%doc README.md CHANGES.md COPYRIGHT +%doc README.md CHANGES.md %{_bindir}/%{name} %{_mandir}/man1/%{name}* %{_datadir}/xsessions/%{name}.desktop