texlive-collection-langarabic-vl.spec 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-5:
  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: 2013
  11. Release: 5%{?_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: ghab.doc.tar.xz
  25. Source10: ghab.tar.xz
  26. Source11: hyphen-arabic.tar.xz
  27. Source12: hyphen-farsi.tar.xz
  28. Source13: imsproc.doc.tar.xz
  29. Source14: imsproc.tar.xz
  30. Source15: lshort-persian.doc.tar.xz
  31. Source16: lshort-persian.tar.xz
  32. Source17: persian-bib.doc.tar.xz
  33. Source18: persian-bib.tar.xz
  34. Source19: persian-modern.doc.tar.xz
  35. Source20: persian-modern.source.tar.xz
  36. Source21: persian-modern.tar.xz
  37. Source22: simurgh.doc.tar.xz
  38. Source23: simurgh.tar.xz
  39. Source24: tram.doc.tar.xz
  40. Source25: tram.tar.xz
  41. Requires: texlive = %{version}
  42. Requires: texlive-collection-basic = %{version}
  43. Requires(post): texlive = %{version}
  44. Requires(postun): texlive = %{version}
  45. BuildArch: noarch
  46. Buildroot: %{_tmppath}/%{name}-%{version}-root
  47. Vendor: Project Vine
  48. Distribution: Vine Linux
  49. Packager: munepi
  50. %description
  51. The TeX Live software distribution offers a complete TeX system for a
  52. variety of Unix, Macintosh, Windows and other platforms. It
  53. encompasses programs for editing, typesetting, previewing and printing
  54. of TeX documents in many different languages, and a large collection
  55. of TeX macros and font libraries.
  56. The distribution includes extensive general documentation about TeX,
  57. as well as the documentation for the included software packages.
  58. This package is a collection of Arabic:
  59. Support for Arabic and Persian.
  60. This package contains the following CTAN packages:
  61. amiri: A classical Arabic typeface, Naskh style.
  62. arabi: (La)TeX support for Arabic and Farsi, compliant with Babel.
  63. arabtex: Macros and fonts for typesetting Arabic.
  64. bidi: Bidirectional typesetting in plain TeX and LaTeX, using XeTeX engine.
  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. persian-modern: The "Persian Modern" family of fonts.
  72. simurgh: Typeset Parsi in LuaLaTeX.
  73. tram: Typeset tram boxes in LaTeX.
  74. %description -l ja
  75. TeX Live ソフトウェアディストリビューションは、
  76. さまざまな Unix, Macintosh, Windows、および
  77. 他のプラットホームに対して完全な TeX システムを提供します。
  78. 多くの異なった言語を含む TeX ドキュメントの
  79. 編集、組版、閲覧、印刷するためのプログラム、
  80. そして、TeX マクロやフォントライブラリの大きなコレクションを
  81. 同梱しています。
  82. このディストリビューションは
  83. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  84. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  85. このパッケージは以下のようなパッケージ集です。
  86. Arabic:
  87. Support for Arabic and Persian.
  88. このパッケージは以下の CTAN パッケージを含んでいます:
  89. amiri: A classical Arabic typeface, Naskh style.
  90. arabi: (La)TeX support for Arabic and Farsi, compliant with Babel.
  91. arabtex: Macros and fonts for typesetting Arabic.
  92. bidi: Bidirectional typesetting in plain TeX and LaTeX, using XeTeX engine.
  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. persian-modern: The "Persian Modern" family of fonts.
  100. simurgh: Typeset Parsi in LuaLaTeX.
  101. tram: Typeset tram boxes in LaTeX.
  102. %package doc
  103. Summary: TeX Live: Documentation files of %{name}
  104. Group: Applications/Publishing
  105. Requires: %{name} = %{version}-%{release}
  106. %description doc
  107. This package contains documentation files of %{name}.
  108. %prep
  109. %setup -c -n %{name}-%{version}
  110. %__tar -xvf %{SOURCE1}
  111. %__tar -xvf %{SOURCE2}
  112. %__tar -xvf %{SOURCE3}
  113. %__tar -xvf %{SOURCE4}
  114. %__tar -xvf %{SOURCE5}
  115. %__tar -xvf %{SOURCE6}
  116. %__tar -xvf %{SOURCE7}
  117. %__tar -xvf %{SOURCE8}
  118. %__tar -xvf %{SOURCE9}
  119. %__tar -xvf %{SOURCE10}
  120. %__tar -xvf %{SOURCE11}
  121. %__tar -xvf %{SOURCE12}
  122. %__tar -xvf %{SOURCE13}
  123. %__tar -xvf %{SOURCE14}
  124. %__tar -xvf %{SOURCE15}
  125. %__tar -xvf %{SOURCE16}
  126. %__tar -xvf %{SOURCE17}
  127. %__tar -xvf %{SOURCE18}
  128. %__tar -xvf %{SOURCE19}
  129. %__tar -xvf %{SOURCE20}
  130. %__tar -xvf %{SOURCE21}
  131. %__tar -xvf %{SOURCE22}
  132. %__tar -xvf %{SOURCE23}
  133. %__tar -xvf %{SOURCE24}
  134. %__tar -xvf %{SOURCE25}
  135. %build
  136. %install
  137. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  138. %__mkdir_p %{buildroot}%{_datadir}
  139. ## move texmf-dist to /usr/share/texmf-dist
  140. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  141. ## move texmf to /usr/share/texmf
  142. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  143. ## move tlpkg to /usr/share/tlpkg
  144. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  145. ## move all non-arch binaries to /usr/bin
  146. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  147. ## move others into /usr/share/texmf-dist
  148. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  149. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  150. %__rm -rf * ||:
  151. ## remove duplicated files between texlive and texlive-collection-*
  152. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  153. ## remove unpacked files
  154. x=(
  155. scripts/fontools/autoinst
  156. scripts/texlive/tlmgr.pl
  157. scripts/texlive/updmap.pl
  158. texconfig/tcfmgr
  159. texconfig/tcfmgr.map
  160. web2c/fmtutil.cnf
  161. web2c/mktex.opt
  162. web2c/mktexdir
  163. web2c/mktexdir.opt
  164. web2c/mktexnam
  165. web2c/mktexnam.opt
  166. web2c/mktexupd
  167. web2c/texmf.cnf
  168. web2c/updmap.cfg
  169. web2c/updmap-hdr.cfg
  170. doc/chktex/ChkTeX.pdf
  171. install-tl
  172. )
  173. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  174. pushd %{buildroot}%{_tl_texmfdist}
  175. %__rm -f ${x[@]} ||:
  176. popd
  177. fi
  178. ## Files list
  179. find %{buildroot} -type f -or -type l | \
  180. %__sed -e "s|%{buildroot}||g" > filelist.full
  181. find %{buildroot}%{_tl_texmfdist} -type d | \
  182. %__sed -e "s|^%{buildroot}|%dir |" \
  183. -e "s|$|/|" >> filelist.full
  184. ## subpackages
  185. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  186. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  187. %__mv -f filelist.tmp filelist.full
  188. %clean
  189. %__rm -rf %{buildroot}
  190. %post
  191. %_tl_touch_run texhash
  192. %_tl_touch_run mtxrun
  193. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  194. %_tl_enable_map Map arabi.map
  195. %_tl_enable_map MixedMap arabtex.map
  196. %_tl_touch_run fmtutil
  197. exit 0
  198. %postun
  199. if [ "$1" = 0 ]; then
  200. %_tl_touch_run texhash
  201. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  202. %_tl_disable_map arabi.map
  203. %_tl_disable_map arabtex.map
  204. fi
  205. exit 0
  206. %posttrans
  207. %{_tl_exec_texhash}
  208. %{_tl_exec_mtxrun}
  209. %{_tl_exec_updmap}
  210. %{_tl_exec_fmtutil}
  211. exit 0
  212. %files -f filelist.full
  213. %defattr(-,root,root,-)
  214. %files -f filelist.doc doc
  215. %defattr(-,root,root,-)
  216. %changelog
  217. * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
  218. - TLNET 20131218
  219. * Fri Nov 1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  220. - TLNET 20131101
  221. * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  222. - TLNET 20131002
  223. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  224. - TLNET 20130919
  225. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  226. - TLNET 20130823