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