texlive-collection-htmlxml-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2016-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: 2016
  11. Release: 2%{?_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. Source11: xmltexconfig.tar.xz
  27. Requires: texlive = %{version}
  28. Requires: texlive-collection-basic = %{version}
  29. Requires: texlive-collection-fontsrecommended = %{version}
  30. Requires: texlive-collection-latex = %{version}
  31. Requires(post): texlive = %{version}
  32. Requires(postun): texlive = %{version}
  33. BuildArch: noarch
  34. Buildroot: %{_tmppath}/%{name}-%{version}-root
  35. Vendor: Project Vine
  36. Distribution: Vine Linux
  37. Packager: munepi
  38. %description
  39. The TeX Live software distribution offers a complete TeX system for a
  40. variety of Unix, Macintosh, Windows and other platforms. It
  41. encompasses programs for editing, typesetting, previewing and printing
  42. of TeX documents in many different languages, and a large collection
  43. of TeX macros and font libraries.
  44. The distribution includes extensive general documentation about TeX,
  45. as well as the documentation for the included software packages.
  46. This package is a collection of HTML/SGML/XML support:
  47. Packages to convert LaTeX to XML/HTML, and typeset XML/SGML.
  48. This package contains the following CTAN packages:
  49. classpack: XML mastering for LaTeX classes and packages
  50. jadetex: Macros supporting Jade DSSSL output
  51. passivetex: Support package for XML/SGML typesetting
  52. tex4ht: Convert (La)TeX to HTML/XML
  53. xmltex: Support for parsing XML documents
  54. xmltexconfig:
  55. %description -l ja
  56. TeX Live ソフトウェアディストリビューションは、
  57. さまざまな Unix, Macintosh, Windows、および
  58. 他のプラットホームに対して完全な TeX システムを提供します。
  59. 多くの異なった言語を含む TeX ドキュメントの
  60. 編集、組版、閲覧、印刷するためのプログラム、
  61. そして、TeX マクロやフォントライブラリの大きなコレクションを
  62. 同梱しています。
  63. このディストリビューションは
  64. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  65. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  66. このパッケージは以下のようなパッケージ集です。
  67. HTML/SGML/XML support:
  68. Packages to convert LaTeX to XML/HTML, and typeset XML/SGML.
  69. このパッケージは以下の CTAN パッケージを含んでいます:
  70. classpack: XML mastering for LaTeX classes and packages
  71. jadetex: Macros supporting Jade DSSSL output
  72. passivetex: Support package for XML/SGML typesetting
  73. tex4ht: Convert (La)TeX to HTML/XML
  74. xmltex: Support for parsing XML documents
  75. xmltexconfig:
  76. %package doc
  77. Summary: TeX Live: Documentation files of %{name}
  78. Group: Applications/Publishing
  79. Requires: %{name} = %{version}-%{release}
  80. %description doc
  81. This package contains documentation files of %{name}.
  82. %prep
  83. %setup -c -n %{name}-%{version}
  84. %__tar -xvf %{SOURCE1}
  85. %__tar -xvf %{SOURCE2}
  86. %__tar -xvf %{SOURCE3}
  87. %__tar -xvf %{SOURCE4}
  88. %__tar -xvf %{SOURCE5}
  89. %__tar -xvf %{SOURCE6}
  90. %__tar -xvf %{SOURCE7}
  91. %__tar -xvf %{SOURCE8}
  92. %__tar -xvf %{SOURCE9}
  93. %__tar -xvf %{SOURCE10}
  94. %__tar -xvf %{SOURCE11}
  95. %build
  96. %install
  97. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  98. %__mkdir_p %{buildroot}%{_datadir}
  99. ## move texmf-dist to /usr/share/texmf-dist
  100. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  101. ## move texmf to /usr/share/texmf
  102. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  103. ## move tlpkg to /usr/share/tlpkg
  104. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  105. ## move all non-arch binaries to /usr/bin
  106. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  107. ## move others into /usr/share/texmf-dist
  108. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  109. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  110. %__rm -rf * ||:
  111. ## remove duplicated files between texlive and texlive-collection-*
  112. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  113. ## remove unpacked files
  114. x=(
  115. dvipdfmx/dvipdfmx.cfg
  116. scripts/context/stubs/unix/mtxrun
  117. scripts/latexmk/latexmk.pl
  118. scripts/ptex2pdf/ptex2pdf.lua
  119. scripts/texlive/fmtutil.pl
  120. scripts/texlive/texconfig-dialog.sh
  121. scripts/texlive/texconfig-sys.sh
  122. scripts/texlive/texconfig.sh
  123. scripts/texlive/texlinks.sh
  124. scripts/texlive/tlmgr.pl
  125. scripts/texlive/updmap.pl
  126. texconfig/tcfmgr
  127. web2c/fmtutil.cnf
  128. web2c/mktex.opt
  129. web2c/mktexdir
  130. web2c/mktexdir.opt
  131. web2c/mktexnam
  132. web2c/mktexnam.opt
  133. web2c/mktexupd
  134. web2c/texmf.cnf
  135. web2c/updmap-hdr.cfg
  136. web2c/updmap.cfg
  137. install-tl
  138. #
  139. scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
  140. scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
  141. scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
  142. scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
  143. scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
  144. scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
  145. scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
  146. scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
  147. scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
  148. scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
  149. scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
  150. scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
  151. scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
  152. scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
  153. scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
  154. scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
  155. scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
  156. scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
  157. scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
  158. scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
  159. scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
  160. scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
  161. )
  162. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  163. pushd %{buildroot}%{_tl_texmfdist}
  164. %__rm -f ${x[@]} ||:
  165. popd
  166. fi
  167. ## Files list
  168. find %{buildroot} -type f -or -type l | \
  169. %__sed -e "s|%{buildroot}||g" > filelist.full
  170. find %{buildroot}%{_tl_texmfdist} -type d | \
  171. %__sed -e "s|^%{buildroot}|%dir |" \
  172. -e "s|$|/|" >> filelist.full
  173. ## subpackages
  174. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  175. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  176. %__mv -f filelist.tmp filelist.full
  177. %clean
  178. %__rm -rf %{buildroot}
  179. %post
  180. %_tl_touch_run texhash
  181. %_tl_touch_run mtxrun
  182. %_tl_touch_run fmtutil
  183. exit 0
  184. %postun
  185. if [ "$1" = 0 ]; then
  186. %_tl_touch_run texhash
  187. fi
  188. exit 0
  189. %posttrans
  190. %{_tl_exec_texhash}
  191. %{_tl_exec_mtxrun}
  192. %{_tl_exec_updmap}
  193. %{_tl_exec_fmtutil}
  194. exit 0
  195. %files -f filelist.full
  196. %defattr(-,root,root,-)
  197. %files -f filelist.doc doc
  198. %defattr(-,root,root,-)
  199. %changelog
  200. * Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-2
  201. - synced tlnet to 20160510 (TeX Live 2016/pretest)
  202. * Thu Apr 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-1
  203. - TeX Live 2016/pretest
  204. - synced tlnet to 20160428 (TeX Live 2016/pretest)
  205. * Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
  206. - remove duplicated files from texlive-collection-*
  207. - synced tlnet to 20160113 (TeX Live 2015)
  208. * Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
  209. - TeX Live 2016/dev
  210. - synced tlnet to 20160110 (TeX Live 2016/dev)
  211. * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
  212. - TeX Live 2015/pretest
  213. - synced tlnet to 20150522 (TeX Live 2015/pretest)
  214. * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
  215. - TeX Live 2015/pretest
  216. - synced tlnet to 20150426 (TeX Live 2015/pretest)
  217. * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
  218. - synced tlnet to 20150401
  219. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  220. - synced tlnet to 20141028
  221. * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  222. - synced tlnet to 20140706
  223. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  224. - upgraded to TeX Live 2014
  225. * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
  226. - synced tlnet to 20140406
  227. * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
  228. - synced tlnet to 20131218
  229. * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  230. - synced tlnet to 20131101
  231. * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  232. - synced tlnet to 20131002
  233. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  234. - synced tlnet to 20130919
  235. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  236. - upgraded to TeX Live 2013
  237. - used tlnet archives
  238. - synced tlnet to 20130823
  239. - added macros.texlive
  240. * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  241. - updated to TeX Live 2012
  242. * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  243. - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
  244. - set external dependencies (texlive-collection-binextra,
  245. texlive-collection-fontutils)
  246. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  247. - updated to TeX Live 2011
  248. - merged texlive-vtlpkg-2009-osx.patch from OSXWS
  249. - added %doc README (%files)
  250. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  251. - applied texlive-vtlpkg-2009-vine.patch
  252. - remove arch dependent binaries
  253. - updated tlpdb2rpmspec.sh.in:
  254. - improved tlpdb4a()
  255. - make symlinks of core script utils (texlive-collection-binextra,
  256. texlive-collection-context, texlive-collection-fontutils,
  257. texlive-collection-langgreek, texlive-collection-langindic,
  258. texlive-collection-latex, texlive-collection-latexextra,
  259. texlive-collection-latexrecommended, texlive-collection-pictures,
  260. texlive-collection-pstricks, texlive-collection-science)
  261. * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  262. - updated tlpdb2rpmspec.sh.in:
  263. - improved %post
  264. * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  265. - updated tlpdb2rpmspec.sh.in:
  266. - removed arch dependent binaries (texlive-collection-latexextra)
  267. - improved updmap process in %post and %postun
  268. - fixed perl path
  269. * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  270. - initial build