]> git.pld-linux.org Git - packages/aterm.git/blob - aterm.spec
97f69274a73b75de667b5ea9d20220f2d881c051
[packages/aterm.git] / aterm.spec
1 Summary:        aterm - terminal emulator in an X Window System
2 Summary(pl.UTF-8):      aterm - emulator terminala dla X Window System
3 Summary(pt_BR.UTF-8):   Um emulador de vt102 colorido
4 Name:           aterm
5 Version:        1.0.1
6 Release:        1
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:  c2eede028e1011e0ec7035cf319c9b5a
12 Source1:        %{name}.desktop
13 Patch0:         %{name}-utempter.patch
14 Patch1:         %{name}-wtmp.patch
15 Patch2:         %{name}-etc_dir.patch
16 Patch3:         %{name}-without-afterstep.patch
17 URL:            http://www.afterstep.org/aterm.php
18 BuildRequires:  autoconf
19 BuildRequires:  libjpeg-devel
20 BuildRequires:  libpng-devel
21 BuildRequires:  utempter-devel
22 BuildRequires:  xorg-lib-libXt-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.UTF-8
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.UTF-8
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 install -d $RPM_BUILD_ROOT%{_desktopdir}
89
90 %{__make} install \
91         DESTDIR=$RPM_BUILD_ROOT
92
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/README* doc/FAQ docs.tar
103 %{_mandir}/man1/*
104 %attr(755,root,root) %{_bindir}/aterm
105 %{_desktopdir}/aterm.desktop
This page took 0.059599 seconds and 2 git commands to generate.