2004-09-09 13:11:53 +00:00
|
|
|
|
Summary: Tools needed to create Texinfo format documentation files.
|
|
|
|
|
Name: texinfo
|
|
|
|
|
Version: 4.0
|
2004-09-09 13:12:02 +00:00
|
|
|
|
Release: 20
|
2004-09-09 13:11:53 +00:00
|
|
|
|
License: GPL
|
|
|
|
|
Group: Applications/Publishing
|
|
|
|
|
Source0: ftp://ftp.gnu.org/gnu/texinfo/texinfo-%{version}.tar.gz
|
|
|
|
|
Source1: info-dir
|
2004-09-09 13:12:02 +00:00
|
|
|
|
Source2: info.desktop
|
2004-09-09 13:11:53 +00:00
|
|
|
|
Patch1: texinfo-3.12h-fix.patch
|
2004-09-09 13:12:02 +00:00
|
|
|
|
Patch2: texinfo-fileextension.patch
|
2004-09-09 13:11:53 +00:00
|
|
|
|
Patch3: texinfo-4.0-zlib.patch
|
2004-09-09 13:12:02 +00:00
|
|
|
|
Patch4: texinfo-4.0-danish.patch
|
2004-09-09 13:11:53 +00:00
|
|
|
|
Prereq: /sbin/install-info
|
|
|
|
|
Prefix: %{_prefix}
|
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Redifine this to "dir" in the info directory isn't compressed
|
|
|
|
|
|
|
|
|
|
%define __spec_install_post /usr/lib/rpm/brp-strip \; /usr/lib/rpm/brp-strip-comment-note \; rm -f
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Texinfo is a documentation system that can produce both online
|
|
|
|
|
information and printed output from a single source file. The GNU
|
|
|
|
|
Project uses the Texinfo file format for most of its documentation.
|
|
|
|
|
|
|
|
|
|
Install texinfo if you want a documentation system for producing both
|
|
|
|
|
online and print documentation from the same source file and/or if you
|
|
|
|
|
are going to write documentation for the GNU Project.
|
|
|
|
|
|
|
|
|
|
%package -n info
|
|
|
|
|
Summary: A stand-alone TTY-based reader for GNU texinfo documentation.
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
|
# By making info prereq bash, other packages which have triggers based on
|
|
|
|
|
# info don't run those triggers until bash is in place as well. This is an
|
|
|
|
|
# ugly method of doing it (triggers which fire on set intersection would
|
|
|
|
|
# be better), but it's the best we can do for now. Talk to Erik before
|
|
|
|
|
# removing this.
|
|
|
|
|
Prereq: bash
|
|
|
|
|
|
|
|
|
|
%description -n info
|
|
|
|
|
The GNU project uses the texinfo file format for much of its
|
|
|
|
|
documentation. The info package provides a standalone TTY-based
|
|
|
|
|
browser program for viewing texinfo files.
|
|
|
|
|
|
|
|
|
|
You should install info, because GNU's texinfo documentation is a
|
|
|
|
|
valuable source of information about the software on your system.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch1 -p1
|
2004-09-09 13:12:02 +00:00
|
|
|
|
%patch2 -p1 -b .ext
|
2004-09-09 13:11:53 +00:00
|
|
|
|
%patch3 -p1 -b .zlib
|
2004-09-09 13:12:02 +00:00
|
|
|
|
%patch4 -p1 -b .danish
|
2004-09-09 13:11:53 +00:00
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
%configure --mandir=%{_prefix}/share/man --infodir=%{_prefix}/share/info
|
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
rm util/install-info
|
2004-09-09 13:12:02 +00:00
|
|
|
|
make -C util LIBS=%{_libdir}/libz.a
|
2004-09-09 13:11:53 +00:00
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}/{etc,sbin}
|
|
|
|
|
|
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
|
|
( cd ${RPM_BUILD_ROOT}
|
|
|
|
|
gzip -n -9f .%{_prefix}/share/info/*info*
|
|
|
|
|
gzip -n -9f .%{_mandir}/*/*
|
|
|
|
|
install -m644 $RPM_SOURCE_DIR/info-dir ./etc/info-dir
|
|
|
|
|
ln -sf /etc/info-dir ${RPM_BUILD_ROOT}%{_prefix}/share/info/dir
|
|
|
|
|
for i in makeinfo texindex info install-info ; do
|
|
|
|
|
strip .%{_prefix}/bin/$i
|
|
|
|
|
done
|
|
|
|
|
mv -f .%{_prefix}/bin/install-info ./sbin
|
|
|
|
|
mkdir -p ./etc/X11/applnk/Utilities
|
2004-09-09 13:12:02 +00:00
|
|
|
|
install -m 644 %SOURCE2 $RPM_BUILD_ROOT/etc/X11/applnk/Utilities
|
|
|
|
|
|
2004-09-09 13:11:53 +00:00
|
|
|
|
)
|
|
|
|
|
|
2004-09-09 13:12:02 +00:00
|
|
|
|
%find_lang %name
|
|
|
|
|
|
2004-09-09 13:11:53 +00:00
|
|
|
|
%clean
|
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
/sbin/install-info %{_prefix}/share/info/texinfo.gz %{_prefix}/share/info/dir
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
|
/sbin/install-info --delete %{_prefix}/share/info/texinfo.gz %{_prefix}/share/info/dir
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%post -n info
|
|
|
|
|
/sbin/install-info %{_prefix}/share/info/info-stnd.info.gz %{_prefix}/share/info/dir
|
|
|
|
|
|
|
|
|
|
%preun -n info
|
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
|
/sbin/install-info --delete %{_prefix}/share/info/info-stnd.info.gz %{_prefix}/share/info/dir
|
|
|
|
|
fi
|
|
|
|
|
|
2004-09-09 13:12:02 +00:00
|
|
|
|
%files -f %{name}.lang
|
2004-09-09 13:11:53 +00:00
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc AUTHORS ChangeLog INSTALL INTRODUCTION NEWS README TODO
|
|
|
|
|
%doc info/README
|
|
|
|
|
%{_prefix}/bin/makeinfo
|
|
|
|
|
%{_prefix}/bin/texindex
|
|
|
|
|
%{_prefix}/bin/texi2dvi
|
|
|
|
|
%{_prefix}/share/info/texinfo*
|
|
|
|
|
%{_prefix}/share/man/man1/makeinfo.1*
|
|
|
|
|
%{_prefix}/share/man/man1/texindex.1*
|
|
|
|
|
%{_prefix}/share/man/man1/texi2dvi.1*
|
|
|
|
|
%{_prefix}/share/man/man5/texinfo.5*
|
|
|
|
|
|
|
|
|
|
%files -n info
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%config(missingok) /etc/X11/applnk/Utilities/info.desktop
|
|
|
|
|
%config(noreplace) %verify(not md5 size mtime) /etc/info-dir
|
|
|
|
|
%config(noreplace) %{_prefix}/share/info/dir
|
|
|
|
|
%{_prefix}/bin/info
|
|
|
|
|
%{_prefix}/share/info/info.info*
|
|
|
|
|
%{_prefix}/share/info/info-stnd.info*
|
|
|
|
|
/sbin/install-info
|
|
|
|
|
%{_prefix}/share/man/man1/info.1*
|
|
|
|
|
%{_prefix}/share/man/man1/install-info.1*
|
|
|
|
|
%{_prefix}/share/man/man5/info.5*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2004-09-09 13:12:02 +00:00
|
|
|
|
* Fri Feb 23 2001 Trond Eivind Glomsr<EFBFBD>d <teg@redhat.com>
|
|
|
|
|
- langify
|
|
|
|
|
- don't create desktop file in spec file
|
|
|
|
|
|
|
|
|
|
* Tue Jan 23 2001 Preston Brown <pbrown@redhat.com>
|
|
|
|
|
- danish translation added
|
|
|
|
|
|
|
|
|
|
* Tue Dec 12 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
|
- Rebuild to get rid of 0777 dirs
|
|
|
|
|
|
|
|
|
|
* Wed Nov 8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
|
- Fix recognition of .?o extensions in texi2dvi, Bug #20498
|
|
|
|
|
|
|
|
|
|
* Thu Sep 7 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
|
- FHS packaging (64bit systems need to use %%_libdir not /usr/lib).
|
|
|
|
|
|
2004-09-09 13:11:53 +00:00
|
|
|
|
* Sat Aug 19 2000 Trond Eivind Glomsr<EFBFBD>d <teg@redhat.com>
|
|
|
|
|
- really do it - #16120
|
|
|
|
|
|
|
|
|
|
* Mon Aug 14 2000 Helge Deller <hdeller@redhat.com>
|
|
|
|
|
- gzip man-pages, #16120
|
|
|
|
|
|
|
|
|
|
* Mon Aug 7 2000 Tim Waugh <twaugh@redhat.com>
|
|
|
|
|
- List man-pages in %%files.
|
|
|
|
|
|
|
|
|
|
* Fri Aug 4 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
|
- Add Swedish and German translations to desktop file, Bug #15366
|
|
|
|
|
|
|
|
|
|
* Thu Aug 3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
|
- mark /etc/info-dir %%verify(not md5 size mime), Bug #14826
|
|
|
|
|
|
|
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 28 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
|
- fix build wackiness with info page compressing
|
|
|
|
|
|
|
|
|
|
* Fri Jun 16 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
|
- fix info-dir symlink
|
|
|
|
|
|
|
|
|
|
* Thu May 18 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
|
- use FHS paths for info.
|
|
|
|
|
|
|
|
|
|
* Fri Mar 24 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
|
- rebuild with current ncurses
|
|
|
|
|
|
|
|
|
|
* Wed Feb 09 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
|
- wmconfig -> desktop
|
|
|
|
|
|
|
|
|
|
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
|
|
|
|
|
- fix descriptions
|
|
|
|
|
|
|
|
|
|
* Wed Jan 26 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
|
- move info-stnd.info* to the info package, /sbin/install-info it
|
|
|
|
|
in %post (Bug #6632)
|
|
|
|
|
|
|
|
|
|
* Thu Jan 13 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
|
- recompile to eliminate ncurses foul-up.
|
|
|
|
|
|
|
|
|
|
* Tue Nov 9 1999 Bernhard Rosenkr<EFBFBD>nzer <bero@redhat.com>
|
|
|
|
|
- 4.0
|
|
|
|
|
- handle RPM_OPT_FLAGS
|
|
|
|
|
|
|
|
|
|
* Tue Sep 07 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
|
- import version 3.12h into 6.1 tree from HJLu
|
|
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
|
- auto rebuild in the new build environment (release 4)
|
|
|
|
|
|
|
|
|
|
* Wed Mar 17 1999 Erik Troan <ewt@redhat.com>
|
|
|
|
|
- hacked to use zlib to get rid of the requirement on gzip
|
|
|
|
|
|
|
|
|
|
* Wed Mar 17 1999 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- install-info prerequires gzip
|
|
|
|
|
|
|
|
|
|
* Thu Mar 11 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
|
- version 3.12f
|
|
|
|
|
- make /usr/info/dir to be a %config(noreplace)
|
|
|
|
|
* Wed Nov 25 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
|
|
- rebuild to fix docdir perms.
|
|
|
|
|
|
|
|
|
|
* Thu Sep 24 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
|
- fix allocation problems in install-info
|
|
|
|
|
|
|
|
|
|
* Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
|
|
- /sbin/install-info should not depend on /usr/lib/libz.so.1 -- statically
|
|
|
|
|
link with /usr/lib/libz.a.
|
|
|
|
|
|
|
|
|
|
* Fri Aug 07 1998 Erik Troan <ewt@redhat.com>
|
|
|
|
|
- added a prereq of bash to the info package -- see the comment for a
|
|
|
|
|
description of why that was done
|
|
|
|
|
|
|
|
|
|
* Tue Jun 09 1998 Prospector System <bugs@redhat.com>
|
|
|
|
|
- translations modified for de
|
|
|
|
|
|
|
|
|
|
* Tue Jun 9 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
|
|
- add %attr to permit non-root build.
|
|
|
|
|
|
|
|
|
|
* Thu May 07 1998 Prospector System <bugs@redhat.com>
|
|
|
|
|
- translations modified for de, fr, tr
|
|
|
|
|
|
|
|
|
|
* Sun Apr 12 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
|
- added %clean
|
|
|
|
|
- manhattan build
|
|
|
|
|
|
|
|
|
|
* Wed Mar 04 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
|
- upgraded to version 3.12
|
|
|
|
|
- added buildroot
|
|
|
|
|
|
|
|
|
|
* Sun Nov 09 1997 Donnie Barnes <djb@redhat.com>
|
|
|
|
|
- moved /usr/info/dir to /etc/info-dir and made /usr/info/dir a
|
|
|
|
|
symlink to /etc/info-dir.
|
|
|
|
|
|
|
|
|
|
* Wed Oct 29 1997 Donnie Barnes <djb@redhat.com>
|
|
|
|
|
- added wmconfig entry for info
|
|
|
|
|
|
|
|
|
|
* Wed Oct 01 1997 Donnie Barnes <djb@redhat.com>
|
|
|
|
|
- stripped /sbin/install-info
|
|
|
|
|
|
|
|
|
|
* Mon Sep 22 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
|
- added info-dir to filelist
|
|
|
|
|
|
|
|
|
|
* Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
|
- added patch from sopwith to let install-info understand gzip'ed info files
|
|
|
|
|
- use skeletal dir file from texinfo tarball (w/ bash entry to reduce
|
|
|
|
|
dependency chain) instead (and install-info command everywhere else)
|
|
|
|
|
- patches install-info to handle .gz names correctly
|
|
|
|
|
|
|
|
|
|
* Tue Jun 03 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
|
- built against glibc
|
|
|
|
|
|
|
|
|
|
* Tue Feb 25 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
|
- patched install-info.c for glibc.
|
|
|
|
|
- added /usr/bin/install-info to the filelist
|
|
|
|
|
|
|
|
|
|
* Tue Feb 18 1997 Michael Fulbright <msf@redhat.com>
|
|
|
|
|
- upgraded to version 3.9.
|