texlive-collection-luatex-vl.spec 12 KB

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