texlive-collection-xetex-vl.spec 11 KB

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