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