92a3ce
Summary: An info file viewer
92a3ce
Name: pinfo
92a3ce
Version: 0.6.10
a56661
Release: 9%{?dist}
92a3ce
Group: System Environment/Base
92a3ce
License: GPLv2
92a3ce
URL: http://pinfo.alioth.debian.org
92a3ce
Source: http://alioth.debian.org/frs/download.php/3351/pinfo-0.6.10.tar.bz2
92a3ce
Patch1: pinfo-0.6.9-xdg.patch
92a3ce
Patch2: pinfo-0.6.9-infosuff.patch
92a3ce
Patch3: pinfo-0.6.9-nogroup.patch
92a3ce
Patch4: pinfo-0.6.9-mansection.patch
92a3ce
Patch5: pinfo-0.6.9-infopath.patch
92a3ce
Patch6: pinfo-0.6.10-man.patch
92a3ce
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
92a3ce
92a3ce
BuildRequires: ncurses-devel
92a3ce
BuildRequires: automake gettext-devel libtool texinfo
92a3ce
Requires: xdg-utils
92a3ce
# for /sbin/install-info
92a3ce
Requires(post): info
92a3ce
Requires(preun): info
92a3ce
92a3ce
%description
92a3ce
Pinfo is an info file (or man page) viewer with a user interface
92a3ce
similar to the Lynx Web browser's interface.  Pinfo supports searching
92a3ce
using regular expressions, and is based on the ncurses library.
92a3ce
92a3ce
%prep
92a3ce
%setup -q
92a3ce
%patch1 -p1 -b .xdg
92a3ce
%patch2 -p1 -b .infosuff
92a3ce
%patch3 -p1 -b .nogroup
92a3ce
%patch4 -p1 -b .mansection
92a3ce
%patch5 -p1 -b .infopath
92a3ce
%patch6 -p1 -b .man
92a3ce
92a3ce
%build
92a3ce
./autogen.sh
92a3ce
%configure --without-readline
92a3ce
make %{?_smp_mflags}
92a3ce
92a3ce
%install
92a3ce
rm -rf $RPM_BUILD_ROOT
92a3ce
92a3ce
make DESTDIR=$RPM_BUILD_ROOT install
92a3ce
# These symbolic links conflict with actual binaries in perl-pmtools (bz 437612)
92a3ce
# ln -sf pinfo $RPM_BUILD_ROOT%{_bindir}/pman
92a3ce
# ln -sf pinfo.1 $RPM_BUILD_ROOT%{_mandir}/man1/pman.1
92a3ce
92a3ce
# This file should not be packaged
92a3ce
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
92a3ce
92a3ce
%find_lang %{name}
92a3ce
92a3ce
%files -f %{name}.lang
92a3ce
%defattr(-,root,root)
92a3ce
%doc AUTHORS COPYING ChangeLog* NEWS README TECHSTUFF
92a3ce
%config(noreplace) %{_sysconfdir}/pinforc
92a3ce
%{_bindir}/pinfo
92a3ce
# %{_bindir}/pman
92a3ce
%{_infodir}/pinfo.info*
92a3ce
%{_mandir}/man1/pinfo.1*
92a3ce
# %{_mandir}/man1/pman.1*
92a3ce
92a3ce
%post
92a3ce
/sbin/install-info %{_infodir}/pinfo.info.gz %{_infodir}/dir &> /dev/null
92a3ce
:
92a3ce
 
92a3ce
%preun
92a3ce
if [ $1 = 0 ]; then
92a3ce
    /sbin/install-info --delete %{_infodir}/pinfo.info.gz %{_infodir}/dir &> /dev/null
92a3ce
fi
92a3ce
:
92a3ce
92a3ce
%clean
92a3ce
rm -rf $RPM_BUILD_ROOT
92a3ce
92a3ce
%changelog
a56661
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.6.10-9
a56661
- Mass rebuild 2014-01-24
a56661
a56661
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.6.10-8
a56661
- Mass rebuild 2013-12-27
a56661
92a3ce
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.10-7
92a3ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
92a3ce
92a3ce
* Thu Sep 06 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 0.6.10-6
92a3ce
- Add -p and -d to manpage (#854900)
92a3ce
92a3ce
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.10-5
92a3ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
92a3ce
92a3ce
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.10-4
92a3ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
92a3ce
92a3ce
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.10-3
92a3ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
92a3ce
92a3ce
* Wed Sep 29 2010 jkeating - 0.6.10-2
92a3ce
- Rebuilt for gcc bug 634757
92a3ce
92a3ce
* Tue Sep 21 2010 Miroslav Lichvar <mlichvar@redhat.com> 0.6.10-1
92a3ce
- update to 0.6.10
92a3ce
92a3ce
* Thu Jan 07 2010 Miroslav Lichvar <mlichvar@redhat.com> 0.6.9-12
92a3ce
- fix source URL
92a3ce
92a3ce
* Thu Sep 24 2009 Miroslav Lichvar <mlichvar@redhat.com> 0.6.9-11
92a3ce
- suppress install-info errors (#515995)
92a3ce
- mark config as noreplace
92a3ce
92a3ce
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.9-10
92a3ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
92a3ce
92a3ce
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.9-9
92a3ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
92a3ce
92a3ce
* Thu Sep 04 2008 Miroslav Lichvar <mlichvar@redhat.com> 0.6.9-8
92a3ce
- modify default search path for info pages so that current
92a3ce
  directory is searched last (#458633)
92a3ce
92a3ce
* Tue Apr  1 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.6.9-7
92a3ce
- drop symbolic links to avoid file conflict with perl-pmtools (bz 437612)
92a3ce
92a3ce
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.6.9-6
92a3ce
- Autorebuild for GCC 4.3
92a3ce
92a3ce
* Wed Oct 03 2007 Miroslav Lichvar <mlichvar@redhat.com> 0.6.9-5
92a3ce
- use xdg-utils instead of htmlview (#312471)
92a3ce
92a3ce
* Wed Aug 22 2007 Miroslav Lichvar <mlichvar@redhat.com> 0.6.9-4
92a3ce
- update license tag
92a3ce
92a3ce
* Fri Feb 23 2007 Miroslav Lichvar <mlichvar@redhat.com> 0.6.9-3
92a3ce
- save section of first man page to history (#208738)
92a3ce
- remove dot from summary
92a3ce
92a3ce
* Fri Jan 19 2007 Miroslav Lichvar <mlichvar@redhat.com> 0.6.9-2
92a3ce
- use correct group when dropping group privileges (#221107)
92a3ce
- open also files without .info suffix
92a3ce
- make scriptlets safer
92a3ce
- make sure readline support isn't compiled in
92a3ce
92a3ce
* Tue Sep 12 2006 Miroslav Lichvar <mlichvar@redhat.com> 0.6.9-1.fc6
92a3ce
- update to 0.6.9
92a3ce
- package locale files
92a3ce
92a3ce
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.6.8-11.2.2
92a3ce
- rebuild
92a3ce
92a3ce
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.6.8-11.2.1
92a3ce
- bump again for double-long bug on ppc(64)
92a3ce
92a3ce
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.6.8-11.2
92a3ce
- rebuilt for new gcc4.1 snapshot and glibc changes
92a3ce
92a3ce
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
92a3ce
- rebuilt
92a3ce
92a3ce
* Fri Apr 22 2005 Mike A. Harris <mharris@redhat.com> 0.6.8-11
92a3ce
- Work around an idiotic bug in rpm (#118780) by using multiple Requires
92a3ce
  lines instead of the Requires(foo,bar) syntax that rpm documentation
92a3ce
  states is valid.  This fixes reported pinfo kickstart issue (#155700)
92a3ce
92a3ce
* Thu Mar  3 2005 Mike A. Harris <mharris@redhat.com> 0.6.8-10
92a3ce
- Rebuilt with gcc 4 for FC4
92a3ce
- Replaced Prereq: with Requires(post,preun)
92a3ce
92a3ce
* Thu Dec 23 2004 Mike A. Harris <mharris@redhat.com> 0.6.8-9
92a3ce
- Replaced pinfo-0.6.0-mkstemp.patch with updated pinfo-0.6.8-mkstemp.patch
92a3ce
  to fix an additional insecure tempnam() usage detected by our buildsystem
92a3ce
92a3ce
* Thu Dec 23 2004 Mike A. Harris <mharris@redhat.com> 0.6.8-8
92a3ce
- Added pinfo-0.6.8.memcorruption.patch and pinfo-0.6.8.memleak.patch by
92a3ce
  Sami Farin to fix a couple pinfo bugs reported in (#138770)
92a3ce
92a3ce
* Sun Sep 26 2004 Rik van Riel <riel@redhat.com> 0.6.8-7
92a3ce
- use htmlviewer as the browser, since lynx might not be installed (bz #123349)
92a3ce
92a3ce
* Wed Sep 22 2004 Mike A. Harris <mharris@redhat.com> 0.6.8-6
92a3ce
- Bump release and rebuild in rawhide for FC3
92a3ce
92a3ce
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
92a3ce
- rebuilt
92a3ce
92a3ce
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
92a3ce
- rebuilt
92a3ce
92a3ce
* Sat Jan 10 2004 Mike A. Harris <mharris@redhat.com> 0.6.8-3
92a3ce
- Added RPM_OPT_FLAGS to CFLAGS as it wasn't being used (#109197)
92a3ce
92a3ce
* Fri Oct 31 2003 Mike A. Harris <mharris@redhat.com> 0.6.8-2
92a3ce
- Updated package URL to current project homepage (#101214)
92a3ce
92a3ce
* Sat Oct 25 2003 Florian La Roche <Florian.LaRoche@redhat.de> 0.6.8-1
92a3ce
- Updated to 0.6.8
92a3ce
92a3ce
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
92a3ce
- rebuilt
92a3ce
92a3ce
* Sun May 18 2003 Mike A. Harris <mharris@redhat.com> 0.6.7-1
92a3ce
- Updated to 0.6.7
92a3ce
- Dropped already included patch pinfo-0.6.6-0.6.6p1.patch
92a3ce
92a3ce
* Wed Jan 22 2003 Mike A. Harris <mharris@redhat.com> 0.6.6-4
92a3ce
- Added pinfo-0.6.6-0.6.6p1.patch to fix bug (#78504)
92a3ce
92a3ce
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
92a3ce
- rebuilt
92a3ce
92a3ce
* Wed Dec 11 2002 Karsten Hopp <karsten@redhat.de> 0.6.6-2
92a3ce
- add missing Prereq
92a3ce
92a3ce
* Tue Nov 12 2002 Mike A. Harris <mharris@redhat.com> 0.6.6-1
92a3ce
- Updated to 0.6.6
92a3ce
- Corrected typos in description field
92a3ce
92a3ce
* Tue Nov 12 2002 Mike A. Harris <mharris@redhat.com> 0.6.4-9
92a3ce
- Now how ironic is *this* one?...  The info documentation on pinfo has been
92a3ce
  missing from our packages.  Mass rebuild tests caught this.  Fixed now.
92a3ce
- Added post/preun scripts for updating info dir db with install-info
92a3ce
92a3ce
* Sat Oct  5 2002 Mike A. Harris <mharris@redhat.com> 0.6.4-8
92a3ce
- All-arch rebuild
92a3ce
- Added _sysconfdir where appropriate
92a3ce
92a3ce
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 0.6.4-7
92a3ce
- automated rebuild
92a3ce
92a3ce
* Sun May 26 2002 Tim Powers <timp@redhat.com> 0.6.4-6
92a3ce
- automated rebuild
92a3ce
92a3ce
* Wed May 22 2002 Mike A. Harris <mharris@redhat.com> 0.6.4-5
92a3ce
- Bumped release to rebuild in rawhide
92a3ce
92a3ce
* Tue Feb 26 2002 Mike A. Harris <mharris@redhat.com> 0.6.4-4
92a3ce
- Bumped release to rebuild in rawhide
92a3ce
92a3ce
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 0.6.4-3
92a3ce
- automated rebuild
92a3ce
92a3ce
* Sun Dec 23 2001 Mike A. Harris <mharris@redhat.com> 0.6.4-2
92a3ce
- Bumped release to rebuild in rawhide
92a3ce
92a3ce
* Sun Dec 23 2001 Mike A. Harris <mharris@redhat.com> 0.6.4-1
92a3ce
- Updated to 0.6.4
92a3ce
92a3ce
* Wed Nov 21 2001 Mike A. Harris <mharris@redhat.com> 0.6.3-1
92a3ce
- Updated to 0.6.3
92a3ce
92a3ce
* Sat Jul 21 2001 Mike A. Harris <mharris@redhat.com> 0.6.1-2
92a3ce
- Add buildprereq on ncurses-devel
92a3ce
92a3ce
* Thu Jun 21 2001 Mike A. Harris <mharris@redhat.com> 0.6.1-1
92a3ce
- Updated to 0.6.1
92a3ce
- s/Copyright/License/ spec tag
92a3ce
92a3ce
* Wed Aug 16 2000 Nalin Dahyabhai <nalin@redhat.com>
92a3ce
- move to the same group as the info and man packages
92a3ce
92a3ce
* Mon Aug  7 2000 Nalin Dahyabhai <nalin@redhat.com>
92a3ce
- add pman(1) links, per documentation
92a3ce
92a3ce
* Wed Aug  2 2000 Nalin Dahyabhai <nalin@redhat.com>
92a3ce
- fix possible crash due to use of tempnam()
92a3ce
92a3ce
* Wed Jul 19 2000 Nalin Dahyabhai <nalin@redhat.com>
92a3ce
- update to 0.6.0
92a3ce
92a3ce
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
92a3ce
- automatic rebuild
92a3ce
92a3ce
* Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com>
92a3ce
- spec file cleanups
92a3ce
92a3ce
* Thu Jun  8 2000 Nalin Dahyabhai <nalin@redhat.com>
92a3ce
- rebuild for main distribution
92a3ce
- use %%makeinstall
92a3ce
92a3ce
* Wed May 17 2000 Tim Powers <timp@redhat.com>
92a3ce
- updated to 0.5.9
92a3ce
- use %%configure and %%{_prefix} where possible
92a3ce
92a3ce
* Mon Aug 30 1999 Tim Powers <timp@redhat.com>
92a3ce
- changed group
92a3ce
92a3ce
* Sun Aug 8 1999 Tim Powers <timp@redhat.com>
92a3ce
- rebuilt to be included in Powertools