]>
Commit | Line | Data |
---|---|---|
59df164d | 1 | Summary: Terminal emulator for X |
a18e4c04 | 2 | Summary(pl.UTF-8): Emulator terminala dla X |
59df164d | 3 | Name: xterm |
c371ed24 | 4 | Version: 226 |
423a6942 | 5 | Release: 1 |
59df164d JB |
6 | License: MIT |
7 | Group: X11/Applications | |
8 | Source0: ftp://invisible-island.net/xterm/%{name}-%{version}.tgz | |
c371ed24 | 9 | # Source0-md5: 93d1f43ac3c13af86c598493f14a36f6 |
2de2ebb3 | 10 | Source1: XTerm.ad-pl |
735eb429 JB |
11 | Source2: %{name}.desktop |
12 | Source3: %{name}.png | |
13 | Source4: %{name}.1x.ko | |
59df164d | 14 | URL: http://invisible-island.net/xterm/ |
59df164d JB |
15 | BuildRequires: ncurses-devel |
16 | BuildRequires: utempter-devel | |
cf279419 JB |
17 | BuildRequires: xorg-lib-libXaw-devel |
18 | BuildRequires: xorg-lib-libXft-devel | |
7843c7b2 | 19 | Requires: xorg-lib-libXt >= 1.0.0 |
59df164d JB |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | The xterm program is a terminal emulator for the X Window System. It | |
24 | provides DEC VT102/VT220 (VTxxx) and Tektronix 4014 compatible | |
25 | terminals for programs that cannot use the window system directly. | |
26 | ||
27 | This version implements ISO/ANSI colors using the "new" color model | |
28 | (i.e., background color erase). It also implements most of the control | |
29 | sequences for VT220. | |
30 | ||
a2c4557e JR |
31 | %description -l pl.UTF-8 |
32 | Program xterm to emulator terminala dla X Window System. Udostępnia | |
59df164d | 33 | terminale zgodne z DEC VT102/VT220 (VTxxx) oraz Tektronix 4014 dla |
a2c4557e | 34 | programów nie potrafiących używać bezpośrednio systemu okien. |
59df164d | 35 | |
a2c4557e JR |
36 | Ta wersja implementuje kolory ISO/ANSI przy użyciu "nowego" modelu |
37 | kolorów (tzn. usuwania kolorem tła). Implementuje także większość | |
38 | sekwencji sterujących VT220. | |
59df164d JB |
39 | |
40 | %prep | |
41 | %setup -q | |
42 | ||
43 | %build | |
189625ca | 44 | CPPFLAGS="-I/usr/include/ncurses" |
59df164d JB |
45 | %configure \ |
46 | --enable-256-color \ | |
47 | --enable-wide-chars \ | |
7843c7b2 | 48 | --with-app-defaults=%{_datadir}/X11/app-defaults \ |
59df164d JB |
49 | --with-utempter |
50 | ||
c5b21660 | 51 | %{__make} \ |
52 | EXTRA_LOADFLAGS="-ltinfo" | |
59df164d JB |
53 | |
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %{__make} install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
60 | echo '.so xterm.1' > $RPM_BUILD_ROOT%{_mandir}/man1/uxterm.1 | |
61 | ||
263bc3f7 | 62 | install -D %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/X11/pl/app-defaults/XTerm |
2de2ebb3 JB |
63 | install -D %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/xterm.desktop |
64 | install -D %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}/xterm.png | |
36e9b918 JB |
65 | install -D %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/ko/man1/xterm.1 |
66 | echo '.so xterm.1' > $RPM_BUILD_ROOT%{_mandir}/ko/man1/uxterm.1 | |
2de2ebb3 | 67 | |
59df164d JB |
68 | %clean |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %files | |
72 | %defattr(644,root,root,755) | |
263bc3f7 | 73 | %doc README README.i18n xterm.log.html |
59df164d JB |
74 | %attr(755,root,root) %{_bindir}/resize |
75 | %attr(755,root,root) %{_bindir}/xterm | |
76 | %attr(755,root,root) %{_bindir}/uxterm | |
2de2ebb3 JB |
77 | %{_datadir}/X11/app-defaults/UXTerm |
78 | %{_datadir}/X11/app-defaults/XTerm | |
79 | %{_datadir}/X11/app-defaults/XTerm-color | |
263bc3f7 | 80 | %lang(pl) %{_datadir}/X11/pl/app-defaults/XTerm |
2de2ebb3 JB |
81 | %{_desktopdir}/xterm.desktop |
82 | %{_pixmapsdir}/xterm.png | |
59df164d JB |
83 | %{_mandir}/man1/resize.1* |
84 | %{_mandir}/man1/xterm.1* | |
85 | %{_mandir}/man1/uxterm.1* | |
36e9b918 JB |
86 | %lang(ko) %{_mandir}/ko/man1/xterm.1* |
87 | %lang(ko) %{_mandir}/ko/man1/uxterm.1* |