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