generate info/dir on the fly

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-04 12:16:40 +01:00
parent dd52d158de
commit 12357d4c0f
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
2 changed files with 3 additions and 26 deletions

View File

@ -1,22 +0,0 @@
$Id: dir,v 1.2 1996/09/24 18:43:01 karl Exp $
This is the file .../info/dir, which contains the topmost node of the
Info hierarchy. The first time you invoke Info you start off
looking at that node, which is (dir)Top.

File: dir Node: Top This is the top of the INFO tree
This (the Directory node) gives a menu of major topics.
Typing "q" exits, "?" lists all Info commands, "d" returns here,
"h" gives a primer for first-timers,
"mEmacs<Return>" visits the Emacs topic, etc.
In Emacs, you can click mouse button 2 on a menu item or cross reference
to select it.
* Menu:
Texinfo documentation system
* Info: (info). Documentation browsing system.
Miscellaneous
* bash: (bash). The Bourne Again Shell.

View File

@ -8,7 +8,6 @@ License: GPLv3+
Url: http://www.gnu.org/software/texinfo/
Source0: ftp://ftp.gnu.org/gnu/texinfo/texinfo-%{version}.tar.xz
Source1: ftp://ftp.gnu.org/gnu/texinfo/texinfo-%{version}.tar.xz.sig
Source2: info-dir
# Source5: macro definitions
Source5: macros.info
Patch0: texinfo-4.12-zlib.patch
@ -76,7 +75,6 @@ mkdir -p ${RPM_BUILD_ROOT}/sbin
mkdir -p $RPM_BUILD_ROOT%{tex_texinfo}
install -p -m644 doc/texinfo.tex doc/txi-??.tex $RPM_BUILD_ROOT%{tex_texinfo}
install -p -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_infodir}/dir
mv $RPM_BUILD_ROOT%{_bindir}/install-info $RPM_BUILD_ROOT/sbin
install -Dpm0755 -t %{buildroot}%{_sbindir} contrib/fix-info-dir
@ -98,7 +96,7 @@ export ALL_TESTS=yes
%{_bindir}/texconfig-sys rehash 2> /dev/null || :
%transfiletriggerin -n info -- %{_infodir}
%{_sbindir}/fix-info-dir %{_infodir}/dir
%{_sbindir}/fix-info-dir --create %{_infodir}/dir
%transfiletriggerpostun -n info -- %{_infodir}
%{_sbindir}/fix-info-dir --delete %{_infodir}/dir
@ -117,7 +115,6 @@ export ALL_TESTS=yes
%{_mandir}/man1/pod2texi.1*
%files -n info
%config(noreplace) %verify(not md5 size mtime) %{_infodir}/dir
%license COPYING
%{_bindir}/info
%{_infodir}/info-stnd.info*
@ -127,6 +124,8 @@ export ALL_TESTS=yes
%{_mandir}/man1/install-info.1*
%{_mandir}/man5/info.5*
%{_rpmconfigdir}/macros.d/macros.info
%ghost %{_infodir}/dir
%ghost %{_infodir}/dir.old
%files tex
%{_bindir}/texindex