]> git.pld-linux.org Git - packages/xterm.git/blob - xterm.spec
- updated to 300
[packages/xterm.git] / xterm.spec
1 Summary:        Terminal emulator for X
2 Summary(pl.UTF-8):      Emulator terminala dla X
3 Name:           xterm
4 Version:        300
5 Release:        1
6 License:        MIT
7 Group:          X11/Applications
8 Source0:        ftp://invisible-island.net/xterm/%{name}-%{version}.tgz
9 # Source0-md5:  6adc7c7f39ab2a71fd83747049d60358
10 Source1:        XTerm.ad-pl
11 Source2:        %{name}.desktop
12 Source3:        %{name}.png
13 Source4:        %{name}.1x.ko
14 Patch0:         %{name}-tinfo.patch
15 URL:            http://invisible-island.net/xterm/
16 BuildRequires:  libutempter-devel
17 BuildRequires:  ncurses-devel
18 BuildRequires:  pkgconfig
19 BuildRequires:  xorg-lib-libXaw-devel
20 BuildRequires:  xorg-lib-libXft-devel
21 Requires:       xorg-lib-libXt >= 1.0.0
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 The xterm program is a terminal emulator for the X Window System. It
26 provides DEC VT102/VT220 (VTxxx) and Tektronix 4014 compatible
27 terminals for programs that cannot use the window system directly.
28
29 This version implements ISO/ANSI colors using the "new" color model
30 (i.e., background color erase). It also implements most of the control
31 sequences for VT220.
32
33 %description -l pl.UTF-8
34 Program xterm to emulator terminala dla X Window System. Udostępnia
35 terminale zgodne z DEC VT102/VT220 (VTxxx) oraz Tektronix 4014 dla
36 programów nie potrafiących używać bezpośrednio systemu okien.
37
38 Ta wersja implementuje kolory ISO/ANSI przy użyciu "nowego" modelu
39 kolorów (tzn. usuwania kolorem tła). Implementuje także większość
40 sekwencji sterujących VT220.
41
42 %prep
43 %setup -q
44 %patch0 -p1
45
46 %build
47 # don't run autoconf, modified version of autoconf is required
48 CPPFLAGS="-I/usr/include/ncurses %{rpmcppflags}"
49 %configure \
50         --enable-256-color \
51         --enable-wide-chars \
52         --with-app-defaults=%{_datadir}/X11/app-defaults \
53         --with-utempter
54
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 echo '.so xterm.1' > $RPM_BUILD_ROOT%{_mandir}/man1/uxterm.1
64
65 install -D %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/X11/pl/app-defaults/XTerm
66 install -D %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/xterm.desktop
67 install -D %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}/xterm.png
68 install -D %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/ko/man1/xterm.1
69 echo '.so xterm.1' > $RPM_BUILD_ROOT%{_mandir}/ko/man1/uxterm.1
70
71 # cleanup unpackaged icons
72 %{__rm} $RPM_BUILD_ROOT%{_pixmapsdir}/{filled-xterm,mini.xterm,xterm-color,xterm}_*x*.xpm
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files
78 %defattr(644,root,root,755)
79 %doc README README.i18n xterm.log.html
80 %attr(755,root,root) %{_bindir}/resize
81 %attr(755,root,root) %{_bindir}/xterm
82 %attr(755,root,root) %{_bindir}/uxterm
83 %attr(755,root,root) %{_bindir}/koi8rxterm
84 %{_datadir}/X11/app-defaults/UXTerm
85 %{_datadir}/X11/app-defaults/UXTerm-color
86 %{_datadir}/X11/app-defaults/XTerm
87 %{_datadir}/X11/app-defaults/XTerm-color
88 %{_datadir}/X11/app-defaults/KOI8RXTerm
89 %{_datadir}/X11/app-defaults/KOI8RXTerm-color
90 %lang(pl) %{_datadir}/X11/pl/app-defaults/XTerm
91 %{_desktopdir}/xterm.desktop
92 %{_pixmapsdir}/xterm.png
93 %{_mandir}/man1/resize.1*
94 %{_mandir}/man1/xterm.1*
95 %{_mandir}/man1/uxterm.1*
96 %{_mandir}/man1/koi8rxterm.1*
97 %lang(ko) %{_mandir}/ko/man1/xterm.1*
98 %lang(ko) %{_mandir}/ko/man1/uxterm.1*
This page took 0.112896 seconds and 3 git commands to generate.