texlive-collection-langjapanese-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-3:
  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: 2014
  11. Release: 3%{?_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.source.tar.xz
  55. Source40: pxchfon.tar.xz
  56. Source41: pxcjkcat.doc.tar.xz
  57. Source42: pxcjkcat.tar.xz
  58. Source43: pxjahyper.doc.tar.xz
  59. Source44: pxjahyper.tar.xz
  60. Source45: pxrubrica.doc.tar.xz
  61. Source46: pxrubrica.source.tar.xz
  62. Source47: pxrubrica.tar.xz
  63. Source48: uptex.doc.tar.xz
  64. Source49: uptex.source.tar.xz
  65. Source50: uptex.tar.xz
  66. Source51: wadalab.doc.tar.xz
  67. Source52: wadalab.tar.xz
  68. Source53: zxjafbfont.doc.tar.xz
  69. Source54: zxjafbfont.tar.xz
  70. Source55: zxjatype.doc.tar.xz
  71. Source56: zxjatype.tar.xz
  72. Requires: texlive = %{version}
  73. Requires: texlive-collection-langcjk = %{version}
  74. Requires(post): texlive = %{version}
  75. Requires(postun): texlive = %{version}
  76. BuildArch: noarch
  77. Buildroot: %{_tmppath}/%{name}-%{version}-root
  78. Vendor: Project Vine
  79. Distribution: Vine Linux
  80. Packager: munepi
  81. %description
  82. The TeX Live software distribution offers a complete TeX system for a
  83. variety of Unix, Macintosh, Windows and other platforms. It
  84. encompasses programs for editing, typesetting, previewing and printing
  85. of TeX documents in many different languages, and a large collection
  86. of TeX macros and font libraries.
  87. The distribution includes extensive general documentation about TeX,
  88. as well as the documentation for the included software packages.
  89. This package is a collection of Japanese:
  90. Support for Japanese; additional packages in collection-
  91. langcjk.
  92. This package contains the following CTAN packages:
  93. bxbase: BX bundle base components.
  94. bxcjkjatype: Typeset Japanese with pdfLaTeX and CJK.
  95. bxjscls: Document classes based on jsclasses.
  96. convbkmk: Correct platex/uplatex bookmarks in PDF created with hyperref.
  97. ipaex: IPA and IPAex fonts from Information-technology Promotion Agency, Japan.
  98. japanese: A substitute for a babel package for Japanese.
  99. japanese-otf: Advanced font selection for platex and its friends.
  100. japanese-otf-uptex: Support for Japanese OTF files in upLaTeX.
  101. jfontmaps: Font maps and configuration tools for Japanese fonts.
  102. jsclasses: Classes tailored for use with Japanese.
  103. lshort-japanese: Japanese version of A Short Introduction to LaTeX2e
  104. luatexja: Typeset Japanese with lua(la)tex.
  105. ptex: A TeX system for publishing in Japanese.
  106. ptex2pdf: Convert Japanese TeX documents to PDF.
  107. pxbase: Tools for use with (u)pLaTeX.
  108. pxchfon: Japanese font setup for pLaTeX and upLaTeX.
  109. pxcjkcat: LaTeX interface for the CJK category codes of upTeX.
  110. pxjahyper: Hyperref support for pLaTeX.
  111. pxrubrica:
  112. uptex: Unicode version of pTeX.
  113. wadalab: Wadalab (Japanese) font packages.
  114. zxjafbfont: Fallback CJK font support for xeCJK.
  115. zxjatype: Standard conforming typesetting of Japanese, for XeLaTeX.
  116. %description -l ja
  117. TeX Live ソフトウェアディストリビューションは、
  118. さまざまな Unix, Macintosh, Windows、および
  119. 他のプラットホームに対して完全な TeX システムを提供します。
  120. 多くの異なった言語を含む TeX ドキュメントの
  121. 編集、組版、閲覧、印刷するためのプログラム、
  122. そして、TeX マクロやフォントライブラリの大きなコレクションを
  123. 同梱しています。
  124. このディストリビューションは
  125. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  126. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  127. このパッケージは以下のようなパッケージ集です。
  128. Japanese:
  129. Support for Japanese; additional packages in collection-
  130. langcjk.
  131. このパッケージは以下の CTAN パッケージを含んでいます:
  132. bxbase: BX bundle base components.
  133. bxcjkjatype: Typeset Japanese with pdfLaTeX and CJK.
  134. bxjscls: Document classes based on jsclasses.
  135. convbkmk: Correct platex/uplatex bookmarks in PDF created with hyperref.
  136. ipaex: IPA and IPAex fonts from Information-technology Promotion Agency, Japan.
  137. japanese: A substitute for a babel package for Japanese.
  138. japanese-otf: Advanced font selection for platex and its friends.
  139. japanese-otf-uptex: Support for Japanese OTF files in upLaTeX.
  140. jfontmaps: Font maps and configuration tools for Japanese fonts.
  141. jsclasses: Classes tailored for use with Japanese.
  142. lshort-japanese: Japanese version of A Short Introduction to LaTeX2e
  143. luatexja: Typeset Japanese with lua(la)tex.
  144. ptex: A TeX system for publishing in Japanese.
  145. ptex2pdf: Convert Japanese TeX documents to PDF.
  146. pxbase: Tools for use with (u)pLaTeX.
  147. pxchfon: Japanese font setup for pLaTeX and upLaTeX.
  148. pxcjkcat: LaTeX interface for the CJK category codes of upTeX.
  149. pxjahyper: Hyperref support for pLaTeX.
  150. pxrubrica:
  151. uptex: Unicode version of pTeX.
  152. wadalab: Wadalab (Japanese) font packages.
  153. zxjafbfont: Fallback CJK font support for xeCJK.
  154. zxjatype: Standard conforming typesetting of Japanese, for XeLaTeX.
  155. %package doc
  156. Summary: TeX Live: Documentation files of %{name}
  157. Group: Applications/Publishing
  158. Requires: %{name} = %{version}-%{release}
  159. %description doc
  160. This package contains documentation files of %{name}.
  161. %prep
  162. %setup -c -n %{name}-%{version}
  163. %__tar -xvf %{SOURCE1}
  164. %__tar -xvf %{SOURCE2}
  165. %__tar -xvf %{SOURCE3}
  166. %__tar -xvf %{SOURCE4}
  167. %__tar -xvf %{SOURCE5}
  168. %__tar -xvf %{SOURCE6}
  169. %__tar -xvf %{SOURCE7}
  170. %__tar -xvf %{SOURCE8}
  171. %__tar -xvf %{SOURCE9}
  172. %__tar -xvf %{SOURCE10}
  173. %__tar -xvf %{SOURCE11}
  174. %__tar -xvf %{SOURCE12}
  175. %__tar -xvf %{SOURCE13}
  176. %__tar -xvf %{SOURCE14}
  177. %__tar -xvf %{SOURCE15}
  178. %__tar -xvf %{SOURCE16}
  179. %__tar -xvf %{SOURCE17}
  180. %__tar -xvf %{SOURCE18}
  181. %__tar -xvf %{SOURCE19}
  182. %__tar -xvf %{SOURCE20}
  183. %__tar -xvf %{SOURCE21}
  184. %__tar -xvf %{SOURCE22}
  185. %__tar -xvf %{SOURCE23}
  186. %__tar -xvf %{SOURCE24}
  187. %__tar -xvf %{SOURCE25}
  188. %__tar -xvf %{SOURCE26}
  189. %__tar -xvf %{SOURCE27}
  190. %__tar -xvf %{SOURCE28}
  191. %__tar -xvf %{SOURCE29}
  192. %__tar -xvf %{SOURCE30}
  193. %__tar -xvf %{SOURCE31}
  194. %__tar -xvf %{SOURCE32}
  195. %__tar -xvf %{SOURCE33}
  196. %__tar -xvf %{SOURCE34}
  197. %__tar -xvf %{SOURCE35}
  198. %__tar -xvf %{SOURCE36}
  199. %__tar -xvf %{SOURCE37}
  200. %__tar -xvf %{SOURCE38}
  201. %__tar -xvf %{SOURCE39}
  202. %__tar -xvf %{SOURCE40}
  203. %__tar -xvf %{SOURCE41}
  204. %__tar -xvf %{SOURCE42}
  205. %__tar -xvf %{SOURCE43}
  206. %__tar -xvf %{SOURCE44}
  207. %__tar -xvf %{SOURCE45}
  208. %__tar -xvf %{SOURCE46}
  209. %__tar -xvf %{SOURCE47}
  210. %__tar -xvf %{SOURCE48}
  211. %__tar -xvf %{SOURCE49}
  212. %__tar -xvf %{SOURCE50}
  213. %__tar -xvf %{SOURCE51}
  214. %__tar -xvf %{SOURCE52}
  215. %__tar -xvf %{SOURCE53}
  216. %__tar -xvf %{SOURCE54}
  217. %__tar -xvf %{SOURCE55}
  218. %__tar -xvf %{SOURCE56}
  219. %build
  220. %install
  221. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  222. %__mkdir_p %{buildroot}%{_datadir}
  223. ## move texmf-dist to /usr/share/texmf-dist
  224. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  225. ## move texmf to /usr/share/texmf
  226. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  227. ## move tlpkg to /usr/share/tlpkg
  228. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  229. ## move all non-arch binaries to /usr/bin
  230. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  231. ## move others into /usr/share/texmf-dist
  232. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  233. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  234. %__rm -rf * ||:
  235. ## remove duplicated files between texlive and texlive-collection-*
  236. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  237. ## remove unpacked files
  238. x=(
  239. scripts/epstopdf/epstopdf.pl
  240. scripts/texlive/fmtutil.sh
  241. texconfig/tcfmgr
  242. web2c/texmf.cnf
  243. web2c/updmap-hdr.cfg
  244. web2c/updmap.cfg
  245. install-tl
  246. )
  247. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  248. pushd %{buildroot}%{_tl_texmfdist}
  249. %__rm -f ${x[@]} ||:
  250. popd
  251. fi
  252. ## Files list
  253. find %{buildroot} -type f -or -type l | \
  254. %__sed -e "s|%{buildroot}||g" > filelist.full
  255. find %{buildroot}%{_tl_texmfdist} -type d | \
  256. %__sed -e "s|^%{buildroot}|%dir |" \
  257. -e "s|$|/|" >> filelist.full
  258. ## subpackages
  259. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  260. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  261. %__mv -f filelist.tmp filelist.full
  262. %clean
  263. %__rm -rf %{buildroot}
  264. %post
  265. %_tl_touch_run texhash
  266. %_tl_touch_run mtxrun
  267. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  268. %_tl_enable_map KanjiMap otf-cktx.map
  269. %_tl_enable_map KanjiMap otf-@kanjiEmbed@.map
  270. %_tl_enable_map KanjiMap otf-up-@kanjiEmbed@.map
  271. %_tl_enable_map KanjiMap ptex-@kanjiEmbed@@kanjiVariant@.map
  272. %_tl_enable_map KanjiMap morisawa.map
  273. %_tl_enable_map KanjiMap uptex-@kanjiEmbed@@kanjiVariant@.map
  274. %_tl_enable_map Map dgj.map
  275. %_tl_enable_map Map dmj.map
  276. %_tl_enable_map Map mc2j.map
  277. %_tl_enable_map Map mcj.map
  278. %_tl_enable_map Map mr2j.map
  279. %_tl_enable_map Map mrj.map
  280. %_tl_touch_run fmtutil
  281. exit 0
  282. %postun
  283. if [ "$1" = 0 ]; then
  284. %_tl_touch_run texhash
  285. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  286. %_tl_disable_map otf-cktx.map
  287. %_tl_disable_map otf-@kanjiEmbed@.map
  288. %_tl_disable_map otf-up-@kanjiEmbed@.map
  289. %_tl_disable_map ptex-@kanjiEmbed@@kanjiVariant@.map
  290. %_tl_disable_map morisawa.map
  291. %_tl_disable_map uptex-@kanjiEmbed@@kanjiVariant@.map
  292. %_tl_disable_map dgj.map
  293. %_tl_disable_map dmj.map
  294. %_tl_disable_map mc2j.map
  295. %_tl_disable_map mcj.map
  296. %_tl_disable_map mr2j.map
  297. %_tl_disable_map mrj.map
  298. fi
  299. exit 0
  300. %posttrans
  301. %{_tl_exec_texhash}
  302. %{_tl_exec_mtxrun}
  303. %{_tl_exec_updmap}
  304. %{_tl_exec_fmtutil}
  305. exit 0
  306. %files -f filelist.full
  307. %defattr(-,root,root,-)
  308. %files -f filelist.doc doc
  309. %defattr(-,root,root,-)
  310. %changelog
  311. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  312. - synced tlnet to 20141028
  313. * Sun Jul 6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  314. - synced tlnet to 20140706
  315. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  316. - synced tlnet to 20140524