]> git.pld-linux.org Git - packages/urxvt.git/blob - urxvt.spec
b128df8dac856c730cfcfa0837cc28fd048ab084
[packages/urxvt.git] / urxvt.spec
1 Summary:        urxvt - terminal emulator in an X window
2 Summary(pl):    Emulator terminala dla X Window
3 Name:           urxvt
4 Version:        3.1
5 Release:        1
6 Group:          X11/Applications
7 License:        GPL
8 Source0:        http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
9 # Source0-md5:  72695ff1beb8d95e6b72c645b1079461
10 Source1:        %{name}.desktop
11 Patch0:         rxvt-utmp98.patch
12 Patch1:         rxvt-utmp98-2.patch
13 Patch2:         rxvt-xim.patch
14 Patch3:         rxvt-utmpx.patch
15 URL:            http://software.schmorp.de
16 BuildRequires:  XFree86-devel
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  libtool
20 BuildRequires:  utempter-devel
21 BuildRequires:  xft-devel
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Rxvt is a VT100 terminal emulator for X. It is intended as a
26 replacement for xterm(1) for users who do not require the more
27 esoteric features of xterm. Specifically urxvt does not implement the
28 Tektronix 4014 emulation, session logging and toolkit style
29 configurability. As a result, urxvt uses much less swap space than
30 xterm - a significant advantage on a machine serving many X sessions.
31
32 %description -l pl
33 Rxvt jest emulatorem terminala VT100 dla X Window. Jest on
34 interesuj±cym zamiennikiem dla programu xterm(1) dla u¿ytkowników,
35 którzy nie potrzebuj± bardziej wyszukanych mo¿liwo¶ci xterma jak
36 emulacja terminala Tektronix 4014, logowanie sesji czy pewne
37 mo¿liwo¶ci konfiguracyjnye na poziomie X toolkit. Rezygnacja z tych
38 mo¿liwo¶ci zaowocowa³a tym, ¿e urxvt potrzebuje o wiele mniej pamiêci
39 do uruchomienia.
40
41 %prep
42 %setup -q -n rxvt-unicode-%{version}
43 #%patch0 -p1
44 #%patch1 -p1
45 #%patch2 -p1
46 #%patch3 -p1
47
48 %build
49 mv -f autoconf/{configure.in,xpm.m4} .
50 CFLAGS="%{rpmcflags} -DLINUX_KEYS"
51 %{__libtoolize}
52 %{__aclocal} -I .
53 %{__autoheader}
54 %{__autoconf}
55 %{__automake} || :
56 %configure \
57         --enable-shared \
58         --disable-static \
59         --enable-everything \
60         --enable-xgetdefault \
61         --enable-mousewheel \
62         --disable-menubar \
63         --enable-next-scroll \
64         --enable-ttygid \
65         --with-term=urxvt \
66         --enable-half-shadow \
67         --enable-smart-resize \
68         --enable-256-color
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 install -d $RPM_BUILD_ROOT%{_desktopdir}
78 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %files
84 %defattr(644,root,root,755)
85 %doc doc/menu/* ChangeLog
86 %attr(755,root,root) %{_bindir}/*
87 %{_desktopdir}/urxvt.desktop
88 %{_mandir}/man1/*
This page took 0.077106 seconds and 3 git commands to generate.