Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37732840
en ru br
Репозитории ALT
S:1.4.9-alt3
5.1: 1.4.5-alt1.20090912
4.1: 1.2.2-alt2
4.0: 1.2.2-alt2
3.0: 1.2.2-alt2
www.altlinux.org/Changes

Группа :: Графические оболочки/Прочее
Пакет: ratpoison

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: ratpoison
Version: 1.2.2
Release: alt2

Group: Graphical desktop/Other
Summary: Ratpoison is a simple Window Manager largely modelled after Screen
License: GPL
Url: http://%name.sourceforge.net/

Source: %name-%version.tar.bz2
Source1: RATPOISON.xpm

Requires: xvt
Requires(post,preun): /usr/sbin/install_info

# Automatically added by buildreq on Sun Oct 05 2003

BuildRequires: XFree86-devel XFree86-libs

%description
Ratpoison is a simple window manager with no large library dependencies,
no fancy graphics, no window decorations, and no rodent dependence. It
is largely modeled after GNU Screen, which has done wonders in the
virtual terminal market. All interaction with the window manager is done
through keystrokes. ratpoison has a prefix map to minimize the key
clobbering that cripples EMACS and other quality pieces of software. All
windows are maximized and kept maximized to avoid wasting precious
screen space.

%prep
%setup -q
# Kinda hack. Maybe don't use %%makeinstall and install all by hand?
# Because of /usr/share/%name and /usr/share/doc/%name
%__cp -ar doc DOCS
%__cp contrib/* DOCS
%__rm -f DOCS/Makefile* DOCS/*.info DOCS/*.1 DOCS/*.tex*
#%__chmod a-x DOCS/*

%build
%configure \
   --program-transform-name="" \
   --with-x \
   --with-xterm=xvt
%make

%install
%makeinstall

%__install -d %buildroot/%_docdir %buildroot/%_iconsdir

# startfile

%__cat > %buildroot/%_bindir/start%name << EOF
#!/bin/sh
exec %_bindir/%name
EOF

# session file

%__install -d %buildroot/%_sysconfdir/X11/wmsession.d
%__install -m 644 %SOURCE1 %buildroot/%_iconsdir/RATPOISON.xpm
%__cat > %buildroot/%_sysconfdir/X11/wmsession.d/16%name << EOF
NAME=%name
ICON=%_iconsdir/RATPOISON.xpm
EXEC=%_bindir/start%name
DESC=%name window manager
SCRIPT:
exec %_bindir/start%name
EOF

%post
%install_info %name.info

%preun
%uninstall_info %name.info

%postun
%update_wms
#%uninstall_info %name.info

%files
%doc INSTALL README TODO AUTHORS NEWS ChangeLog DOCS/*
#
%config(noreplace) %_sysconfdir/X11/wmsession.d/16%name
#
%attr(755,root,root) %_bindir/*
#
%_man1dir/%name.1*
%_infodir/%name.info*
#
%_iconsdir/RATPOISON.xpm

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin