]> git.pld-linux.org Git - packages/aterm.git/blob - aterm.spec
- gpm-friendly Source0
[packages/aterm.git] / aterm.spec
1 Summary:        aterm - terminal emulator in an X Window System
2 Summary(pl):    aterm - emulator terminala dla X Window System
3 Summary(pt_BR): Um emulador de vt102 colorido
4 Name:           aterm
5 Version:        0.4.2
6 Release:        9
7 License:        GPL
8 Vendor:         Sasha Vasko <sashav@sprintmail.com>
9 Group:          X11/Applications
10 Source0:        http://dl.sourceforge.net/aterm/%{name}-%{version}.tar.bz2
11 # Source0-md5:  5c29d0cde4225bdbd63ccb6a4dd94c56
12 Source1:        %{name}.desktop
13 Patch0:         %{name}-utempter.patch
14 Patch1:         %{name}-wtmp.patch
15 Patch2:         %{name}-etc_dir.patch
16 Patch3:         %{name}-copy.patch
17 Patch4:         %{name}-home_end.patch
18 URL:            http://aterm.sourceforge.net/
19 BuildRequires:  XFree86-devel
20 BuildRequires:  autoconf
21 BuildRequires:  libjpeg-devel
22 BuildRequires:  libpng-devel
23 BuildRequires:  utempter-devel
24 Requires:       terminfo
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 aterm is a colour vt102 terminal emulator based on rxvt 2.4.8 with
29 Alfredo Kojima's additions of fast transparency, intended as an
30 xterm(1) replacement for users who do not require features such as
31 Tektronix 4014 emulation and toolkit-style configurability. As a
32 result, aterm uses much less swap space -- a significant advantage on
33 a machine serving many X sessions. It was created with AfterStep
34 Window Manger users in mind, but is not tied to any libraries, and can
35 be used anywhere.
36
37 %description -l pl
38 aterm jest kolorowym emulatorem terminala vt102, opartym na rxvt 2.4.8
39 z dodatkami Afredo Kojima do szybkiej emulacji przezroczysto¶ci. W
40 za³o¿eniu ma zast±piæ program xterm(1) u¿ytkownikom nie wymagaj±cym
41 takich rzeczy jak emulacja terminala Tektronix 4014 oraz
42 "toolkit-style configurability". W efekcie aterm u¿ywa du¿o mniej
43 pamiêci swap -- co jest du¿± zalet± w systemach obs³uguj±cych liczne
44 sesje Xów. Zosta³ stworzony z my¶l± o u¿ytkownikach AfterStepa, ale
45 nie jest zwi±zany z ¿adnymi specyficznymi bibliotekami i mo¿e byæ
46 u¿ywany gdziekolwiek.
47
48 %description -l pt_BR
49 Aterm é um emulador de terminal vt102 baseado no rxvt 2.4.8, com a
50 adição de fundo transparente. Aterm é um substituto para o xterm, mais
51 leve.
52
53 %prep
54 %setup -q
55 %patch0 -p1
56 %patch1 -p1
57 %patch2 -p1
58 %patch3 -p1
59 %patch4 -p1
60
61 %build
62 cd autoconf
63 %{__autoconf}
64 cp -f ./configure ..
65 cd ..
66 LDFLAGS="%{rpmldflags} -lutempter -L%{_libdir}"
67 export LDFLAGS
68
69 %configure \
70         --enable-ttygid \
71         --enable-wtmp \
72         --enable-background-image \
73         --with-term=rxvt \
74         --with-png \
75         --with-jpeg \
76         --enable-transparency \
77         --enable-fading \
78         --enable-menubar \
79         --enable-graphics \
80         --enable-xgetdefault \
81         --enable-next-scroll
82 #       --enable-utmp \
83
84 CFLAGS="%{rpmcflags}"
85
86 %{__make}
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90 install -d $RPM_BUILD_ROOT%{_desktopdir}
91
92 %{__make} install \
93         DESTDIR=$RPM_BUILD_ROOT
94
95 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
96
97 tar -cf docs.tar doc/etc doc/menu
98
99 %clean
100 rm -rf $RPM_BUILD_ROOT
101
102 %files
103 %defattr(644,root,root,755)
104 %doc ChangeLog doc/*html doc/README* doc/FAQ doc/TODO docs.tar
105 %attr(755,root,root) %{_bindir}/aterm
106 %{_desktopdir}/aterm.desktop
This page took 0.030441 seconds and 3 git commands to generate.