pinfo/pinfo.spec
2021-07-30 17:31:57 +08:00

60 lines
1.6 KiB
RPMSpec

Name: pinfo
Version: 0.6.10
Release: 23
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
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 CFLAGS+="-fcommon"
%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
* Fri 30 July 2021 Shenmei Tu <tushenmei@huawei.com> - 0.6.10-23
- bug fix of multiple definition
* Fri Feb 14 2020 lingsheng <lingsheng@huawei.com> - 0.6.10-22
- Package init