Summary(uk.UTF-8): Програма перегляду info- та man-документів у стилі lynx
Name: pinfo
Version: 0.6.9
-Release: 1
+Release: 2
License: GPL v2
Group: Applications/System
Source0: https://alioth.debian.org/download.php/1498/%{name}-%{version}.tar.bz2
Patch1: %{name}-home_etc.patch
Patch2: %{name}-pl.po-update.patch
Patch3: %{name}-info.patch
+Patch4: %{name}-ncurses.patch
URL: http://pinfo.alioth.debian.org/
BuildRequires: autoconf >= 2.57
BuildRequires: automake
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
rm -f doc/pinfo.info po/stamp-po
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%post -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%postun -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
%files -f %{name}.lang
%defattr(644,root,root,755)