texlive-collection-langtibetan-vl.spec 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2012-1:
  3. ## tlpdb2rpmspec collection-langtibetan
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. %define aliasttfdir %{texmfsysvar}/fonts/truetype/vine
  8. %define texmfsysconfig %{_sysconfdir}/texmf
  9. %define texmfsysvar %{_var}/lib/texmf
  10. %define vartexfonts %{texmfsysvar}/fonts
  11. %define tex_destdir %{_datadir}
  12. %define texmf %{tex_destdir}/texmf
  13. %define texlive_src %{tex_destdir}/texlive-sources
  14. %define build_tex_destdir %{buildroot}%{tex_destdir}
  15. %define build_texmf %{buildroot}%{texmf}
  16. ## use some macros for %post, %posttrans
  17. %define touch_run(%1) %{expand:( %__mkdir_p /var/run/texlive; touch /var/run/texlive/run-%1; )
  18. }
  19. %define exec_upddeffont [ -x %{_sbindir}/update-defaultfont ] && \\\
  20. %{_sbindir}/update-defaultfont 2> /dev/null
  21. %define exec_texhash [ -e /var/run/texlive/run-texhash ] && ( \\\
  22. [ -x %{_bindir}/texhash ] && \\\
  23. echo -n " "; echo -n "Running texhash... "; \\\
  24. %{_bindir}/texhash 2> /dev/null; \\\
  25. echo "done." ) && %__rm -f /var/run/texlive/run-texhash;
  26. %define exec_mtxrun [ -e /var/run/texlive/run-mtxrun ] && ( \\\
  27. [ -x %{_bindir}/mtxrun ] && \\\
  28. echo -n " "; echo -n "Running mtxrun... "; \\\
  29. export TEXMF=%{texmf}-dist TEXMFCNF=%{texmf}/web2c TEXMFCACHE=%{texmfsysvar}; \\\
  30. %{_bindir}/mtxrun --generate &> /dev/null; \\\
  31. echo "done." ) && %__rm -f /var/run/texlive/run-mtxrun;
  32. %define exec_fmtutil [ -e /var/run/texlive/run-fmtutil ] && ( \\\
  33. [ -x %{_bindir}/fmtutil-sys ] && \\\
  34. echo -n " "; echo -n "Running fmtutil-sys... "; \\\
  35. %{_bindir}/fmtutil-sys --all &> /dev/null; \\\
  36. echo "done." ) && %__rm -f /var/run/texlive/run-fmtutil;
  37. %define exec_updmap [ -e /var/run/texlive/run-updmap ] && ( \\\
  38. [ -x %{_bindir}/updmap-sys ] && \\\
  39. echo -n " "; echo -n "Running updmap-sys... "; \\\
  40. %{_bindir}/updmap-sys --nohash --quiet &> /dev/null; \\\
  41. echo "done." ) && %__rm -f /var/run/texlive/run-updmap;
  42. Summary: TeX Live: Tibetan
  43. Summary(ja): TeX Live: Tibetan
  44. Name: texlive-collection-langtibetan
  45. Version: 2012
  46. Release: 1%{?_dist_release}
  47. License: GPL+
  48. Group: Applications/Publishing
  49. URL:http://www.tug.org/texlive/
  50. Requires: texlive = %{version}
  51. Requires: texlive-collection-basic = %{version}
  52. Requires(post): texlive = %{version}
  53. Requires(postun): texlive = %{version}
  54. #BuildRequires: texlive-sources = %{version}
  55. BuildArch: noarch
  56. Buildroot: %{_tmppath}/%{name}-%{version}-root
  57. Vendor: Project Vine
  58. Distribution: Vine Linux
  59. Packager: munepi
  60. %description
  61. The TeX Live software distribution offers a complete TeX system for a
  62. variety of Unix, Macintosh, Windows and other platforms. It
  63. encompasses programs for editing, typesetting, previewing and printing
  64. of TeX documents in many different languages, and a large collection
  65. of TeX macros and font libraries.
  66. The distribution includes extensive general documentation about TeX,
  67. as well as the documentation for the included software packages.
  68. This package is a collection of Tibetan:
  69. Support for typesetting Tibetan.
  70. This package contains the following CTAN packages:
  71. ctib: Tibetan for TeX and LATeX2e.
  72. otibet:
  73. %description -l ja
  74. TeX Live ソフトウェアディストリビューションは、
  75. さまざまな Unix, Macintosh, Windows、および
  76. 他のプラットホームに対して完全な TeX システムを提供します。
  77. 多くの異なった言語を含む TeX ドキュメントの
  78. 編集、組版、閲覧、印刷するためのプログラム、
  79. そして、TeX マクロやフォントライブラリの大きなコレクションを
  80. 同梱しています。
  81. このディストリビューションは
  82. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  83. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  84. このパッケージは以下のようなパッケージ集です。
  85. Tibetan:
  86. Support for typesetting Tibetan.
  87. このパッケージは以下の CTAN パッケージを含んでいます:
  88. ctib: Tibetan for TeX and LATeX2e.
  89. otibet:
  90. %package doc
  91. Summary: TeX Live: Documentation files of %{name}
  92. Group: Applications/Publishing
  93. Requires: %{name} = %{version}-%{release}
  94. %description doc
  95. This package contains documentation files of %{name}.
  96. %prep
  97. %build
  98. %install
  99. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  100. PREF=%{buildroot}%{tex_destdir}
  101. manifest=(
  102. texmf-dist/doc/latex/ctib/README
  103. texmf-dist/doc/latex/ctib/ctib4tex.pdf
  104. texmf-dist/doc/latex/ctib/ctib4tex.tex
  105. texmf-dist/source/latex/ctib/COPYING
  106. texmf-dist/source/latex/ctib/EMTEX
  107. texmf-dist/source/latex/ctib/HISTORY
  108. texmf-dist/source/latex/ctib/INSTALL
  109. texmf-dist/source/latex/ctib/MIKTEX
  110. texmf-dist/fonts/source/public/ctib/bzrsetup.mf
  111. texmf-dist/fonts/source/public/ctib/ctib.mf
  112. texmf-dist/fonts/source/public/ctib/ctibcode.mf
  113. texmf-dist/fonts/source/public/ctib/ctiblett.mf
  114. texmf-dist/fonts/source/public/ctib/ctibligs.mf
  115. texmf-dist/fonts/source/public/ctib/ctibnum.mf
  116. texmf-dist/fonts/source/public/ctib/ctibpunc.mf
  117. texmf-dist/fonts/source/public/ctib/ctibsplt.mf
  118. texmf-dist/fonts/source/public/ctib/ctibvow.mf
  119. texmf-dist/fonts/tfm/public/ctib/ctib.tfm
  120. texmf-dist/tex/latex/ctib/ctib.sty
  121. texmf-dist/tex/latex/ctib/ctib.tex
  122. texmf-dist/tex/latex/ctib/lctctib.fd
  123. texmf-dist/tex/latex/ctib/lctenc.def
  124. texmf-dist/doc/latex/otibet/README
  125. texmf-dist/doc/latex/otibet/allbasic-mule.tex
  126. texmf-dist/doc/latex/otibet/allbasic.dvi
  127. texmf-dist/doc/latex/otibet/allbasic.tex
  128. texmf-dist/doc/latex/otibet/otibet-mule.tex
  129. texmf-dist/doc/latex/otibet/testtib.tex
  130. texmf-dist/doc/latex/otibet/tiblatex.dvi
  131. texmf-dist/doc/latex/otibet/tiblatex.tex
  132. texmf-dist/doc/latex/otibet/unidoc.dvi
  133. texmf-dist/doc/latex/otibet/unidoc.tex
  134. texmf-dist/doc/latex/otibet/yugpacan.dvi
  135. texmf-dist/doc/latex/otibet/yugpacan.tex
  136. texmf-dist/source/latex/otibet/Makefile
  137. texmf-dist/source/latex/otibet/allbasic.odvi
  138. texmf-dist/source/latex/otibet/convnum.scm
  139. texmf-dist/source/latex/otibet/generate-otp.el
  140. texmf-dist/source/latex/otibet/oct2otp.c
  141. texmf-dist/source/latex/otibet/pl2ovp.scm
  142. texmf-dist/source/latex/otibet/tibetan.pl
  143. texmf-dist/source/latex/otibet/tiblatex.odvi
  144. texmf-dist/source/latex/otibet/tibovp.scm
  145. texmf-dist/source/latex/otibet/unidoc.odvi
  146. texmf-dist/source/latex/otibet/yugpacan.odvi
  147. texmf-dist/fonts/ofm/public/otibet/otibetan.ofm
  148. texmf-dist/fonts/ovf/public/otibet/otibetan.ovf
  149. texmf-dist/fonts/ovp/public/otibet/otibetan.ovp
  150. texmf-dist/fonts/source/public/otibet/bzrsetup.mf
  151. texmf-dist/fonts/source/public/otibet/tibetan.mf
  152. texmf-dist/fonts/tfm/public/otibet/tibetan.tfm
  153. texmf-dist/omega/ocp/otibet/tibadjusttsheg.ocp
  154. texmf-dist/omega/ocp/otibet/tibinunicode.ocp
  155. texmf-dist/omega/ocp/otibet/tibinwylie.ocp
  156. texmf-dist/omega/ocp/otibet/tibout.ocp
  157. texmf-dist/omega/ocp/otibet/tibspecial.ocp
  158. texmf-dist/omega/ocp/otibet/tibuniuni.ocp
  159. texmf-dist/omega/ocp/otibet/tibvowel.ocp
  160. texmf-dist/omega/otp/otibet/tibadjusttsheg.otp
  161. texmf-dist/omega/otp/otibet/tibetan-mule2uni-old.otp
  162. texmf-dist/omega/otp/otibet/tibetan-mule2uni.otp
  163. texmf-dist/omega/otp/otibet/tibinunicode.otp
  164. texmf-dist/omega/otp/otibet/tibinwylie.otp
  165. texmf-dist/omega/otp/otibet/tibout.otp
  166. texmf-dist/omega/otp/otibet/tibshow.otp
  167. texmf-dist/omega/otp/otibet/tibspecial.otp
  168. texmf-dist/omega/otp/otibet/tibuniuni.otp
  169. texmf-dist/omega/otp/otibet/tibvowel.otp
  170. texmf-dist/tex/latex/otibet/ot1tib.fd
  171. texmf-dist/tex/latex/otibet/otibet.sty
  172. texmf-dist/tex/latex/otibet/otibet.tex
  173. texmf-dist/tex/latex/otibet/t1tib.fd
  174. )
  175. %__mkdir_p ${PREF}/texmf-dist
  176. for i in "${manifest[@]}"; do
  177. %__install -m $(stat -c %a %{texlive_src}/$i) -p -D %{texlive_src}/$i ${PREF}/$i
  178. done
  179. ## make symlinks of core script utils
  180. mk_symlinks=(
  181. texlive-collection-bibtexextra,/usr/bin/bibexport,/usr/share/texmf-dist/scripts/bibexport/bibexport.sh
  182. texlive-collection-bibtexextra,/usr/bin/listbib,/usr/share/texmf-dist/scripts/listbib/listbib
  183. texlive-collection-bibtexextra,/usr/bin/urlbst,/usr/share/texmf-dist/scripts/urlbst/urlbst
  184. texlive-collection-binextra,/usr/bin/arlatex,/usr/share/texmf-dist/scripts/bundledoc/arlatex
  185. texlive-collection-binextra,/usr/bin/bundledoc,/usr/share/texmf-dist/scripts/bundledoc/bundledoc
  186. texlive-collection-binextra,/usr/bin/ctanify,/usr/share/texmf-dist/scripts/ctanify/ctanify
  187. texlive-collection-binextra,/usr/bin/ctanupload,/usr/share/texmf-dist/scripts/ctanupload/ctanupload.pl
  188. texlive-collection-binextra,/usr/bin/de-macro,/usr/share/texmf-dist/scripts/de-macro/de-macro
  189. texlive-collection-binextra,/usr/bin/dviasm,/usr/share/texmf-dist/scripts/dviasm/dviasm.py
  190. texlive-collection-binextra,/usr/bin/findhyph,/usr/share/texmf-dist/scripts/findhyph/findhyph
  191. texlive-collection-binextra,/usr/bin/fragmaster,/usr/share/texmf-dist/scripts/fragmaster/fragmaster.pl
  192. texlive-collection-binextra,/usr/bin/installfont-tl,/usr/share/texmf-dist/scripts/installfont/installfont-tl
  193. texlive-collection-binextra,/usr/bin/latex2man,/usr/share/texmf-dist/scripts/latex2man/latex2man
  194. texlive-collection-binextra,/usr/bin/latexdiff,/usr/share/texmf-dist/scripts/latexdiff/latexdiff.pl
  195. texlive-collection-binextra,/usr/bin/latexdiff-vc,/usr/share/texmf-dist/scripts/latexdiff/latexdiff-vc.pl
  196. texlive-collection-binextra,/usr/bin/latexfileversion,/usr/share/texmf-dist/scripts/latexfileversion/latexfileversion
  197. texlive-collection-binextra,/usr/bin/latexmk,/usr/share/texmf-dist/scripts/latexmk/latexmk.pl
  198. texlive-collection-binextra,/usr/bin/latexrevise,/usr/share/texmf-dist/scripts/latexdiff/latexrevise.pl
  199. texlive-collection-binextra,/usr/bin/listings-ext.sh,/usr/share/texmf-dist/scripts/listings-ext/listings-ext.sh
  200. texlive-collection-binextra,/usr/bin/match_parens,/usr/share/texmf-dist/scripts/match_parens/match_parens
  201. texlive-collection-binextra,/usr/bin/mkjobtexmf,/usr/share/texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl
  202. texlive-collection-binextra,/usr/bin/pdf180,/usr/share/texmf-dist/scripts/pdfjam/pdf180
  203. texlive-collection-binextra,/usr/bin/pdf270,/usr/share/texmf-dist/scripts/pdfjam/pdf270
  204. texlive-collection-binextra,/usr/bin/pdf90,/usr/share/texmf-dist/scripts/pdfjam/pdf90
  205. texlive-collection-binextra,/usr/bin/pdfbook,/usr/share/texmf-dist/scripts/pdfjam/pdfbook
  206. texlive-collection-binextra,/usr/bin/pdfcrop,/usr/share/texmf-dist/scripts/pdfcrop/pdfcrop.pl
  207. texlive-collection-binextra,/usr/bin/pdfflip,/usr/share/texmf-dist/scripts/pdfjam/pdfflip
  208. texlive-collection-binextra,/usr/bin/pdfjam,/usr/share/texmf-dist/scripts/pdfjam/pdfjam
  209. texlive-collection-binextra,/usr/bin/pdfjam-pocketmod,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-pocketmod
  210. texlive-collection-binextra,/usr/bin/pdfjam-slides3up,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-slides3up
  211. texlive-collection-binextra,/usr/bin/pdfjam-slides6up,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-slides6up
  212. texlive-collection-binextra,/usr/bin/pdfjoin,/usr/share/texmf-dist/scripts/pdfjam/pdfjoin
  213. texlive-collection-binextra,/usr/bin/pdfnup,/usr/share/texmf-dist/scripts/pdfjam/pdfnup
  214. texlive-collection-binextra,/usr/bin/pdfpun,/usr/share/texmf-dist/scripts/pdfjam/pdfpun
  215. texlive-collection-binextra,/usr/bin/pkfix,/usr/share/texmf-dist/scripts/pkfix/pkfix.pl
  216. texlive-collection-binextra,/usr/bin/pkfix-helper,/usr/share/texmf-dist/scripts/pkfix-helper/pkfix-helper
  217. texlive-collection-binextra,/usr/bin/purifyeps,/usr/share/texmf-dist/scripts/purifyeps/purifyeps
  218. texlive-collection-binextra,/usr/bin/sty2dtx,/usr/share/texmf-dist/scripts/sty2dtx/sty2dtx.pl
  219. texlive-collection-binextra,/usr/bin/texcount,/usr/share/texmf-dist/scripts/texcount/texcount.pl
  220. texlive-collection-binextra,/usr/bin/texdef,/usr/share/texmf-dist/scripts/texdef/texdef.pl
  221. texlive-collection-binextra,/usr/bin/texdiff,/usr/share/texmf-dist/scripts/texdiff/texdiff
  222. texlive-collection-binextra,/usr/bin/texdirflatten,/usr/share/texmf-dist/scripts/texdirflatten/texdirflatten
  223. texlive-collection-binextra,/usr/bin/texliveonfly,/usr/share/texmf-dist/scripts/texliveonfly/texliveonfly.py
  224. texlive-collection-binextra,/usr/bin/texloganalyser,/usr/share/texmf-dist/scripts/texloganalyser/texloganalyser
  225. texlive-collection-binextra,/usr/bin/typeoutfileinfo,/usr/share/texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh
  226. texlive-collection-fontutils,/usr/bin/afm2afm,/usr/share/texmf-dist/scripts/fontools/afm2afm
  227. texlive-collection-fontutils,/usr/bin/autoinst,/usr/share/texmf-dist/scripts/fontools/autoinst
  228. texlive-collection-fontutils,/usr/bin/dosepsbin,/usr/share/texmf-dist/scripts/dosepsbin/dosepsbin.pl
  229. texlive-collection-fontutils,/usr/bin/epstopdf,/usr/share/texmf-dist/scripts/epstopdf/epstopdf.pl
  230. texlive-collection-fontutils,/usr/bin/mf2pt1,/usr/share/texmf-dist/scripts/mf2pt1/mf2pt1.pl
  231. texlive-collection-fontutils,/usr/bin/mkt1font,/usr/share/texmf-dist/scripts/accfonts/mkt1font
  232. texlive-collection-fontutils,/usr/bin/ot2kpx,/usr/share/texmf-dist/scripts/fontools/ot2kpx
  233. texlive-collection-fontutils,/usr/bin/vpl2ovp,/usr/share/texmf-dist/scripts/accfonts/vpl2ovp
  234. texlive-collection-fontutils,/usr/bin/vpl2vpl,/usr/share/texmf-dist/scripts/accfonts/vpl2vpl
  235. texlive-collection-htmlxml,/usr/bin/ht,/usr/share/texmf-dist/scripts/tex4ht/ht.sh
  236. texlive-collection-htmlxml,/usr/bin/htcontext,/usr/share/texmf-dist/scripts/tex4ht/htcontext.sh
  237. texlive-collection-htmlxml,/usr/bin/htlatex,/usr/share/texmf-dist/scripts/tex4ht/htlatex.sh
  238. texlive-collection-htmlxml,/usr/bin/htmex,/usr/share/texmf-dist/scripts/tex4ht/htmex.sh
  239. texlive-collection-htmlxml,/usr/bin/httex,/usr/share/texmf-dist/scripts/tex4ht/httex.sh
  240. texlive-collection-htmlxml,/usr/bin/httexi,/usr/share/texmf-dist/scripts/tex4ht/httexi.sh
  241. texlive-collection-htmlxml,/usr/bin/htxelatex,/usr/share/texmf-dist/scripts/tex4ht/htxelatex.sh
  242. texlive-collection-htmlxml,/usr/bin/htxetex,/usr/share/texmf-dist/scripts/tex4ht/htxetex.sh
  243. texlive-collection-htmlxml,/usr/bin/mk4ht,/usr/share/texmf-dist/scripts/tex4ht/mk4ht.pl
  244. texlive-collection-langcjk,/usr/bin/convbkmk,/usr/share/texmf-dist/scripts/uptex/convbkmk.rb
  245. texlive-collection-langcjk,/usr/bin/updmap-setup-kanji,/usr/share/texmf-dist/scripts/jfontmaps/updmap-setup-kanji.pl
  246. texlive-collection-langgreek,/usr/bin/mkgrkindex,/usr/share/texmf-dist/scripts/mkgrkindex/mkgrkindex
  247. texlive-collection-langindic,/usr/bin/ebong,/usr/share/texmf-dist/scripts/ebong/ebong.py
  248. texlive-collection-latex,/usr/bin/mptopdf,/usr/share/texmf-dist/scripts/context/perl/mptopdf.pl
  249. texlive-collection-latex,/usr/bin/pdfatfi,/usr/share/texmf-dist/scripts/oberdiek/pdfatfi.pl
  250. texlive-collection-latexextra,/usr/bin/authorindex,/usr/share/texmf-dist/scripts/authorindex/authorindex
  251. texlive-collection-latexextra,/usr/bin/exceltex,/usr/share/texmf-dist/scripts/exceltex/exceltex
  252. texlive-collection-latexextra,/usr/bin/makeglossaries,/usr/share/texmf-dist/scripts/glossaries/makeglossaries
  253. texlive-collection-latexextra,/usr/bin/pdfannotextractor,/usr/share/texmf-dist/scripts/pax/pdfannotextractor.pl
  254. texlive-collection-latexextra,/usr/bin/perltex,/usr/share/texmf-dist/scripts/perltex/perltex.pl
  255. texlive-collection-latexextra,/usr/bin/ps4pdf,/usr/share/texmf-dist/scripts/pst-pdf/ps4pdf
  256. texlive-collection-latexextra,/usr/bin/splitindex,/usr/share/texmf-dist/scripts/splitindex/perl/splitindex.pl
  257. texlive-collection-latexextra,/usr/bin/svn-multi,/usr/share/texmf-dist/scripts/svn-multi/svn-multi.pl
  258. texlive-collection-latexextra,/usr/bin/vpe,/usr/share/texmf-dist/scripts/vpe/vpe.pl
  259. texlive-collection-latexrecommended,/usr/bin/thumbpdf,/usr/share/texmf-dist/scripts/thumbpdf/thumbpdf.pl
  260. texlive-collection-luatex,/usr/bin/checkcites,/usr/share/texmf-dist/scripts/checkcites/checkcites.lua
  261. texlive-collection-luatex,/usr/bin/mkluatexfontdb,/usr/share/texmf-dist/scripts/luaotfload/mkluatexfontdb.lua
  262. texlive-collection-music,/usr/bin/m-tx,/usr/share/texmf-dist/scripts/m-tx/m-tx.lua
  263. texlive-collection-music,/usr/bin/musixflx,/usr/share/texmf-dist/scripts/musixtex/musixflx.lua
  264. texlive-collection-music,/usr/bin/musixtex,/usr/share/texmf-dist/scripts/musixtex/musixtex.lua
  265. texlive-collection-music,/usr/bin/pmx2pdf,/usr/share/texmf-dist/scripts/pmx/pmx2pdf.lua
  266. texlive-collection-pictures,/usr/bin/cachepic,/usr/share/texmf-dist/scripts/cachepic/cachepic.tlu
  267. texlive-collection-pictures,/usr/bin/epspdf,/usr/share/texmf-dist/scripts/epspdf/epspdf.rb
  268. texlive-collection-pictures,/usr/bin/epspdftk,/usr/share/texmf-dist/scripts/epspdf/epspdftk.tcl
  269. texlive-collection-pictures,/usr/bin/fig4latex,/usr/share/texmf-dist/scripts/fig4latex/fig4latex
  270. texlive-collection-pictures,/usr/bin/mathspic,/usr/share/texmf-dist/scripts/mathspic/mathspic.pl
  271. texlive-collection-pstricks,/usr/bin/pedigree,/usr/share/texmf-dist/scripts/pedigree-perl/pedigree.pl
  272. texlive-collection-pstricks,/usr/bin/pst2pdf,/usr/share/texmf-dist/scripts/pst2pdf/pst2pdf
  273. texlive-collection-science,/usr/bin/ulqda,/usr/share/texmf-dist/scripts/ulqda/ulqda.pl
  274. )
  275. %__mkdir_p %{buildroot}%{_bindir}
  276. pushd %{buildroot}%{_bindir}
  277. for i in "${mk_symlinks[@]}"; do
  278. tlc=$(/bin/echo $i | cut -f 1 -d",")
  279. lnk=$(/bin/echo $i | cut -f 2 -d"," | %__sed -e "s|/usr/bin/||")
  280. rlnk=$(/bin/echo $i | cut -f 3 -d"," | %__sed -e "s|/usr/|../|")
  281. [ "%{name}" = "$tlc" ] || continue
  282. [ -f $rlnk ] || exit 1
  283. %__ln_s $rlnk $lnk || exit 1
  284. done
  285. popd
  286. ## Files list
  287. find %{buildroot} -type f -or -type l | \
  288. %__sed -e "s|%{buildroot}||g" > filelist.full
  289. find %{buildroot}%{texmf}-dist -type d | \
  290. %__sed -e "s|^%{buildroot}|%dir |" \
  291. -e "s|$|/|" >> filelist.full
  292. ## subpackages
  293. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  294. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  295. %__mv -f filelist.tmp filelist.full
  296. %clean
  297. %__rm -rf %{buildroot}
  298. %post
  299. %touch_run texhash
  300. %touch_run mtxrun
  301. exit 0
  302. %postun
  303. if [ "$1" = 0 ]; then
  304. %touch_run texhash
  305. fi
  306. exit 0
  307. %posttrans
  308. %{exec_texhash}
  309. %{exec_mtxrun}
  310. %{exec_updmap}
  311. %{exec_fmtutil}
  312. exit 0
  313. %files -f filelist.full
  314. %defattr(-,root,root,-)
  315. %files -f filelist.doc doc
  316. %defattr(-,root,root,-)
  317. %changelog
  318. * Fri Nov 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  319. - generated by tlpdb2rpmspec 2012-1: tlpdb2rpmspec collection-langtibetan
  320. * Sat Dec 3 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  321. - generated by tlpdb2rpmspec 2011-2: tlpdb2rpmspec collection-langtibetan
  322. - set external dependencies (texlive-collection-binextra,
  323. texlive-collection-fontutils)
  324. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  325. - generated by tlpdb2rpmspec 2011-1: tlpdb2rpmspec collection-langtibetan
  326. * Mon Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  327. - generated by tlpdb2rpmspec 2009-4: tlpdb2rpmspec collection-langtibetan
  328. - make symlinks of core script utils (texlive-collection-binextra,
  329. texlive-collection-context, texlive-collection-fontutils,
  330. texlive-collection-langgreek, texlive-collection-langindic,
  331. texlive-collection-latex, texlive-collection-latexextra,
  332. texlive-collection-latexrecommended, texlive-collection-pictures,
  333. texlive-collection-pstricks, texlive-collection-science)
  334. * Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  335. - generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langtibetan
  336. - improved %%post
  337. * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  338. - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langtibetan
  339. - removed arch dependent binaries (texlive-collection-latexextra)
  340. - fixed perl path
  341. - improved updmap process in %%post and %%postun
  342. * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  343. - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langtibetan