texlive-collection-langother-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1:
  3. ## tlpdb2rpmspec collection-langother
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Other languages
  8. Summary(ja): TeX Live: Other languages
  9. Name: texlive-collection-langother
  10. Version: 2014
  11. Release: 1%{?_dist_release}
  12. License: LGPLv2+, LPPL 1.3, LPPL, GPL+, Public Domain, Freely redistributable without restriction
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: amsldoc-vn.doc.tar.xz
  16. Source1: amsldoc-vn.tar.xz
  17. Source2: aramaic-serto.doc.tar.xz
  18. Source3: aramaic-serto.tar.xz
  19. Source4: babel-bahasa.doc.tar.xz
  20. Source5: babel-bahasa.source.tar.xz
  21. Source6: babel-bahasa.tar.xz
  22. Source7: babel-esperanto.doc.tar.xz
  23. Source8: babel-esperanto.source.tar.xz
  24. Source9: babel-esperanto.tar.xz
  25. Source10: babel-georgian.doc.tar.xz
  26. Source11: babel-georgian.tar.xz
  27. Source12: babel-hebrew.doc.tar.xz
  28. Source13: babel-hebrew.source.tar.xz
  29. Source14: babel-hebrew.tar.xz
  30. Source15: babel-interlingua.doc.tar.xz
  31. Source16: babel-interlingua.source.tar.xz
  32. Source17: babel-interlingua.tar.xz
  33. Source18: babel-sorbian.doc.tar.xz
  34. Source19: babel-sorbian.source.tar.xz
  35. Source20: babel-sorbian.tar.xz
  36. Source21: babel-thai.doc.tar.xz
  37. Source22: babel-thai.source.tar.xz
  38. Source23: babel-thai.tar.xz
  39. Source24: babel-vietnamese.source.tar.xz
  40. Source25: babel-vietnamese.tar.xz
  41. Source26: cjhebrew.doc.tar.xz
  42. Source27: cjhebrew.tar.xz
  43. Source28: ctib.doc.tar.xz
  44. Source29: ctib.source.tar.xz
  45. Source30: ctib.tar.xz
  46. Source31: fonts-tlwg.doc.tar.xz
  47. Source32: fonts-tlwg.source.tar.xz
  48. Source33: fonts-tlwg.tar.xz
  49. Source34: hyphen-afrikaans.tar.xz
  50. Source35: hyphen-coptic.tar.xz
  51. Source36: hyphen-esperanto.tar.xz
  52. Source37: hyphen-georgian.tar.xz
  53. Source38: hyphen-indonesian.tar.xz
  54. Source39: hyphen-interlingua.tar.xz
  55. Source40: hyphen-thai.tar.xz
  56. Source41: hyphen-turkmen.tar.xz
  57. Source42: lshort-thai.doc.tar.xz
  58. Source43: lshort-thai.tar.xz
  59. Source44: lshort-vietnamese.doc.tar.xz
  60. Source45: lshort-vietnamese.tar.xz
  61. Source46: ntheorem-vn.doc.tar.xz
  62. Source47: ntheorem-vn.tar.xz
  63. Source48: vntex.doc.tar.xz
  64. Source49: vntex.source.tar.xz
  65. Source50: vntex.tar.xz
  66. Requires: texlive = %{version}
  67. Requires: texlive-collection-basic = %{version}
  68. Requires(post): texlive = %{version}
  69. Requires(postun): texlive = %{version}
  70. BuildArch: noarch
  71. Buildroot: %{_tmppath}/%{name}-%{version}-root
  72. Vendor: Project Vine
  73. Distribution: Vine Linux
  74. Packager: munepi
  75. %description
  76. The TeX Live software distribution offers a complete TeX system for a
  77. variety of Unix, Macintosh, Windows and other platforms. It
  78. encompasses programs for editing, typesetting, previewing and printing
  79. of TeX documents in many different languages, and a large collection
  80. of TeX macros and font libraries.
  81. The distribution includes extensive general documentation about TeX,
  82. as well as the documentation for the included software packages.
  83. This package is a collection of Other languages:
  84. Support for languages not otherwise listed, including Thai,
  85. Vietnamese, Hebrew, Indonesian, and plenty more. The split is
  86. made simply on the basis of the size of the support, to keep
  87. both collection sizes and the number of collections reasonable.
  88. This package contains the following CTAN packages:
  89. amsldoc-vn: Vietnamese translation of AMSLaTeX documentation.
  90. aramaic-serto: Fonts and LaTeX for Syriac written in Serto.
  91. babel-bahasa: Support for Bahasa within babel.
  92. babel-esperanto: Babel support for Esperanto.
  93. babel-georgian: Babel
  94. babel-hebrew: Babel support for Hebrew.
  95. babel-interlingua: Babel support for Interlingua.
  96. babel-sorbian: Babel support for Upper and Lower Sorbian.
  97. babel-thai: Support for Thai within babel
  98. babel-vietnamese: Babel support for typesetting Vietnamese.
  99. cjhebrew: Typeset Hebrew with LaTeX.
  100. ctib: Tibetan for TeX and LATeX2e.
  101. fonts-tlwg: Thai fonts for LaTeX from TLWG.
  102. hyphen-afrikaans: Afrikaans hyphenation patterns.
  103. hyphen-coptic: Coptic hyphenation patterns.
  104. hyphen-esperanto: Esperanto hyphenation patterns.
  105. hyphen-georgian: Georgian hyphenation patterns.
  106. hyphen-indonesian: Indonesian hyphenation patterns.
  107. hyphen-interlingua: Interlingua hyphenation patterns.
  108. hyphen-thai: Thai hyphenation patterns.
  109. hyphen-turkmen: Turkmen hyphenation patterns.
  110. lshort-thai: Introduction to LaTeX in Thai.
  111. lshort-vietnamese: Vietnamese version of the LaTeX introduction.
  112. ntheorem-vn: Vietnamese translation of documentation of ntheorem.
  113. vntex: Support for Vietnamese.
  114. %description -l ja
  115. TeX Live ソフトウェアディストリビューションは、
  116. さまざまな Unix, Macintosh, Windows、および
  117. 他のプラットホームに対して完全な TeX システムを提供します。
  118. 多くの異なった言語を含む TeX ドキュメントの
  119. 編集、組版、閲覧、印刷するためのプログラム、
  120. そして、TeX マクロやフォントライブラリの大きなコレクションを
  121. 同梱しています。
  122. このディストリビューションは
  123. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  124. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  125. このパッケージは以下のようなパッケージ集です。
  126. Other languages:
  127. Support for languages not otherwise listed, including Thai,
  128. Vietnamese, Hebrew, Indonesian, and plenty more. The split is
  129. made simply on the basis of the size of the support, to keep
  130. both collection sizes and the number of collections reasonable.
  131. このパッケージは以下の CTAN パッケージを含んでいます:
  132. amsldoc-vn: Vietnamese translation of AMSLaTeX documentation.
  133. aramaic-serto: Fonts and LaTeX for Syriac written in Serto.
  134. babel-bahasa: Support for Bahasa within babel.
  135. babel-esperanto: Babel support for Esperanto.
  136. babel-georgian: Babel
  137. babel-hebrew: Babel support for Hebrew.
  138. babel-interlingua: Babel support for Interlingua.
  139. babel-sorbian: Babel support for Upper and Lower Sorbian.
  140. babel-thai: Support for Thai within babel
  141. babel-vietnamese: Babel support for typesetting Vietnamese.
  142. cjhebrew: Typeset Hebrew with LaTeX.
  143. ctib: Tibetan for TeX and LATeX2e.
  144. fonts-tlwg: Thai fonts for LaTeX from TLWG.
  145. hyphen-afrikaans: Afrikaans hyphenation patterns.
  146. hyphen-coptic: Coptic hyphenation patterns.
  147. hyphen-esperanto: Esperanto hyphenation patterns.
  148. hyphen-georgian: Georgian hyphenation patterns.
  149. hyphen-indonesian: Indonesian hyphenation patterns.
  150. hyphen-interlingua: Interlingua hyphenation patterns.
  151. hyphen-thai: Thai hyphenation patterns.
  152. hyphen-turkmen: Turkmen hyphenation patterns.
  153. lshort-thai: Introduction to LaTeX in Thai.
  154. lshort-vietnamese: Vietnamese version of the LaTeX introduction.
  155. ntheorem-vn: Vietnamese translation of documentation of ntheorem.
  156. vntex: Support for Vietnamese.
  157. %package doc
  158. Summary: TeX Live: Documentation files of %{name}
  159. Group: Applications/Publishing
  160. Requires: %{name} = %{version}-%{release}
  161. %description doc
  162. This package contains documentation files of %{name}.
  163. %prep
  164. %setup -c -n %{name}-%{version}
  165. %__tar -xvf %{SOURCE1}
  166. %__tar -xvf %{SOURCE2}
  167. %__tar -xvf %{SOURCE3}
  168. %__tar -xvf %{SOURCE4}
  169. %__tar -xvf %{SOURCE5}
  170. %__tar -xvf %{SOURCE6}
  171. %__tar -xvf %{SOURCE7}
  172. %__tar -xvf %{SOURCE8}
  173. %__tar -xvf %{SOURCE9}
  174. %__tar -xvf %{SOURCE10}
  175. %__tar -xvf %{SOURCE11}
  176. %__tar -xvf %{SOURCE12}
  177. %__tar -xvf %{SOURCE13}
  178. %__tar -xvf %{SOURCE14}
  179. %__tar -xvf %{SOURCE15}
  180. %__tar -xvf %{SOURCE16}
  181. %__tar -xvf %{SOURCE17}
  182. %__tar -xvf %{SOURCE18}
  183. %__tar -xvf %{SOURCE19}
  184. %__tar -xvf %{SOURCE20}
  185. %__tar -xvf %{SOURCE21}
  186. %__tar -xvf %{SOURCE22}
  187. %__tar -xvf %{SOURCE23}
  188. %__tar -xvf %{SOURCE24}
  189. %__tar -xvf %{SOURCE25}
  190. %__tar -xvf %{SOURCE26}
  191. %__tar -xvf %{SOURCE27}
  192. %__tar -xvf %{SOURCE28}
  193. %__tar -xvf %{SOURCE29}
  194. %__tar -xvf %{SOURCE30}
  195. %__tar -xvf %{SOURCE31}
  196. %__tar -xvf %{SOURCE32}
  197. %__tar -xvf %{SOURCE33}
  198. %__tar -xvf %{SOURCE34}
  199. %__tar -xvf %{SOURCE35}
  200. %__tar -xvf %{SOURCE36}
  201. %__tar -xvf %{SOURCE37}
  202. %__tar -xvf %{SOURCE38}
  203. %__tar -xvf %{SOURCE39}
  204. %__tar -xvf %{SOURCE40}
  205. %__tar -xvf %{SOURCE41}
  206. %__tar -xvf %{SOURCE42}
  207. %__tar -xvf %{SOURCE43}
  208. %__tar -xvf %{SOURCE44}
  209. %__tar -xvf %{SOURCE45}
  210. %__tar -xvf %{SOURCE46}
  211. %__tar -xvf %{SOURCE47}
  212. %__tar -xvf %{SOURCE48}
  213. %__tar -xvf %{SOURCE49}
  214. %__tar -xvf %{SOURCE50}
  215. %build
  216. %install
  217. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  218. %__mkdir_p %{buildroot}%{_datadir}
  219. ## move texmf-dist to /usr/share/texmf-dist
  220. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  221. ## move texmf to /usr/share/texmf
  222. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  223. ## move tlpkg to /usr/share/tlpkg
  224. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  225. ## move all non-arch binaries to /usr/bin
  226. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  227. ## move others into /usr/share/texmf-dist
  228. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  229. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  230. %__rm -rf * ||:
  231. ## remove duplicated files between texlive and texlive-collection-*
  232. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  233. ## remove unpacked files
  234. x=(
  235. # scripts/texlive/tlmgr.pl
  236. # scripts/texlive/updmap.pl
  237. # scripts/fontools/autoinst
  238. # scripts/glossaries/makeglossaries
  239. # scripts/m-tx/m-tx.lua
  240. # scripts/musixtex/musixtex.lua
  241. # scripts/pmx/pmx2pdf.lua
  242. # scripts/latexmk/latexmk.pl
  243. # scripts/jfontmaps/kanji-config-updmap.pl
  244. # scripts/jfontmaps/kanji-fontmap-creator.pl
  245. # scripts/latexpand/latexpand
  246. # scripts/epstopdf/epstopdf.pl
  247. # scripts/convbkmk/convbkmk.rb
  248. # scripts/jfontmaps/kanji-config-updmap-sys.sh
  249. # scripts/luaotfload/luaotfload-tool.lua
  250. # texconfig/tcfmgr
  251. # texconfig/tcfmgr.map
  252. # web2c/fmtutil.cnf
  253. # web2c/mktex.opt
  254. # web2c/mktexdir
  255. # web2c/mktexdir.opt
  256. # web2c/mktexnam
  257. # web2c/mktexnam.opt
  258. # web2c/mktexupd
  259. # web2c/texmf.cnf
  260. # web2c/updmap.cfg
  261. # web2c/updmap-hdr.cfg
  262. # doc/chktex/ChkTeX.pdf
  263. install-tl
  264. )
  265. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  266. pushd %{buildroot}%{_tl_texmfdist}
  267. %__rm -f ${x[@]} ||:
  268. popd
  269. fi
  270. ## Files list
  271. find %{buildroot} -type f -or -type l | \
  272. %__sed -e "s|%{buildroot}||g" > filelist.full
  273. find %{buildroot}%{_tl_texmfdist} -type d | \
  274. %__sed -e "s|^%{buildroot}|%dir |" \
  275. -e "s|$|/|" >> filelist.full
  276. ## subpackages
  277. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  278. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  279. %__mv -f filelist.tmp filelist.full
  280. %clean
  281. %__rm -rf %{buildroot}
  282. %post
  283. %_tl_touch_run texhash
  284. %_tl_touch_run mtxrun
  285. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  286. %_tl_enable_map Map syriac.map
  287. %_tl_enable_map Map cjhebrew.map
  288. %_tl_enable_map Map nectec.map
  289. %_tl_enable_map Map nf.map
  290. %_tl_enable_map Map tlwg.map
  291. %_tl_enable_map Map arevvn.map
  292. %_tl_enable_map Map chartervn.map
  293. %_tl_enable_map Map cmbrightvn.map
  294. %_tl_enable_map Map concretevn.map
  295. %_tl_enable_map Map grotesqvn.map
  296. %_tl_enable_map Map txttvn.map
  297. %_tl_enable_map Map urwvn.map
  298. %_tl_enable_map MixedMap vnrother.map
  299. %_tl_enable_map MixedMap vnrtext.map
  300. %_tl_enable_map Map vntopia.map
  301. %_tl_touch_run fmtutil
  302. exit 0
  303. %postun
  304. if [ "$1" = 0 ]; then
  305. %_tl_touch_run texhash
  306. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  307. %_tl_disable_map syriac.map
  308. %_tl_disable_map cjhebrew.map
  309. %_tl_disable_map nectec.map
  310. %_tl_disable_map nf.map
  311. %_tl_disable_map tlwg.map
  312. %_tl_disable_map arevvn.map
  313. %_tl_disable_map chartervn.map
  314. %_tl_disable_map cmbrightvn.map
  315. %_tl_disable_map concretevn.map
  316. %_tl_disable_map grotesqvn.map
  317. %_tl_disable_map txttvn.map
  318. %_tl_disable_map urwvn.map
  319. %_tl_disable_map vnrother.map
  320. %_tl_disable_map vnrtext.map
  321. %_tl_disable_map vntopia.map
  322. fi
  323. exit 0
  324. %posttrans
  325. %{_tl_exec_texhash}
  326. %{_tl_exec_mtxrun}
  327. %{_tl_exec_updmap}
  328. %{_tl_exec_fmtutil}
  329. exit 0
  330. %files -f filelist.full
  331. %defattr(-,root,root,-)
  332. %files -f filelist.doc doc
  333. %defattr(-,root,root,-)
  334. %changelog
  335. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  336. - TLNET 20140524