Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[el10] add: ctwm (attempt 2) (#1400) #2674

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions anda/desktops/ctwm/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "ctwm.spec"
}
}
7 changes: 7 additions & 0 deletions anda/desktops/ctwm/ctwm.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Desktop Entry]
Name=CTWM
Comment=Claude's Tab Window Manager
TryExec=ctwm
Exec=ctwm
Type=Xsession
Encoding=UTF-8
55 changes: 55 additions & 0 deletions anda/desktops/ctwm/ctwm.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
Summary: Lightweight window manager with virtual workspaces
Name: ctwm
Version: 4.1.0
Release: 1%?dist
URL: https://ctwm.org
BuildRequires: libjpeg-turbo-devel libX11-devel libXext-devel libXmu-devel libXpm-devel libXt-devel libXrandr-devel cmake gcc m4
Source0: https://www.ctwm.org/dist/%{name}-%{version}.tar.xz
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} %{buildroot}%{_datadir}/xsessions/%{name}.desktop

%files
%doc README.md CHANGES.md
%license COPYRIGHT
%{_bindir}/%{name}
%{_mandir}/man1/%{name}*
%{_datadir}/xsessions/%{name}.desktop
%{_datadir}/ctwm
%{_datadir}/doc/ctwm/ctwm.1.html
%{_datadir}/examples/ctwm/system.ctwmrc

%changelog
* Tue Dec 17 2024 Owen Zimmerman <[email protected]>
- Add .desktop and .rhai file, fix dependancies, and switch to .tar.xz source (smaller download)
* Thu Jun 27 2024 Jaiden Riordan <[email protected]> - 4.1.0
- Rewrite for Terra, Thanks RPMSphere
* Tue Dec 24 2019 Wei-Lun Chao <[email protected]> - 4.0.3
- Rebuilt for Fedora
* Sat Apr 9 2011 Agnelo de la Crotche <[email protected]>
- package for openSUSE 11.3/11.4
* Thu Feb 16 2006 Richard Levitte <[email protected]>
- Release ctwm 3.8a.
* Wed May 4 2005 Rudolph T Maceyko <[email protected]>
- Tweaks. Added all .ctwmrc files as well as sound and VMS docs.
* Wed May 4 2005 Richard Levitte <[email protected]>
- Changed some directory specifications to RedHat-ish standards.
* Tue May 3 2005 Richard Levitte <[email protected]>
- Received the original from Johan Vromans. Adjusted it to become
an official .spec file.

1 change: 1 addition & 0 deletions anda/desktops/ctwm/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rpm.version(find("<p>Current release: ([\\d.]+)</p>", get("https://www.ctwm.org/download.html"), 1));
Loading