texlive-collection-htmlxml-vl.spec 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1:
  3. ## tlpdb2rpmspec collection-htmlxml
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: HTML/SGML/XML support
  8. Summary(ja): TeX Live: HTML/SGML/XML support
  9. Name: texlive-collection-htmlxml
  10. Version: 2014
  11. Release: 1%{?_dist_release}
  12. License: LPPL 1.3, Freely redistributable without restriction, LPPL
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: classpack.doc.tar.xz
  16. Source1: classpack.source.tar.xz
  17. Source2: classpack.tar.xz
  18. Source3: jadetex.doc.tar.xz
  19. Source4: jadetex.source.tar.xz
  20. Source5: jadetex.tar.xz
  21. Source6: passivetex.tar.xz
  22. Source7: tex4ht.doc.tar.xz
  23. Source8: tex4ht.tar.xz
  24. Source9: xmltex.doc.tar.xz
  25. Source10: xmltex.tar.xz
  26. Requires: texlive = %{version}
  27. Requires: texlive-collection-basic = %{version}
  28. Requires: texlive-collection-fontsrecommended = %{version}
  29. Requires: texlive-collection-latex = %{version}
  30. Requires(post): texlive = %{version}
  31. Requires(postun): texlive = %{version}
  32. BuildArch: noarch
  33. Buildroot: %{_tmppath}/%{name}-%{version}-root
  34. Vendor: Project Vine
  35. Distribution: Vine Linux
  36. Packager: munepi
  37. %description
  38. The TeX Live software distribution offers a complete TeX system for a
  39. variety of Unix, Macintosh, Windows and other platforms. It
  40. encompasses programs for editing, typesetting, previewing and printing
  41. of TeX documents in many different languages, and a large collection
  42. of TeX macros and font libraries.
  43. The distribution includes extensive general documentation about TeX,
  44. as well as the documentation for the included software packages.
  45. This package is a collection of HTML/SGML/XML support:
  46. Packages to convert LaTeX to XML/HTML, and typset XML/SGML.
  47. This package contains the following CTAN packages:
  48. classpack: XML mastering for LaTeX classes and packages.
  49. jadetex: Macros supporting Jade DSSSL output.
  50. passivetex: Support package for XML/SGML typesetting
  51. tex4ht: Convert (La)TeX to HTML/XML.
  52. xmltex: Support for parsing XML documents.
  53. %description -l ja
  54. TeX Live ソフトウェアディストリビューションは、
  55. さまざまな Unix, Macintosh, Windows、および
  56. 他のプラットホームに対して完全な TeX システムを提供します。
  57. 多くの異なった言語を含む TeX ドキュメントの
  58. 編集、組版、閲覧、印刷するためのプログラム、
  59. そして、TeX マクロやフォントライブラリの大きなコレクションを
  60. 同梱しています。
  61. このディストリビューションは
  62. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  63. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  64. このパッケージは以下のようなパッケージ集です。
  65. HTML/SGML/XML support:
  66. Packages to convert LaTeX to XML/HTML, and typset XML/SGML.
  67. このパッケージは以下の CTAN パッケージを含んでいます:
  68. classpack: XML mastering for LaTeX classes and packages.
  69. jadetex: Macros supporting Jade DSSSL output.
  70. passivetex: Support package for XML/SGML typesetting
  71. tex4ht: Convert (La)TeX to HTML/XML.
  72. xmltex: Support for parsing XML documents.
  73. %package doc
  74. Summary: TeX Live: Documentation files of %{name}
  75. Group: Applications/Publishing
  76. Requires: %{name} = %{version}-%{release}
  77. %description doc
  78. This package contains documentation files of %{name}.
  79. %prep
  80. %setup -c -n %{name}-%{version}
  81. %__tar -xvf %{SOURCE1}
  82. %__tar -xvf %{SOURCE2}
  83. %__tar -xvf %{SOURCE3}
  84. %__tar -xvf %{SOURCE4}
  85. %__tar -xvf %{SOURCE5}
  86. %__tar -xvf %{SOURCE6}
  87. %__tar -xvf %{SOURCE7}
  88. %__tar -xvf %{SOURCE8}
  89. %__tar -xvf %{SOURCE9}
  90. %__tar -xvf %{SOURCE10}
  91. %build
  92. %install
  93. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  94. %__mkdir_p %{buildroot}%{_datadir}
  95. ## move texmf-dist to /usr/share/texmf-dist
  96. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  97. ## move texmf to /usr/share/texmf
  98. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  99. ## move tlpkg to /usr/share/tlpkg
  100. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  101. ## move all non-arch binaries to /usr/bin
  102. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  103. ## move others into /usr/share/texmf-dist
  104. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  105. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  106. %__rm -rf * ||:
  107. ## remove duplicated files between texlive and texlive-collection-*
  108. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  109. ## remove unpacked files
  110. x=(
  111. # scripts/texlive/tlmgr.pl
  112. # scripts/texlive/updmap.pl
  113. # scripts/fontools/autoinst
  114. # scripts/glossaries/makeglossaries
  115. # scripts/m-tx/m-tx.lua
  116. # scripts/musixtex/musixtex.lua
  117. # scripts/pmx/pmx2pdf.lua
  118. # scripts/latexmk/latexmk.pl
  119. # scripts/jfontmaps/kanji-config-updmap.pl
  120. # scripts/jfontmaps/kanji-fontmap-creator.pl
  121. # scripts/latexpand/latexpand
  122. # scripts/epstopdf/epstopdf.pl
  123. # scripts/convbkmk/convbkmk.rb
  124. # scripts/jfontmaps/kanji-config-updmap-sys.sh
  125. # scripts/luaotfload/luaotfload-tool.lua
  126. # texconfig/tcfmgr
  127. # texconfig/tcfmgr.map
  128. # web2c/fmtutil.cnf
  129. # web2c/mktex.opt
  130. # web2c/mktexdir
  131. # web2c/mktexdir.opt
  132. # web2c/mktexnam
  133. # web2c/mktexnam.opt
  134. # web2c/mktexupd
  135. # web2c/texmf.cnf
  136. # web2c/updmap.cfg
  137. # web2c/updmap-hdr.cfg
  138. # doc/chktex/ChkTeX.pdf
  139. install-tl
  140. )
  141. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  142. pushd %{buildroot}%{_tl_texmfdist}
  143. %__rm -f ${x[@]} ||:
  144. popd
  145. fi
  146. ## Files list
  147. find %{buildroot} -type f -or -type l | \
  148. %__sed -e "s|%{buildroot}||g" > filelist.full
  149. find %{buildroot}%{_tl_texmfdist} -type d | \
  150. %__sed -e "s|^%{buildroot}|%dir |" \
  151. -e "s|$|/|" >> filelist.full
  152. ## subpackages
  153. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  154. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  155. %__mv -f filelist.tmp filelist.full
  156. %clean
  157. %__rm -rf %{buildroot}
  158. %post
  159. %_tl_touch_run texhash
  160. %_tl_touch_run mtxrun
  161. %_tl_touch_run fmtutil
  162. exit 0
  163. %postun
  164. if [ "$1" = 0 ]; then
  165. %_tl_touch_run texhash
  166. fi
  167. exit 0
  168. %posttrans
  169. %{_tl_exec_texhash}
  170. %{_tl_exec_mtxrun}
  171. %{_tl_exec_updmap}
  172. %{_tl_exec_fmtutil}
  173. exit 0
  174. %files -f filelist.full
  175. %defattr(-,root,root,-)
  176. %files -f filelist.doc doc
  177. %defattr(-,root,root,-)
  178. %changelog
  179. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  180. - TLNET 20140524