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