Summary(ru): ðÒÏÇÒÁÍÍÁ ÐÒÏÓÍÏÔÒÁ info- É man-ÄÏËÕÍÅÎÔÏ× × ÓÔÉÌÅ lynx
Summary(uk): ðÒÏÇÒÁÍÁ ÐÅÒÅÇÌÑÄÕ info- ÔÁ man-ÄÏËÕÍÅÎÔ¦× Õ ÓÔÉ̦ lynx
Name: pinfo
-Version: 0.6.6p1
-Release: 1
+Version: 0.6.8
+Release: 4
License: GPL
Group: Applications/System
Vendor: Przemek Borys <pborys@dione.ids.pl>
-Source0: http://zeus.polsl.gliwice.pl/~pborys/stable-version/%{name}-%{version}.tar.gz
+Source0: http://dione.ids.pl/~pborys/software/pinfo/%{name}-%{version}.tar.gz
+# Source0-md5: 55feb4ebaa709b52bd00a15ed0fb52fb
Source1: %{name}.sh
Source2: %{name}.csh
Patch0: %{name}-amfix.patch
Patch1: %{name}-info.patch
+Patch2: %{name}-po.patch
+Patch3: %{name}-mkstemp.patch
+Patch4: %{name}-home_etc.patch
+Patch5: %{name}-sig11.patch
+URL: http://dione.ids.pl/~pborys/software/pinfo/
BuildRequires: autoconf
BuildRequires: automake
+BuildRequires: gettext-devel
BuildRequires: ncurses-devel >= 5.0
Requires: man-config
+Requires: setup >= 2.4.6-2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _sysconfdir /etc
-
%description
Pinfo is a curses based lynx-style info browser.
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
%build
-aclocal -I macros
+%{__gettextize}
+%{__aclocal} -I macros
%{__autoconf}
%{__automake}
%configure \
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/etc/shrc.d
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
-install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/%{name}.sh
-install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/%{name}.csh
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/shrc.d/%{name}.sh
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/shrc.d/%{name}.csh
%find_lang %{name}
%defattr(644,root,root,755)
%doc ChangeLog NEWS AUTHORS README
%attr(755,root,root) %{_bindir}/pinfo
-%attr(755,root,root) %{_sysconfdir}/profile.d/*
+/etc/shrc.d/*
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/pinforc
%{_mandir}/man1/*
-%{_infodir}/*
+%{_infodir}/pinfo*