]> git.pld-linux.org Git - packages/aterm.git/blob - aterm.spec
- remove unused options for configure and BRs
[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:  utempter-devel
20 BuildRequires:  xorg-lib-libXt-devel
21 Requires:       terminfo
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 aterm is a colour vt102 terminal emulator based on rxvt 2.4.8 with
26 Alfredo Kojima's additions of fast transparency, intended as an
27 xterm(1) replacement for users who do not require features such as
28 Tektronix 4014 emulation and toolkit-style configurability. As a
29 result, aterm uses much less swap space -- a significant advantage on
30 a machine serving many X sessions. It was created with AfterStep
31 Window Manger users in mind, but is not tied to any libraries, and can
32 be used anywhere.
33
34 %description -l pl.UTF-8
35 aterm jest kolorowym emulatorem terminala vt102, opartym na rxvt 2.4.8
36 z dodatkami Afredo Kojima do szybkiej emulacji przezroczystości. W
37 założeniu ma zastąpić program xterm(1) użytkownikom nie wymagającym
38 takich rzeczy jak emulacja terminala Tektronix 4014 oraz
39 "toolkit-style configurability". W efekcie aterm używa dużo mniej
40 pamięci swap -- co jest dużą zaletą w systemach obsługujących liczne
41 sesje Xów. Został stworzony z myślą o użytkownikach AfterStepa, ale
42 nie jest związany z żadnymi specyficznymi bibliotekami i może być
43 używany gdziekolwiek.
44
45 %description -l pt_BR.UTF-8
46 Aterm é um emulador de terminal vt102 baseado no rxvt 2.4.8, com a
47 adição de fundo transparente. Aterm é um substituto para o xterm, mais
48 leve.
49
50 %prep
51 %setup -q
52 %patch0 -p1
53 %patch1 -p1
54 %patch2 -p1
55 %patch3 -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         --enable-transparency \
71         --enable-fading \
72         --enable-menubar \
73         --enable-graphics \
74         --enable-xgetdefault \
75         --enable-next-scroll
76 #       --enable-utmp \
77
78 CFLAGS="%{rpmcflags}"
79
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84 install -d $RPM_BUILD_ROOT%{_desktopdir}
85
86 %{__make} install \
87         DESTDIR=$RPM_BUILD_ROOT
88
89 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
90
91 tar -cf docs.tar doc/etc doc/menu
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %files
97 %defattr(644,root,root,755)
98 %doc ChangeLog doc/README* doc/FAQ docs.tar
99 %{_mandir}/man1/*
100 %attr(755,root,root) %{_bindir}/aterm
101 %{_desktopdir}/aterm.desktop
This page took 0.038706 seconds and 3 git commands to generate.