texlive-collection-langtibetan-vl.spec 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1:
  3. ## tlpdb2rpmspec.sh collection-basic
  4. %bcond_with firstbuild
  5. %define tex_destdir %{_datadir}
  6. %define texmf %{tex_destdir}/texmf
  7. %define texlive_src %{tex_destdir}/texlive-sources
  8. %define build_tex_destdir %{buildroot}%{tex_destdir}
  9. %define build_texmf %{buildroot}%{texmf}
  10. %define exec_mktexlsr [ -x %{_bindir}/texconfig-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/texconfig-sys rehash
  11. %define exec_texhash [ -x %{_bindir}/texhash ] && PATH=%{_bindir}:$PATH %{_bindir}/texhash
  12. %define exec_updmap [ -x %{_bindir}/updmap-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/updmap-sys --nostop
  13. %define exec_fmtutil [ -x %{_bindir}/fmtutil-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/fmtutil-sys --all >/dev/null 2>&1
  14. %define exec_upddeffont [ -x %{_sbindir}/update-defaultfont ] && %{_sbindir}/update-defaultfont 2> /dev/null
  15. %define vartexfonts %{_var}/lib/texmf
  16. %define __find_provides %{nil}
  17. %define __find_requires %{nil}
  18. %define __perl_provides %{nil}
  19. %define __perl_requires %{nil}
  20. Autoreq: 0
  21. Summary: TeX Live: Tibetan
  22. Summary(ja): TeX Live: Tibetan
  23. Name: texlive-collection-langtibetan
  24. Version: 2009
  25. Release: 1%{?_dist_release}
  26. License: GPL+
  27. Group: Applications/Publishing
  28. URL:http://www.tug.org/texlive/
  29. Requires: texlive = %{version}
  30. Requires: texlive-collection-basic = %{version}
  31. Requires(post): texlive = %{version}
  32. Requires(postun): texlive = %{version}
  33. BuildRequires: texlive-sources = %{version}
  34. BuildArch: noarch
  35. Buildroot: %{_tmppath}/%{name}-%{version}-root
  36. Vendor: Project Vine
  37. Distribution: Vine Linux
  38. Packager: munepi
  39. %description
  40. The TeX Live software distribution offers a complete TeX system for a
  41. variety of Unix, Macintosh, Windows and other platforms. It
  42. encompasses programs for editing, typesetting, previewing and printing
  43. of TeX documents in many different languages, and a large collection
  44. of TeX macros and font libraries.
  45. The distribution includes extensive general documentation about TeX,
  46. as well as the documentation for the included software packages.
  47. This package is a collection of Tibetan:
  48. Support for typesetting Tibetan.
  49. This package contains the following CTAN packages:
  50. ctib: Tibetan for TeX and LATeX2e.
  51. otibet:
  52. %description -l ja
  53. TeX Live ソフトウェアディストリビューションは、
  54. さまざまな Unix, Macintosh, Windows、および
  55. 他のプラットホームに対して完全な TeX システムを提供します。
  56. 多くの異なった言語を含む TeX ドキュメントの
  57. 編集、組版、閲覧、印刷するためのプログラム、
  58. そして、TeX マクロやフォントライブラリの大きなコレクションを
  59. 同梱しています。
  60. このディストリビューションは
  61. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  62. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  63. このパッケージは以下のようなパッケージ集です。
  64. Tibetan:
  65. Support for typesetting Tibetan.
  66. このパッケージは以下の CTAN パッケージを含んでいます:
  67. ctib: Tibetan for TeX and LATeX2e.
  68. otibet:
  69. %package doc
  70. Summary: TeX Live: Documentation files of %{name}
  71. Group: Applications/Publishing
  72. Requires: %{name} = %{version}-%{release}
  73. %description doc
  74. This package contains documentation files of %{name}.
  75. %prep
  76. %build
  77. %install
  78. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  79. PREF=%{buildroot}%{tex_destdir}
  80. manifest=(
  81. texmf-dist/doc/latex/ctib/README
  82. texmf-dist/doc/latex/ctib/ctib4tex.pdf
  83. texmf-dist/doc/latex/ctib/ctib4tex.tex
  84. texmf-dist/source/latex/ctib/COPYING
  85. texmf-dist/source/latex/ctib/EMTEX
  86. texmf-dist/source/latex/ctib/HISTORY
  87. texmf-dist/source/latex/ctib/INSTALL
  88. texmf-dist/source/latex/ctib/MIKTEX
  89. texmf-dist/fonts/source/public/ctib/bzrsetup.mf
  90. texmf-dist/fonts/source/public/ctib/ctib.mf
  91. texmf-dist/fonts/source/public/ctib/ctibcode.mf
  92. texmf-dist/fonts/source/public/ctib/ctiblett.mf
  93. texmf-dist/fonts/source/public/ctib/ctibligs.mf
  94. texmf-dist/fonts/source/public/ctib/ctibnum.mf
  95. texmf-dist/fonts/source/public/ctib/ctibpunc.mf
  96. texmf-dist/fonts/source/public/ctib/ctibsplt.mf
  97. texmf-dist/fonts/source/public/ctib/ctibvow.mf
  98. texmf-dist/fonts/tfm/public/ctib/ctib.tfm
  99. texmf-dist/tex/latex/ctib/ctib.sty
  100. texmf-dist/tex/latex/ctib/ctib.tex
  101. texmf-dist/tex/latex/ctib/lctctib.fd
  102. texmf-dist/tex/latex/ctib/lctenc.def
  103. texmf-dist/doc/latex/otibet/README
  104. texmf-dist/doc/latex/otibet/allbasic-mule.tex
  105. texmf-dist/doc/latex/otibet/allbasic.dvi
  106. texmf-dist/doc/latex/otibet/allbasic.tex
  107. texmf-dist/doc/latex/otibet/otibet-mule.tex
  108. texmf-dist/doc/latex/otibet/testtib.tex
  109. texmf-dist/doc/latex/otibet/tiblatex.dvi
  110. texmf-dist/doc/latex/otibet/tiblatex.tex
  111. texmf-dist/doc/latex/otibet/unidoc.dvi
  112. texmf-dist/doc/latex/otibet/unidoc.tex
  113. texmf-dist/doc/latex/otibet/yugpacan.dvi
  114. texmf-dist/doc/latex/otibet/yugpacan.tex
  115. texmf-dist/source/latex/otibet/Makefile
  116. texmf-dist/source/latex/otibet/allbasic.odvi
  117. texmf-dist/source/latex/otibet/convnum.scm
  118. texmf-dist/source/latex/otibet/generate-otp.el
  119. texmf-dist/source/latex/otibet/oct2otp.c
  120. texmf-dist/source/latex/otibet/pl2ovp.scm
  121. texmf-dist/source/latex/otibet/tibetan.pl
  122. texmf-dist/source/latex/otibet/tiblatex.odvi
  123. texmf-dist/source/latex/otibet/tibovp.scm
  124. texmf-dist/source/latex/otibet/unidoc.odvi
  125. texmf-dist/source/latex/otibet/yugpacan.odvi
  126. texmf-dist/fonts/ofm/public/otibet/otibetan.ofm
  127. texmf-dist/fonts/ovf/public/otibet/otibetan.ovf
  128. texmf-dist/fonts/ovp/public/otibet/otibetan.ovp
  129. texmf-dist/fonts/source/public/otibet/bzrsetup.mf
  130. texmf-dist/fonts/source/public/otibet/tibetan.mf
  131. texmf-dist/fonts/tfm/public/otibet/tibetan.tfm
  132. texmf-dist/omega/ocp/otibet/tibadjusttsheg.ocp
  133. texmf-dist/omega/ocp/otibet/tibinunicode.ocp
  134. texmf-dist/omega/ocp/otibet/tibinwylie.ocp
  135. texmf-dist/omega/ocp/otibet/tibout.ocp
  136. texmf-dist/omega/ocp/otibet/tibspecial.ocp
  137. texmf-dist/omega/ocp/otibet/tibuniuni.ocp
  138. texmf-dist/omega/ocp/otibet/tibvowel.ocp
  139. texmf-dist/omega/otp/otibet/tibadjusttsheg.otp
  140. texmf-dist/omega/otp/otibet/tibetan-mule2uni-old.otp
  141. texmf-dist/omega/otp/otibet/tibetan-mule2uni.otp
  142. texmf-dist/omega/otp/otibet/tibinunicode.otp
  143. texmf-dist/omega/otp/otibet/tibinwylie.otp
  144. texmf-dist/omega/otp/otibet/tibout.otp
  145. texmf-dist/omega/otp/otibet/tibshow.otp
  146. texmf-dist/omega/otp/otibet/tibspecial.otp
  147. texmf-dist/omega/otp/otibet/tibuniuni.otp
  148. texmf-dist/omega/otp/otibet/tibvowel.otp
  149. texmf-dist/tex/latex/otibet/ot1tib.fd
  150. texmf-dist/tex/latex/otibet/otibet.sty
  151. texmf-dist/tex/latex/otibet/otibet.tex
  152. texmf-dist/tex/latex/otibet/t1tib.fd
  153. )
  154. %__mkdir_p ${PREF}/texmf-dist
  155. for i in "${manifest[@]}"; do
  156. %__install -D %{texlive_src}/$i ${PREF}/$i
  157. done
  158. ## info
  159. %__rm -f %{buildroot}%{_infodir}/dir
  160. %__gzip -9nf %{buildroot}%{_infodir}/*info* ||:
  161. ## man
  162. ## man t1* files are provided by t1utils
  163. for i in t1ascii t1asm t1binary t1disasm t1mac t1unmac; do
  164. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  165. done
  166. ## man some files are provided by psutils
  167. for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps getafm includeres psbook psmerge psnup psresize psselect pstops; do
  168. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  169. done
  170. ## remove asymptote directries, which provides asymptote package
  171. find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
  172. # find %{buildroot} -name "Makefile" | xargs %__rm -f
  173. # ## remove xindy
  174. # find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf
  175. # ## remove tex4ht
  176. # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
  177. ## remove unpackaging files
  178. find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
  179. find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
  180. ## Files list
  181. find %{buildroot} -type f -or -type l | \
  182. %__sed -e "s|%{buildroot}||g" > filelist.full
  183. find %{buildroot}%{texmf}-dist -type d | \
  184. %__sed -e "s|^%{buildroot}|%dir |" \
  185. -e "s|$|/|" >> filelist.full
  186. ## subpackages
  187. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  188. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  189. %__mv -f filelist.tmp filelist.full
  190. %clean
  191. %__rm -rf %{buildroot}
  192. %post
  193. %{exec_texhash}
  194. exit 0
  195. %postun
  196. if [ "$1" = 0 ]; then
  197. %{exec_texhash}
  198. fi
  199. exit 0
  200. %files -f filelist.full
  201. %defattr(-,root,root)
  202. %files -f filelist.doc doc
  203. %defattr(-,root,root)
  204. %changelog
  205. * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  206. - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langtibetan