SampleSpecs/texmf-latex: различия между версиями
Строка 4: | Строка 4: | ||
<pre> | <pre> | ||
%define srcName | %define srcName sample | ||
Name: texmf-latex-%srcName | Name: texmf-latex-%srcName | ||
Строка 12: | Строка 12: | ||
License: %lppl | License: %lppl | ||
Group: Publishing | Group: Publishing | ||
Url: http://www.ctan.org | Url: http://www.ctan.org/ | ||
Packager: Kirill Maslinsky <kirill@altlinux.org> | Packager: Kirill Maslinsky <kirill@altlinux.org> | ||
Версия от 16:56, 11 июня 2009
Пример спека для модуля 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/ Packager: Kirill Maslinsky <kirill@altlinux.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 --tdsoutdir=%buildroot/%_texmfmain * %files %_texmfmain/* %changelog * Thu Jun 11 2009 Kirill Maslinsky <kirill@altlinux.ru> 0.1-alt1 - initial revision