Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37515417
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.11
Release: alt3

Summary: Tools needed to create Texinfo format documentation files
License: GPL
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: texinfo.tex
Source2: info-dir
Source4: install_info
Source5: uninstall_info
Source6: texinfo.macros
Source7: texi2pdf

Patch0: texinfo-4.11-alt-zio.patch
Patch1: texinfo-4.7-rh-alt-readfile.patch
Patch2: texinfo-4.11-alt-ru.po.patch
Patch3: texinfo-4.11-alt-texi2dvi-recode.patch
Patch4: texinfo-4.8-alt-texinfo.patch
Patch5: texinfo-4.8-alt-tinfo.patch
Patch6: texinfo-4.6-alt-install-info-rpm_excludedocs.patch
Patch7: texinfo-4.11-alt-baroque-shells.patch
Patch8: texinfo-4.11-alt-dvips.patch
Patch9: texinfo-4.11-cvs-info-window.patch
Patch10: texinfo-4.8-deb-fixes.patch
Patch11: texinfo-4.11-deb-direntry.patch
Patch12: texinfo-4.11-deb-po.patch
Patch13: texinfo-4.11-deb-texi2dvi.patch

PreReq: info-install = %version-%release
Requires: mktemp >= 1:1.3.1

BuildRequires: libtinfo-devel libzio-devel bzlib-devel zlib-devel help2man

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

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

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

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

install -pm755 %_sourcedir/texi2pdf util/

%build
rm po/*.gmo po/stamp*
autoreconf -v
%configure
%make_build
bzip2 -9k NEWS

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

%makeinstall

# Install doc/texinfo.tex

install -pm644 doc/texinfo.tex %buildroot%_datadir/%name/

# Install catalogue.

install -pD -m644 %_sourcedir/info-dir %buildroot%_sysconfdir/info-dir
rln %_sysconfdir/info-dir %_infodir/dir

# Relocate install-info.

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

# Install install_info and uninstall_info scripts.

mkdir -p %buildroot%_sbindir
install -pm755 %_sourcedir/{,un}install_info %buildroot%_sbindir/
%__subst -p 's,%%_infodir,%_infodir,g;s,%%__install_info,%__install_info,g' \
%buildroot%_sbindir/*

# New texinfo macros.

install -pD -m644 %_sourcedir/texinfo.macros \
%buildroot%_sysconfdir/rpm/macros.d/%name

# Do not package texi2pdf which was added in 4.8-alt1

# since it already owned by with tetex-core package.
rm %buildroot%_bindir/texi2pdf

%find_lang %name

%post
%_sbindir/install_info %name

%preun
%_sbindir/uninstall_info %name

%post -n info
%_sbindir/install_info info{,-stnd}.info

%preun -n info
%_sbindir/uninstall_info info{,-stnd}.info

%files -f %name.lang
%config %_sysconfdir/rpm/macros.d/%name
%_bindir/makeinfo
%_bindir/texi2*
%_bindir/pdftexi2dvi
%_bindir/texindex
%_infodir/texi*
%_mandir/man?/makeinfo.*
%_mandir/man?/texi*.*
%_datadir/%name
%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) %_sysconfdir/info-dir
/sbin/install-info
%_sbindir/*
%_infodir/dir
%_mandir/man?/install-info.*

%changelog

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

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