texlive-collection-langarabic-vl.spec 13 KB

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