]> git.pld-linux.org Git - packages/xterm.git/blame - xterm.spec
- updated to 295
[packages/xterm.git] / xterm.spec
CommitLineData
59df164d 1Summary: Terminal emulator for X
a18e4c04 2Summary(pl.UTF-8): Emulator terminala dla X
59df164d 3Name: xterm
e62aa850 4Version: 295
9869ee57 5Release: 1
59df164d
JB
6License: MIT
7Group: X11/Applications
8Source0: ftp://invisible-island.net/xterm/%{name}-%{version}.tgz
e62aa850 9# Source0-md5: 5a11e78d3504c859e8b16f7bbe03b0d1
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
94e62943
JB
71# cleanup unpackaged icons
72%{__rm} $RPM_BUILD_ROOT%{_pixmapsdir}/{filled-xterm,mini.xterm,xterm-color,xterm}_*x*.xpm
73
59df164d
JB
74%clean
75rm -rf $RPM_BUILD_ROOT
76
77%files
78%defattr(644,root,root,755)
263bc3f7 79%doc README README.i18n xterm.log.html
59df164d
JB
80%attr(755,root,root) %{_bindir}/resize
81%attr(755,root,root) %{_bindir}/xterm
82%attr(755,root,root) %{_bindir}/uxterm
2299b994 83%attr(755,root,root) %{_bindir}/koi8rxterm
2de2ebb3 84%{_datadir}/X11/app-defaults/UXTerm
b42551b2 85%{_datadir}/X11/app-defaults/UXTerm-color
2de2ebb3
JB
86%{_datadir}/X11/app-defaults/XTerm
87%{_datadir}/X11/app-defaults/XTerm-color
59221e0f 88%{_datadir}/X11/app-defaults/KOI8RXTerm
b42551b2 89%{_datadir}/X11/app-defaults/KOI8RXTerm-color
263bc3f7 90%lang(pl) %{_datadir}/X11/pl/app-defaults/XTerm
2de2ebb3
JB
91%{_desktopdir}/xterm.desktop
92%{_pixmapsdir}/xterm.png
59df164d
JB
93%{_mandir}/man1/resize.1*
94%{_mandir}/man1/xterm.1*
95%{_mandir}/man1/uxterm.1*
2299b994 96%{_mandir}/man1/koi8rxterm.1*
36e9b918
JB
97%lang(ko) %{_mandir}/ko/man1/xterm.1*
98%lang(ko) %{_mandir}/ko/man1/uxterm.1*
This page took 0.139995 seconds and 4 git commands to generate.