/[packages]/cauldron/xterm/current/SPECS/xterm.spec
ViewVC logotype

Contents of /cauldron/xterm/current/SPECS/xterm.spec

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30