1 |
Summary: Standard terminal emulator for the X window system |
2 |
Name: xterm |
3 |
Version: 348 |
4 |
Release: %mkrel 1 |
5 |
# URL with a list of downloads / tarballs: |
6 |
# ftp://ftp.invisible-island.net/xterm |
7 |
Source0: ftp://ftp.invisible-island.net/xterm/%{name}-%{version}.tgz |
8 |
Source1: ftp://ftp.invisible-island.net/xterm/%{name}-%{version}.tgz.asc |
9 |
|
10 |
# from http://www.vim.org/scripts/script.php?script_id=1349, public domain |
11 |
Source20: colortest.pl |
12 |
|
13 |
Url: http://invisible-island.net/xterm/ |
14 |
License: MIT |
15 |
Group: Terminals |
16 |
BuildRequires: pkgconfig(x11) |
17 |
BuildRequires: pkgconfig(xaw7) |
18 |
BuildRequires: pkgconfig(xft) |
19 |
BuildRequires: pkgconfig(xmu) |
20 |
BuildRequires: pkgconfig(xt) |
21 |
BuildRequires: pkgconfig(fontconfig) |
22 |
BuildRequires: pkgconfig(ncurses) |
23 |
BuildRequires: luit |
24 |
Requires: luit |
25 |
|
26 |
%description |
27 |
The XTerm program is the standard terminal emulator for the X Window System. It |
28 |
provides DEC VT102/VT220 and Tektronix 4014 compatible terminals for programs |
29 |
that can't use the window system directly. If the underlying operating system |
30 |
supports terminal resizing capabilities (for example, the SIGWINCH signal in |
31 |
systems derived from 4.3bsd), xterm will use the facilities to notify programs |
32 |
running in the window whenever it is resized. |
33 |
|
34 |
The xterm included in this package has support for 256 colors enabled. |
35 |
|
36 |
%prep |
37 |
%setup -q |
38 |
cp %{SOURCE20} . |
39 |
|
40 |
%build |
41 |
%configure2_5x \ |
42 |
--disable-full-tgetent \ |
43 |
--enable-wide-chars \ |
44 |
--x-includes=%{_includedir}/freetype2 \ |
45 |
--enable-luit \ |
46 |
--enable-256-color \ |
47 |
--with-app-defaults=%{_libdir}/X11/app-defaults \ |
48 |
--with-icon-theme=hicolor \ |
49 |
--with-icondir=%{_datadir}/icons |
50 |
|
51 |
%make_build |
52 |
|
53 |
%install |
54 |
make DESTDIR=%{buildroot} install |
55 |
|
56 |
# NOTE: encodingMode: locale means to follow the charset encoding of the |
57 |
# locale. A quite complete unicode font is set as the default (instead of the |
58 |
# very poor "fixed" one). a quick cat is used instead of patching the sources; |
59 |
# it shoulmd be made the default imho |
60 |
# locale: true means to use luit to convert locale encoding to unicode |
61 |
# for display. |
62 |
# luit support is needed for it to work -- pablo |
63 |
cat << EOF >> %{buildroot}%{_libdir}/X11/app-defaults/XTerm |
64 |
|
65 |
*.vt100.font: -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1 |
66 |
*.vt100.encodingMode: locale |
67 |
*.locale: true |
68 |
*.PtyInitialErase: on |
69 |
*.backarrowKeyIsErase: on |
70 |
*.allowFontOps: false |
71 |
*.allowTcapOps: false |
72 |
*.disallowedWindowOps: 1,2,3,4,5,6,7,8,9,11,13,14,18,19,20,21,GetSelection,SetSelection,SetWinLines,SetXprop |
73 |
EOF |
74 |
|
75 |
mkdir -p %{buildroot}%{_datadir}/applications |
76 |
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF |
77 |
[Desktop Entry] |
78 |
Name=XTerm |
79 |
GenericName=Terminal |
80 |
GenericName[ru]=Терминал |
81 |
Comment=%{summary} |
82 |
Comment[ar]=برنامج سطر الأوامر القياسي لنظام نوافذ إكس |
83 |
Comment[az]=X Windows sistemi üçün standart terminal emulyator |
84 |
Comment[bg]=Стандартният терминален емулатор за Х |
85 |
Comment[bn]=এক্স উইন্ডো সিস্টেমের সাধারণ টার্মিনাল এমুলেটর |
86 |
Comment[bs]=Standardni simulator terminala za X Window sistem |
87 |
Comment[ca]=L'emulador estàndard de terminal per al sistema de finestres X |
88 |
Comment[cs]=Standardní emulátor terminálu pro X Window Systém |
89 |
Comment[cy]=Efelychydd terfynell safonol ar gyfer System Ffenestr X |
90 |
Comment[da]=Den almindelige terminalemulator for X vinduessystemet |
91 |
Comment[de]=Die Standard-Terminal-Emulation des X Window Systems |
92 |
Comment[el]=Ο προκαθορισμένος εξομοιωτής τερματικού για το Σύστημα Παραθύρων Χ |
93 |
Comment[es]=El emulador de terminal estándar para el X Window System |
94 |
Comment[et]=Tavaline terminaliemulaator X Window süsteemi jaoks |
95 |
Comment[eu]=X Window sistemaren terminal-emulatzaile estandarra |
96 |
Comment[fa]=شبیهساز پایانه استاندارد در سیستم پنجره X |
97 |
Comment[fi]=X-ikkunointijärjestelmän oletuspääte-emulaattori |
98 |
Comment[fr]=L'émulateur de terminal standard du système X Window |
99 |
Comment[gl]=O emulador de terminal estandar para o Sistema X Window |
100 |
Comment[he]=אמולטור המסוף הסטנדרטי של מערכת X |
101 |
Comment[hi]=एक्स विण्डो प्रणाली के लिए मानक टर्मिनल ऐम्यूलेटर |
102 |
Comment[hu]=Az X ablakrendszer standard terminálemulátora |
103 |
Comment[id]=Emulator terminal standar untuk Sistem Window X |
104 |
Comment[is]=Staðlaði skjáhermirinn fyrir X gluggakerfið |
105 |
Comment[it]=L'emulatore di terminale standard per il sistema X Window |
106 |
Comment[ja]=X ウィンドウシステムの標準ターミナル |
107 |
Comment[ko]=X용 표준 터미널 에뮬레이터 |
108 |
Comment[ky]=X Window Системасы үчүн стндарттык терминал эмулятору |
109 |
Comment[lt]=Standartinis terminalo emuliatorius X Window sistemai |
110 |
Comment[lv]=Standarta termināļa emulators priekš X logu sistēmas |
111 |
Comment[mk]=Стандардниот терминал-емулатор за системот „X Window“ |
112 |
Comment[mt]=L-emulatur ta' terminal standard tas-sistema X Windows |
113 |
Comment[nb]=Standard terminalemulatoren for X |
114 |
Comment[nl]=De standaard terminal emulator voor het X Window systeem |
115 |
Comment[nn]=Standard terminalemulator for X |
116 |
Comment[pl]=Standardowy emulator terminala dla systemu X Window |
117 |
Comment[pt]=O emulador de terminal padrão para o Sistema de Janelas X |
118 |
Comment[pt_BR]=Emulador de terminal padrão do Sistema de Janelas X |
119 |
Comment[ro]=Emulator de terminal standard pentru sistemul X Window |
120 |
Comment[ru]=Стандартный эмулятор терминала для системы X Window |
121 |
Comment[sc]=S'emuladori de terminali standard po su X Window System |
122 |
Comment[sk]=Štandardný emulátor terminálu pre X Window Systém |
123 |
Comment[sl]=Standardna kozola za X okna |
124 |
Comment[sq]=Një imitues standard i terminalit për Sistemin X Windows |
125 |
Comment[sr]=Стандардни емулатор терминала за X Window Систем |
126 |
Comment[sr@Latn]=Standardni emulator terminala za X Window Sistem |
127 |
Comment[sv]=Den förvalda terminalemulatorn för X |
128 |
Comment[ta]=கொடாநிலை முனையம் |
129 |
Comment[tg]=Намунасози низоммеъёри поёна барои X Системаи Тирезавӣ |
130 |
Comment[th]=โปรแกรมเทอร์มินัลมาตรฐานบน X Windows |
131 |
Comment[tl]=And standard terminal emulator (manggagaya terminal) para sa X Window System |
132 |
Comment[tr]=X Window Sistemi için bir standart Uçbirim Emülasyonu |
133 |
Comment[uk]=Емулятор стандартного терміналу для системи X Window |
134 |
Comment[vi]=Trình mô phỏng Terminal chuẩn cho Hệ thống Cửa sổ X |
135 |
Comment[wa]=Li terminå standård pol sistinme di purneas X |
136 |
Comment[zh_CN]=X 窗口系统模拟终端 |
137 |
Comment[zh_TW]=X Window 系統的標準終端機模擬器 |
138 |
Exec=%{name} -name Terminal |
139 |
Icon=xterm-color |
140 |
Terminal=false |
141 |
Type=Application |
142 |
StartupNotify=true |
143 |
Categories=TerminalEmulator;System;Utility; |
144 |
EOF |
145 |
|
146 |
for xpm in *xterm{-color_32x32,-color_48x48,_32x32,_48x48}.xpm; do |
147 |
rm -f %{buildroot}%{_datadir}/pixmaps/$xpm |
148 |
done |
149 |
|
150 |
%files |
151 |
%doc ctlseqs.txt colortest.pl |
152 |
%{_bindir}/* |
153 |
%{_mandir}/*/* |
154 |
%{_libdir}/X11/app-defaults/* |
155 |
%{_datadir}/applications/%{name}.desktop |
156 |
%{_iconsdir}/hicolor/*/apps/*xterm*.* |