texlive-collection-langkorean-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2017-2:
  3. ## tlpdb2rpmspec collection-langkorean
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Korean
  8. Summary(ja): TeX Live: Korean
  9. Name: texlive-collection-langkorean
  10. Version: 2017
  11. Release: 2%{?_dist_release}
  12. License: Freely redistributable without restriction, LPPL 1.3, LPPL, GFDL, OFSFLD, GPLv2+
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: baekmuk.doc.tar.xz
  16. Source1: baekmuk.tar.xz
  17. Source2: cjk-ko.doc.tar.xz
  18. Source3: cjk-ko.tar.xz
  19. Source4: kotex-oblivoir.doc.tar.xz
  20. Source5: kotex-oblivoir.tar.xz
  21. Source6: kotex-plain.doc.tar.xz
  22. Source7: kotex-plain.tar.xz
  23. Source8: kotex-utf.doc.tar.xz
  24. Source9: kotex-utf.tar.xz
  25. Source10: kotex-utils.doc.tar.xz
  26. Source11: kotex-utils.i386-darwin.tar.xz
  27. Source12: kotex-utils.powerpc-darwin.tar.xz
  28. Source13: kotex-utils.tar.xz
  29. Source14: lshort-korean.doc.tar.xz
  30. Source15: lshort-korean.tar.xz
  31. Source16: nanumtype1.doc.tar.xz
  32. Source17: nanumtype1.tar.xz
  33. Source18: uhc.doc.tar.xz
  34. Source19: uhc.tar.xz
  35. Source20: unfonts-core.doc.tar.xz
  36. Source21: unfonts-core.tar.xz
  37. Source22: unfonts-extra.doc.tar.xz
  38. Source23: unfonts-extra.tar.xz
  39. Requires: texlive = %{version}
  40. Requires: texlive-collection-langcjk = %{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 Korean:
  57. Support for Korean; additional packages in collection-langcjk.
  58. This package contains the following CTAN packages:
  59. baekmuk: Baekmuk Korean TrueType fonts
  60. cjk-ko: Extension of the CJK package for Korean typesetting
  61. kotex-oblivoir: A LaTeX document class for typesetting Korean documents
  62. kotex-plain: Macros for typesetting Korean under Plain TeX
  63. kotex-utf: Typeset Hangul, coded in UTF-8
  64. kotex-utils: Utility scripts and support files for typesetting Korean
  65. lshort-korean: Korean introduction to LaTeX
  66. nanumtype1: Type1 subfonts of Nanum Korean fonts
  67. uhc: Fonts for the Korean language
  68. unfonts-core: TrueType version of Un-fonts
  69. unfonts-extra: TrueType version of Un-fonts
  70. %description -l ja
  71. TeX Live ソフトウェアディストリビューションは、
  72. さまざまな Unix, Macintosh, Windows、および
  73. 他のプラットホームに対して完全な TeX システムを提供します。
  74. 多くの異なった言語を含む TeX ドキュメントの
  75. 編集、組版、閲覧、印刷するためのプログラム、
  76. そして、TeX マクロやフォントライブラリの大きなコレクションを
  77. 同梱しています。
  78. このディストリビューションは
  79. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  80. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  81. このパッケージは以下のようなパッケージ集です。
  82. Korean:
  83. Support for Korean; additional packages in collection-langcjk.
  84. このパッケージは以下の CTAN パッケージを含んでいます:
  85. baekmuk: Baekmuk Korean TrueType fonts
  86. cjk-ko: Extension of the CJK package for Korean typesetting
  87. kotex-oblivoir: A LaTeX document class for typesetting Korean documents
  88. kotex-plain: Macros for typesetting Korean under Plain TeX
  89. kotex-utf: Typeset Hangul, coded in UTF-8
  90. kotex-utils: Utility scripts and support files for typesetting Korean
  91. lshort-korean: Korean introduction to LaTeX
  92. nanumtype1: Type1 subfonts of Nanum Korean fonts
  93. uhc: Fonts for the Korean language
  94. unfonts-core: TrueType version of Un-fonts
  95. unfonts-extra: TrueType version of Un-fonts
  96. %package doc
  97. Summary: TeX Live: Documentation files of %{name}
  98. Group: Applications/Publishing
  99. Requires: %{name} = %{version}-%{release}
  100. %description doc
  101. This package contains documentation files of %{name}.
  102. %prep
  103. %setup -c -n %{name}-%{version}
  104. %__tar -xvf %{SOURCE1}
  105. %__tar -xvf %{SOURCE2}
  106. %__tar -xvf %{SOURCE3}
  107. %__tar -xvf %{SOURCE4}
  108. %__tar -xvf %{SOURCE5}
  109. %__tar -xvf %{SOURCE6}
  110. %__tar -xvf %{SOURCE7}
  111. %__tar -xvf %{SOURCE8}
  112. %__tar -xvf %{SOURCE9}
  113. %__tar -xvf %{SOURCE10}
  114. %__tar -xvf %{SOURCE11}
  115. %__tar -xvf %{SOURCE12}
  116. %__tar -xvf %{SOURCE13}
  117. %__tar -xvf %{SOURCE14}
  118. %__tar -xvf %{SOURCE15}
  119. %__tar -xvf %{SOURCE16}
  120. %__tar -xvf %{SOURCE17}
  121. %__tar -xvf %{SOURCE18}
  122. %__tar -xvf %{SOURCE19}
  123. %__tar -xvf %{SOURCE20}
  124. %__tar -xvf %{SOURCE21}
  125. %__tar -xvf %{SOURCE22}
  126. %__tar -xvf %{SOURCE23}
  127. %build
  128. %install
  129. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  130. %__mkdir_p %{buildroot}%{_datadir}
  131. ## move texmf-dist to /usr/share/texmf-dist
  132. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  133. ## move texmf to /usr/share/texmf
  134. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  135. ## move tlpkg to /usr/share/tlpkg
  136. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  137. ## move all non-arch binaries to /usr/bin
  138. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  139. ## move others into /usr/share/texmf-dist
  140. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  141. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  142. %__rm -rf * ||:
  143. ## remove duplicated files between texlive and texlive-collection-*
  144. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  145. ## remove unpacked files
  146. x=(
  147. dvipdfmx/dvipdfmx.cfg
  148. scripts/context/stubs/unix/mtxrun
  149. scripts/latexmk/latexmk.pl
  150. scripts/ptex2pdf/ptex2pdf.lua
  151. scripts/texlive/fmtutil.pl
  152. scripts/texlive/texconfig-dialog.sh
  153. scripts/texlive/texconfig-sys.sh
  154. scripts/texlive/texconfig.sh
  155. scripts/texlive/texlinks.sh
  156. scripts/texlive/tlmgr.pl
  157. scripts/texlive/updmap.pl
  158. texconfig/tcfmgr
  159. web2c/fmtutil.cnf
  160. web2c/mktex.opt
  161. web2c/mktexdir
  162. web2c/mktexdir.opt
  163. web2c/mktexnam
  164. web2c/mktexnam.opt
  165. web2c/mktexupd
  166. web2c/texmf.cnf
  167. web2c/updmap-hdr.cfg
  168. web2c/updmap.cfg
  169. install-tl
  170. #
  171. scripts/cjk-gs-integrate/cjk-gs-integrate.pl
  172. scripts/epspdf/epspdf.tlu
  173. scripts/epspdf/epspdftk.tcl
  174. scripts/glossaries/makeglossaries
  175. scripts/jfontmaps/kanji-config-updmap.pl
  176. scripts/jfontmaps/kanji-fontmap-creator.pl
  177. scripts/kotex-utils/jamo-normalize.pl
  178. scripts/kotex-utils/komkindex.pl
  179. scripts/crossrefware/ltx2crossrefxml.pl
  180. scripts/rubik/rubikrotation.pl
  181. scripts/musixtex/musixtex.lua
  182. scripts/pmxchords/pmxchords.lua
  183. scripts/ctanify/ctanify
  184. scripts/dtxgen/dtxgen
  185. scripts/findhyph/findhyph
  186. scripts/latexpand/latexpand
  187. scripts/ltxfileinfo/ltxfileinfo
  188. scripts/latexdiff/latexdiff-vc.pl
  189. scripts/latexdiff/latexdiff.pl
  190. scripts/texfot/texfot.pl
  191. scripts/fontools/autoinst
  192. scripts/luaotfload/luaotfload-tool.lua
  193. scripts/oberdiek/pdfatfi.pl
  194. fonts/map/glyphlist/glyphlist.txt ## texlive-collection-basic-2017-1vl7.noarch
  195. scripts/tex4ht/xhlatex.sh ## texlive-collection-plaingeneric-2017-1vl7.noarch
  196. scripts/latexindent/latexindent.pl ## texlive-collection-binextra-2017-1vl7.noarch
  197. scripts/texosquery/texosquery-jre5.sh ## texlive-collection-binextra-2017-1vl7.noarch
  198. scripts/texosquery/texosquery-jre8.sh ## texlive-collection-binextra-2017-1vl7.noarch
  199. scripts/texosquery/texosquery.sh ## texlive-collection-binextra-2017-1vl7.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 nanumfonts.map
  223. %_tl_enable_map Map umj.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 nanumfonts.map
  230. %_tl_disable_map umj.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. * Sun Jun 18 2017 Munehiro Yamamoto <munepi@vinelinux.org> 2017-2
  245. - synced tlnet to 20170616 (TeX Live 2017)
  246. * Thu Jun 08 2017 Munehiro Yamamoto <munepi@vinelinux.org> 2017-1
  247. - synced tlnet to 20170607 (TeX Live 2017)
  248. * Tue Aug 23 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-5
  249. - synced tlnet to 20160823 (TeX Live 2016)
  250. * Tue Jun 07 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-4
  251. - synced tlnet to 20160607 (TeX Live 2016)
  252. * Sat May 14 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-3
  253. - synced tlnet to 20160514 (TeX Live 2016/pretest)
  254. * Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-2
  255. - synced tlnet to 20160510 (TeX Live 2016/pretest)
  256. * Thu Apr 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-1
  257. - TeX Live 2016/pretest
  258. - synced tlnet to 20160428 (TeX Live 2016/pretest)
  259. * Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
  260. - remove duplicated files from texlive-collection-*
  261. - synced tlnet to 20160113 (TeX Live 2015)
  262. * Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
  263. - TeX Live 2016/dev
  264. - synced tlnet to 20160110 (TeX Live 2016/dev)
  265. * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
  266. - TeX Live 2015/pretest
  267. - synced tlnet to 20150522 (TeX Live 2015/pretest)
  268. * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
  269. - TeX Live 2015/pretest
  270. - synced tlnet to 20150426 (TeX Live 2015/pretest)
  271. * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
  272. - synced tlnet to 20150401
  273. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  274. - synced tlnet to 20141028
  275. * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  276. - synced tlnet to 20140706
  277. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  278. - upgraded to TeX Live 2014
  279. * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
  280. - synced tlnet to 20140406
  281. * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
  282. - synced tlnet to 20131218
  283. * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  284. - synced tlnet to 20131101
  285. * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  286. - synced tlnet to 20131002
  287. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  288. - synced tlnet to 20130919
  289. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  290. - upgraded to TeX Live 2013
  291. - used tlnet archives
  292. - synced tlnet to 20130823
  293. - added macros.texlive
  294. * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  295. - updated to TeX Live 2012
  296. * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  297. - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
  298. - set external dependencies (texlive-collection-binextra,
  299. texlive-collection-fontutils)
  300. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  301. - updated to TeX Live 2011
  302. - merged texlive-vtlpkg-2009-osx.patch from OSXWS
  303. - added %doc README (%files)
  304. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  305. - applied texlive-vtlpkg-2009-vine.patch
  306. - remove arch dependent binaries
  307. - updated tlpdb2rpmspec.sh.in:
  308. - improved tlpdb4a()
  309. - make symlinks of core script utils (texlive-collection-binextra,
  310. texlive-collection-context, texlive-collection-fontutils,
  311. texlive-collection-langgreek, texlive-collection-langindic,
  312. texlive-collection-latex, texlive-collection-latexextra,
  313. texlive-collection-latexrecommended, texlive-collection-pictures,
  314. texlive-collection-pstricks, texlive-collection-science)
  315. * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  316. - updated tlpdb2rpmspec.sh.in:
  317. - improved %post
  318. * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  319. - updated tlpdb2rpmspec.sh.in:
  320. - removed arch dependent binaries (texlive-collection-latexextra)
  321. - improved updmap process in %post and %postun
  322. - fixed perl path
  323. * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  324. - initial build