texlive-collection-langcjk-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2017-2:
  3. ## tlpdb2rpmspec collection-langcjk
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Chinese/Japanese/Korean (base)
  8. Summary(ja): TeX Live: Chinese/Japanese/Korean (base)
  9. Name: texlive-collection-langcjk
  10. Version: 2017
  11. Release: 2%{?_dist_release}
  12. License: BSD, GPLv3+, GPL+, LPPL 1.3
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: adobemapping.tar.xz
  16. Source1: c90.doc.tar.xz
  17. Source2: c90.source.tar.xz
  18. Source3: c90.tar.xz
  19. Source4: cjk-gs-integrate.doc.tar.xz
  20. Source5: cjk-gs-integrate.i386-darwin.tar.xz
  21. Source6: cjk-gs-integrate.powerpc-darwin.tar.xz
  22. Source7: cjk-gs-integrate.tar.xz
  23. Source8: cjk.doc.tar.xz
  24. Source9: cjk.source.tar.xz
  25. Source10: cjk.tar.xz
  26. Source11: cjkpunct.doc.tar.xz
  27. Source12: cjkpunct.source.tar.xz
  28. Source13: cjkpunct.tar.xz
  29. Source14: cjkutils.doc.tar.xz
  30. Source15: cjkutils.i386-darwin.tar.xz
  31. Source16: cjkutils.powerpc-darwin.tar.xz
  32. Source17: cjkutils.tar.xz
  33. Source18: dnp.tar.xz
  34. Source19: garuda-c90.source.tar.xz
  35. Source20: garuda-c90.tar.xz
  36. Source21: norasi-c90.source.tar.xz
  37. Source22: norasi-c90.tar.xz
  38. Source23: pxtatescale.doc.tar.xz
  39. Source24: pxtatescale.tar.xz
  40. Source25: xcjk2uni.doc.tar.xz
  41. Source26: xcjk2uni.source.tar.xz
  42. Source27: xcjk2uni.tar.xz
  43. Source28: zxjafont.doc.tar.xz
  44. Source29: zxjafont.tar.xz
  45. Requires: texlive = %{version}
  46. Requires: texlive-collection-basic = %{version}
  47. Requires(post): texlive = %{version}
  48. Requires(postun): texlive = %{version}
  49. BuildArch: noarch
  50. Buildroot: %{_tmppath}/%{name}-%{version}-root
  51. Vendor: Project Vine
  52. Distribution: Vine Linux
  53. Packager: munepi
  54. %description
  55. The TeX Live software distribution offers a complete TeX system for a
  56. variety of Unix, Macintosh, Windows and other platforms. It
  57. encompasses programs for editing, typesetting, previewing and printing
  58. of TeX documents in many different languages, and a large collection
  59. of TeX macros and font libraries.
  60. The distribution includes extensive general documentation about TeX,
  61. as well as the documentation for the included software packages.
  62. This package is a collection of Chinese/Japanese/Korean (base):
  63. Packages supporting a combination of Chinese, Japanese, Korean,
  64. including macros, fonts, documentation. Also Thai in the c90
  65. encoding, since there is some overlap in those fonts; standard
  66. Thai support is in collection-langother. Additional packages
  67. for CJK are in their individual language collections.
  68. This package contains the following CTAN packages:
  69. adobemapping: Adobe cmap and pdfmapping files
  70. c90:
  71. cjk-gs-integrate: Tools to integrate CJK fonts into Ghostscript
  72. cjk: CJK language support
  73. cjkpunct: Adjust locations and kerning of CJK punctuation marks
  74. cjkutils:
  75. dnp:
  76. garuda-c90: TeX support (from CJK) for the garuda font
  77. norasi-c90: TeX support (from CJK) for the norasi font
  78. pxtatescale: Patch to graphics driver for scaling in vertical direction of pTeX
  79. xcjk2uni: Convert CJK characters to Unicode, in pdfTeX
  80. zxjafont: Set up Japanese font families for XeLaTeX
  81. %description -l ja
  82. TeX Live ソフトウェアディストリビューションは、
  83. さまざまな Unix, Macintosh, Windows、および
  84. 他のプラットホームに対して完全な TeX システムを提供します。
  85. 多くの異なった言語を含む TeX ドキュメントの
  86. 編集、組版、閲覧、印刷するためのプログラム、
  87. そして、TeX マクロやフォントライブラリの大きなコレクションを
  88. 同梱しています。
  89. このディストリビューションは
  90. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  91. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  92. このパッケージは以下のようなパッケージ集です。
  93. Chinese/Japanese/Korean (base):
  94. Packages supporting a combination of Chinese, Japanese, Korean,
  95. including macros, fonts, documentation. Also Thai in the c90
  96. encoding, since there is some overlap in those fonts; standard
  97. Thai support is in collection-langother. Additional packages
  98. for CJK are in their individual language collections.
  99. このパッケージは以下の CTAN パッケージを含んでいます:
  100. adobemapping: Adobe cmap and pdfmapping files
  101. c90:
  102. cjk-gs-integrate: Tools to integrate CJK fonts into Ghostscript
  103. cjk: CJK language support
  104. cjkpunct: Adjust locations and kerning of CJK punctuation marks
  105. cjkutils:
  106. dnp:
  107. garuda-c90: TeX support (from CJK) for the garuda font
  108. norasi-c90: TeX support (from CJK) for the norasi font
  109. pxtatescale: Patch to graphics driver for scaling in vertical direction of pTeX
  110. xcjk2uni: Convert CJK characters to Unicode, in pdfTeX
  111. zxjafont: Set up Japanese font families for XeLaTeX
  112. %package doc
  113. Summary: TeX Live: Documentation files of %{name}
  114. Group: Applications/Publishing
  115. Requires: %{name} = %{version}-%{release}
  116. %description doc
  117. This package contains documentation files of %{name}.
  118. %prep
  119. %setup -c -n %{name}-%{version}
  120. %__tar -xvf %{SOURCE1}
  121. %__tar -xvf %{SOURCE2}
  122. %__tar -xvf %{SOURCE3}
  123. %__tar -xvf %{SOURCE4}
  124. %__tar -xvf %{SOURCE5}
  125. %__tar -xvf %{SOURCE6}
  126. %__tar -xvf %{SOURCE7}
  127. %__tar -xvf %{SOURCE8}
  128. %__tar -xvf %{SOURCE9}
  129. %__tar -xvf %{SOURCE10}
  130. %__tar -xvf %{SOURCE11}
  131. %__tar -xvf %{SOURCE12}
  132. %__tar -xvf %{SOURCE13}
  133. %__tar -xvf %{SOURCE14}
  134. %__tar -xvf %{SOURCE15}
  135. %__tar -xvf %{SOURCE16}
  136. %__tar -xvf %{SOURCE17}
  137. %__tar -xvf %{SOURCE18}
  138. %__tar -xvf %{SOURCE19}
  139. %__tar -xvf %{SOURCE20}
  140. %__tar -xvf %{SOURCE21}
  141. %__tar -xvf %{SOURCE22}
  142. %__tar -xvf %{SOURCE23}
  143. %__tar -xvf %{SOURCE24}
  144. %__tar -xvf %{SOURCE25}
  145. %__tar -xvf %{SOURCE26}
  146. %__tar -xvf %{SOURCE27}
  147. %__tar -xvf %{SOURCE28}
  148. %__tar -xvf %{SOURCE29}
  149. %build
  150. %install
  151. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  152. %__mkdir_p %{buildroot}%{_datadir}
  153. ## move texmf-dist to /usr/share/texmf-dist
  154. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  155. ## move texmf to /usr/share/texmf
  156. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  157. ## move tlpkg to /usr/share/tlpkg
  158. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  159. ## move all non-arch binaries to /usr/bin
  160. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  161. ## move others into /usr/share/texmf-dist
  162. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  163. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  164. %__rm -rf * ||:
  165. ## remove duplicated files between texlive and texlive-collection-*
  166. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  167. ## remove unpacked files
  168. x=(
  169. dvipdfmx/dvipdfmx.cfg
  170. scripts/context/stubs/unix/mtxrun
  171. scripts/latexmk/latexmk.pl
  172. scripts/ptex2pdf/ptex2pdf.lua
  173. scripts/texlive/fmtutil.pl
  174. scripts/texlive/texconfig-dialog.sh
  175. scripts/texlive/texconfig-sys.sh
  176. scripts/texlive/texconfig.sh
  177. scripts/texlive/texlinks.sh
  178. scripts/texlive/tlmgr.pl
  179. scripts/texlive/updmap.pl
  180. texconfig/tcfmgr
  181. web2c/fmtutil.cnf
  182. web2c/mktex.opt
  183. web2c/mktexdir
  184. web2c/mktexdir.opt
  185. web2c/mktexnam
  186. web2c/mktexnam.opt
  187. web2c/mktexupd
  188. web2c/texmf.cnf
  189. web2c/updmap-hdr.cfg
  190. web2c/updmap.cfg
  191. install-tl
  192. #
  193. scripts/cjk-gs-integrate/cjk-gs-integrate.pl
  194. scripts/epspdf/epspdf.tlu
  195. scripts/epspdf/epspdftk.tcl
  196. scripts/glossaries/makeglossaries
  197. scripts/jfontmaps/kanji-config-updmap.pl
  198. scripts/jfontmaps/kanji-fontmap-creator.pl
  199. scripts/kotex-utils/jamo-normalize.pl
  200. scripts/kotex-utils/komkindex.pl
  201. scripts/crossrefware/ltx2crossrefxml.pl
  202. scripts/rubik/rubikrotation.pl
  203. scripts/musixtex/musixtex.lua
  204. scripts/pmxchords/pmxchords.lua
  205. scripts/ctanify/ctanify
  206. scripts/dtxgen/dtxgen
  207. scripts/findhyph/findhyph
  208. scripts/latexpand/latexpand
  209. scripts/ltxfileinfo/ltxfileinfo
  210. scripts/latexdiff/latexdiff-vc.pl
  211. scripts/latexdiff/latexdiff.pl
  212. scripts/texfot/texfot.pl
  213. scripts/fontools/autoinst
  214. scripts/luaotfload/luaotfload-tool.lua
  215. scripts/oberdiek/pdfatfi.pl
  216. fonts/map/glyphlist/glyphlist.txt ## texlive-collection-basic-2017-1vl7.noarch
  217. scripts/tex4ht/xhlatex.sh ## texlive-collection-plaingeneric-2017-1vl7.noarch
  218. scripts/latexindent/latexindent.pl ## texlive-collection-binextra-2017-1vl7.noarch
  219. scripts/texosquery/texosquery-jre5.sh ## texlive-collection-binextra-2017-1vl7.noarch
  220. scripts/texosquery/texosquery-jre8.sh ## texlive-collection-binextra-2017-1vl7.noarch
  221. scripts/texosquery/texosquery.sh ## texlive-collection-binextra-2017-1vl7.noarch
  222. )
  223. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  224. pushd %{buildroot}%{_tl_texmfdist}
  225. %__rm -f ${x[@]} ||:
  226. popd
  227. fi
  228. ## Files list
  229. find %{buildroot} -type f -or -type l | \
  230. %__sed -e "s|%{buildroot}||g" > filelist.full
  231. find %{buildroot}%{_tl_texmfdist} -type d | \
  232. %__sed -e "s|^%{buildroot}|%dir |" \
  233. -e "s|$|/|" >> filelist.full
  234. ## subpackages
  235. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  236. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  237. %__mv -f filelist.tmp filelist.full
  238. %clean
  239. %__rm -rf %{buildroot}
  240. %post
  241. %_tl_touch_run texhash
  242. %_tl_touch_run mtxrun
  243. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  244. %_tl_enable_map Map garuda-c90.map
  245. %_tl_enable_map Map norasi-c90.map
  246. exit 0
  247. %postun
  248. if [ "$1" = 0 ]; then
  249. %_tl_touch_run texhash
  250. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  251. %_tl_disable_map garuda-c90.map
  252. %_tl_disable_map norasi-c90.map
  253. fi
  254. exit 0
  255. %posttrans
  256. %{_tl_exec_texhash}
  257. %{_tl_exec_mtxrun}
  258. %{_tl_exec_updmap}
  259. %{_tl_exec_fmtutil}
  260. exit 0
  261. %files -f filelist.full
  262. %defattr(-,root,root,-)
  263. %files -f filelist.doc doc
  264. %defattr(-,root,root,-)
  265. %changelog
  266. * Sun Jun 18 2017 Munehiro Yamamoto <munepi@vinelinux.org> 2017-2
  267. - synced tlnet to 20170616 (TeX Live 2017)
  268. * Thu Jun 08 2017 Munehiro Yamamoto <munepi@vinelinux.org> 2017-1
  269. - synced tlnet to 20170607 (TeX Live 2017)
  270. * Tue Aug 23 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-5
  271. - synced tlnet to 20160823 (TeX Live 2016)
  272. * Tue Jun 07 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-4
  273. - synced tlnet to 20160607 (TeX Live 2016)
  274. * Sat May 14 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-3
  275. - synced tlnet to 20160514 (TeX Live 2016/pretest)
  276. * Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-2
  277. - synced tlnet to 20160510 (TeX Live 2016/pretest)
  278. * Thu Apr 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-1
  279. - TeX Live 2016/pretest
  280. - synced tlnet to 20160428 (TeX Live 2016/pretest)
  281. * Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
  282. - remove duplicated files from texlive-collection-*
  283. - synced tlnet to 20160113 (TeX Live 2015)
  284. * Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
  285. - TeX Live 2016/dev
  286. - synced tlnet to 20160110 (TeX Live 2016/dev)
  287. * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
  288. - TeX Live 2015/pretest
  289. - synced tlnet to 20150522 (TeX Live 2015/pretest)
  290. * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
  291. - TeX Live 2015/pretest
  292. - synced tlnet to 20150426 (TeX Live 2015/pretest)
  293. * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
  294. - synced tlnet to 20150401
  295. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  296. - synced tlnet to 20141028
  297. * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  298. - synced tlnet to 20140706
  299. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  300. - upgraded to TeX Live 2014
  301. * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
  302. - synced tlnet to 20140406
  303. * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
  304. - synced tlnet to 20131218
  305. * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  306. - synced tlnet to 20131101
  307. * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  308. - synced tlnet to 20131002
  309. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  310. - synced tlnet to 20130919
  311. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  312. - upgraded to TeX Live 2013
  313. - used tlnet archives
  314. - synced tlnet to 20130823
  315. - added macros.texlive
  316. * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  317. - updated to TeX Live 2012
  318. * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  319. - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
  320. - set external dependencies (texlive-collection-binextra,
  321. texlive-collection-fontutils)
  322. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  323. - updated to TeX Live 2011
  324. - merged texlive-vtlpkg-2009-osx.patch from OSXWS
  325. - added %doc README (%files)
  326. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  327. - applied texlive-vtlpkg-2009-vine.patch
  328. - remove arch dependent binaries
  329. - updated tlpdb2rpmspec.sh.in:
  330. - improved tlpdb4a()
  331. - make symlinks of core script utils (texlive-collection-binextra,
  332. texlive-collection-context, texlive-collection-fontutils,
  333. texlive-collection-langgreek, texlive-collection-langindic,
  334. texlive-collection-latex, texlive-collection-latexextra,
  335. texlive-collection-latexrecommended, texlive-collection-pictures,
  336. texlive-collection-pstricks, texlive-collection-science)
  337. * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  338. - updated tlpdb2rpmspec.sh.in:
  339. - improved %post
  340. * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  341. - updated tlpdb2rpmspec.sh.in:
  342. - removed arch dependent binaries (texlive-collection-latexextra)
  343. - improved updmap process in %post and %postun
  344. - fixed perl path
  345. * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  346. - initial build