Пакет pinfo: Specfile

Name: pinfo
Version: 0.6.9
Release: alt1

Summary: Przemek's Info Viewer - a (much) better info
Group: System/Base
License: GPL
#Url: http://dione.ids.pl/~pborys/software/pinfo
Url: http://pinfo.alioth.debian.org/
Source: %name-%version.tar
Patch1: %name-0.6.8-alt-url_handler.patch

Requires: url_handler

PreReq: %__install_info

# Automatically added by buildreq on Tue Oct 28 2003
BuildRequires: libncurses-devel libtinfo-devel


%description
Hypertext info file viewer. User interface similar to lynx.
It is based on ncurses. It can handle now as well info
pages as man pages. Regexp searching included.

%prep
%setup -q
%patch1 -p1

%build

#hack for as-needed
export LIBS="-lncurses -ltinfo"
%configure
%make_build

%install
mkdir -p $RPM_BUILD_ROOT/{%_sysconfdir,%_bindir,%_mandir/man1}
%makeinstall
%find_lang %name

cd $RPM_BUILD_ROOT/%_bindir
ln -s %name pman

%post
%install_info %name.info

%preun
%uninstall_info %name.info

%files -f %name.lang
%doc ABOUT-NLS AUTHORS ChangeLog NEWS README
%config(noreplace) %_sysconfdir/%{name}rc
%_bindir/*
%_mandir/man?/*
%_infodir/*.info*

%changelog
* Fri May 19 2006 Stanislav Ievlev <inger@altlinux.org> 0.6.9-alt1
- 0.6.9, build from git

* Fri Mar 10 2006 Stanislav Ievlev <inger@altlinux.org> 0.6.8-alt3
- fixed build

* Tue Mar 23 2004 Stanislav Ievlev <inger@altlinux.org> 0.6.8-alt2
- use url_handler to process ftp and http requests (#1032)

* Mon Oct 27 2003 Stanislav Ievlev <inger@altlinux.org> 0.6.8-alt1
- 0.6.8

* Fri May 16 2003 Stanislav Ievlev <inger@altlinux.ru> 0.6.7-alt1.1
- fix package group

* Wed Mar 05 2003 Stanislav Ievlev <inger@altlinux.ru> 0.6.7-alt1
- 0.6.7

* Thu Sep 19 2002 Stanislav Ievlev <inger@altlinux.ru> 0.6.6p1-alt2
- rebuild with gcc3

* Fri Aug 16 2002 Stanislav Ievlev <inger@altlinux.ru> 0.6.6p1-alt1
- 0.6.6p1, readopt and rename patches

* Tue Jan 08 2002 Stanislav Ievlev <inger@altlinux.ru> 0.6.4-alt3
- fixed tmpdir patch.

* Thu Jan 03 2002 Stanislav Ievlev <inger@altlinux.ru> 0.6.4-alt2
- added normal support for tmpdir using.
- close bug #0000275.

* Fri Dec 07 2001 Stanislav Ievlev <inger@altlinux.ru> 0.6.4-alt1
- 0.6.4

* Fri Nov 16 2001 Stanislav Ievlev <inger@altlinux.ru> 0.6.3-alt2
- fix charsets

* Thu Jul 26 2001 Stanislav Ievlev <inger@altlinux.ru> 0.6.3-alt1
- 0.6.3

* Tue Jul 17 2001 Dmitry V. Levin <ldv@altlinux.ru> 0.6.2-alt1
- 0.6.2

* Fri Jul 06 2001 Stanislav Ievlev <inger@altlinux.ru> 0.6.1-alt2
- Small corrections.

* Fri Jun 22 2001 Stanislav Ievlev <inger@altlinux.ru> 0.6.1-alt1
- 0.6.1. Spec corrections

* Sat Feb 3 2001 AEN <aen@logic.ru>
- RE adaptation
* Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.6.0-2mdk
- automatically added BuildRequires

* Fri Jul 21 2000 Francis Galiegue <fg@mandrakesoft.com> 0.6.0-1mdk

- 0.6.0
- BMacros

* Thu Mar 16 2000 Francis Galiegue <francis@mandrakesoft.com> 0.5.9-2mdk

- Spec file changes
- Changed group to match 7.1 specs
- now there's pman, too
- Let spec-helper do its job

* Fri Feb 18 2000 Francis Galiegue <francis@mandrakesoft.com> 0.5.9-1mdk
- First Mandrake RPM