= tlpdb2rpmspec = texlive-collection-* の spec ファイルを生成するツールを作成しました。 tlpdb2rpmspec は texlive-vtlpkg パッケージに同梱されています。 http://trac.vinelinux.org/browser/projects/texlive-vtlpkg/trunk {{{ $ sudo apt-get install texlive-vtlpkg }}} == 初期設定 == /usr/share/texlive-vtlpkg/dot.vtlpkg.conf を ${HOME}/.vtlpkg.conf へコピーして、必要な設定をします。 {{{ ## ## texlive-vtlpkg configuration file ## ## This configuration is read at the startup of texlive-vtlpkg. ## set your vendor ## default: RPM_VENDOR="Project Vine" RPM_VENDOR="Project Vine" ## set your distribution ## default: RPM_DISTRIBUTION="Vine Linux" RPM_DISTRIBUTION="Vine Linux" ## set your name and your e-mail address ## default: RPM_GPG_NAME="YOUR NAME " RPM_GPG_NAME="" ## set your packager id ## default: RPM_PACKAGER=your_id RPM_PACKAGER= ## set the top of your rpm directory ## default: RPM_TOPDIR=${HOME}/rpm RPM_TOPDIR=${HOME}/rpm ## end of file }}} == ヘルプ == {{{ $ tlpdb2rpmspec Usage: tlpdb2rpmspec [option] [pkgname] This script generates a rpm spec file for CTAN and collection-* packages of TeX Live. Options: --name: return [pkgname] --category: return the category of [pkgname] --revision: return the revision of [pkgname] --depend: return dependencies of [pkgname] --shortdesc: return the short description of [pkgname] --longdesc: return the description of [pkgname] --execute: return post processe of [pkgname] --catalogue-ctan: return the locate of [pkgname] --catalogue-date: return the last update of [pkgname] --catalogue-license: return the license of [pkgname] --catalogue-version: return the version of [pkgname] --filelist: return the filelist of [pkgname] --help: show this help Supoort collections-* packages: collection-basic collection-bibtexextra collection-binextra (snip) collection-xetex }}} == 使い方 == 例えば、collection-basic の texlive-collection-basic-vl.spec を生成したい場合は、以下を実行します。 {{{ $ tlpdb2rpmspec collection-basic > texlive-collection-basic-vl.spec }}} {{{rpmbuild -ba texlive-collection-basic-vl.spec}}} を実行すると、 texlive-collection-basic-2009-Xvl6.{noarch,src}.rpm, texlive-collection-basic-doc-2009-Xvl6.src.rpm がビルドされます。 各カテゴリ別に texlive-collection-* を生成したい場合は、以下を実行することにより、rpmbuild まで実行します。 {{{ 最小(main):$ tlpdb2rpmspec --minimal-collections 標準(plus):$ tlpdb2rpmspec --standard-collections 最大?(plus):$ tlpdb2rpmspec --full-collections }}}