]> git.pld-linux.org Git - packages/pinfo.git/blobdiff - pinfo.spec
- release 2 (by relup.sh)
[packages/pinfo.git] / pinfo.spec
index 7bd24314ea99f99928fd615b08ee1eb583c2dbe1..a436f41f6ba2d193cf8ebc2ff1c8c7ac51f92e62 100644 (file)
@@ -5,12 +5,13 @@ 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:       3
+Version:       0.6.10
+Release:       2
 License:       GPL v2
 Group:         Applications/System
-Source0:       https://alioth.debian.org/download.php/1498/%{name}-%{version}.tar.bz2
-# Source0-md5: e0c788467945f5f97fbacad55863e5b8
+#Source0Download: https://github.com/baszoetekouw/pinfo/releases
+Source0:       https://github.com/baszoetekouw/pinfo/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: de82923e08cac4940d8c91770cc1ff63
 Source1:       %{name}.sh
 Source2:       %{name}.csh
 Patch0:                %{name}-amfix.patch
@@ -18,14 +19,15 @@ 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/
+Patch5:                %{name}-color.patch
+URL:           https://github.com/baszoetekouw/pinfo
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake
-BuildRequires: gettext-devel
+BuildRequires: gettext-tools
+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)
@@ -61,17 +63,16 @@ Pinfo - це програма перегляду info-файлів та man-ст
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-
-rm -f doc/pinfo.info po/stamp-po
+%patch5 -p1
 
 %build
-CPPFLAGS="-I%{_includedir}/ncurses"
+CPPFLAGS="-I%{_includedir}/ncursesw"
 %{__gettextize}
+%{__libtoolize}
 %{__aclocal} -I macros
 %{__autoconf}
 %{__automake}
-%configure \
-       --without-included-gettext
+%configure
 
 %{__make}
 
@@ -90,17 +91,17 @@ install %{SOURCE2} $RPM_BUILD_ROOT/etc/shrc.d/%{name}.csh
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post  -p      /sbin/postshell
+%post  -p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun        -p      /sbin/postshell
+%postun        -p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc ChangeLog NEWS AUTHORS README
 %attr(755,root,root) %{_bindir}/pinfo
-/etc/shrc.d/*
+%config(noreplace) %verify(not md5 mtime size) /etc/shrc.d/pinfo.*
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pinforc
-%{_mandir}/man1/*
-%{_infodir}/pinfo*
+%{_mandir}/man1/pinfo.1*
+%{_infodir}/pinfo.info*
This page took 0.111508 seconds and 4 git commands to generate.