texlive-collection-langcjk-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-4:
  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: 2015
  11. Release: 4%{?_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/ptex2pdf/ptex2pdf.lua
  158. scripts/texlive/fmtutil.pl
  159. scripts/texlive/texconfig-dialog.sh
  160. scripts/texlive/texconfig-sys.sh
  161. scripts/texlive/texconfig.sh
  162. scripts/texlive/texlinks.sh
  163. scripts/texlive/tlmgr.pl
  164. scripts/texlive/updmap.pl
  165. texconfig/tcfmgr
  166. web2c/fmtutil.cnf
  167. web2c/mktex.opt
  168. web2c/mktexdir
  169. web2c/mktexdir.opt
  170. web2c/mktexnam
  171. web2c/mktexnam.opt
  172. web2c/mktexupd
  173. web2c/texmf.cnf
  174. web2c/updmap-hdr.cfg
  175. web2c/updmap.cfg
  176. install-tl
  177. #
  178. scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
  179. scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
  180. scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
  181. scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
  182. scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
  183. scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
  184. scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
  185. scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
  186. scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
  187. scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
  188. scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
  189. scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
  190. scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
  191. scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
  192. scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
  193. scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
  194. scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
  195. scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
  196. scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
  197. scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
  198. scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
  199. scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
  200. )
  201. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  202. pushd %{buildroot}%{_tl_texmfdist}
  203. %__rm -f ${x[@]} ||:
  204. popd
  205. fi
  206. ## Files list
  207. find %{buildroot} -type f -or -type l | \
  208. %__sed -e "s|%{buildroot}||g" > filelist.full
  209. find %{buildroot}%{_tl_texmfdist} -type d | \
  210. %__sed -e "s|^%{buildroot}|%dir |" \
  211. -e "s|$|/|" >> filelist.full
  212. ## subpackages
  213. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  214. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  215. %__mv -f filelist.tmp filelist.full
  216. %clean
  217. %__rm -rf %{buildroot}
  218. %post
  219. %_tl_touch_run texhash
  220. %_tl_touch_run mtxrun
  221. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  222. %_tl_enable_map Map garuda-c90.map
  223. %_tl_enable_map Map norasi-c90.map
  224. exit 0
  225. %postun
  226. if [ "$1" = 0 ]; then
  227. %_tl_touch_run texhash
  228. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  229. %_tl_disable_map garuda-c90.map
  230. %_tl_disable_map norasi-c90.map
  231. fi
  232. exit 0
  233. %posttrans
  234. %{_tl_exec_texhash}
  235. %{_tl_exec_mtxrun}
  236. %{_tl_exec_updmap}
  237. %{_tl_exec_fmtutil}
  238. exit 0
  239. %files -f filelist.full
  240. %defattr(-,root,root,-)
  241. %files -f filelist.doc doc
  242. %defattr(-,root,root,-)
  243. %changelog
  244. * Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
  245. - remove duplicated files from texlive-collection-*
  246. - synced tlnet to 20160113 (TeX Live 2015)
  247. * Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
  248. - TeX Live 2016/dev
  249. - synced tlnet to 20160110 (TeX Live 2016/dev)
  250. * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
  251. - TeX Live 2015/pretest
  252. - synced tlnet to 20150522 (TeX Live 2015/pretest)
  253. * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
  254. - TeX Live 2015/pretest
  255. - synced tlnet to 20150426 (TeX Live 2015/pretest)
  256. * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
  257. - synced tlnet to 20150401
  258. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  259. - synced tlnet to 20141028
  260. * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  261. - synced tlnet to 20140706
  262. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  263. - upgraded to TeX Live 2014
  264. * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
  265. - synced tlnet to 20140406
  266. * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
  267. - synced tlnet to 20131218
  268. * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  269. - synced tlnet to 20131101
  270. * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  271. - synced tlnet to 20131002
  272. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  273. - synced tlnet to 20130919
  274. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  275. - upgraded to TeX Live 2013
  276. - used tlnet archives
  277. - synced tlnet to 20130823
  278. - added macros.texlive
  279. * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  280. - updated to TeX Live 2012
  281. * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  282. - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
  283. - set external dependencies (texlive-collection-binextra,
  284. texlive-collection-fontutils)
  285. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  286. - updated to TeX Live 2011
  287. - merged texlive-vtlpkg-2009-osx.patch from OSXWS
  288. - added %doc README (%files)
  289. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  290. - applied texlive-vtlpkg-2009-vine.patch
  291. - remove arch dependent binaries
  292. - updated tlpdb2rpmspec.sh.in:
  293. - improved tlpdb4a()
  294. - make symlinks of core script utils (texlive-collection-binextra,
  295. texlive-collection-context, texlive-collection-fontutils,
  296. texlive-collection-langgreek, texlive-collection-langindic,
  297. texlive-collection-latex, texlive-collection-latexextra,
  298. texlive-collection-latexrecommended, texlive-collection-pictures,
  299. texlive-collection-pstricks, texlive-collection-science)
  300. * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  301. - updated tlpdb2rpmspec.sh.in:
  302. - improved %post
  303. * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  304. - updated tlpdb2rpmspec.sh.in:
  305. - removed arch dependent binaries (texlive-collection-latexextra)
  306. - improved updmap process in %post and %postun
  307. - fixed perl path
  308. * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  309. - initial build