texlive-collection-luatex-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1:
  3. ## tlpdb2rpmspec collection-luatex
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: LuaTeX packages
  8. Summary(ja): TeX Live: LuaTeX packages
  9. Name: texlive-collection-luatex
  10. Version: 2014
  11. Release: 1%{?_dist_release}
  12. License: LPPL 1.3, BSD, LPPL, Freely redistributable without restriction, Public Domain, GFDL, GPLv2+
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: checkcites.doc.tar.xz
  16. Source1: checkcites.tar.xz
  17. Source2: chickenize.doc.tar.xz
  18. Source3: chickenize.source.tar.xz
  19. Source4: chickenize.tar.xz
  20. Source5: enigma.doc.tar.xz
  21. Source6: enigma.tar.xz
  22. Source7: interpreter.doc.tar.xz
  23. Source8: interpreter.tar.xz
  24. Source9: lua-check-hyphen.doc.tar.xz
  25. Source10: lua-check-hyphen.tar.xz
  26. Source11: lua-visual-debug.doc.tar.xz
  27. Source12: lua-visual-debug.tar.xz
  28. Source13: lua2dox.doc.tar.xz
  29. Source14: lua2dox.tar.xz
  30. Source15: luabibentry.doc.tar.xz
  31. Source16: luabibentry.source.tar.xz
  32. Source17: luabibentry.tar.xz
  33. Source18: luabidi.doc.tar.xz
  34. Source19: luabidi.tar.xz
  35. Source20: luacode.doc.tar.xz
  36. Source21: luacode.source.tar.xz
  37. Source22: luacode.tar.xz
  38. Source23: luaindex.doc.tar.xz
  39. Source24: luaindex.source.tar.xz
  40. Source25: luaindex.tar.xz
  41. Source26: luainputenc.doc.tar.xz
  42. Source27: luainputenc.source.tar.xz
  43. Source28: luainputenc.tar.xz
  44. Source29: luaintro.doc.tar.xz
  45. Source30: luaintro.tar.xz
  46. Source31: lualatex-doc.doc.tar.xz
  47. Source32: lualatex-doc.source.tar.xz
  48. Source33: lualatex-doc.tar.xz
  49. Source34: lualatex-math.doc.tar.xz
  50. Source35: lualatex-math.source.tar.xz
  51. Source36: lualatex-math.tar.xz
  52. Source37: lualibs.doc.tar.xz
  53. Source38: lualibs.source.tar.xz
  54. Source39: lualibs.tar.xz
  55. Source40: luamplib.doc.tar.xz
  56. Source41: luamplib.source.tar.xz
  57. Source42: luamplib.tar.xz
  58. Source43: luaotfload.doc.tar.xz
  59. Source44: luaotfload.source.tar.xz
  60. Source45: luaotfload.tar.xz
  61. Source46: luasseq.doc.tar.xz
  62. Source47: luasseq.source.tar.xz
  63. Source48: luasseq.tar.xz
  64. Source49: luatexbase.doc.tar.xz
  65. Source50: luatexbase.source.tar.xz
  66. Source51: luatexbase.tar.xz
  67. Source52: luatexko.doc.tar.xz
  68. Source53: luatexko.tar.xz
  69. Source54: luatextra.doc.tar.xz
  70. Source55: luatextra.source.tar.xz
  71. Source56: luatextra.tar.xz
  72. Source57: luaxml.doc.tar.xz
  73. Source58: luaxml.tar.xz
  74. Source59: odsfile.doc.tar.xz
  75. Source60: odsfile.tar.xz
  76. Source61: placeat.doc.tar.xz
  77. Source62: placeat.source.tar.xz
  78. Source63: placeat.tar.xz
  79. Source64: selnolig.doc.tar.xz
  80. Source65: selnolig.tar.xz
  81. Source66: showhyphens.doc.tar.xz
  82. Source67: showhyphens.tar.xz
  83. Source68: spelling.doc.tar.xz
  84. Source69: spelling.tar.xz
  85. Requires: texlive = %{version}
  86. Requires: texlive-collection-basic = %{version}
  87. Requires(post): texlive = %{version}
  88. Requires(postun): texlive = %{version}
  89. BuildArch: noarch
  90. Buildroot: %{_tmppath}/%{name}-%{version}-root
  91. Vendor: Project Vine
  92. Distribution: Vine Linux
  93. Packager: munepi
  94. %description
  95. The TeX Live software distribution offers a complete TeX system for a
  96. variety of Unix, Macintosh, Windows and other platforms. It
  97. encompasses programs for editing, typesetting, previewing and printing
  98. of TeX documents in many different languages, and a large collection
  99. of TeX macros and font libraries.
  100. The distribution includes extensive general documentation about TeX,
  101. as well as the documentation for the included software packages.
  102. This package is a collection of LuaTeX packages:
  103. Packages for LuaTeX, a Unicode-aware extension of pdfTeX, using
  104. Lua as an embedded scripting and extension language.
  105. http://luatex.org/
  106. This package contains the following CTAN packages:
  107. checkcites: Check citation commands in a document.
  108. chickenize: Use lua callbacks for "interesting" textual effects.
  109. enigma: Encrypt documents with a three rotor Enigma.
  110. interpreter: Translate input files on the fly.
  111. lua-check-hyphen: Mark hyphenations in a document, for checking.
  112. lua-visual-debug: Visual debugging with LuaLaTeX.
  113. lua2dox: Auto-documentation of lua code.
  114. luabibentry: Repeat BibTeX entries in a LuaLaTeX document body.
  115. luabidi: Bidirectional typesetting with LuaLaTeX.
  116. luacode: Helper for executing lua code from within TeX.
  117. luaindex: Create index using lualatex.
  118. luainputenc: Replacing inputenc for use in LuaTeX.
  119. luaintro: Examples from the book "Einfuhrung in LuaTeX und LuaLaTeX".
  120. lualatex-doc: A guide to use of LaTeX with LuaTeX.
  121. lualatex-math: Fixes for mathematics-related LuaLaTeX issues.
  122. lualibs: Additional Lua functions for LuaTeX macro programmers.
  123. luamplib: Use LuaTeX's built-in MetaPost interpreter.
  124. luaotfload: OpenType 'loader' for Plain TeX and LaTeX.
  125. luasseq: Drawing spectral sequences in LuaLaTeX.
  126. luatexbase: Basic resource management for LuaTeX code.
  127. luatexko: Typeset Korean with Lua(La)TeX.
  128. luatextra: Additional macros for Plain TeX and LaTeX in LuaTeX.
  129. luaxml: Lua library for reading and serialising XML files.
  130. odsfile: Read OpenDocument Spreadsheet documents as LaTeX tables.
  131. placeat:
  132. selnolig: Selectively disable typographic ligatures.
  133. showhyphens: Show all possible hyphenations in LuaLaTeX.
  134. spelling: Support for spell-checking of LuaTeX documents.
  135. %description -l ja
  136. TeX Live ソフトウェアディストリビューションは、
  137. さまざまな Unix, Macintosh, Windows、および
  138. 他のプラットホームに対して完全な TeX システムを提供します。
  139. 多くの異なった言語を含む TeX ドキュメントの
  140. 編集、組版、閲覧、印刷するためのプログラム、
  141. そして、TeX マクロやフォントライブラリの大きなコレクションを
  142. 同梱しています。
  143. このディストリビューションは
  144. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  145. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  146. このパッケージは以下のようなパッケージ集です。
  147. LuaTeX packages:
  148. Packages for LuaTeX, a Unicode-aware extension of pdfTeX, using
  149. Lua as an embedded scripting and extension language.
  150. http://luatex.org/
  151. このパッケージは以下の CTAN パッケージを含んでいます:
  152. checkcites: Check citation commands in a document.
  153. chickenize: Use lua callbacks for "interesting" textual effects.
  154. enigma: Encrypt documents with a three rotor Enigma.
  155. interpreter: Translate input files on the fly.
  156. lua-check-hyphen: Mark hyphenations in a document, for checking.
  157. lua-visual-debug: Visual debugging with LuaLaTeX.
  158. lua2dox: Auto-documentation of lua code.
  159. luabibentry: Repeat BibTeX entries in a LuaLaTeX document body.
  160. luabidi: Bidirectional typesetting with LuaLaTeX.
  161. luacode: Helper for executing lua code from within TeX.
  162. luaindex: Create index using lualatex.
  163. luainputenc: Replacing inputenc for use in LuaTeX.
  164. luaintro: Examples from the book "Einfuhrung in LuaTeX und LuaLaTeX".
  165. lualatex-doc: A guide to use of LaTeX with LuaTeX.
  166. lualatex-math: Fixes for mathematics-related LuaLaTeX issues.
  167. lualibs: Additional Lua functions for LuaTeX macro programmers.
  168. luamplib: Use LuaTeX's built-in MetaPost interpreter.
  169. luaotfload: OpenType 'loader' for Plain TeX and LaTeX.
  170. luasseq: Drawing spectral sequences in LuaLaTeX.
  171. luatexbase: Basic resource management for LuaTeX code.
  172. luatexko: Typeset Korean with Lua(La)TeX.
  173. luatextra: Additional macros for Plain TeX and LaTeX in LuaTeX.
  174. luaxml: Lua library for reading and serialising XML files.
  175. odsfile: Read OpenDocument Spreadsheet documents as LaTeX tables.
  176. placeat:
  177. selnolig: Selectively disable typographic ligatures.
  178. showhyphens: Show all possible hyphenations in LuaLaTeX.
  179. spelling: Support for spell-checking of LuaTeX documents.
  180. %package doc
  181. Summary: TeX Live: Documentation files of %{name}
  182. Group: Applications/Publishing
  183. Requires: %{name} = %{version}-%{release}
  184. %description doc
  185. This package contains documentation files of %{name}.
  186. %prep
  187. %setup -c -n %{name}-%{version}
  188. %__tar -xvf %{SOURCE1}
  189. %__tar -xvf %{SOURCE2}
  190. %__tar -xvf %{SOURCE3}
  191. %__tar -xvf %{SOURCE4}
  192. %__tar -xvf %{SOURCE5}
  193. %__tar -xvf %{SOURCE6}
  194. %__tar -xvf %{SOURCE7}
  195. %__tar -xvf %{SOURCE8}
  196. %__tar -xvf %{SOURCE9}
  197. %__tar -xvf %{SOURCE10}
  198. %__tar -xvf %{SOURCE11}
  199. %__tar -xvf %{SOURCE12}
  200. %__tar -xvf %{SOURCE13}
  201. %__tar -xvf %{SOURCE14}
  202. %__tar -xvf %{SOURCE15}
  203. %__tar -xvf %{SOURCE16}
  204. %__tar -xvf %{SOURCE17}
  205. %__tar -xvf %{SOURCE18}
  206. %__tar -xvf %{SOURCE19}
  207. %__tar -xvf %{SOURCE20}
  208. %__tar -xvf %{SOURCE21}
  209. %__tar -xvf %{SOURCE22}
  210. %__tar -xvf %{SOURCE23}
  211. %__tar -xvf %{SOURCE24}
  212. %__tar -xvf %{SOURCE25}
  213. %__tar -xvf %{SOURCE26}
  214. %__tar -xvf %{SOURCE27}
  215. %__tar -xvf %{SOURCE28}
  216. %__tar -xvf %{SOURCE29}
  217. %__tar -xvf %{SOURCE30}
  218. %__tar -xvf %{SOURCE31}
  219. %__tar -xvf %{SOURCE32}
  220. %__tar -xvf %{SOURCE33}
  221. %__tar -xvf %{SOURCE34}
  222. %__tar -xvf %{SOURCE35}
  223. %__tar -xvf %{SOURCE36}
  224. %__tar -xvf %{SOURCE37}
  225. %__tar -xvf %{SOURCE38}
  226. %__tar -xvf %{SOURCE39}
  227. %__tar -xvf %{SOURCE40}
  228. %__tar -xvf %{SOURCE41}
  229. %__tar -xvf %{SOURCE42}
  230. %__tar -xvf %{SOURCE43}
  231. %__tar -xvf %{SOURCE44}
  232. %__tar -xvf %{SOURCE45}
  233. %__tar -xvf %{SOURCE46}
  234. %__tar -xvf %{SOURCE47}
  235. %__tar -xvf %{SOURCE48}
  236. %__tar -xvf %{SOURCE49}
  237. %__tar -xvf %{SOURCE50}
  238. %__tar -xvf %{SOURCE51}
  239. %__tar -xvf %{SOURCE52}
  240. %__tar -xvf %{SOURCE53}
  241. %__tar -xvf %{SOURCE54}
  242. %__tar -xvf %{SOURCE55}
  243. %__tar -xvf %{SOURCE56}
  244. %__tar -xvf %{SOURCE57}
  245. %__tar -xvf %{SOURCE58}
  246. %__tar -xvf %{SOURCE59}
  247. %__tar -xvf %{SOURCE60}
  248. %__tar -xvf %{SOURCE61}
  249. %__tar -xvf %{SOURCE62}
  250. %__tar -xvf %{SOURCE63}
  251. %__tar -xvf %{SOURCE64}
  252. %__tar -xvf %{SOURCE65}
  253. %__tar -xvf %{SOURCE66}
  254. %__tar -xvf %{SOURCE67}
  255. %__tar -xvf %{SOURCE68}
  256. %__tar -xvf %{SOURCE69}
  257. %build
  258. %install
  259. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  260. %__mkdir_p %{buildroot}%{_datadir}
  261. ## move texmf-dist to /usr/share/texmf-dist
  262. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  263. ## move texmf to /usr/share/texmf
  264. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  265. ## move tlpkg to /usr/share/tlpkg
  266. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  267. ## move all non-arch binaries to /usr/bin
  268. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  269. ## move others into /usr/share/texmf-dist
  270. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  271. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  272. %__rm -rf * ||:
  273. ## remove duplicated files between texlive and texlive-collection-*
  274. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  275. ## remove unpacked files
  276. x=(
  277. # scripts/texlive/tlmgr.pl
  278. # scripts/texlive/updmap.pl
  279. # scripts/fontools/autoinst
  280. # scripts/glossaries/makeglossaries
  281. # scripts/m-tx/m-tx.lua
  282. # scripts/musixtex/musixtex.lua
  283. # scripts/pmx/pmx2pdf.lua
  284. # scripts/latexmk/latexmk.pl
  285. # scripts/jfontmaps/kanji-config-updmap.pl
  286. # scripts/jfontmaps/kanji-fontmap-creator.pl
  287. # scripts/latexpand/latexpand
  288. # scripts/epstopdf/epstopdf.pl
  289. # scripts/convbkmk/convbkmk.rb
  290. # scripts/jfontmaps/kanji-config-updmap-sys.sh
  291. # scripts/luaotfload/luaotfload-tool.lua
  292. # texconfig/tcfmgr
  293. # texconfig/tcfmgr.map
  294. # web2c/fmtutil.cnf
  295. # web2c/mktex.opt
  296. # web2c/mktexdir
  297. # web2c/mktexdir.opt
  298. # web2c/mktexnam
  299. # web2c/mktexnam.opt
  300. # web2c/mktexupd
  301. # web2c/texmf.cnf
  302. # web2c/updmap.cfg
  303. # web2c/updmap-hdr.cfg
  304. # doc/chktex/ChkTeX.pdf
  305. install-tl
  306. )
  307. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  308. pushd %{buildroot}%{_tl_texmfdist}
  309. %__rm -f ${x[@]} ||:
  310. popd
  311. fi
  312. ## Files list
  313. find %{buildroot} -type f -or -type l | \
  314. %__sed -e "s|%{buildroot}||g" > filelist.full
  315. find %{buildroot}%{_tl_texmfdist} -type d | \
  316. %__sed -e "s|^%{buildroot}|%dir |" \
  317. -e "s|$|/|" >> filelist.full
  318. ## subpackages
  319. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  320. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  321. %__mv -f filelist.tmp filelist.full
  322. %clean
  323. %__rm -rf %{buildroot}
  324. %post
  325. %_tl_touch_run texhash
  326. %_tl_touch_run mtxrun
  327. exit 0
  328. %postun
  329. if [ "$1" = 0 ]; then
  330. %_tl_touch_run texhash
  331. fi
  332. exit 0
  333. %posttrans
  334. %{_tl_exec_texhash}
  335. %{_tl_exec_mtxrun}
  336. %{_tl_exec_updmap}
  337. %{_tl_exec_fmtutil}
  338. exit 0
  339. %files -f filelist.full
  340. %defattr(-,root,root,-)
  341. %files -f filelist.doc doc
  342. %defattr(-,root,root,-)
  343. %changelog
  344. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  345. - TLNET 20140524