texlive-collection-langkorean-vl.spec 12 KB

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