File pinfo.spec of Package pinfo
#
# spec file for package pinfo (Version 0.6.9)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: pinfo
BuildRequires: ncurses-devel
License: GPL v2 or later
Group: Productivity/Publishing/Texinfo
AutoReqProv: on
Version: 0.6.9
Release: 34
Source: %{name}-%{version}.tar.bz2
Patch1: %{name}-%{version}-nul-strings.patch
Patch2: %{name}-%{version}-ncursesw.patch
Url: http://dione.cc/~pborys/software/pinfo/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Lynx-style Info Browser
PreReq: %install_info_prereq
%description
Pinfo is a curses based, Lynx-style info browser.
Authors:
--------
Przemek Borys <pborys@dione.ids.pl>
%prep
%setup
%patch1
%patch2
%build
autoreconf -fi
%configure --with-curses=%{_prefix}
make
%install
make DESTDIR=$RPM_BUILD_ROOT/ install
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%files -f %{name}.lang
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%doc %{_mandir}/*/*
%doc %{_infodir}/pinfo.info.gz
%config /etc/pinforc
%{_prefix}/bin/pinfo
%changelog
* Thu Jan 10 2008 - mrueckert@suse.de
- updated ncurses patch to stop it from looking for the wrong header
files
* Tue May 29 2007 - anosek@suse.cz
- updated to version 0.6.9
* Nodes containing a "." are now correctly found
* Non-ASCII man pages are displayed correctly
* Improved the history behavior of the search input line
* Broken tag tables are now automatically fixed
* Don't segfault when a broken regexp is entered
* Fixed a number of segfaults caused by using uninitialized
pointers and off-by-1 errors
* Fixed heap corruption caused by non-ascii chars in info pages
* Fixed a lot of patch searching issues
* Fixed text display on narrow terminals
* Fixed highlighting of searches
* The default pinforc now uses the terminal's default foreground
and background colors. Thanks to Rob Funk for a patch.
* Use libreadline by default; readline version 4 is now required
* Better cooperation between ncurses and readline
* Fixed some memory leaks
* Got rid of tempnam() calls
* Use utf8 in documentation files and fixed typoes
- fixed corrupted unicode characters in status line [#264229]
(ncursesw.patch)
- using %%find_lang macro in spec file
* Thu Mar 29 2007 - rguenther@suse.de
- add ncurses-devel BuildRequires
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Aug 17 2005 - mmarek@suse.cz
- Fixed a heap corruption bug caused by lines starting with NUL byte
(#94768)
* Thu Aug 12 2004 - mmj@suse.de
- Update to version 0.6.8
* Sat Jan 10 2004 - adrian@suse.de
- build as user
* Thu Apr 24 2003 - ro@suse.de
- fix install_info --delete call and move from preun to postun
* Thu Feb 13 2003 - mmj@suse.de
- Use %%install_info macro [#23449]
* Sun Jan 12 2003 - tcrhak@suse.cz
- update to version 0.6.6p1
* Fri Dec 14 2001 - tcrhak@suse.cz
- update to version 0.6.4
* Tue Nov 13 2001 - tcrhak@suse.cz
- removed aclocal, autoconf and automake
* Fri Aug 17 2001 - adostal@suse.cz
- update to 0.6.3 version
- fixed spec to %%build
* Fri Oct 20 2000 - smid@suse.cz
- new version 0.6.1
* Fri Sep 29 2000 - smid@suse.cz
- new version 0.6.0
* Mon Apr 10 2000 - smid@suse.cz
- buildroot added
* Tue Feb 15 2000 - kukuk@suse.de
- Move /usr/man -> /usr/share/man
* Fri Dec 03 1999 - kukuk@suse.de
- Update to version 0.5.9
* Fri Oct 08 1999 - kukuk@suse.de
- Update to version 0.5.8
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Mon Jul 12 1999 - kukuk@suse.de
- Update to version 0.5.5
* Wed Jun 16 1999 - kukuk@suse.de
- Update to version 0.5.4
* Fri Jun 04 1999 - kukuk@suse.de
- New.