texlive-collection-langcjk-vl.spec 13 KB

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