Blame SPECS/pinfo.spec

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