]> git.pld-linux.org Git - packages/aterm.git/blob - aterm.spec
- BuildRequires: autoconf
[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 Name:           aterm
4 Version:        0.4.2
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 Group(de):      X11/Applikationen
9 Group(pl):      X11/Aplikacje
10 Vendor:         Sasha Vasko <sashav@sprintmail.com>
11 URL:            http://aterm.sourceforge.net
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 BuildRequires:  autoconf
17 BuildRequires:  utempter-devel
18 BuildRequires:  XFree86-devel
19 BuildRequires:  libpng-devel
20 BuildRequires:  libjpeg-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _prefix         /usr/X11R6
24 %define         _mandir         %{_prefix}/man
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 %prep
48 %setup -q
49 %patch0 -p1
50 %patch1 -p1
51
52 %build
53 cd autoconf
54 autoconf
55 cp -f ./configure ..
56 cd ..
57 export LDFLAGS="%{rpmldflags} -lutempter -L/usr/X11R6/lib"
58 %configure \
59         --enable-ttygid \
60         --enable-wtmp \
61         --enable-background-image \
62         --with-term="xterm-color" \
63         --with-png \
64         --with-jpeg \
65         --enable-transparency \
66         --enable-fading \
67         --enable-menubar \
68         --enable-graphics \
69         --enable-xgetdefault
70 #       --enable-utmp \
71 #       --enable-next-scroll \
72
73 CFLAGS="%{rpmcflags}" 
74
75 %{__make}
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79
80 install -d $RPM_BUILD_ROOT%{_applnkdir}/System
81
82 %{__make} DESTDIR=$RPM_BUILD_ROOT install
83 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/System
84
85 tar -cf docs.tar doc/etc doc/menu doc/yodl
86 gzip -9nf ChangeLog doc/*html doc/README* doc/FAQ doc/TODO docs.tar
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %files
92 %defattr(644,root,root,755)
93 %doc doc/*.gz *.gz
94 %attr(755,root,root) %{_bindir}/aterm
95 %{_mandir}/man1/aterm.1*
96 %{_applnkdir}/System/aterm.desktop
This page took 0.099902 seconds and 4 git commands to generate.