texlive-collection-langcjk-vl.spec 10 KB

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