texlive-collection-omega-vl.spec 11 KB

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