]> git.pld-linux.org Git - SPECS.git/blob - ratpoison.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / ratpoison.spec
1 Summary:        A simple X11 window manager
2 Summary(pl.UTF-8):      Prosty zarządca okien dla X11
3 Name:           ratpoison
4 Version:        1.4.5
5 Release:        4
6 License:        GPL v2+
7 Group:          X11/Window Managers
8 Source0:        http://savannah.nongnu.org/download/ratpoison/%{name}-%{version}.tar.gz
9 # Source0-md5:  330a08dbed6be88cab54f6947e9f0b60
10 Source1:        %{name}-xsession.desktop
11 Patch0:         %{name}-getline.patch
12 URL:            http://www.nongnu.org/ratpoison/
13 BuildRequires:  autoconf >= 2.59-9
14 BuildRequires:  automake
15 BuildRequires:  readline-devel
16 BuildRequires:  xorg-lib-libX11-devel
17 BuildRequires:  xorg-lib-libXext-devel
18 BuildRequires:  xorg-lib-libXinerama-devel
19 BuildRequires:  xorg-lib-libXtst-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 ratpoison is a simple Window Manager with no fat library dependencies,
24 no fancy graphics, no window decorations, and no flashy wank. It is
25 largely modelled after GNU Screen which has done wonders in virtual
26 terminal market.
27
28 %description -l pl.UTF-8
29 ratpoison jest prostym zarządcą okien dla X11 pozbawionym zależności
30 od obszernych bibliotek, bez fantazyjnej grafiki i ozdobników okien.
31 Jest wzorowany na programie GNU screen, który wyczynia cuda w
32 dziedzinie terminali wirtualnych.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37
38 %build
39 %{__aclocal}
40 %{__autoconf}
41 %{__autoheader}
42 %{__automake}
43 %configure
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 install -d $RPM_BUILD_ROOT%{_datadir}/xsessions
53 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
54
55 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
56
57 %post   -p /sbin/postshell
58 -/usr/sbin/fix-info-dir -c %{_infodir}
59
60 %postun -p /sbin/postshell
61 -/usr/sbin/fix-info-dir -c %{_infodir}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc AUTHORS ChangeLog NEWS README TODO doc/*.texi
69 %attr(755,root,root) %{_bindir}/*
70 %{_datadir}/%{name}
71 %{_datadir}/xsessions/%{name}.desktop
72 %{_mandir}/man1/ratpoison.1*
73 %{_infodir}/*.info*
This page took 0.101036 seconds and 3 git commands to generate.