texlive-collection-htmlxml-vl.spec 5.6 KB

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