Группа :: Разработка/Python
Пакет: python-doc-tools
Главная Изменения Спек Патчи Загрузить Bugs and FR
# This spec for backport to M24 is autogenerated. Do not edit it.
# -*- coding: utf-8 -*-
%define targetdir %_datadir/python-doc-tools
# Hack! Hack! Hack!
%define _perl_lib_path %targetdir/tools
%define __find_provides %SOURCE1
%define __find_requires %SOURCE2
Packager: Python Development Team <python at packages.altlinux.org>
Name: python-doc-tools
Version: 0.0.1
Release: alt0.M24.1
BuildArch: noarch
Requires: make python perl-base tetex-dvips tetex-latex latex2html lynx
Summary: A set of standard tools to convert python modules documentation
License: PSF
Group: Development/Python
Url: http://www.python.org
Source0: %name-%version.tar.bz2
Source1: %name.find-provides
Source2: %name.find-requires
BuildRequires: rpm-build-compat >= 0.4
%description
This package contains a set of scripts (python, perl), images, TeX
style files, etc. to build unified-styled documentation for python
modules from TeX/LaTeX sources.
%description -l ru_RU.UTF-8
п╜я┌п╬я┌ п©п╟п╨п╣я┌ я│п╬п╢п╣я─п╤п╦я┌ п╫п╟п╠п╬я─ я│я├п╣п╫п╟я─п╦п╣п╡ (python, perl), п╦п╥п╬п╠я─п╟п╤п╣п╫п╦п╧,
я└п╟п╧п╩п╬п╡ я│я┌п╦п╩п╣п╧ TeX п╦ я┌.п╢. п╢п╩я▐ п©п╬я│я┌я─п╬п╣п╫п╦я▐ п╡я▀п╢п╣я─п╤п╟п╫п╫п╬п╧ п╡ п╣п╢п╦п╫п╬п╪ я│я┌п╦п╩п╣
п╢п╬п╨я┐п╪п╣п╫я┌п╟я├п╦п╦ п╢п╩я▐ п╪п╬п╢я┐п╩п╣п╧ п©п╦я┌п╬п╫ п╦п╥ п╦я│я┘п╬п╢п╫п╦п╨п╬п╡ п╫п╟ TeX/LaTex
%prep
%setup -q -n %name
cat >README <<EOF
Usage:
make -f %targetdir/Makefile MODULE=<YourModuleName> [<TargetFormat>]
Supported formats:
html
text
dvi
ps
EOF
rm -rf tools/push-docs.sh
rm -rf tools/update-docs.sh
%install
%__mkdir_p %buildroot%targetdir
cp -pr * %buildroot%targetdir
unset RPM_PYTHON
%files
%doc README
%targetdir
%changelog
…
Полный changelog можно просмотреть здесь
# -*- coding: utf-8 -*-
%define targetdir %_datadir/python-doc-tools
# Hack! Hack! Hack!
%define _perl_lib_path %targetdir/tools
%define __find_provides %SOURCE1
%define __find_requires %SOURCE2
Packager: Python Development Team <python at packages.altlinux.org>
Name: python-doc-tools
Version: 0.0.1
Release: alt0.M24.1
BuildArch: noarch
Requires: make python perl-base tetex-dvips tetex-latex latex2html lynx
Summary: A set of standard tools to convert python modules documentation
License: PSF
Group: Development/Python
Url: http://www.python.org
Source0: %name-%version.tar.bz2
Source1: %name.find-provides
Source2: %name.find-requires
BuildRequires: rpm-build-compat >= 0.4
%description
This package contains a set of scripts (python, perl), images, TeX
style files, etc. to build unified-styled documentation for python
modules from TeX/LaTeX sources.
%description -l ru_RU.UTF-8
п╜я┌п╬я┌ п©п╟п╨п╣я┌ я│п╬п╢п╣я─п╤п╦я┌ п╫п╟п╠п╬я─ я│я├п╣п╫п╟я─п╦п╣п╡ (python, perl), п╦п╥п╬п╠я─п╟п╤п╣п╫п╦п╧,
я└п╟п╧п╩п╬п╡ я│я┌п╦п╩п╣п╧ TeX п╦ я┌.п╢. п╢п╩я▐ п©п╬я│я┌я─п╬п╣п╫п╦я▐ п╡я▀п╢п╣я─п╤п╟п╫п╫п╬п╧ п╡ п╣п╢п╦п╫п╬п╪ я│я┌п╦п╩п╣
п╢п╬п╨я┐п╪п╣п╫я┌п╟я├п╦п╦ п╢п╩я▐ п╪п╬п╢я┐п╩п╣п╧ п©п╦я┌п╬п╫ п╦п╥ п╦я│я┘п╬п╢п╫п╦п╨п╬п╡ п╫п╟ TeX/LaTex
%prep
%setup -q -n %name
cat >README <<EOF
Usage:
make -f %targetdir/Makefile MODULE=<YourModuleName> [<TargetFormat>]
Supported formats:
html
text
dvi
ps
EOF
rm -rf tools/push-docs.sh
rm -rf tools/update-docs.sh
%install
%__mkdir_p %buildroot%targetdir
cp -pr * %buildroot%targetdir
unset RPM_PYTHON
%files
%doc README
%targetdir
%changelog
…
Полный changelog можно просмотреть здесь