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