texlive-collection-langarabic-vl.spec 10 KB

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