]> git.pld-linux.org Git - packages/aterm.git/blob - aterm.spec
- release 2: move desktop file to Terminals/.
[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:        2
7 License:        GPL
8 Vendor:         Sasha Vasko <sashav@sprintmail.com>
9 Group:          X11/Applications
10 Group(de):      X11/Applikationen
11 Group(pl):      X11/Aplikacje
12 Source0:        http://download.sourceforge.net/aterm/%{name}-%{version}.tar.bz2
13 Source1:        %{name}.desktop
14 Patch0:         %{name}-utempter.patch
15 Patch1:         %{name}-wtmp.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 %define         _prefix         /usr/X11R6
25 %define         _mandir         %{_prefix}/man
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
58 %build
59 cd autoconf
60 autoconf
61 cp -f ./configure ..
62 cd ..
63 LDFLAGS="%{rpmldflags} -lutempter -L%{_libdir}"
64 export LDFLAGS
65 %configure \
66         --enable-ttygid \
67         --enable-wtmp \
68         --enable-background-image \
69         --with-term="xterm-color" \
70         --with-png \
71         --with-jpeg \
72         --enable-transparency \
73         --enable-fading \
74         --enable-menubar \
75         --enable-graphics \
76         --enable-xgetdefault
77 #       --enable-utmp \
78 #       --enable-next-scroll \
79
80 CFLAGS="%{rpmcflags}" 
81
82 %{__make}
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86 install -d $RPM_BUILD_ROOT%{_applnkdir}/Terminals
87
88 %{__make} DESTDIR=$RPM_BUILD_ROOT install
89
90 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Terminals
91
92 tar -cf docs.tar doc/etc doc/menu
93 gzip -9nf ChangeLog doc/*html doc/README* doc/FAQ doc/TODO docs.tar
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
98 %files
99 %defattr(644,root,root,755)
100 %doc doc/*.gz *.gz
101 %attr(755,root,root) %{_bindir}/aterm
102 %{_mandir}/man1/aterm.1*
103 %{_applnkdir}/Terminals/aterm.desktop
This page took 0.040537 seconds and 4 git commands to generate.