texlive-collection-langother-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-4:
  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: 2013
  11. Release: 4%{?_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 documentation.
  90. aramaic-serto: Fonts and LaTeX for Syriac written in Serto.
  91. babel-bahasa: Support for Bahasa within babel.
  92. babel-esperanto:
  93. babel-georgian: Babel
  94. babel-hebrew:
  95. babel-interlingua:
  96. babel-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:
  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 documentation.
  133. aramaic-serto: Fonts and LaTeX for Syriac written in Serto.
  134. babel-bahasa: Support for Bahasa within babel.
  135. babel-esperanto:
  136. babel-georgian: Babel
  137. babel-hebrew:
  138. babel-interlingua:
  139. babel-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:
  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/fontools/autoinst
  236. scripts/texlive/tlmgr.pl
  237. scripts/texlive/updmap.pl
  238. texconfig/tcfmgr
  239. texconfig/tcfmgr.map
  240. web2c/fmtutil.cnf
  241. web2c/mktex.opt
  242. web2c/mktexdir
  243. web2c/mktexdir.opt
  244. web2c/mktexnam
  245. web2c/mktexnam.opt
  246. web2c/mktexupd
  247. web2c/texmf.cnf
  248. web2c/updmap.cfg
  249. web2c/updmap-hdr.cfg
  250. doc/chktex/ChkTeX.pdf
  251. install-tl
  252. )
  253. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  254. pushd %{buildroot}%{_tl_texmfdist}
  255. %__rm -f ${x[@]} ||:
  256. popd
  257. fi
  258. ## Files list
  259. find %{buildroot} -type f -or -type l | \
  260. %__sed -e "s|%{buildroot}||g" > filelist.full
  261. find %{buildroot}%{_tl_texmfdist} -type d | \
  262. %__sed -e "s|^%{buildroot}|%dir |" \
  263. -e "s|$|/|" >> filelist.full
  264. ## subpackages
  265. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  266. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  267. %__mv -f filelist.tmp filelist.full
  268. %clean
  269. %__rm -rf %{buildroot}
  270. %post
  271. %_tl_touch_run texhash
  272. %_tl_touch_run mtxrun
  273. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  274. %_tl_enable_map Map syriac.map
  275. %_tl_enable_map Map cjhebrew.map
  276. %_tl_enable_map Map nectec.map
  277. %_tl_enable_map Map nf.map
  278. %_tl_enable_map Map tlwg.map
  279. %_tl_enable_map Map arevvn.map
  280. %_tl_enable_map Map chartervn.map
  281. %_tl_enable_map Map cmbrightvn.map
  282. %_tl_enable_map Map concretevn.map
  283. %_tl_enable_map Map grotesqvn.map
  284. %_tl_enable_map Map txttvn.map
  285. %_tl_enable_map Map urwvn.map
  286. %_tl_enable_map MixedMap vnrother.map
  287. %_tl_enable_map MixedMap vnrtext.map
  288. %_tl_enable_map Map vntopia.map
  289. %_tl_touch_run fmtutil
  290. exit 0
  291. %postun
  292. if [ "$1" = 0 ]; then
  293. %_tl_touch_run texhash
  294. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  295. %_tl_disable_map syriac.map
  296. %_tl_disable_map cjhebrew.map
  297. %_tl_disable_map nectec.map
  298. %_tl_disable_map nf.map
  299. %_tl_disable_map tlwg.map
  300. %_tl_disable_map arevvn.map
  301. %_tl_disable_map chartervn.map
  302. %_tl_disable_map cmbrightvn.map
  303. %_tl_disable_map concretevn.map
  304. %_tl_disable_map grotesqvn.map
  305. %_tl_disable_map txttvn.map
  306. %_tl_disable_map urwvn.map
  307. %_tl_disable_map vnrother.map
  308. %_tl_disable_map vnrtext.map
  309. %_tl_disable_map vntopia.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. * Fri Nov 1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  324. - TLNET 20131101
  325. * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  326. - TLNET 20131002
  327. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  328. - TLNET 20130919
  329. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  330. - generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-langother
  331. - TLNET 20130823