texlive-collection-langjapanese-vl.spec 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-2:
  3. ## tlpdb2rpmspec collection-langjapanese
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Japanese
  8. Summary(ja): TeX Live: Japanese
  9. Name: texlive-collection-langjapanese
  10. Version: 2015
  11. Release: 2%{?_dist_release}
  12. License: Freely redistributable without restriction, LPPL, BSD, GPL+, GPLv2+
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: bxbase.doc.tar.xz
  16. Source1: bxbase.tar.xz
  17. Source2: bxcjkjatype.doc.tar.xz
  18. Source3: bxcjkjatype.tar.xz
  19. Source4: bxjscls.doc.tar.xz
  20. Source5: bxjscls.source.tar.xz
  21. Source6: bxjscls.tar.xz
  22. Source7: convbkmk.doc.tar.xz
  23. Source8: convbkmk.tar.xz
  24. Source9: ipaex.doc.tar.xz
  25. Source10: ipaex.tar.xz
  26. Source11: japanese.doc.tar.xz
  27. Source12: japanese.source.tar.xz
  28. Source13: japanese.tar.xz
  29. Source14: japanese-otf.doc.tar.xz
  30. Source15: japanese-otf.source.tar.xz
  31. Source16: japanese-otf.tar.xz
  32. Source17: japanese-otf-uptex.doc.tar.xz
  33. Source18: japanese-otf-uptex.source.tar.xz
  34. Source19: japanese-otf-uptex.tar.xz
  35. Source20: jfontmaps.doc.tar.xz
  36. Source21: jfontmaps.source.tar.xz
  37. Source22: jfontmaps.tar.xz
  38. Source23: jsclasses.doc.tar.xz
  39. Source24: jsclasses.source.tar.xz
  40. Source25: jsclasses.tar.xz
  41. Source26: lshort-japanese.doc.tar.xz
  42. Source27: lshort-japanese.tar.xz
  43. Source28: luatexja.doc.tar.xz
  44. Source29: luatexja.source.tar.xz
  45. Source30: luatexja.tar.xz
  46. Source31: ptex.doc.tar.xz
  47. Source32: ptex.source.tar.xz
  48. Source33: ptex.tar.xz
  49. Source34: ptex2pdf.doc.tar.xz
  50. Source35: ptex2pdf.tar.xz
  51. Source36: pxbase.doc.tar.xz
  52. Source37: pxbase.tar.xz
  53. Source38: pxchfon.doc.tar.xz
  54. Source39: pxchfon.tar.xz
  55. Source40: pxcjkcat.doc.tar.xz
  56. Source41: pxcjkcat.tar.xz
  57. Source42: pxjahyper.doc.tar.xz
  58. Source43: pxjahyper.tar.xz
  59. Source44: pxrubrica.doc.tar.xz
  60. Source45: pxrubrica.source.tar.xz
  61. Source46: pxrubrica.tar.xz
  62. Source47: uptex.doc.tar.xz
  63. Source48: uptex.source.tar.xz
  64. Source49: uptex.tar.xz
  65. Source50: wadalab.doc.tar.xz
  66. Source51: wadalab.tar.xz
  67. Source52: zxjafbfont.doc.tar.xz
  68. Source53: zxjafbfont.tar.xz
  69. Source54: zxjatype.doc.tar.xz
  70. Source55: zxjatype.tar.xz
  71. Requires: texlive = %{version}
  72. Requires: texlive-collection-langcjk = %{version}
  73. Requires(post): texlive = %{version}
  74. Requires(postun): texlive = %{version}
  75. BuildArch: noarch
  76. Buildroot: %{_tmppath}/%{name}-%{version}-root
  77. Vendor: Project Vine
  78. Distribution: Vine Linux
  79. Packager: munepi
  80. %description
  81. The TeX Live software distribution offers a complete TeX system for a
  82. variety of Unix, Macintosh, Windows and other platforms. It
  83. encompasses programs for editing, typesetting, previewing and printing
  84. of TeX documents in many different languages, and a large collection
  85. of TeX macros and font libraries.
  86. The distribution includes extensive general documentation about TeX,
  87. as well as the documentation for the included software packages.
  88. This package is a collection of Japanese:
  89. Support for Japanese; additional packages in collection-
  90. langcjk.
  91. This package contains the following CTAN packages:
  92. bxbase: BX bundle base components.
  93. bxcjkjatype: Typeset Japanese with pdfLaTeX and CJK.
  94. bxjscls: Document classes based on jsclasses.
  95. convbkmk: Correct platex/uplatex bookmarks in PDF created with hyperref.
  96. ipaex: IPA and IPAex fonts from Information-technology Promotion Agency, Japan.
  97. japanese: A substitute for a babel package for Japanese.
  98. japanese-otf: Advanced font selection for platex and its friends.
  99. japanese-otf-uptex: Support for Japanese OTF files in upLaTeX.
  100. jfontmaps: Font maps and configuration tools for Japanese fonts.
  101. jsclasses: Classes tailored for use with Japanese.
  102. lshort-japanese: Japanese version of A Short Introduction to LaTeX2e
  103. luatexja: Typeset Japanese with lua(la)tex.
  104. ptex: A TeX system for publishing in Japanese.
  105. ptex2pdf: Convert Japanese TeX documents to PDF.
  106. pxbase: Tools for use with (u)pLaTeX.
  107. pxchfon: Japanese font setup for pLaTeX and upLaTeX.
  108. pxcjkcat: LaTeX interface for the CJK category codes of upTeX.
  109. pxjahyper: Hyperref support for pLaTeX.
  110. pxrubrica:
  111. uptex: Unicode version of pTeX.
  112. wadalab: Wadalab (Japanese) font packages.
  113. zxjafbfont: Fallback CJK font support for xeCJK.
  114. zxjatype: Standard conforming typesetting of Japanese, for XeLaTeX.
  115. %description -l ja
  116. TeX Live ソフトウェアディストリビューションは、
  117. さまざまな Unix, Macintosh, Windows、および
  118. 他のプラットホームに対して完全な TeX システムを提供します。
  119. 多くの異なった言語を含む TeX ドキュメントの
  120. 編集、組版、閲覧、印刷するためのプログラム、
  121. そして、TeX マクロやフォントライブラリの大きなコレクションを
  122. 同梱しています。
  123. このディストリビューションは
  124. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  125. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  126. このパッケージは以下のようなパッケージ集です。
  127. Japanese:
  128. Support for Japanese; additional packages in collection-
  129. langcjk.
  130. このパッケージは以下の CTAN パッケージを含んでいます:
  131. bxbase: BX bundle base components.
  132. bxcjkjatype: Typeset Japanese with pdfLaTeX and CJK.
  133. bxjscls: Document classes based on jsclasses.
  134. convbkmk: Correct platex/uplatex bookmarks in PDF created with hyperref.
  135. ipaex: IPA and IPAex fonts from Information-technology Promotion Agency, Japan.
  136. japanese: A substitute for a babel package for Japanese.
  137. japanese-otf: Advanced font selection for platex and its friends.
  138. japanese-otf-uptex: Support for Japanese OTF files in upLaTeX.
  139. jfontmaps: Font maps and configuration tools for Japanese fonts.
  140. jsclasses: Classes tailored for use with Japanese.
  141. lshort-japanese: Japanese version of A Short Introduction to LaTeX2e
  142. luatexja: Typeset Japanese with lua(la)tex.
  143. ptex: A TeX system for publishing in Japanese.
  144. ptex2pdf: Convert Japanese TeX documents to PDF.
  145. pxbase: Tools for use with (u)pLaTeX.
  146. pxchfon: Japanese font setup for pLaTeX and upLaTeX.
  147. pxcjkcat: LaTeX interface for the CJK category codes of upTeX.
  148. pxjahyper: Hyperref support for pLaTeX.
  149. pxrubrica:
  150. uptex: Unicode version of pTeX.
  151. wadalab: Wadalab (Japanese) font packages.
  152. zxjafbfont: Fallback CJK font support for xeCJK.
  153. zxjatype: Standard conforming typesetting of Japanese, for XeLaTeX.
  154. %package doc
  155. Summary: TeX Live: Documentation files of %{name}
  156. Group: Applications/Publishing
  157. Requires: %{name} = %{version}-%{release}
  158. %description doc
  159. This package contains documentation files of %{name}.
  160. %prep
  161. %setup -c -n %{name}-%{version}
  162. %__tar -xvf %{SOURCE1}
  163. %__tar -xvf %{SOURCE2}
  164. %__tar -xvf %{SOURCE3}
  165. %__tar -xvf %{SOURCE4}
  166. %__tar -xvf %{SOURCE5}
  167. %__tar -xvf %{SOURCE6}
  168. %__tar -xvf %{SOURCE7}
  169. %__tar -xvf %{SOURCE8}
  170. %__tar -xvf %{SOURCE9}
  171. %__tar -xvf %{SOURCE10}
  172. %__tar -xvf %{SOURCE11}
  173. %__tar -xvf %{SOURCE12}
  174. %__tar -xvf %{SOURCE13}
  175. %__tar -xvf %{SOURCE14}
  176. %__tar -xvf %{SOURCE15}
  177. %__tar -xvf %{SOURCE16}
  178. %__tar -xvf %{SOURCE17}
  179. %__tar -xvf %{SOURCE18}
  180. %__tar -xvf %{SOURCE19}
  181. %__tar -xvf %{SOURCE20}
  182. %__tar -xvf %{SOURCE21}
  183. %__tar -xvf %{SOURCE22}
  184. %__tar -xvf %{SOURCE23}
  185. %__tar -xvf %{SOURCE24}
  186. %__tar -xvf %{SOURCE25}
  187. %__tar -xvf %{SOURCE26}
  188. %__tar -xvf %{SOURCE27}
  189. %__tar -xvf %{SOURCE28}
  190. %__tar -xvf %{SOURCE29}
  191. %__tar -xvf %{SOURCE30}
  192. %__tar -xvf %{SOURCE31}
  193. %__tar -xvf %{SOURCE32}
  194. %__tar -xvf %{SOURCE33}
  195. %__tar -xvf %{SOURCE34}
  196. %__tar -xvf %{SOURCE35}
  197. %__tar -xvf %{SOURCE36}
  198. %__tar -xvf %{SOURCE37}
  199. %__tar -xvf %{SOURCE38}
  200. %__tar -xvf %{SOURCE39}
  201. %__tar -xvf %{SOURCE40}
  202. %__tar -xvf %{SOURCE41}
  203. %__tar -xvf %{SOURCE42}
  204. %__tar -xvf %{SOURCE43}
  205. %__tar -xvf %{SOURCE44}
  206. %__tar -xvf %{SOURCE45}
  207. %__tar -xvf %{SOURCE46}
  208. %__tar -xvf %{SOURCE47}
  209. %__tar -xvf %{SOURCE48}
  210. %__tar -xvf %{SOURCE49}
  211. %__tar -xvf %{SOURCE50}
  212. %__tar -xvf %{SOURCE51}
  213. %__tar -xvf %{SOURCE52}
  214. %__tar -xvf %{SOURCE53}
  215. %__tar -xvf %{SOURCE54}
  216. %__tar -xvf %{SOURCE55}
  217. %build
  218. %install
  219. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  220. %__mkdir_p %{buildroot}%{_datadir}
  221. ## move texmf-dist to /usr/share/texmf-dist
  222. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  223. ## move texmf to /usr/share/texmf
  224. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  225. ## move tlpkg to /usr/share/tlpkg
  226. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  227. ## move all non-arch binaries to /usr/bin
  228. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  229. ## move others into /usr/share/texmf-dist
  230. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  231. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  232. %__rm -rf * ||:
  233. ## remove duplicated files between texlive and texlive-collection-*
  234. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  235. ## remove unpacked files
  236. x=(
  237. scripts/context/stubs/unix/mtxrun
  238. scripts/ptex2pdf/ptex2pdf.lua
  239. scripts/texlive/fmtutil.pl
  240. scripts/texlive/texconfig-dialog.sh
  241. scripts/texlive/texconfig-sys.sh
  242. scripts/texlive/texconfig.sh
  243. scripts/texlive/texlinks.sh
  244. scripts/texlive/tlmgr.pl
  245. scripts/texlive/updmap.pl
  246. texconfig/tcfmgr
  247. web2c/fmtutil.cnf
  248. web2c/mktex.opt
  249. web2c/mktexdir
  250. web2c/mktexdir.opt
  251. web2c/mktexnam
  252. web2c/mktexnam.opt
  253. web2c/mktexupd
  254. web2c/texmf.cnf
  255. web2c/updmap-hdr.cfg
  256. web2c/updmap.cfg
  257. install-tl
  258. )
  259. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  260. pushd %{buildroot}%{_tl_texmfdist}
  261. %__rm -f ${x[@]} ||:
  262. popd
  263. fi
  264. ## Files list
  265. find %{buildroot} -type f -or -type l | \
  266. %__sed -e "s|%{buildroot}||g" > filelist.full
  267. find %{buildroot}%{_tl_texmfdist} -type d | \
  268. %__sed -e "s|^%{buildroot}|%dir |" \
  269. -e "s|$|/|" >> filelist.full
  270. ## subpackages
  271. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  272. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  273. %__mv -f filelist.tmp filelist.full
  274. %clean
  275. %__rm -rf %{buildroot}
  276. %post
  277. %_tl_touch_run texhash
  278. %_tl_touch_run mtxrun
  279. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  280. %_tl_enable_map KanjiMap otf-cktx.map
  281. %_tl_enable_map KanjiMap otf-@kanjiEmbed@.map
  282. %_tl_enable_map KanjiMap otf-up-@kanjiEmbed@.map
  283. %_tl_enable_map KanjiMap ptex-@kanjiEmbed@@kanjiVariant@.map
  284. %_tl_enable_map KanjiMap morisawa.map
  285. %_tl_enable_map KanjiMap uptex-@kanjiEmbed@@kanjiVariant@.map
  286. %_tl_enable_map Map dgj.map
  287. %_tl_enable_map Map dmj.map
  288. %_tl_enable_map Map mc2j.map
  289. %_tl_enable_map Map mcj.map
  290. %_tl_enable_map Map mr2j.map
  291. %_tl_enable_map Map mrj.map
  292. %_tl_touch_run fmtutil
  293. exit 0
  294. %postun
  295. if [ "$1" = 0 ]; then
  296. %_tl_touch_run texhash
  297. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  298. %_tl_disable_map otf-cktx.map
  299. %_tl_disable_map otf-@kanjiEmbed@.map
  300. %_tl_disable_map otf-up-@kanjiEmbed@.map
  301. %_tl_disable_map ptex-@kanjiEmbed@@kanjiVariant@.map
  302. %_tl_disable_map morisawa.map
  303. %_tl_disable_map uptex-@kanjiEmbed@@kanjiVariant@.map
  304. %_tl_disable_map dgj.map
  305. %_tl_disable_map dmj.map
  306. %_tl_disable_map mc2j.map
  307. %_tl_disable_map mcj.map
  308. %_tl_disable_map mr2j.map
  309. %_tl_disable_map mrj.map
  310. fi
  311. exit 0
  312. %posttrans
  313. %{_tl_exec_texhash}
  314. %{_tl_exec_mtxrun}
  315. %{_tl_exec_updmap}
  316. %{_tl_exec_fmtutil}
  317. exit 0
  318. %files -f filelist.full
  319. %defattr(-,root,root,-)
  320. %files -f filelist.doc doc
  321. %defattr(-,root,root,-)
  322. %changelog
  323. * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
  324. - TeX Live 2015/pretest
  325. - synced tlnet to 20150522 (TeX Live 2015/pretest)
  326. * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
  327. - TeX Live 2015/pretest
  328. - synced tlnet to 20150426 (TeX Live 2015/pretest)
  329. * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
  330. - synced tlnet to 20150401
  331. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  332. - synced tlnet to 20141028
  333. * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  334. - synced tlnet to 20140706
  335. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  336. - upgraded to TeX Live 2014
  337. * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
  338. - synced tlnet to 20140406
  339. * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
  340. - synced tlnet to 20131218
  341. * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  342. - synced tlnet to 20131101
  343. * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  344. - synced tlnet to 20131002
  345. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  346. - synced tlnet to 20130919
  347. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  348. - upgraded to TeX Live 2013
  349. - used tlnet archives
  350. - synced tlnet to 20130823
  351. - added macros.texlive
  352. * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  353. - updated to TeX Live 2012
  354. * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  355. - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
  356. - set external dependencies (texlive-collection-binextra,
  357. texlive-collection-fontutils)
  358. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  359. - updated to TeX Live 2011
  360. - merged texlive-vtlpkg-2009-osx.patch from OSXWS
  361. - added %doc README (%files)
  362. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  363. - applied texlive-vtlpkg-2009-vine.patch
  364. - remove arch dependent binaries
  365. - updated tlpdb2rpmspec.sh.in:
  366. - improved tlpdb4a()
  367. - make symlinks of core script utils (texlive-collection-binextra,
  368. texlive-collection-context, texlive-collection-fontutils,
  369. texlive-collection-langgreek, texlive-collection-langindic,
  370. texlive-collection-latex, texlive-collection-latexextra,
  371. texlive-collection-latexrecommended, texlive-collection-pictures,
  372. texlive-collection-pstricks, texlive-collection-science)
  373. * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  374. - updated tlpdb2rpmspec.sh.in:
  375. - improved %post
  376. * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  377. - updated tlpdb2rpmspec.sh.in:
  378. - removed arch dependent binaries (texlive-collection-latexextra)
  379. - improved updmap process in %post and %postun
  380. - fixed perl path
  381. * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  382. - initial build