]> git.pld-linux.org Git - packages/pinfo.git/blobdiff - pinfo.spec
- added truncation-workaround patch to workaround build failure on th-i686; release 2
[packages/pinfo.git] / pinfo.spec
index 79c64f067fdebb8ec50aac2faf60020d22b8da80..606cf4fd9a8a362d6c256cd264d3f5adb779e205 100644 (file)
@@ -5,28 +5,31 @@ 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:       4
+Version:       0.6.13
+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/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: b2671c8f6ef0aa5d7c6460c3111e2f50
 Source1:       %{name}.sh
 Source2:       %{name}.csh
 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/
+Patch4:                %{name}-gettext.patch
+Patch5:                %{name}-color.patch
+Patch6:                %{name}-no-common.patch
+Patch7:                %{name}-truncation-workaround.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)
@@ -62,18 +65,19 @@ Pinfo - це програма перегляду info-файлів та man-ст
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-
-rm -f doc/pinfo.info po/stamp-po
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
 
 %build
-CPPFLAGS="-I%{_includedir}/ncurses"
+CPPFLAGS="-I%{_includedir}/ncursesw"
 %{__gettextize}
 %{__libtoolize}
 %{__aclocal} -I macros
 %{__autoconf}
+%{__autoheader}
 %{__automake}
-%configure \
-       --without-included-gettext
+%configure
 
 %{__make}
 
@@ -84,25 +88,25 @@ install -d $RPM_BUILD_ROOT/etc/shrc.d
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/shrc.d/%{name}.sh
-install %{SOURCE2} $RPM_BUILD_ROOT/etc/shrc.d/%{name}.csh
+cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/shrc.d/%{name}.sh
+cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/shrc.d/%{name}.csh
 
 %find_lang %{name}
 
 %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
+%doc AUTHORS NEWS README.md
 %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.085682 seconds and 4 git commands to generate.