texlive-collection-langother-vl.spec 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-2:
  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: 2015
  11. Release: 2%{?_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/context/stubs/unix/mtxrun
  236. scripts/ptex2pdf/ptex2pdf.lua
  237. scripts/texlive/fmtutil.pl
  238. scripts/texlive/texconfig-dialog.sh
  239. scripts/texlive/texconfig-sys.sh
  240. scripts/texlive/texconfig.sh
  241. scripts/texlive/texlinks.sh
  242. scripts/texlive/tlmgr.pl
  243. scripts/texlive/updmap.pl
  244. texconfig/tcfmgr
  245. web2c/fmtutil.cnf
  246. web2c/mktex.opt
  247. web2c/mktexdir
  248. web2c/mktexdir.opt
  249. web2c/mktexnam
  250. web2c/mktexnam.opt
  251. web2c/mktexupd
  252. web2c/texmf.cnf
  253. web2c/updmap-hdr.cfg
  254. web2c/updmap.cfg
  255. install-tl
  256. )
  257. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  258. pushd %{buildroot}%{_tl_texmfdist}
  259. %__rm -f ${x[@]} ||:
  260. popd
  261. fi
  262. ## Files list
  263. find %{buildroot} -type f -or -type l | \
  264. %__sed -e "s|%{buildroot}||g" > filelist.full
  265. find %{buildroot}%{_tl_texmfdist} -type d | \
  266. %__sed -e "s|^%{buildroot}|%dir |" \
  267. -e "s|$|/|" >> filelist.full
  268. ## subpackages
  269. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  270. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  271. %__mv -f filelist.tmp filelist.full
  272. %clean
  273. %__rm -rf %{buildroot}
  274. %post
  275. %_tl_touch_run texhash
  276. %_tl_touch_run mtxrun
  277. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  278. %_tl_enable_map Map syriac.map
  279. %_tl_enable_map Map cjhebrew.map
  280. %_tl_enable_map Map nectec.map
  281. %_tl_enable_map Map nf.map
  282. %_tl_enable_map Map sipa.map
  283. %_tl_enable_map Map tlwg.map
  284. %_tl_enable_map Map arevvn.map
  285. %_tl_enable_map Map chartervn.map
  286. %_tl_enable_map Map cmbrightvn.map
  287. %_tl_enable_map Map concretevn.map
  288. %_tl_enable_map Map grotesqvn.map
  289. %_tl_enable_map Map txttvn.map
  290. %_tl_enable_map Map urwvn.map
  291. %_tl_enable_map MixedMap vnrother.map
  292. %_tl_enable_map MixedMap vnrtext.map
  293. %_tl_enable_map Map vntopia.map
  294. %_tl_touch_run fmtutil
  295. exit 0
  296. %postun
  297. if [ "$1" = 0 ]; then
  298. %_tl_touch_run texhash
  299. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  300. %_tl_disable_map syriac.map
  301. %_tl_disable_map cjhebrew.map
  302. %_tl_disable_map nectec.map
  303. %_tl_disable_map nf.map
  304. %_tl_disable_map sipa.map
  305. %_tl_disable_map tlwg.map
  306. %_tl_disable_map arevvn.map
  307. %_tl_disable_map chartervn.map
  308. %_tl_disable_map cmbrightvn.map
  309. %_tl_disable_map concretevn.map
  310. %_tl_disable_map grotesqvn.map
  311. %_tl_disable_map txttvn.map
  312. %_tl_disable_map urwvn.map
  313. %_tl_disable_map vnrother.map
  314. %_tl_disable_map vnrtext.map
  315. %_tl_disable_map vntopia.map
  316. fi
  317. exit 0
  318. %posttrans
  319. %{_tl_exec_texhash}
  320. %{_tl_exec_mtxrun}
  321. %{_tl_exec_updmap}
  322. %{_tl_exec_fmtutil}
  323. exit 0
  324. %files -f filelist.full
  325. %defattr(-,root,root,-)
  326. %files -f filelist.doc doc
  327. %defattr(-,root,root,-)
  328. %changelog
  329. * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
  330. - TeX Live 2015/pretest
  331. - synced tlnet to 20150522 (TeX Live 2015/pretest)
  332. * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
  333. - TeX Live 2015/pretest
  334. - synced tlnet to 20150426 (TeX Live 2015/pretest)
  335. * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
  336. - synced tlnet to 20150401
  337. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  338. - synced tlnet to 20141028
  339. * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  340. - synced tlnet to 20140706
  341. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  342. - upgraded to TeX Live 2014
  343. * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
  344. - synced tlnet to 20140406
  345. * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
  346. - synced tlnet to 20131218
  347. * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  348. - synced tlnet to 20131101
  349. * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  350. - synced tlnet to 20131002
  351. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  352. - synced tlnet to 20130919
  353. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  354. - upgraded to TeX Live 2013
  355. - used tlnet archives
  356. - synced tlnet to 20130823
  357. - added macros.texlive
  358. * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  359. - updated to TeX Live 2012
  360. * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  361. - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
  362. - set external dependencies (texlive-collection-binextra,
  363. texlive-collection-fontutils)
  364. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  365. - updated to TeX Live 2011
  366. - merged texlive-vtlpkg-2009-osx.patch from OSXWS
  367. - added %doc README (%files)
  368. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  369. - applied texlive-vtlpkg-2009-vine.patch
  370. - remove arch dependent binaries
  371. - updated tlpdb2rpmspec.sh.in:
  372. - improved tlpdb4a()
  373. - make symlinks of core script utils (texlive-collection-binextra,
  374. texlive-collection-context, texlive-collection-fontutils,
  375. texlive-collection-langgreek, texlive-collection-langindic,
  376. texlive-collection-latex, texlive-collection-latexextra,
  377. texlive-collection-latexrecommended, texlive-collection-pictures,
  378. texlive-collection-pstricks, texlive-collection-science)
  379. * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  380. - updated tlpdb2rpmspec.sh.in:
  381. - improved %post
  382. * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  383. - updated tlpdb2rpmspec.sh.in:
  384. - removed arch dependent binaries (texlive-collection-latexextra)
  385. - improved updmap process in %post and %postun
  386. - fixed perl path
  387. * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  388. - initial build