Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37542795
en ru br
Репозитории ALT
S:7.0.3-alt1
5.1: 4.13-alt7
4.1: 4.11-alt3
4.0: 4.8-alt4
3.0: 4.8-alt2
www.altlinux.org/Changes

Группа :: Издательство
Пакет: texinfo

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: texinfo
Version: 4.13
Release: alt7

Summary: Tools needed to create Texinfo format documentation files
License: GPLv3+
Group: Publishing
Url: http://www.gnu.org/software/texinfo/
Packager: Dmitry V. Levin <ldv at altlinux.org>

Source0: ftp://ftp.gnu.org/pub/gnu/texinfo/texinfo-%version.tar
Source1: update-info-dir
Source2: update-info-dir.8
Source3: info-dir.filetrigger
Source4: info-install.macros
Source5: install_info
Source6: uninstall_info
Source7: texi2pdf
Source8: texi2pdf.man

Patch0: texinfo-4.13-cvs-info.patch
Patch1: texinfo-4.13-alt-zio.patch
Patch2: texinfo-4.13-rh-alt-readfile.patch
Patch3: texinfo-4.13-alt-ru.po.patch
Patch4: texinfo-4.13-alt-texi2dvi-recode.patch
Patch5: texinfo-4.13-alt-texinfo.patch
Patch6: texinfo-4.13-alt-tinfo.patch
Patch7: texinfo-4.13-alt-install-info-rpm.patch
Patch8: texinfo-4.11-alt-baroque-shells.patch
Patch9: texinfo-4.13-alt-dvips.patch
Patch11: texinfo-4.13-deb-po.patch
Patch12: texinfo-4.13-deb-alt-warn_missing_tex.patch

PreReq: info-install = %version-%release
Requires: rpm-macros-info-install = %version-%release
Requires: mktemp >= 1:1.3.1
# due to texi2pdf and %_datadir/texmf/tex/texinfo
Conflicts: tetex-core <= 0:2.0-alt8

BuildRequires: cvs bzlib-devel help2man libtinfo-devel libzio-devel zlib-devel
%{?!_without_check:%{?!_disable_check:BuildRequires: gzip-utils}}

%package -n info-install
Summary: A program to update the GNU texinfo config file
Group: System/Base
PreReq: libzio >= 0:0.1-alt4

%package -n info
Summary: A standalone tty-based reader for GNU texinfo documentation
Group: System/Base
PreReq: info-install = %version-%release

%package -n rpm-macros-info-install
Summary: Set of RPM macros for packaging texinfo files
Group: System/Base
BuildArch: noarch

%description
Texinfo is a documentation system that can produce both online information
and printed output from a single source file.  Normally, you'd have to
write two separate documents: one for online help or other online
information and the other for a typeset manual or other printed work.
Using Texinfo, you only need to write one source document.  Then when the
work needs revision, you only have to revise one source document.  The GNU
Project uses the Texinfo file format for most of its documentation.

%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.

%description -n info-install
This packages contains install-info - a program to update menu entries
in the Info system config files.

%description -n rpm-macros-info-install
This packages contains new RPM macros for packaging texinfo files.

%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch11 -p1
%patch12 -p1

install -pm755 %_sourcedir/texi2pdf util/

%build
rm po/*.gmo po/stamp*
# some man scripts have been touch by the patches, so the builder
# will try to rebuild the man page from texi2dvi but that
# spits out only a warning that no tex system is installed
touch doc/*texi2*.1

%autoreconf
%configure
%make_build
bzip2 -9k NEWS

%check
%make_build -k check

%install
rln()
{
local target=$1 && shift
local source=$1 && shift
target=`relative "$target" "$source"`
ln -snf "$target" "%buildroot$source"
}

%makeinstall_std install-tex TEXMF=%_datadir/texmf

# generic/epsf/epsf.tex is packaged in tetex and texlive

rm -r %buildroot%_datadir/texmf/tex/generic

# Install catalogue.

mkdir -p %buildroot%_sysconfdir
touch %buildroot%_sysconfdir/info-dir{,.old}
rln %_sysconfdir/info-dir %_infodir/dir

# Relocate install-info.

mkdir -p %buildroot/sbin
mv %buildroot%_bindir/install-info %buildroot/sbin/

# Install info-dir filetrigger.

mkdir -p %buildroot%_rpmlibdir
install -pm755 %_sourcedir/info-dir.filetrigger %buildroot%_rpmlibdir/

# Install new rpm macros.

install -pDm644 %_sourcedir/info-install.macros %buildroot%_rpmmacrosdir/info-install

# Install install_info and uninstall_info stub scripts.

mkdir -p %buildroot%_sbindir
install -pm755 %_sourcedir/{,un}install_info %buildroot%_sbindir/

install -pm644 %_sourcedir/texi2pdf.man %buildroot%_man1dir/texi2pdf.1
install -pm755 %_sourcedir/update-info-dir %buildroot%_sbindir/
mkdir -p %buildroot%_man8dir
install -pm644 %_sourcedir/update-info-dir.8 %buildroot%_man8dir/

%find_lang %name

%files -f %name.lang
%_bindir/makeinfo
%_bindir/*texi*
%_infodir/*texi*
%_mandir/man?/makeinfo.*
%_mandir/man?/*texi*.*
%_datadir/%name
%_datadir/texmf/tex/texinfo
%doc AUTHORS INTRODUCTION NEWS.bz2 README TODO

%files -n info
%_bindir/info
%_bindir/infokey
%_mandir/man?/info.*
%_mandir/man?/infokey.*
%_infodir/info*.info*

%files -n info-install
%config(noreplace) %verify(not md5 mtime size) %ghost %_sysconfdir/info-dir*
%_rpmlibdir/*.filetrigger
/sbin/install-info
%_sbindir/*
%_infodir/dir
%_mandir/man?/install-info.*
%_man8dir/update-info-dir.*

%files -n rpm-macros-info-install
%_rpmmacrosdir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin