]> git.pld-linux.org Git - packages/pinfo.git/blobdiff - pinfo.spec
- release 6
[packages/pinfo.git] / pinfo.spec
index edc9f76622b986c3e7dae51f29544800aab40a84..03e90c1ac8502b9ab43ba8c7964303a1f0eb5d7c 100644 (file)
@@ -1,12 +1,12 @@
 Summary:       Lynx-style info browser
-Summary(es.UTF-8):   Visualizador de páginas info y man
-Summary(pl.UTF-8):   Przeglądarka info w stylu lynksa
-Summary(pt_BR.UTF-8):   Visualizador de páginas info e man
-Summary(ru.UTF-8):   Программа просмотра info- и man-документов в стиле lynx
-Summary(uk.UTF-8):   Програма перегляду info- та man-документів у стилі lynx
+Summary(es.UTF-8):     Visualizador de páginas info y man
+Summary(pl.UTF-8):     Przeglądarka info w stylu lynksa
+Summary(pt_BR.UTF-8):  Visualizador de páginas info e man
+Summary(ru.UTF-8):     Программа просмотра info- и man-документов в стиле lynx
+Summary(uk.UTF-8):     Програма перегляду info- та man-документів у стилі lynx
 Name:          pinfo
 Version:       0.6.9
-Release:       1
+Release:       6
 License:       GPL v2
 Group:         Applications/System
 Source0:       https://alioth.debian.org/download.php/1498/%{name}-%{version}.tar.bz2
@@ -17,15 +17,19 @@ Patch0:             %{name}-amfix.patch
 Patch1:                %{name}-home_etc.patch
 Patch2:                %{name}-pl.po-update.patch
 Patch3:                %{name}-info.patch
+Patch4:                %{name}-ncurses.patch
+Patch5:                %{name}-color.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 +62,15 @@ Pinfo - це програма перегляду info-файлів та man-ст
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
+%patch5 -p1
 
 rm -f doc/pinfo.info po/stamp-po
 
 %build
-CPPFLAGS="-I%{_includedir}/ncurses"
+CPPFLAGS="-I%{_includedir}/ncursesw"
 %{__gettextize}
+%{__libtoolize}
 %{__aclocal} -I macros
 %{__autoconf}
 %{__automake}
@@ -87,11 +94,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.026519 seconds and 4 git commands to generate.