Репозитории ALT
S: | 0.8-alt0.pre1.2 |
5.1: | 0.8-alt0.pre1.2 |
4.1: | 0.8-alt0.pre1.2 |
4.0: | 0.8-alt0.pre1.2 |
3.0: | 0.8-alt0.pre1.2 |
Группа :: Издательство
Пакет: db2latex-xsl
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: db2latex-xsl
Version: 0.8
Release: alt0.pre1.2
Group: Publishing
Summary: XSLT stylesheets which generate high level LaTeX2e from DocBook document
License: Distributable
Url: http://db2latex.sourceforge.net
PreReq: xml-common xml-utils
Source0: %name-%{version}pre1.tar.bz2
Source1: catalog.xml.bz2
Patch: %name-%{version}pre1-template.patch
BuildArch: noarch
%define xmlconfdir %_sysconfdir/xml
%define db2latexdir %_datadir/xml/%name-%{version}pre1
%define catalog %xmlconfdir/catalog
%description
DB2LaTeX are a set of XSLT stylesheets which generate high level
LaTeX2e from your docbook document. They do not perform any FO
transformation, the only thing they do is to map DocBook tags into
more or less standard LaTeX.
%description -l ru_RU.CP1251
DB2LaTeX - ЩРН МЮАНП ЯРХКЕИ ДКЪ ОПЕНАПЮГНБЮМХЪ ДНЙСЛЕМРНБ ХГ ТНПЛЮРЮ
DocBook Б ТНПЛЮР LaTeX2e. щРХ ЯРХКХ МЕ БШОНКМЪЧР МХЙЮЙХУ FO НАПЮАНРНЙ,
НМХ РНКЭЙН ДЕКЮЧР ХГ РЕЦНБ DocBook АНКЕЕ ХКХ ЛЕМЕЕ ЯРЮМДЮПРМШЕ РЕЦХ LaTeX.
%prep
%setup -q -n %name-%{version}pre1
%patch0 -p1
find ./doc -perm 755 -regex ".*[^h]" -type f -exec chmod a-x {} \;
%build
%install
%__mkdir_p $RPM_BUILD_ROOT%db2latexdir
%__cp -a VERSION contrib xsl $RPM_BUILD_ROOT%db2latexdir
bzcat %SOURCE1 > $RPM_BUILD_ROOT%db2latexdir/catalog.xml
%__ln_s -f %name-%{version}pre1 $RPM_BUILD_ROOT%_datadir/xml/%name
%files
%db2latexdir
%_datadir/xml/%name
%doc AUTHOR CHANGES COPYING COPYRIGHT DOCBOOK.RFE README THANKS TODO doc
%post
if [ $1 = 1 ] ; then
/usr/bin/xmlcatalog --noout --add "nextCatalog" \
"file://%_datadir/xml/%name/catalog.xml" \
"" \
%catalog ||:
fi
%postun
if [ $1 = 0 ] ; then
/usr/bin/xmlcatalog --noout --del \
"file://%_datadir/xml/%name/catalog.xml" \
%catalog ||:
fi
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.8
Release: alt0.pre1.2
Group: Publishing
Summary: XSLT stylesheets which generate high level LaTeX2e from DocBook document
License: Distributable
Url: http://db2latex.sourceforge.net
PreReq: xml-common xml-utils
Source0: %name-%{version}pre1.tar.bz2
Source1: catalog.xml.bz2
Patch: %name-%{version}pre1-template.patch
BuildArch: noarch
%define xmlconfdir %_sysconfdir/xml
%define db2latexdir %_datadir/xml/%name-%{version}pre1
%define catalog %xmlconfdir/catalog
%description
DB2LaTeX are a set of XSLT stylesheets which generate high level
LaTeX2e from your docbook document. They do not perform any FO
transformation, the only thing they do is to map DocBook tags into
more or less standard LaTeX.
%description -l ru_RU.CP1251
DB2LaTeX - ЩРН МЮАНП ЯРХКЕИ ДКЪ ОПЕНАПЮГНБЮМХЪ ДНЙСЛЕМРНБ ХГ ТНПЛЮРЮ
DocBook Б ТНПЛЮР LaTeX2e. щРХ ЯРХКХ МЕ БШОНКМЪЧР МХЙЮЙХУ FO НАПЮАНРНЙ,
НМХ РНКЭЙН ДЕКЮЧР ХГ РЕЦНБ DocBook АНКЕЕ ХКХ ЛЕМЕЕ ЯРЮМДЮПРМШЕ РЕЦХ LaTeX.
%prep
%setup -q -n %name-%{version}pre1
%patch0 -p1
find ./doc -perm 755 -regex ".*[^h]" -type f -exec chmod a-x {} \;
%build
%install
%__mkdir_p $RPM_BUILD_ROOT%db2latexdir
%__cp -a VERSION contrib xsl $RPM_BUILD_ROOT%db2latexdir
bzcat %SOURCE1 > $RPM_BUILD_ROOT%db2latexdir/catalog.xml
%__ln_s -f %name-%{version}pre1 $RPM_BUILD_ROOT%_datadir/xml/%name
%files
%db2latexdir
%_datadir/xml/%name
%doc AUTHOR CHANGES COPYING COPYRIGHT DOCBOOK.RFE README THANKS TODO doc
%post
if [ $1 = 1 ] ; then
/usr/bin/xmlcatalog --noout --add "nextCatalog" \
"file://%_datadir/xml/%name/catalog.xml" \
"" \
%catalog ||:
fi
%postun
if [ $1 = 0 ] ; then
/usr/bin/xmlcatalog --noout --del \
"file://%_datadir/xml/%name/catalog.xml" \
%catalog ||:
fi
%changelog
…
Полный changelog можно просмотреть здесь