texlive-collection-xetex-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-1:
  3. ## tlpdb2rpmspec collection-xetex
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: XeTeX and packages
  8. Summary(ja): TeX Live: XeTeX and packages
  9. Name: texlive-collection-xetex
  10. Version: 2015
  11. Release: 1%{?_dist_release}
  12. License: LPPL, LPPL 1.3, GPL+, OFSFLD, LPPL 1.2, Public Domain, Freely redistributable without restriction, ASL 2.0
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: arabxetex.doc.tar.xz
  16. Source1: arabxetex.source.tar.xz
  17. Source2: arabxetex.tar.xz
  18. Source3: bidi-atbegshi.doc.tar.xz
  19. Source4: bidi-atbegshi.tar.xz
  20. Source5: bidicontour.doc.tar.xz
  21. Source6: bidicontour.tar.xz
  22. Source7: bidipagegrid.doc.tar.xz
  23. Source8: bidipagegrid.tar.xz
  24. Source9: bidishadowtext.doc.tar.xz
  25. Source10: bidishadowtext.tar.xz
  26. Source11: bidipresentation.doc.tar.xz
  27. Source12: bidipresentation.tar.xz
  28. Source13: fixlatvian.doc.tar.xz
  29. Source14: fixlatvian.source.tar.xz
  30. Source15: fixlatvian.tar.xz
  31. Source16: fontbook.doc.tar.xz
  32. Source17: fontbook.source.tar.xz
  33. Source18: fontbook.tar.xz
  34. Source19: fontwrap.doc.tar.xz
  35. Source20: fontwrap.tar.xz
  36. Source21: interchar.doc.tar.xz
  37. Source22: interchar.tar.xz
  38. Source23: mathspec.doc.tar.xz
  39. Source24: mathspec.tar.xz
  40. Source25: philokalia.doc.tar.xz
  41. Source26: philokalia.source.tar.xz
  42. Source27: philokalia.tar.xz
  43. Source28: polyglossia.doc.tar.xz
  44. Source29: polyglossia.source.tar.xz
  45. Source30: polyglossia.tar.xz
  46. Source31: ptext.doc.tar.xz
  47. Source32: ptext.tar.xz
  48. Source33: realscripts.doc.tar.xz
  49. Source34: realscripts.source.tar.xz
  50. Source35: realscripts.tar.xz
  51. Source36: ucharclasses.doc.tar.xz
  52. Source37: ucharclasses.tar.xz
  53. Source38: unisugar.doc.tar.xz
  54. Source39: unisugar.tar.xz
  55. Source40: xecjk.doc.tar.xz
  56. Source41: xecjk.source.tar.xz
  57. Source42: xecjk.tar.xz
  58. Source43: xecolor.doc.tar.xz
  59. Source44: xecolor.tar.xz
  60. Source45: xecyr.doc.tar.xz
  61. Source46: xecyr.tar.xz
  62. Source47: xeindex.doc.tar.xz
  63. Source48: xeindex.tar.xz
  64. Source49: xepersian.doc.tar.xz
  65. Source50: xepersian.source.tar.xz
  66. Source51: xepersian.tar.xz
  67. Source52: xesearch.doc.tar.xz
  68. Source53: xesearch.tar.xz
  69. Source54: xespotcolor.doc.tar.xz
  70. Source55: xespotcolor.source.tar.xz
  71. Source56: xespotcolor.tar.xz
  72. Source57: xetex.doc.tar.xz
  73. Source58: xetex.tar.xz
  74. Source59: xetex-def.tar.xz
  75. Source60: xetex-itrans.doc.tar.xz
  76. Source61: xetex-itrans.tar.xz
  77. Source62: xetex-pstricks.doc.tar.xz
  78. Source63: xetex-pstricks.tar.xz
  79. Source64: xetex-tibetan.doc.tar.xz
  80. Source65: xetex-tibetan.tar.xz
  81. Source66: xetexconfig.tar.xz
  82. Source67: xetexfontinfo.doc.tar.xz
  83. Source68: xetexfontinfo.tar.xz
  84. Source69: xetexko.doc.tar.xz
  85. Source70: xetexko.tar.xz
  86. Source71: xevlna.doc.tar.xz
  87. Source72: xevlna.tar.xz
  88. Source73: xltxtra.doc.tar.xz
  89. Source74: xltxtra.source.tar.xz
  90. Source75: xltxtra.tar.xz
  91. Source76: xunicode.doc.tar.xz
  92. Source77: xunicode.tar.xz
  93. Requires: texlive = %{version}
  94. Requires: texlive-collection-basic = %{version}
  95. Requires(post): texlive = %{version}
  96. Requires(postun): texlive = %{version}
  97. BuildArch: noarch
  98. Buildroot: %{_tmppath}/%{name}-%{version}-root
  99. Vendor: Project Vine
  100. Distribution: Vine Linux
  101. Packager: munepi
  102. %description
  103. The TeX Live software distribution offers a complete TeX system for a
  104. variety of Unix, Macintosh, Windows and other platforms. It
  105. encompasses programs for editing, typesetting, previewing and printing
  106. of TeX documents in many different languages, and a large collection
  107. of TeX macros and font libraries.
  108. The distribution includes extensive general documentation about TeX,
  109. as well as the documentation for the included software packages.
  110. This package is a collection of XeTeX and packages:
  111. Packages for XeTeX, the Unicode/OpenType-enabled TeX by
  112. Jonathan Kew, http://tug.org/xetex.
  113. This package contains the following CTAN packages:
  114. arabxetex: An ArabTeX-like interface for XeLaTeX.
  115. bidi-atbegshi: Bidi-aware shipout macros.
  116. bidicontour: Bidi-aware coloured contour around text.
  117. bidipagegrid: Bidi-aware page grid in background.
  118. bidishadowtext: Bidi-aware shadow text.
  119. bidipresentation: Experimental bidi presentation.
  120. fixlatvian: Improve Latvian language support in XeLaTeX.
  121. fontbook: Generate a font book.
  122. fontwrap: Bind fonts to specific unicode blocks.
  123. interchar: Managing character class schemes in XeTeX
  124. mathspec: Specify arbitrary fonts for mathematics in XeTeX.
  125. philokalia: A font to typeset the Philokalia Books.
  126. polyglossia: Modern multilingual typesetting with XeLaTeX.
  127. ptext: A 'lipsum' for Persian.
  128. realscripts: Access OpenType subscript and superscript glyphs.
  129. ucharclasses: Font actions in XeTeX according to what is being processed.
  130. unisugar: Define syntactic sugar for Unicode LaTeX.
  131. xecjk: Support for CJK documents in XeLaTeX.
  132. xecolor: Support for color in XeLaTeX.
  133. xecyr: Using Cyrillic languages in XeTeX.
  134. xeindex: Automatic index generation for XeLaTeX.
  135. xepersian: Persian for LaTeX, using XeTeX.
  136. xesearch: A string finder for XeTeX.
  137. xespotcolor: Spot colours support for XeLaTeX
  138. xetex: Unicode and OpenType-enabled TeX engine.
  139. xetex-def: Colour and graphics support for XeTeX.
  140. xetex-itrans: Itrans input maps for use with XeLaTeX.
  141. xetex-pstricks: Running PStricks under XeTeX.
  142. xetex-tibetan: XeTeX input maps for Unicode Tibetan.
  143. xetexconfig: Configuration files for XeTeX.
  144. xetexfontinfo: Report font features in XeTeX.
  145. xetexko: Typeset Korean with Xe(La)TeX.
  146. xevlna: Insert non-breakable spaces using XeTeX.
  147. xltxtra: "Extras" for LaTeX users of XeTeX.
  148. xunicode: Generate Unicode characters from accented glyphs.
  149. %description -l ja
  150. TeX Live ソフトウェアディストリビューションは、
  151. さまざまな Unix, Macintosh, Windows、および
  152. 他のプラットホームに対して完全な TeX システムを提供します。
  153. 多くの異なった言語を含む TeX ドキュメントの
  154. 編集、組版、閲覧、印刷するためのプログラム、
  155. そして、TeX マクロやフォントライブラリの大きなコレクションを
  156. 同梱しています。
  157. このディストリビューションは
  158. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  159. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  160. このパッケージは以下のようなパッケージ集です。
  161. XeTeX and packages:
  162. Packages for XeTeX, the Unicode/OpenType-enabled TeX by
  163. Jonathan Kew, http://tug.org/xetex.
  164. このパッケージは以下の CTAN パッケージを含んでいます:
  165. arabxetex: An ArabTeX-like interface for XeLaTeX.
  166. bidi-atbegshi: Bidi-aware shipout macros.
  167. bidicontour: Bidi-aware coloured contour around text.
  168. bidipagegrid: Bidi-aware page grid in background.
  169. bidishadowtext: Bidi-aware shadow text.
  170. bidipresentation: Experimental bidi presentation.
  171. fixlatvian: Improve Latvian language support in XeLaTeX.
  172. fontbook: Generate a font book.
  173. fontwrap: Bind fonts to specific unicode blocks.
  174. interchar: Managing character class schemes in XeTeX
  175. mathspec: Specify arbitrary fonts for mathematics in XeTeX.
  176. philokalia: A font to typeset the Philokalia Books.
  177. polyglossia: Modern multilingual typesetting with XeLaTeX.
  178. ptext: A 'lipsum' for Persian.
  179. realscripts: Access OpenType subscript and superscript glyphs.
  180. ucharclasses: Font actions in XeTeX according to what is being processed.
  181. unisugar: Define syntactic sugar for Unicode LaTeX.
  182. xecjk: Support for CJK documents in XeLaTeX.
  183. xecolor: Support for color in XeLaTeX.
  184. xecyr: Using Cyrillic languages in XeTeX.
  185. xeindex: Automatic index generation for XeLaTeX.
  186. xepersian: Persian for LaTeX, using XeTeX.
  187. xesearch: A string finder for XeTeX.
  188. xespotcolor: Spot colours support for XeLaTeX
  189. xetex: Unicode and OpenType-enabled TeX engine.
  190. xetex-def: Colour and graphics support for XeTeX.
  191. xetex-itrans: Itrans input maps for use with XeLaTeX.
  192. xetex-pstricks: Running PStricks under XeTeX.
  193. xetex-tibetan: XeTeX input maps for Unicode Tibetan.
  194. xetexconfig: Configuration files for XeTeX.
  195. xetexfontinfo: Report font features in XeTeX.
  196. xetexko: Typeset Korean with Xe(La)TeX.
  197. xevlna: Insert non-breakable spaces using XeTeX.
  198. xltxtra: "Extras" for LaTeX users of XeTeX.
  199. xunicode: Generate Unicode characters from accented glyphs.
  200. %package doc
  201. Summary: TeX Live: Documentation files of %{name}
  202. Group: Applications/Publishing
  203. Requires: %{name} = %{version}-%{release}
  204. %description doc
  205. This package contains documentation files of %{name}.
  206. %prep
  207. %setup -c -n %{name}-%{version}
  208. %__tar -xvf %{SOURCE1}
  209. %__tar -xvf %{SOURCE2}
  210. %__tar -xvf %{SOURCE3}
  211. %__tar -xvf %{SOURCE4}
  212. %__tar -xvf %{SOURCE5}
  213. %__tar -xvf %{SOURCE6}
  214. %__tar -xvf %{SOURCE7}
  215. %__tar -xvf %{SOURCE8}
  216. %__tar -xvf %{SOURCE9}
  217. %__tar -xvf %{SOURCE10}
  218. %__tar -xvf %{SOURCE11}
  219. %__tar -xvf %{SOURCE12}
  220. %__tar -xvf %{SOURCE13}
  221. %__tar -xvf %{SOURCE14}
  222. %__tar -xvf %{SOURCE15}
  223. %__tar -xvf %{SOURCE16}
  224. %__tar -xvf %{SOURCE17}
  225. %__tar -xvf %{SOURCE18}
  226. %__tar -xvf %{SOURCE19}
  227. %__tar -xvf %{SOURCE20}
  228. %__tar -xvf %{SOURCE21}
  229. %__tar -xvf %{SOURCE22}
  230. %__tar -xvf %{SOURCE23}
  231. %__tar -xvf %{SOURCE24}
  232. %__tar -xvf %{SOURCE25}
  233. %__tar -xvf %{SOURCE26}
  234. %__tar -xvf %{SOURCE27}
  235. %__tar -xvf %{SOURCE28}
  236. %__tar -xvf %{SOURCE29}
  237. %__tar -xvf %{SOURCE30}
  238. %__tar -xvf %{SOURCE31}
  239. %__tar -xvf %{SOURCE32}
  240. %__tar -xvf %{SOURCE33}
  241. %__tar -xvf %{SOURCE34}
  242. %__tar -xvf %{SOURCE35}
  243. %__tar -xvf %{SOURCE36}
  244. %__tar -xvf %{SOURCE37}
  245. %__tar -xvf %{SOURCE38}
  246. %__tar -xvf %{SOURCE39}
  247. %__tar -xvf %{SOURCE40}
  248. %__tar -xvf %{SOURCE41}
  249. %__tar -xvf %{SOURCE42}
  250. %__tar -xvf %{SOURCE43}
  251. %__tar -xvf %{SOURCE44}
  252. %__tar -xvf %{SOURCE45}
  253. %__tar -xvf %{SOURCE46}
  254. %__tar -xvf %{SOURCE47}
  255. %__tar -xvf %{SOURCE48}
  256. %__tar -xvf %{SOURCE49}
  257. %__tar -xvf %{SOURCE50}
  258. %__tar -xvf %{SOURCE51}
  259. %__tar -xvf %{SOURCE52}
  260. %__tar -xvf %{SOURCE53}
  261. %__tar -xvf %{SOURCE54}
  262. %__tar -xvf %{SOURCE55}
  263. %__tar -xvf %{SOURCE56}
  264. %__tar -xvf %{SOURCE57}
  265. %__tar -xvf %{SOURCE58}
  266. %__tar -xvf %{SOURCE59}
  267. %__tar -xvf %{SOURCE60}
  268. %__tar -xvf %{SOURCE61}
  269. %__tar -xvf %{SOURCE62}
  270. %__tar -xvf %{SOURCE63}
  271. %__tar -xvf %{SOURCE64}
  272. %__tar -xvf %{SOURCE65}
  273. %__tar -xvf %{SOURCE66}
  274. %__tar -xvf %{SOURCE67}
  275. %__tar -xvf %{SOURCE68}
  276. %__tar -xvf %{SOURCE69}
  277. %__tar -xvf %{SOURCE70}
  278. %__tar -xvf %{SOURCE71}
  279. %__tar -xvf %{SOURCE72}
  280. %__tar -xvf %{SOURCE73}
  281. %__tar -xvf %{SOURCE74}
  282. %__tar -xvf %{SOURCE75}
  283. %__tar -xvf %{SOURCE76}
  284. %__tar -xvf %{SOURCE77}
  285. %build
  286. %install
  287. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  288. %__mkdir_p %{buildroot}%{_datadir}
  289. ## move texmf-dist to /usr/share/texmf-dist
  290. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  291. ## move texmf to /usr/share/texmf
  292. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  293. ## move tlpkg to /usr/share/tlpkg
  294. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  295. ## move all non-arch binaries to /usr/bin
  296. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  297. ## move others into /usr/share/texmf-dist
  298. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  299. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  300. %__rm -rf * ||:
  301. ## remove duplicated files between texlive and texlive-collection-*
  302. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  303. ## remove unpacked files
  304. x=(
  305. scripts/texlive/texconfig-dialog.sh
  306. scripts/texlive/texconfig-sys.sh
  307. scripts/texlive/texconfig.sh
  308. scripts/texlive/texlinks.sh
  309. scripts/texlive/tlmgr.pl
  310. texconfig/tcfmgr
  311. web2c/mktex.opt
  312. web2c/mktexdir
  313. web2c/mktexdir.opt
  314. web2c/mktexnam
  315. web2c/mktexnam.opt
  316. web2c/mktexupd
  317. web2c/texmf.cnf
  318. web2c/updmap-hdr.cfg
  319. web2c/updmap.cfg
  320. )
  321. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  322. pushd %{buildroot}%{_tl_texmfdist}
  323. %__rm -f ${x[@]} ||:
  324. popd
  325. fi
  326. ## Files list
  327. find %{buildroot} -type f -or -type l | \
  328. %__sed -e "s|%{buildroot}||g" > filelist.full
  329. find %{buildroot}%{_tl_texmfdist} -type d | \
  330. %__sed -e "s|^%{buildroot}|%dir |" \
  331. -e "s|$|/|" >> filelist.full
  332. ## subpackages
  333. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  334. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  335. %__mv -f filelist.tmp filelist.full
  336. %clean
  337. %__rm -rf %{buildroot}
  338. %post
  339. %_tl_touch_run texhash
  340. %_tl_touch_run mtxrun
  341. %_tl_touch_run fmtutil
  342. exit 0
  343. %postun
  344. if [ "$1" = 0 ]; then
  345. %_tl_touch_run texhash
  346. fi
  347. exit 0
  348. %posttrans
  349. %{_tl_exec_texhash}
  350. %{_tl_exec_mtxrun}
  351. %{_tl_exec_updmap}
  352. %{_tl_exec_fmtutil}
  353. exit 0
  354. %files -f filelist.full
  355. %defattr(-,root,root,-)
  356. %files -f filelist.doc doc
  357. %defattr(-,root,root,-)
  358. %changelog