Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37715875
en ru br
ALT Linux repos
S:4.0.3.691-alt1
5.0: 3.8a-alt1.qa1.1
4.1: 3.8a-alt1.qa1
4.0: 3.8a-alt1
3.0: 3.6-alt3

Group :: Graphical desktop/Other
RPM: ctwm

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Summary: Twm based window manager for the X Window System.
Summary(ru_RU.KOI8-R): Очснованный на twm оконный менеджер для X11
Name: ctwm
Version: 3.6
Release: alt3
Source: http://slhp1.epfl.ch/public/ctwm/ctwm-%{version}.tar.gz
Source1: http://slhp1.epfl.ch/public/ctwm/ctwm-images.tar.gz
Source2: startctwm
Source3: ctwm.wmsession
Source4: ctwm.icon64x64.xpm

Patch0: ctwm-patches-aa
Patch1: ctwm-patches-ab
Patch2: ctwm-3.6.patch1
Patch3: ctwm-3.6-xpmdir-patch
License: BSD
Group: Graphical desktop/Other

# Automatically added by buildreq on Fri Oct 17 2003

BuildRequires: XFree86-devel flex xpm-devel

%description
Ctwm is a window manager for the X Window System.  It pro- vides
titlebars, shaped windows, virtual screens (workspaces), several forms
of icon management, user- defined macro functions, click-to-type and
pointer-driven keyboard focus, and user-specified key and pointer
button bindings.  It is actually twm (Tab Window Manager) from the MIT
X11 distribution slightly modified to accommodate the use of several
virtual screens (workspaces). It is heavily inspired from the
Hewlett-Packard vuewm window manager.  In addition, ctwm can use
coloured, shaped icons and background root pixmaps in XPM format [from
Arnaud Le Hors],any format understood by the imconv package [from the
San Diego Supercomputer Center] and xwd files.  Ctwm can be compiled
to use both, either or none of the above icon/pixmap formats.

%prep
%setup
%setup -T -D -a 1
%patch -p0
%patch1 -p0
%patch2 -p0
%patch3 -p0

%build
xmkmf
make

%install
mkdir -p %buildroot/%_sysconfdir/X11/wmsession.d
mkdir -p %buildroot/%_iconsdir
mkdir -p %buildroot/%_x11bindir
mkdir -p %buildroot/%_x11mandir/man1
mkdir -p %buildroot/%_x11libdir/X11/ctwm/images
make install DESTDIR=%buildroot
%__install ctwm.man %buildroot/%_x11mandir/man1/ctwm.1x
#convert -crop 680x280+28+4 xpm/welcome.xpm -resize 64x64! %buildroot/%_iconsdir/ctwm.xpm
install -pD -m644 %SOURCE4 %buildroot/%_iconsdir/ctwm.xpm
install -pD -m644 %SOURCE3 %buildroot/%_sysconfdir/X11/wmsession.d/07ctwm
install -m 755 %SOURCE2 %buildroot/%_x11bindir/startctwm

%files
%doc README CHANGES PROBLEMS
%_iconsdir/*
%_x11bindir/*
%_x11mandir/man1/*
%config(noreplace) %_x11libdir/X11/twm/system.ctwmrc
%_sysconfdir/X11/wmsession.d/*
%_x11libdir/X11/ctwm/

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin