]> git.pld-linux.org Git - packages/pinfo.git/blobdiff - pinfo.spec
- release 3
[packages/pinfo.git] / pinfo.spec
index 199b3d2f0ecb92f8540347cf2e63b013afda8115..7bd24314ea99f99928fd615b08ee1eb583c2dbe1 100644 (file)
@@ -6,7 +6,7 @@ Summary(ru.UTF-8):      Программа просмотра info- и man-докум
 Summary(uk.UTF-8):     Програма перегляду info- та man-документів у стилі lynx
 Name:          pinfo
 Version:       0.6.9
-Release:       1
+Release:       3
 License:       GPL v2
 Group:         Applications/System
 Source0:       https://alioth.debian.org/download.php/1498/%{name}-%{version}.tar.bz2
@@ -17,6 +17,7 @@ Patch0:               %{name}-amfix.patch
 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
@@ -26,6 +27,7 @@ BuildRequires:        readline-devel >= 4.0
 BuildRequires: texinfo
 Requires:      man-config
 Requires:      setup >= 2.4.6-2
+Suggests:      man
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -58,6 +60,7 @@ Pinfo - це програма перегляду info-файлів та man-ст
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 rm -f doc/pinfo.info po/stamp-po
 
@@ -87,11 +90,11 @@ install %{SOURCE2} $RPM_BUILD_ROOT/etc/shrc.d/%{name}.csh
 %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)
This page took 0.171783 seconds and 4 git commands to generate.