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