summaryrefslogtreecommitdiff
path: root/ratpoison.spec
blob: 1e4fc48644a1b419373aff493db55c46c572c0bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
%define name ratpoison
%define version 1.0.0
%define release 1

Summary: ratpoison - Simple window manager with no fat library dependencies.
Name: %{name}
Version: %{version}
Release: %{release}
Source: %{name}-%{version}.tar.gz
BuildRoot: /tmp/root-%{name}-%{version}-%{release}
URL: http://ratpoison.sourceforge.net/
Copyright: GPL
Group: User Interface/X

%description
ratpoison is a simple Window Manager with no fat library
dependencies, no fancy graphics, no window decorations,
and no flashy wank. It is largely modelled after GNU
Screen which has done wonders in 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.

%prep
mkdir -p $RPM_BUILD_ROOT

%setup 
rm -f config.cache
./configure	--prefix=/usr \
		--infodir=/usr/info \
		--mandir=/usr/man

%build
make 

%install
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README doc/sample.ratpoisonrc doc/ipaq.ratpoisonrc
/usr/bin/ratpoison
/usr/info/ratpoison.info*
/usr/man/man1/ratpoison.1*