]> git.pld-linux.org Git - packages/aterm.git/blob - aterm.spec
- added patches for utempter
[packages/aterm.git] / aterm.spec
1 Summary:        aterm - terminal emulator in an X window
2 Name:           aterm
3 Version:        0.3.6
4 Release:        1
5 Copyright:      GPL
6 Group:          X11/Utilities
7 Vendor:         Sasha Vasko <sashav@sprintmail.com>
8 URL:            http://members.xoom.com/sashav/aterm
9 Source0:        http://members.xoom.com/sashav/aterm/%{name}-%{version}.tar.gz
10 Source1:        aterm.desktop
11 Patch0:         aterm-utempter.patch
12 Patch1:         aterm-wtmp.patch
13 BuildRoot:      /tmp/%{name}-%{version}-root
14
15 %define         _prefix /usr/X11R6
16 %define         _mandir /usr/X11R6/man
17
18 %description
19 aterm is a colour vt102 terminal emulator based on
20 rxvt 2.4.8 with Alfredo Kojima's additions of fast transparency,
21 intended as an xterm(1) replacement for users who do not require
22 features such as Tektronix 4014 emulation and toolkit-style
23 configurability. As a result, aterm uses much less swap space -- a
24 significant advantage on a machine serving many X sessions.
25
26 It was created with AfterStep Window Manger users in mind, but is not
27 tied to any libraries, and can be used anywhere.
28
29 %prep
30 %setup -q
31 %patch0 -p1
32 %patch1 -p1
33
34 %build
35 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s -lutempter" \
36 ./configure %{_target_platform} \
37         --prefix=%{_prefix} \
38         --enable-utmp \
39         --enable-wtmp \
40         --enable-background-image \
41         --with-png \
42         --with-jpeg \
43         --enable-transparency \
44         --enable-menubar \
45         --enable-graphics \
46         --enable-next-scroll \
47         --disable-backspace-key \
48         --disable-delete-key \
49         --enable-xgetdefault
50 make
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 mkdir -p $RPM_BUILD_ROOT%{_prefix}
55 mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Utilities
56
57 make prefix=$RPM_BUILD_ROOT%{_prefix} install
58 install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/applnk/Utilities
59
60 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/aterm.1 ChangeLog
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc doc ChangeLog.gz
68 %attr(755,root,root) %{_bindir}/aterm
69 %{_mandir}/man1/aterm.1.gz
70 /etc/X11/applnk/Utilities/aterm.desktop
This page took 0.035146 seconds and 4 git commands to generate.