SampleSpecs/texmf-latex: различия между версиями
Нет описания правки |
Нет описания правки |
||
(не показана 1 промежуточная версия 1 участника) | |||
Строка 13: | Строка 13: | ||
Group: Publishing | Group: Publishing | ||
Url: http://www.ctan.org/ | Url: http://www.ctan.org/ | ||
BuildArch: noarch | BuildArch: noarch | ||
Строка 38: | Строка 38: | ||
# ctanify is not universal, but is a recommended way to create TEXMF file layouts | # ctanify is not universal, but is a recommended way to create TEXMF file layouts | ||
# for packages. Adjustments may be necessary in some cases, see ctanify(1) for more info. | # for packages. Adjustments may be necessary in some cases, see ctanify(1) for more info. | ||
ctanify --pkgname=%srcName -- | ctanify --pkgname=%srcName --tdsdir=%buildroot/%_texmfmain * | ||
%files | %files | ||
%_texmfmain/* | %_texmfmain/tex/latex/* | ||
%_texmfmain/doc/latex/* | |||
%_texmfmain/source/latex/* | |||
%changelog | %changelog |
Текущая версия от 13:37, 18 июня 2023
Пример спека для модуля TEXMF (макропакет LaTeX)
Подробнее см. TeXPolicy
%define srcName sample Name: texmf-latex-%srcName Version: 0.1 Release: alt1 Summary: Sample spec for texmf-latex module License: %lppl Group: Publishing Url: http://www.ctan.org/ BuildArch: noarch BuildRequires(pre): rpm-build-texmf rpm-build-licenses BuildRequires: ctanify texlive-latex-base Source0: %srcName-%version.tar %description Long description here. CTAN package info page is a good source for description in English. %prep %setup -n %srcName-%version %build latex %srcName.ins latex %srcName.dtx latex %srcName.dtx %install mkdir -p %buildroot%_texmfmain # ctanify is not universal, but is a recommended way to create TEXMF file layouts # for packages. Adjustments may be necessary in some cases, see ctanify(1) for more info. ctanify --pkgname=%srcName --tdsdir=%buildroot/%_texmfmain * %files %_texmfmain/tex/latex/* %_texmfmain/doc/latex/* %_texmfmain/source/latex/* %changelog * Thu Jun 11 2009 Kirill Maslinsky <kirill@altlinux.ru> 0.1-alt1 - initial revision