texlive-collection-langchinese-vl.spec 14 KB

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