Репозиторий Sisyphus
Последнее обновление: 26 марта 2019 | Пакетов: 17629 | Посещений: 13281514
en ru br
Репозитории ALT
5.1: 4.13-alt7
4.1: 4.11-alt3
4.0: 4.8-alt4
3.0: 4.8-alt2

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

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

Name: texinfo
Version: 4.8
Release: alt4

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.8-alt-zio.patch
Patch1: texinfo-4.7-rh-alt-readfile.patch
Patch2: texinfo-4.7-alt-ru.po.patch
Patch3: texinfo-4.8-rh-texindex.patch
Patch4: texinfo-4.6-alt-texi2dvi-tmp.patch
Patch5: texinfo-4.6-deb-alt-texi2dvi-tex.patch
Patch6: texinfo-4.8-alt-texi2dvi-recode.patch
Patch7: texinfo-4.8-alt-texinfo.patch
Patch8: texinfo-4.8-alt-tinfo.patch
Patch9: texinfo-4.8-deb-fixes.patch
Patch10: texinfo-4.6-alt-install-info-rpm_excludedocs.patch
Patch11: texinfo-4.8-cvs-i18n.patch

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

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

%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

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.

%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

#install -p -m644 %_sourcedir/texinfo.tex doc/

install -pm755 %_sourcedir/texi2pdf util/

rm po/*.gmo po/stamp*
bzip2 -9k ChangeLog

local target=$1 && shift
local source=$1 && shift
target=`relative "$target" "$source"`
ln -snf "$target" "%buildroot$source"


# 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' \

# New texinfo macros.

install -pD -m644 %_sourcedir/texinfo.macros \

# 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

%_sbindir/install_info %name

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

%files -n info

%files -n info-install
%config(noreplace) %_sysconfdir/info-dir


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

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