xterm/xterm.spec

99 lines
2.5 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:20:29 -04:00
Name: xterm
2021-01-28 14:12:19 +08:00
Version: 363
2021-03-03 14:49:35 +08:00
Release: 2
2019-09-30 11:20:29 -04:00
Summary: It is a terminal emulator for the X Window System
License: MIT
2020-01-05 18:40:36 +08:00
URL: http://invisible-island.net/xterm
2021-01-28 14:12:19 +08:00
Source0: https://invisible-mirror.net/archives/xterm/xterm-%{version}.tgz
2019-09-30 11:20:29 -04:00
2021-03-03 14:49:35 +08:00
Patch6000: backport-CVE-2021-27135.patch
2019-09-30 11:20:29 -04:00
BuildRequires: gcc git pkgconfig ncurses-devel libutempter-devel
BuildRequires: libXft-devel libXaw-devel libXext-devel desktop-file-utils
BuildRequires: libxkbfile-devel xorg-x11-apps
2019-11-06 19:57:37 +08:00
provides: xterm-resize = %{version}-%{release}
Obsoletes: xterm-resize < %{version}-%{release}
2019-09-30 11:20:29 -04:00
%bcond_with trace
%description
The xterm program is a terminal emulator for the X Window System.
It provides DEC VT102 and Tektronix 4014 compatible terminals.
%package help
Summary: Doc files for xterm
%description help
The xterm-help package contains doc files for xterm.
%prep
2021-01-28 14:12:19 +08:00
%autosetup -n xterm-363 -p1 -S git
2019-09-30 11:20:29 -04:00
iconv -f iso8859-1 -t utf-8 < THANKS > TEMP
touch -r THANKS TEMP; mv TEMP THANKS
%build
%configure --enable-meta-sends-esc --disable-backarrow-key --enable-256-color \
--enable-exec-xterm --enable-luit --enable-warnings --enable-wide-chars \
--with-app-defaults=%{_datadir}/X11/app-defaults --with-icon-theme=hicolor \
--with-icondir=%{_datadir}/icons --with-utempter --with-tty-group=tty \
--disable-full-tgetent
%make_build
%install
%make_install
desktop-file-install --dir=%{buildroot}/%{_datadir}/applications xterm.desktop
mkdir -p %{buildroot}/%{_datadir}/appdata
install -m 644 -p xterm.appdata.xml %{buildroot}/%{_datadir}/appdata
%files
2020-01-05 18:40:36 +08:00
%doc THANKS
2019-09-30 11:20:29 -04:00
%{_bindir}/*xterm
%{_datadir}/X11/app-defaults/*
%{_datadir}/appdata/xterm.appdata.xml
%{_datadir}/applications/xterm.desktop
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/pixmaps/*
%{_bindir}/resize
%files help
%doc README.i18n ctlseqs.txt xterm.log.html
%{_mandir}/man1/*
%changelog
2021-03-03 14:49:35 +08:00
* Wed Mar 03 2021 jinzhimin <jinzhimin2@huawei.com> - 363-2
- fix CVE-2021-27135
2021-01-28 14:12:19 +08:00
* Thu Jan 28 2021 jinzhimin <jinzhimin2@huawei.com> - 363-1
- Upgrade to 363
2020-09-29 10:55:16 +08:00
* Thu Sep 29 2020 hanhui <hanhui15@huawei.com> - 334-6
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:modify source url
2020-09-10 17:29:24 +08:00
* Thu Sep 10 2020 hanhui <hanhui15@huawei.com> - 334-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:modify source url
2020-01-05 18:40:36 +08:00
* Thu Jan 3 2020 openEuler Buildteam <buildteam@openeuler.org> - 334-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:optimization the spec
2019-11-06 19:57:37 +08:00
* Mon Sep 30 2019 luhuaxin <luhuaxin@huawei.com> - 334-3
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: package rebuild
2019-09-30 11:20:29 -04:00
* Wed Aug 28 2019 luhuaxin <luhuaxin@huawei.com> - 334-2
- Package init