Skip to content

Commit

Permalink
add: ctwm
Browse files Browse the repository at this point in the history
  • Loading branch information
nothingneko committed Apr 3, 2024
1 parent aa09ac5 commit 6e1802b
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 0 deletions.
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"
}
}
54 changes: 54 additions & 0 deletions anda/desktops/ctwm/ctwm.spec
Original file line number Diff line number Diff line change
@@ -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 <[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.
Empty file added anda/desktops/ctwm/update.rhai
Empty file.

0 comments on commit 6e1802b

Please sign in to comment.