]> git.pld-linux.org Git - packages/aterm.git/blame - aterm.spec
- aterm-without-afterstep.patch; switching off integration with AfterStep
[packages/aterm.git] / aterm.spec
CommitLineData
24d4dfe7 1Summary: aterm - terminal emulator in an X Window System
6127e283
ER
2Summary(pl.UTF-8): aterm - emulator terminala dla X Window System
3Summary(pt_BR.UTF-8): Um emulador de vt102 colorido
5261abf6 4Name: aterm
a6c8f13a 5Version: 1.0.1
6Release: 1
24d4dfe7 7License: GPL
b24c926e 8Vendor: Sasha Vasko <sashav@sprintmail.com>
84fc1867 9Group: X11/Applications
1869fffe 10Source0: http://dl.sourceforge.net/aterm/%{name}-%{version}.tar.bz2
a6c8f13a 11# Source0-md5: c2eede028e1011e0ec7035cf319c9b5a
669cea6d 12Source1: %{name}.desktop
13Patch0: %{name}-utempter.patch
14Patch1: %{name}-wtmp.patch
5740e521 15Patch2: %{name}-etc_dir.patch
2e62599c 16Patch3: %{name}-without-afterstep.patch
87b06125 17URL: http://www.afterstep.org/aterm.php
b24c926e 18BuildRequires: autoconf
19fbffff 19BuildRequires: libjpeg-devel
b24c926e 20BuildRequires: libpng-devel
21BuildRequires: utempter-devel
6f2c575a 22BuildRequires: xorg-lib-libXt-devel
9a307b7f 23Requires: terminfo
dc9a44dd 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
f327c254 25
26%description
e1fb8a1b 27aterm is a colour vt102 terminal emulator based on rxvt 2.4.8 with
28Alfredo Kojima's additions of fast transparency, intended as an
29xterm(1) replacement for users who do not require features such as
30Tektronix 4014 emulation and toolkit-style configurability. As a
31result, aterm uses much less swap space -- a significant advantage on
32a machine serving many X sessions. It was created with AfterStep
33Window Manger users in mind, but is not tied to any libraries, and can
34be used anywhere.
f327c254 35
53c7e42f 36%description -l pl.UTF-8
e1fb8a1b 37aterm jest kolorowym emulatorem terminala vt102, opartym na rxvt 2.4.8
53c7e42f
JR
38z dodatkami Afredo Kojima do szybkiej emulacji przezroczystości. W
39założeniu ma zastąpić program xterm(1) użytkownikom nie wymagającym
e1fb8a1b 40takich rzeczy jak emulacja terminala Tektronix 4014 oraz
53c7e42f
JR
41"toolkit-style configurability". W efekcie aterm używa dużo mniej
42pamięci swap -- co jest dużą zaletą w systemach obsługujących liczne
43sesje Xów. Został stworzony z myślą o użytkownikach AfterStepa, ale
44nie jest związany z żadnymi specyficznymi bibliotekami i może być
45używany gdziekolwiek.
f327c254 46
53c7e42f
JR
47%description -l pt_BR.UTF-8
48Aterm é um emulador de terminal vt102 baseado no rxvt 2.4.8, com a
49adição de fundo transparente. Aterm é um substituto para o xterm, mais
b24c926e 50leve.
51
f327c254 52%prep
53%setup -q
35c8cfaa
JR
54%patch0 -p1
55%patch1 -p1
aa309ee9 56%patch2 -p1
2e62599c 57%patch3 -p1
f327c254 58
13358660 59%build
19fbffff 60cd autoconf
faf5031d 61%{__autoconf}
19fbffff 62cp -f ./configure ..
63cd ..
b24c926e 64LDFLAGS="%{rpmldflags} -lutempter -L%{_libdir}"
65export LDFLAGS
a62a310c 66
19fbffff 67%configure \
17dd4ce7 68 --enable-ttygid \
5acc6a64
AF
69 --enable-wtmp \
70 --enable-background-image \
66ffeb41 71 --with-term=rxvt \
5acc6a64
AF
72 --with-png \
73 --with-jpeg \
74 --enable-transparency \
72f9b783 75 --enable-fading \
5acc6a64
AF
76 --enable-menubar \
77 --enable-graphics \
e77e9359 78 --enable-xgetdefault \
79 --enable-next-scroll
17dd4ce7 80# --enable-utmp \
24d4dfe7 81
8f5bc9dd 82CFLAGS="%{rpmcflags}"
17dd4ce7
PG
83
84%{__make}
f327c254 85
86%install
35c8cfaa 87rm -rf $RPM_BUILD_ROOT
78752e77 88install -d $RPM_BUILD_ROOT%{_desktopdir}
24d4dfe7 89
ae24f5a5
PG
90%{__make} install \
91 DESTDIR=$RPM_BUILD_ROOT
b24c926e 92
63dde671 93install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
13358660 94
b24c926e 95tar -cf docs.tar doc/etc doc/menu
17dd4ce7 96
f327c254 97%clean
98rm -rf $RPM_BUILD_ROOT
99
100%files
13358660 101%defattr(644,root,root,755)
87b06125 102%doc ChangeLog doc/README* doc/FAQ docs.tar
103%{_mandir}/man1/*
35c8cfaa 104%attr(755,root,root) %{_bindir}/aterm
63dde671 105%{_desktopdir}/aterm.desktop
This page took 0.0792 seconds and 4 git commands to generate.