texlive-collection-langarabic-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2016-4:
  3. ## tlpdb2rpmspec collection-langarabic
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Arabic
  8. Summary(ja): TeX Live: Arabic
  9. Name: texlive-collection-langarabic
  10. Version: 2016
  11. Release: 4%{?_dist_release}
  12. License: OFSFLD, LPPL, Unknown, GPLv3+, LPPL 1.3, Public Domain, GPLv2+
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: amiri.doc.tar.xz
  16. Source1: amiri.tar.xz
  17. Source2: arabi.doc.tar.xz
  18. Source3: arabi.tar.xz
  19. Source4: arabi-add.doc.tar.xz
  20. Source5: arabi-add.tar.xz
  21. Source6: arabluatex.doc.tar.xz
  22. Source7: arabluatex.source.tar.xz
  23. Source8: arabluatex.tar.xz
  24. Source9: arabtex.doc.tar.xz
  25. Source10: arabtex.tar.xz
  26. Source11: bidi.doc.tar.xz
  27. Source12: bidi.source.tar.xz
  28. Source13: bidi.tar.xz
  29. Source14: bidihl.doc.tar.xz
  30. Source15: bidihl.tar.xz
  31. Source16: dad.doc.tar.xz
  32. Source17: dad.tar.xz
  33. Source18: ghab.doc.tar.xz
  34. Source19: ghab.tar.xz
  35. Source20: hyphen-arabic.tar.xz
  36. Source21: hyphen-farsi.tar.xz
  37. Source22: imsproc.doc.tar.xz
  38. Source23: imsproc.tar.xz
  39. Source24: lshort-persian.doc.tar.xz
  40. Source25: lshort-persian.tar.xz
  41. Source26: persian-bib.doc.tar.xz
  42. Source27: persian-bib.tar.xz
  43. Source28: simurgh.doc.tar.xz
  44. Source29: simurgh.tar.xz
  45. Source30: tram.doc.tar.xz
  46. Source31: tram.tar.xz
  47. Requires: texlive = %{version}
  48. Requires: texlive-collection-basic = %{version}
  49. Requires(post): texlive = %{version}
  50. Requires(postun): texlive = %{version}
  51. BuildArch: noarch
  52. Buildroot: %{_tmppath}/%{name}-%{version}-root
  53. Vendor: Project Vine
  54. Distribution: Vine Linux
  55. Packager: munepi
  56. %description
  57. The TeX Live software distribution offers a complete TeX system for a
  58. variety of Unix, Macintosh, Windows and other platforms. It
  59. encompasses programs for editing, typesetting, previewing and printing
  60. of TeX documents in many different languages, and a large collection
  61. of TeX macros and font libraries.
  62. The distribution includes extensive general documentation about TeX,
  63. as well as the documentation for the included software packages.
  64. This package is a collection of Arabic:
  65. Support for Arabic and Persian.
  66. This package contains the following CTAN packages:
  67. amiri: A classical Arabic typeface, Naskh style
  68. arabi: (La)TeX support for Arabic and Farsi, compliant with Babel
  69. arabi-add: Using hyperref and bookmark packages with arabic and farsi languages
  70. arabluatex: An ArabTeX-like interface for LuaLaTeX
  71. arabtex: Macros and fonts for typesetting Arabic
  72. bidi: Bidirectional typesetting in plain TeX and LaTeX, using XeTeX engine
  73. bidihl: Experimental bidi-aware text highlighting
  74. dad: Simple typesetting system for mixed Arabic/Latin documents
  75. ghab: Typeset ghab boxes in LaTeX
  76. hyphen-arabic: (No) Arabic hyphenation patterns.
  77. hyphen-farsi: (No) Persian hyphenation patterns.
  78. imsproc: Typeset IMS conference proceedings
  79. lshort-persian: Persian (Farsi) introduction to LaTeX
  80. persian-bib: Persian translations of classic BibTeX styles
  81. simurgh: Typeset Parsi in LuaLaTeX
  82. tram: Typeset tram boxes in LaTeX
  83. %description -l ja
  84. TeX Live ソフトウェアディストリビューションは、
  85. さまざまな Unix, Macintosh, Windows、および
  86. 他のプラットホームに対して完全な TeX システムを提供します。
  87. 多くの異なった言語を含む TeX ドキュメントの
  88. 編集、組版、閲覧、印刷するためのプログラム、
  89. そして、TeX マクロやフォントライブラリの大きなコレクションを
  90. 同梱しています。
  91. このディストリビューションは
  92. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  93. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  94. このパッケージは以下のようなパッケージ集です。
  95. Arabic:
  96. Support for Arabic and Persian.
  97. このパッケージは以下の CTAN パッケージを含んでいます:
  98. amiri: A classical Arabic typeface, Naskh style
  99. arabi: (La)TeX support for Arabic and Farsi, compliant with Babel
  100. arabi-add: Using hyperref and bookmark packages with arabic and farsi languages
  101. arabluatex: An ArabTeX-like interface for LuaLaTeX
  102. arabtex: Macros and fonts for typesetting Arabic
  103. bidi: Bidirectional typesetting in plain TeX and LaTeX, using XeTeX engine
  104. bidihl: Experimental bidi-aware text highlighting
  105. dad: Simple typesetting system for mixed Arabic/Latin documents
  106. ghab: Typeset ghab boxes in LaTeX
  107. hyphen-arabic: (No) Arabic hyphenation patterns.
  108. hyphen-farsi: (No) Persian hyphenation patterns.
  109. imsproc: Typeset IMS conference proceedings
  110. lshort-persian: Persian (Farsi) introduction to LaTeX
  111. persian-bib: Persian translations of classic BibTeX styles
  112. simurgh: Typeset Parsi in LuaLaTeX
  113. tram: Typeset tram boxes in LaTeX
  114. %package doc
  115. Summary: TeX Live: Documentation files of %{name}
  116. Group: Applications/Publishing
  117. Requires: %{name} = %{version}-%{release}
  118. %description doc
  119. This package contains documentation files of %{name}.
  120. %prep
  121. %setup -c -n %{name}-%{version}
  122. %__tar -xvf %{SOURCE1}
  123. %__tar -xvf %{SOURCE2}
  124. %__tar -xvf %{SOURCE3}
  125. %__tar -xvf %{SOURCE4}
  126. %__tar -xvf %{SOURCE5}
  127. %__tar -xvf %{SOURCE6}
  128. %__tar -xvf %{SOURCE7}
  129. %__tar -xvf %{SOURCE8}
  130. %__tar -xvf %{SOURCE9}
  131. %__tar -xvf %{SOURCE10}
  132. %__tar -xvf %{SOURCE11}
  133. %__tar -xvf %{SOURCE12}
  134. %__tar -xvf %{SOURCE13}
  135. %__tar -xvf %{SOURCE14}
  136. %__tar -xvf %{SOURCE15}
  137. %__tar -xvf %{SOURCE16}
  138. %__tar -xvf %{SOURCE17}
  139. %__tar -xvf %{SOURCE18}
  140. %__tar -xvf %{SOURCE19}
  141. %__tar -xvf %{SOURCE20}
  142. %__tar -xvf %{SOURCE21}
  143. %__tar -xvf %{SOURCE22}
  144. %__tar -xvf %{SOURCE23}
  145. %__tar -xvf %{SOURCE24}
  146. %__tar -xvf %{SOURCE25}
  147. %__tar -xvf %{SOURCE26}
  148. %__tar -xvf %{SOURCE27}
  149. %__tar -xvf %{SOURCE28}
  150. %__tar -xvf %{SOURCE29}
  151. %__tar -xvf %{SOURCE30}
  152. %__tar -xvf %{SOURCE31}
  153. %build
  154. %install
  155. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  156. %__mkdir_p %{buildroot}%{_datadir}
  157. ## move texmf-dist to /usr/share/texmf-dist
  158. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  159. ## move texmf to /usr/share/texmf
  160. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  161. ## move tlpkg to /usr/share/tlpkg
  162. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  163. ## move all non-arch binaries to /usr/bin
  164. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  165. ## move others into /usr/share/texmf-dist
  166. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  167. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  168. %__rm -rf * ||:
  169. ## remove duplicated files between texlive and texlive-collection-*
  170. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  171. ## remove unpacked files
  172. x=(
  173. dvipdfmx/dvipdfmx.cfg
  174. scripts/context/stubs/unix/mtxrun
  175. scripts/latexmk/latexmk.pl
  176. scripts/ptex2pdf/ptex2pdf.lua
  177. scripts/texlive/fmtutil.pl
  178. scripts/texlive/texconfig-dialog.sh
  179. scripts/texlive/texconfig-sys.sh
  180. scripts/texlive/texconfig.sh
  181. scripts/texlive/texlinks.sh
  182. scripts/texlive/tlmgr.pl
  183. scripts/texlive/updmap.pl
  184. texconfig/tcfmgr
  185. web2c/fmtutil.cnf
  186. web2c/mktex.opt
  187. web2c/mktexdir
  188. web2c/mktexdir.opt
  189. web2c/mktexnam
  190. web2c/mktexnam.opt
  191. web2c/mktexupd
  192. web2c/texmf.cnf
  193. web2c/updmap-hdr.cfg
  194. web2c/updmap.cfg
  195. install-tl
  196. #
  197. scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
  198. scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
  199. scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
  200. scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
  201. scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
  202. scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
  203. scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
  204. scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
  205. scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
  206. scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
  207. scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
  208. scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
  209. scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
  210. scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
  211. scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
  212. scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
  213. scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
  214. scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
  215. scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
  216. scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
  217. scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
  218. scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
  219. )
  220. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  221. pushd %{buildroot}%{_tl_texmfdist}
  222. %__rm -f ${x[@]} ||:
  223. popd
  224. fi
  225. ## Files list
  226. find %{buildroot} -type f -or -type l | \
  227. %__sed -e "s|%{buildroot}||g" > filelist.full
  228. find %{buildroot}%{_tl_texmfdist} -type d | \
  229. %__sed -e "s|^%{buildroot}|%dir |" \
  230. -e "s|$|/|" >> filelist.full
  231. ## subpackages
  232. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  233. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  234. %__mv -f filelist.tmp filelist.full
  235. %clean
  236. %__rm -rf %{buildroot}
  237. %post
  238. %_tl_touch_run texhash
  239. %_tl_touch_run mtxrun
  240. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  241. %_tl_enable_map Map arabi.map
  242. %_tl_enable_map MixedMap arabtex.map
  243. %_tl_enable_map Map dad.map
  244. %_tl_touch_run fmtutil
  245. exit 0
  246. %postun
  247. if [ "$1" = 0 ]; then
  248. %_tl_touch_run texhash
  249. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  250. %_tl_disable_map arabi.map
  251. %_tl_disable_map arabtex.map
  252. %_tl_disable_map dad.map
  253. fi
  254. exit 0
  255. %posttrans
  256. %{_tl_exec_texhash}
  257. %{_tl_exec_mtxrun}
  258. %{_tl_exec_updmap}
  259. %{_tl_exec_fmtutil}
  260. exit 0
  261. %files -f filelist.full
  262. %defattr(-,root,root,-)
  263. %files -f filelist.doc doc
  264. %defattr(-,root,root,-)
  265. %changelog
  266. * Tue Jun 07 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-4
  267. - synced tlnet to 20160607 (TeX Live 2016)
  268. * Sat May 14 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-3
  269. - synced tlnet to 20160514 (TeX Live 2016/pretest)
  270. * Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-2
  271. - synced tlnet to 20160510 (TeX Live 2016/pretest)
  272. * Thu Apr 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-1
  273. - TeX Live 2016/pretest
  274. - synced tlnet to 20160428 (TeX Live 2016/pretest)
  275. * Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
  276. - remove duplicated files from texlive-collection-*
  277. - synced tlnet to 20160113 (TeX Live 2015)
  278. * Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
  279. - TeX Live 2016/dev
  280. - synced tlnet to 20160110 (TeX Live 2016/dev)
  281. * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
  282. - TeX Live 2015/pretest
  283. - synced tlnet to 20150522 (TeX Live 2015/pretest)
  284. * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
  285. - TeX Live 2015/pretest
  286. - synced tlnet to 20150426 (TeX Live 2015/pretest)
  287. * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
  288. - synced tlnet to 20150401
  289. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  290. - synced tlnet to 20141028
  291. * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  292. - synced tlnet to 20140706
  293. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  294. - upgraded to TeX Live 2014
  295. * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
  296. - synced tlnet to 20140406
  297. * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
  298. - synced tlnet to 20131218
  299. * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  300. - synced tlnet to 20131101
  301. * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  302. - synced tlnet to 20131002
  303. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  304. - synced tlnet to 20130919
  305. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  306. - upgraded to TeX Live 2013
  307. - used tlnet archives
  308. - synced tlnet to 20130823
  309. - added macros.texlive
  310. * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  311. - updated to TeX Live 2012
  312. * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  313. - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
  314. - set external dependencies (texlive-collection-binextra,
  315. texlive-collection-fontutils)
  316. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  317. - updated to TeX Live 2011
  318. - merged texlive-vtlpkg-2009-osx.patch from OSXWS
  319. - added %doc README (%files)
  320. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  321. - applied texlive-vtlpkg-2009-vine.patch
  322. - remove arch dependent binaries
  323. - updated tlpdb2rpmspec.sh.in:
  324. - improved tlpdb4a()
  325. - make symlinks of core script utils (texlive-collection-binextra,
  326. texlive-collection-context, texlive-collection-fontutils,
  327. texlive-collection-langgreek, texlive-collection-langindic,
  328. texlive-collection-latex, texlive-collection-latexextra,
  329. texlive-collection-latexrecommended, texlive-collection-pictures,
  330. texlive-collection-pstricks, texlive-collection-science)
  331. * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  332. - updated tlpdb2rpmspec.sh.in:
  333. - improved %post
  334. * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  335. - updated tlpdb2rpmspec.sh.in:
  336. - removed arch dependent binaries (texlive-collection-latexextra)
  337. - improved updmap process in %post and %postun
  338. - fixed perl path
  339. * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  340. - initial build