2020-02-14 11:32:00 +08:00
|
|
|
Name: pinfo
|
2023-10-08 16:23:38 +08:00
|
|
|
Version: 0.6.13
|
|
|
|
|
Release: 1
|
2020-02-14 11:32:00 +08:00
|
|
|
Summary: An user-friendly, console-based viewer for Info documents
|
|
|
|
|
License: GPLv2
|
2023-10-08 16:23:38 +08:00
|
|
|
URL: https://github.com/baszoetekouw/pinfo
|
|
|
|
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
2020-02-14 11:32:00 +08:00
|
|
|
Patch0001: pinfo-0.6.9-xdg.patch
|
2023-10-08 16:23:38 +08:00
|
|
|
# https://github.com/baszoetekouw/pinfo/commit/fc67ceacd81f0c74fcab85447c23a532ae482827
|
|
|
|
|
# https://github.com/baszoetekouw/pinfo/commit/ab604fdb67296dad27f3a25f3c9aabdd2fb8c3fa
|
|
|
|
|
Patch0002: pinfo-0.6.13-gccwarn.patch
|
2020-02-14 11:32:00 +08:00
|
|
|
Patch0003: pinfo-0.6.9-nogroup.patch
|
2023-10-08 16:23:38 +08:00
|
|
|
# https://github.com/baszoetekouw/pinfo/commit/23c169877fda839f0634b2d193eaf26de290f141
|
|
|
|
|
Patch0004: pinfo-0.6.13-stringop-overflow.patch
|
2020-02-14 11:32:00 +08:00
|
|
|
Patch0005: pinfo-0.6.9-infopath.patch
|
|
|
|
|
Patch0006: pinfo-0.6.10-man.patch
|
2021-08-03 16:07:00 +08:00
|
|
|
Patch0007: bugfix-of-gcc-10.patch
|
2020-02-14 11:32:00 +08:00
|
|
|
|
|
|
|
|
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
|
2023-10-08 16:23:38 +08:00
|
|
|
%make_build
|
2020-02-14 11:32:00 +08:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
2023-10-08 16:23:38 +08:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
|
|
2020-02-14 11:32:00 +08:00
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
2023-10-08 16:23:38 +08:00
|
|
|
%license COPYING
|
|
|
|
|
%doc AUTHORS
|
2020-02-14 11:32:00 +08:00
|
|
|
%{_bindir}/pinfo
|
|
|
|
|
%{_infodir}/pinfo.info*
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/pinforc
|
|
|
|
|
|
|
|
|
|
%files help
|
2023-10-08 16:23:38 +08:00
|
|
|
%doc Changelog* NEWS README.md TECHSTUFF
|
2020-02-14 11:32:00 +08:00
|
|
|
%{_mandir}/man1/pinfo.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-10-08 16:23:38 +08:00
|
|
|
* Sun Oct 08 2023 yaoxin <yao_xin001@hoperun.com> - 0.6.13-1
|
|
|
|
|
- Upgrade to 0.6.13
|
|
|
|
|
|
2022-12-24 13:26:00 +08:00
|
|
|
* Tue Aug 3 2021 Shenmei Tu <tushenmei@huawei.com> - 0.6.10-24
|
2021-08-03 16:07:00 +08:00
|
|
|
- bugfix-of-gcc-10.patch
|
|
|
|
|
|
2022-12-24 13:26:00 +08:00
|
|
|
* Fri July 30 2021 Shenmei Tu <tushenmei@huawei.com> - 0.6.10-23
|
2021-07-30 17:31:57 +08:00
|
|
|
- bug fix of multiple definition
|
|
|
|
|
|
2020-02-14 11:32:00 +08:00
|
|
|
* Fri Feb 14 2020 lingsheng <lingsheng@huawei.com> - 0.6.10-22
|
|
|
|
|
- Package init
|