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