Репозитории ALT
Группа :: Терминалы
Пакет: xterm
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: xterm
Version: 202
Release: alt2
Summary: A standard terminal emulator for the X Window System
Summary(ru_RU.KOI8-R): Стандартный эмулятор терминала для X Window System
Url: http://invisible-island.net/%name/%name.html
License: MIT
Group: Terminals
Packager: Dmitry V. Levin <ldv at altlinux.org>
Source0: ftp://invisible-island.net/%name/%name-%version.tar.bz2
Source1: %name-terminal-16.xpm
Source2: %name-terminal-32.xpm
Source3: %name-terminal-48.xpm
Source4: %name.menu
Source5: %name.alternatives
Source6: uxterm
Patch1: %name-202-alt-metaaltfix.patch
Patch2: %name-202-alt-configure.patch
Patch3: %name-202-alt-render.patch
Patch4: %name-202-alt-utempter.patch
Patch5: %name-202-alt-tinfo.patch
Patch6: %name-202-alt-perms.patch
Patch7: %name-202-alt-deffont.patch
Patch8: %name-202-alt-makefile-install.patch
Patch9: %name-202-alt-disable-report_win_label.patch
Patch10: %name-202-alt-i18n.patch
Patch11: %name-202-alt-colors.patch
Patch12: %name-202-alt-class.patch
Provides: xvt, %_x11bindir/xvt
PreReq: libutempter >= 1.0.7, alternatives >= 0:0.2.0-alt0.12
BuildPreReq: groff-base fontconfig-devel freetype2-devel libalternatives-devel libncurses-devel libutempter-devel xorg-x11-devel
%description
The XTerm program is the standard terminal emulator for the X Window System.
It provides DEC VT102/VT220 and Tektronix 4014 compatible terminals for
programs that can't use the window system directly. If the underlying
operating system supports terminal resizing capabilities (for example,
the SIGWINCH signal in systems derived from 4.3bsd), %name will use
the facilities to notify programs running in the window whenever it
is resized.
%prep
%setup -q
%__install -pm755 %_sourcedir/uxterm .
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%build
chmod -R u+w .
%set_autoconf_version 2.13
%define freetype_flags %(xft-config --cflags)
%add_optflags %freetype_flags
xft-config --cflags >/dev/null
export ac_cv_path_XTERM_PATH=%_x11bindir/%name
autoconf
%configure \
--with-utempter \
--enable-warnings \
--enable-wide-chars \
--enable-dec-locator \
--enable-freetype \
--disable-full-tgetent \
#
%make_build all ctlseqs.txt
bzip2 -9fk ctlseqs.txt
%install
%make_install install \
bindir=%buildroot%_x11bindir \
mandir=%buildroot%_x11mandir/man1 \
appsdir=%buildroot%_sysconfdir/X11/app-defaults
install -pD -m644 %SOURCE1 %buildroot%_miconsdir/%name-terminal.xpm
install -pD -m644 %SOURCE2 %buildroot%_iconsdir/%name-terminal.xpm
install -pD -m644 %SOURCE3 %buildroot%_liconsdir/%name-terminal.xpm
install -pD -m644 %SOURCE4 %buildroot%_menudir/%name
install -pD -m644 %SOURCE5 %buildroot%_altdir/%name
%post
%register_alternatives %name -- xvt
%update_menus
%postun
%unregister_alternatives %name
%clean_menus
%files
%attr(2711,root,utempter) %_x11bindir/%name
%_x11bindir/u%name
%_x11bindir/resize
%_x11mandir/man?/*
%config(noreplace) %_sysconfdir/X11/app-defaults/*
%_menudir/*
%_altdir/%name
%_iconsdir/*.xpm
%_iconsdir/*/*.xpm
%doc README ctlseqs.txt.* %name.log*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 202
Release: alt2
Summary: A standard terminal emulator for the X Window System
Summary(ru_RU.KOI8-R): Стандартный эмулятор терминала для X Window System
Url: http://invisible-island.net/%name/%name.html
License: MIT
Group: Terminals
Packager: Dmitry V. Levin <ldv at altlinux.org>
Source0: ftp://invisible-island.net/%name/%name-%version.tar.bz2
Source1: %name-terminal-16.xpm
Source2: %name-terminal-32.xpm
Source3: %name-terminal-48.xpm
Source4: %name.menu
Source5: %name.alternatives
Source6: uxterm
Patch1: %name-202-alt-metaaltfix.patch
Patch2: %name-202-alt-configure.patch
Patch3: %name-202-alt-render.patch
Patch4: %name-202-alt-utempter.patch
Patch5: %name-202-alt-tinfo.patch
Patch6: %name-202-alt-perms.patch
Patch7: %name-202-alt-deffont.patch
Patch8: %name-202-alt-makefile-install.patch
Patch9: %name-202-alt-disable-report_win_label.patch
Patch10: %name-202-alt-i18n.patch
Patch11: %name-202-alt-colors.patch
Patch12: %name-202-alt-class.patch
Provides: xvt, %_x11bindir/xvt
PreReq: libutempter >= 1.0.7, alternatives >= 0:0.2.0-alt0.12
BuildPreReq: groff-base fontconfig-devel freetype2-devel libalternatives-devel libncurses-devel libutempter-devel xorg-x11-devel
%description
The XTerm program is the standard terminal emulator for the X Window System.
It provides DEC VT102/VT220 and Tektronix 4014 compatible terminals for
programs that can't use the window system directly. If the underlying
operating system supports terminal resizing capabilities (for example,
the SIGWINCH signal in systems derived from 4.3bsd), %name will use
the facilities to notify programs running in the window whenever it
is resized.
%prep
%setup -q
%__install -pm755 %_sourcedir/uxterm .
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%build
chmod -R u+w .
%set_autoconf_version 2.13
%define freetype_flags %(xft-config --cflags)
%add_optflags %freetype_flags
xft-config --cflags >/dev/null
export ac_cv_path_XTERM_PATH=%_x11bindir/%name
autoconf
%configure \
--with-utempter \
--enable-warnings \
--enable-wide-chars \
--enable-dec-locator \
--enable-freetype \
--disable-full-tgetent \
#
%make_build all ctlseqs.txt
bzip2 -9fk ctlseqs.txt
%install
%make_install install \
bindir=%buildroot%_x11bindir \
mandir=%buildroot%_x11mandir/man1 \
appsdir=%buildroot%_sysconfdir/X11/app-defaults
install -pD -m644 %SOURCE1 %buildroot%_miconsdir/%name-terminal.xpm
install -pD -m644 %SOURCE2 %buildroot%_iconsdir/%name-terminal.xpm
install -pD -m644 %SOURCE3 %buildroot%_liconsdir/%name-terminal.xpm
install -pD -m644 %SOURCE4 %buildroot%_menudir/%name
install -pD -m644 %SOURCE5 %buildroot%_altdir/%name
%post
%register_alternatives %name -- xvt
%update_menus
%postun
%unregister_alternatives %name
%clean_menus
%files
%attr(2711,root,utempter) %_x11bindir/%name
%_x11bindir/u%name
%_x11bindir/resize
%_x11mandir/man?/*
%config(noreplace) %_sysconfdir/X11/app-defaults/*
%_menudir/*
%_altdir/%name
%_iconsdir/*.xpm
%_iconsdir/*/*.xpm
%doc README ctlseqs.txt.* %name.log*
%changelog
…
Полный changelog можно просмотреть здесь