SampleSpecs/texmf-latex: различия между версиями
м (переименовал «Texmf-latex-spec» в «SampleSpecs/texmf-latex») |
Нет описания правки |
||
(не показаны 2 промежуточные версии 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 | ||
Строка 50: | Строка 52: | ||
{{Category navigation|title=TeX|category=TeX}} | {{Category navigation|title=TeX|category=TeX}} | ||
{{Category navigation|title=SampleSpecs|category=SampleSpecs|sortkey=*}} |
Текущая версия от 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