Репозитории ALT
S: | 0.4-alt2 |
5.1: | 0.4-alt2 |
4.1: | 0.4-alt1.M41.1 |
4.0: | 0.4-alt1.M40.1 |
3.0: | 0.3-alt2 |
+updates: | 0.3-alt2.1 |
Группа :: Издательство
Пакет: alt-docs-xsl
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: alt-docs-xsl
Version: 0.4
Release: alt2
Group: Publishing
Summary: All XSL stylesheets from ALT Linux Documentation Project
License: Distributable
Url: http://docs.altlinux.ru
Source0: http://docs.altlinux.ru/%name-%version.tar.bz2
BuildArch: noarch
Requires: alt-docs-xsl-common = %version-%release
Requires: alt-docs-xsl-print = %version-%release
Requires: alt-docs-xsl-html = %version-%release
Requires: alt-docs-xsl-xhtml = %version-%release
%define xmlconfdir %_sysconfdir/xml
%define xsldir %_datadir/xml/alt-docs-xsl
%define catalog %xmlconfdir/catalog
%description
Virtual package with all of XSL stylesheets from ALT Linux
Documentation Project.
%description -l ru_RU.CP1251
бХПРСЮКЭМШИ ОЮЙЕР ДКЪ СЯРЮМНБЙХ БЯЕУ XSL ЯРХКЕИ ХГ ОПНЕЙРЮ
ДНЙСЛЕМРЮЖХХ ALT Linux.
%package common
Summary: Common stylesheets from ALT Linux Documentation Project
Group: Publishing
PreReq: xml-common xml-utils
Conflicts: alt-docs-xsl < 0.3-alt1
%description common
Common stylesheets used for all output formats.
%description common -l ru_RU.CP1251
нАЫХЕ ЯРХКХ, ХЯОНКЭГСЕЛШЕ ДКЪ БЯЕУ БШУНДМШУ ТНПЛЮРНБ.
%package print
Summary: Printable (XSL/FO) stylesheets from ALT Linux Documentation Project
Group: Publishing
Requires: alt-docs-xsl-common >= %version-%release
Requires: docbook-style-xsl
%description print
Stylesheets from ALT Linux Documentation Project for XSL/FO
output. This styles modified original DocBook styles
http://www.docbook.org
%description print -l ru_RU.CP1251
яРХКХ ДКЪ ОНКСВЕМХЪ ДНЙСЛЕМРНБ Б ТНПЛЮРЕ XSL/FO, ЙНРНПШИ ЛНФЕР АШРЭ
ОПЕНАПЮГНБЮМ Б ОЕВЮРМШЕ ТНПЛЮРШ (PDF, PS). щРХ ЯРХКХ ХГЛЕМЪЧР
НПХЦХМЮКЭМШЕ ЯРХКХ DocBook
http://www.docbook.org
%package html
Summary: HTML XSL stylesheets from ALT Linux Documentation Project
Group: Publishing
Requires: alt-docs-xsl-common >= %version-%release
Requires: docbook-style-xsl
%description html
XSL sylesheets from ALT Linux Documentation Project for HTML
output. This styles modified original DocBook styles
http://www.docbook.org
%description html -l ru_RU.CP1251
XSL ЯРХКХ ДКЪ ОНКСВЕМХЪ ТНПЛЮРЮ HTML ХГ ХЯУНДМШУ ДНЙСЛЕМРНБ DocBook
XML. щРХ ЯРХКХ ХГЛЕМЪЧР НПХЦХМЮКЭМШЕ ЯРХКХ DocBook
http://www.docbook.org
%package xhtml
Summary: HTML XSL stylesheets from ALT Linux Documentation Project
Group: Publishing
Requires: alt-docs-xsl-common >= %version-%release
Requires: docbook-style-xsl
%description xhtml
XSL sylesheets from ALT Linux Documentation Project for XHTML
output. This styles modified original DocBook styles
http://www.docbook.org
%description xhtml -l ru_RU.CP1251
XSL ЯРХКХ ДКЪ ОНКСВЕМХЪ ТНПЛЮРЮ XHTML ХГ ХЯУНДМШУ ДНЙСЛЕМРНБ DocBook
XML. щРХ ЯРХКХ ХГЛЕМЪЧР НПХЦХМЮКЭМШЕ ЯРХКХ DocBook
http://www.docbook.org
%prep
%setup
%build
%install
%__mkdir -p $RPM_BUILD_ROOT%xsldir
%__cp -a common html xhtml print website catalog.xml $RPM_BUILD_ROOT%xsldir
%__mkdir -p %buildroot%_sysconfdir/buildreqs/files/ignore.d
%__cp -a alt-docs-xsl.ignore.buildreq %buildroot%_sysconfdir/buildreqs/files/ignore.d/alt-docs-xsl-common
# FIXME: add ChangeLog (building from cvs)
%files
%files common
%dir %xsldir
%xsldir/catalog.xml
%xsldir/common
%doc README
%_sysconfdir/buildreqs/files/ignore.d/alt-docs-xsl-common
%files print
%xsldir/print
%files html
%xsldir/html
%files xhtml
%xsldir/xhtml
%post common
if [ $1 = 1 ] ; then
/usr/bin/xmlcatalog --noout --add "nextCatalog" \
"file://%xsldir/catalog.xml" \
"" \
%catalog ||:
fi
%postun common
if [ $1 = "0" ] ; then
/usr/bin/xmlcatalog --noout --del \
"file://%xsldir/catalog.xml" \
%catalog ||:
fi
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.4
Release: alt2
Group: Publishing
Summary: All XSL stylesheets from ALT Linux Documentation Project
License: Distributable
Url: http://docs.altlinux.ru
Source0: http://docs.altlinux.ru/%name-%version.tar.bz2
BuildArch: noarch
Requires: alt-docs-xsl-common = %version-%release
Requires: alt-docs-xsl-print = %version-%release
Requires: alt-docs-xsl-html = %version-%release
Requires: alt-docs-xsl-xhtml = %version-%release
%define xmlconfdir %_sysconfdir/xml
%define xsldir %_datadir/xml/alt-docs-xsl
%define catalog %xmlconfdir/catalog
%description
Virtual package with all of XSL stylesheets from ALT Linux
Documentation Project.
%description -l ru_RU.CP1251
бХПРСЮКЭМШИ ОЮЙЕР ДКЪ СЯРЮМНБЙХ БЯЕУ XSL ЯРХКЕИ ХГ ОПНЕЙРЮ
ДНЙСЛЕМРЮЖХХ ALT Linux.
%package common
Summary: Common stylesheets from ALT Linux Documentation Project
Group: Publishing
PreReq: xml-common xml-utils
Conflicts: alt-docs-xsl < 0.3-alt1
%description common
Common stylesheets used for all output formats.
%description common -l ru_RU.CP1251
нАЫХЕ ЯРХКХ, ХЯОНКЭГСЕЛШЕ ДКЪ БЯЕУ БШУНДМШУ ТНПЛЮРНБ.
%package print
Summary: Printable (XSL/FO) stylesheets from ALT Linux Documentation Project
Group: Publishing
Requires: alt-docs-xsl-common >= %version-%release
Requires: docbook-style-xsl
%description print
Stylesheets from ALT Linux Documentation Project for XSL/FO
output. This styles modified original DocBook styles
http://www.docbook.org
%description print -l ru_RU.CP1251
яРХКХ ДКЪ ОНКСВЕМХЪ ДНЙСЛЕМРНБ Б ТНПЛЮРЕ XSL/FO, ЙНРНПШИ ЛНФЕР АШРЭ
ОПЕНАПЮГНБЮМ Б ОЕВЮРМШЕ ТНПЛЮРШ (PDF, PS). щРХ ЯРХКХ ХГЛЕМЪЧР
НПХЦХМЮКЭМШЕ ЯРХКХ DocBook
http://www.docbook.org
%package html
Summary: HTML XSL stylesheets from ALT Linux Documentation Project
Group: Publishing
Requires: alt-docs-xsl-common >= %version-%release
Requires: docbook-style-xsl
%description html
XSL sylesheets from ALT Linux Documentation Project for HTML
output. This styles modified original DocBook styles
http://www.docbook.org
%description html -l ru_RU.CP1251
XSL ЯРХКХ ДКЪ ОНКСВЕМХЪ ТНПЛЮРЮ HTML ХГ ХЯУНДМШУ ДНЙСЛЕМРНБ DocBook
XML. щРХ ЯРХКХ ХГЛЕМЪЧР НПХЦХМЮКЭМШЕ ЯРХКХ DocBook
http://www.docbook.org
%package xhtml
Summary: HTML XSL stylesheets from ALT Linux Documentation Project
Group: Publishing
Requires: alt-docs-xsl-common >= %version-%release
Requires: docbook-style-xsl
%description xhtml
XSL sylesheets from ALT Linux Documentation Project for XHTML
output. This styles modified original DocBook styles
http://www.docbook.org
%description xhtml -l ru_RU.CP1251
XSL ЯРХКХ ДКЪ ОНКСВЕМХЪ ТНПЛЮРЮ XHTML ХГ ХЯУНДМШУ ДНЙСЛЕМРНБ DocBook
XML. щРХ ЯРХКХ ХГЛЕМЪЧР НПХЦХМЮКЭМШЕ ЯРХКХ DocBook
http://www.docbook.org
%prep
%setup
%build
%install
%__mkdir -p $RPM_BUILD_ROOT%xsldir
%__cp -a common html xhtml print website catalog.xml $RPM_BUILD_ROOT%xsldir
%__mkdir -p %buildroot%_sysconfdir/buildreqs/files/ignore.d
%__cp -a alt-docs-xsl.ignore.buildreq %buildroot%_sysconfdir/buildreqs/files/ignore.d/alt-docs-xsl-common
# FIXME: add ChangeLog (building from cvs)
%files
%files common
%dir %xsldir
%xsldir/catalog.xml
%xsldir/common
%doc README
%_sysconfdir/buildreqs/files/ignore.d/alt-docs-xsl-common
%files print
%xsldir/print
%files html
%xsldir/html
%files xhtml
%xsldir/xhtml
%post common
if [ $1 = 1 ] ; then
/usr/bin/xmlcatalog --noout --add "nextCatalog" \
"file://%xsldir/catalog.xml" \
"" \
%catalog ||:
fi
%postun common
if [ $1 = "0" ] ; then
/usr/bin/xmlcatalog --noout --del \
"file://%xsldir/catalog.xml" \
%catalog ||:
fi
%changelog
…
Полный changelog можно просмотреть здесь