texlive-collection-langindic-vl.spec 10 KB

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