texlive-collection-langchinese-vl.spec 14 KB

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