Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37709104
en ru br
ALT Linux repositórios
S:1.4.9-alt3
4.1: 1.2.2-alt2
4.0: 1.2.2-alt2
3.0: 1.2.2-alt2

Group :: Desktop gráfico/Outros
RPM: ratpoison

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009