]> git.pld-linux.org Git - packages/pinfo.git/blobdiff - pinfo.spec
- rel 4
[packages/pinfo.git] / pinfo.spec
index 199b3d2f0ecb92f8540347cf2e63b013afda8115..79c64f067fdebb8ec50aac2faf60020d22b8da80 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:       4
 License:       GPL v2
 Group:         Applications/System
 Source0:       https://alioth.debian.org/download.php/1498/%{name}-%{version}.tar.bz2
@@ -17,15 +17,18 @@ 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
 BuildRequires: gettext-devel
+BuildRequires: libtool
 BuildRequires: ncurses-devel >= 5.0
 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,12 +61,14 @@ Pinfo - це програма перегляду info-файлів та man-ст
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 rm -f doc/pinfo.info po/stamp-po
 
 %build
 CPPFLAGS="-I%{_includedir}/ncurses"
 %{__gettextize}
+%{__libtoolize}
 %{__aclocal} -I macros
 %{__autoconf}
 %{__automake}
@@ -87,11 +92,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 1.938853 seconds and 4 git commands to generate.