pinfo/pinfo.spec
2023-12-22 02:10:51 +08:00

81 lines
2.5 KiB
RPMSpec

Name: pinfo
Version: 0.6.10
Release: 28
Summary: An user-friendly, console-based viewer for Info documents
License: GPLv2
URL: http://pinfo.alioth.debian.org
Source: http://ftp.corbina.net/pub/Linux/gentoo/distfiles/d9/pinfo-0.6.10.tar.bz2
Patch0001: pinfo-0.6.9-xdg.patch
Patch0002: pinfo-0.6.9-infosuff.patch
Patch0003: pinfo-0.6.9-nogroup.patch
Patch0004: pinfo-0.6.9-mansection.patch
Patch0005: pinfo-0.6.9-infopath.patch
Patch0006: pinfo-0.6.10-man.patch
Patch0007: 0001-Gracefully-handle-missing-indirect-info-nodes.patch
Patch0008: 0002-Fix-infinite-loop-when-regexp-matching-an-empty-stri.patch
Patch0009: 0003-Fix-segfautl-by-closing-unopened-file.patch
Patch0010: 0004-Fix-link-order-in-ncurses-autoconf-test.patch
Patch0011: 0005-Fix-possible-out-of-buffer-write.patch
Patch0012: 0006-Fix-possible-buffer-overrun.patch
BuildRequires: ncurses-devel automake gettext-devel libtool texinfo
Requires: xdg-utils
%description
Pinfo is a hypertext info file viewer with a user interface similar to lynx.
It is based on curses/ncurses, and can handle info pages as well as man pages.
It also features regexp searching and user-defined colors/keys.
%package help
Summary: Help documents for pinfo
Requires: %{name} = %{version}-%{release}
%description help
Pinfo-help provides man pages and other related help documents for pinfo.
%prep
%autosetup -n %{name}-%{version} -p1
%build
./autogen.sh
%configure --without-readline
%make_build
%install
%make_install
%find_lang %{name}
%files -f %{name}.lang
%doc AUTHORS COPYING
%{_bindir}/pinfo
%{_infodir}/pinfo.info*
%config(noreplace) %{_sysconfdir}/pinforc
%exclude %{_infodir}/dir
%files help
%doc ChangeLog* NEWS README TECHSTUFF
%{_mandir}/man1/pinfo.1*
%changelog
* Thu Dec 28 2023 liyuanyuan <liyuanyuan@xfusion.com> - 0.6.10-28
- Fix possible buffer overrun
* Tue Dec 12 2023 liyuanyuan <liyuanyuan@xfusion.com> - 0.6.10-27
- Fix possible out-of-buffer write
* Fri Nov 24 2023 liyuanyuan <liyuanyuan@xfusion.com> - 0.6.10-26
- Fix link order in ncurses autoconf test
* Thu Nov 09 2023 liyuanyuan <liyuanyuan@xfusion.com> - 0.6.10-25
- Fix segfautl by closing unopened file
* Fri Nov 03 2023 liyuanyuan <liyuanyuan@xfusion.com> - 0.6.10-24
- Fix infinite loop when regexp-matching an empty string
* Thu Oct 26 2023 liyuanyuan <liyuanyuan@xfusion.com> - 0.6.10-23
- Gracefully handle missing indirect info nodes
* Fri Feb 14 2020 lingsheng <lingsheng@huawei.com> - 0.6.10-22
- Package init