texlive-collection-latex3-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3:
  3. ## tlpdb2rpmspec collection-latex3
  4. %bcond_with firstbuild
  5. %define tex_destdir %{_datadir}
  6. %define texmf %{tex_destdir}/texmf
  7. %define texlive_src %{tex_destdir}/texlive-sources
  8. %define build_tex_destdir %{buildroot}%{tex_destdir}
  9. %define build_texmf %{buildroot}%{texmf}
  10. %define exec_mktexlsr [ -x %{_bindir}/texconfig-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/texconfig-sys rehash
  11. %define exec_texhash [ -x %{_bindir}/texhash ] && PATH=%{_bindir}:$PATH %{_bindir}/texhash
  12. %define exec_updmap [ -x %{_bindir}/updmap-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/updmap-sys --nostop
  13. %define exec_fmtutil [ -x %{_bindir}/fmtutil-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/fmtutil-sys --all >/dev/null 2>&1
  14. %define exec_upddeffont [ -x %{_sbindir}/update-defaultfont ] && %{_sbindir}/update-defaultfont 2> /dev/null
  15. %define vartexfonts %{_var}/lib/texmf
  16. %define __find_provides %{nil}
  17. %define __find_requires %{nil}
  18. %define __perl_provides %{nil}
  19. %define __perl_requires %{nil}
  20. Autoreq: 0
  21. Summary: TeX Live: LaTeX3 packages
  22. Summary(ja): TeX Live: LaTeX3 packages
  23. Name: texlive-collection-latex3
  24. Version: 2009
  25. Release: 3%{?_dist_release}
  26. License: LPPL
  27. Group: Applications/Publishing
  28. URL:http://www.tug.org/texlive/
  29. Requires: texlive = %{version}
  30. Requires: texlive-collection-latex = %{version}
  31. Requires(post): texlive = %{version}
  32. Requires(postun): texlive = %{version}
  33. BuildRequires: texlive-sources = %{version}
  34. BuildArch: noarch
  35. Buildroot: %{_tmppath}/%{name}-%{version}-root
  36. Vendor: Project Vine
  37. Distribution: Vine Linux
  38. Packager: munepi
  39. %description
  40. The TeX Live software distribution offers a complete TeX system for a
  41. variety of Unix, Macintosh, Windows and other platforms. It
  42. encompasses programs for editing, typesetting, previewing and printing
  43. of TeX documents in many different languages, and a large collection
  44. of TeX macros and font libraries.
  45. The distribution includes extensive general documentation about TeX,
  46. as well as the documentation for the included software packages.
  47. This package is a collection of LaTeX3 packages:
  48. This package contains the following CTAN packages:
  49. expl3: Packages showing a proposed LaTeX3 programming convention.
  50. keys3:
  51. mh: The MH bundle
  52. xpackages: High-level LaTeX3 concepts.
  53. %description -l ja
  54. TeX Live ソフトウェアディストリビューションは、
  55. さまざまな Unix, Macintosh, Windows、および
  56. 他のプラットホームに対して完全な TeX システムを提供します。
  57. 多くの異なった言語を含む TeX ドキュメントの
  58. 編集、組版、閲覧、印刷するためのプログラム、
  59. そして、TeX マクロやフォントライブラリの大きなコレクションを
  60. 同梱しています。
  61. このディストリビューションは
  62. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  63. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  64. このパッケージは以下のようなパッケージ集です。
  65. LaTeX3 packages:
  66. このパッケージは以下の CTAN パッケージを含んでいます:
  67. expl3: Packages showing a proposed LaTeX3 programming convention.
  68. keys3:
  69. mh: The MH bundle
  70. xpackages: High-level LaTeX3 concepts.
  71. %package doc
  72. Summary: TeX Live: Documentation files of %{name}
  73. Group: Applications/Publishing
  74. Requires: %{name} = %{version}-%{release}
  75. %description doc
  76. This package contains documentation files of %{name}.
  77. %prep
  78. %build
  79. %install
  80. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  81. PREF=%{buildroot}%{tex_destdir}
  82. manifest=(
  83. texmf-dist/doc/latex/expl3/README
  84. texmf-dist/doc/latex/expl3/expl3.pdf
  85. texmf-dist/doc/latex/expl3/source3.pdf
  86. texmf-dist/source/latex/expl3/expl3.dtx
  87. texmf-dist/source/latex/expl3/l3.ins
  88. texmf-dist/source/latex/expl3/l3alloc.dtx
  89. texmf-dist/source/latex/expl3/l3basics.dtx
  90. texmf-dist/source/latex/expl3/l3box.dtx
  91. texmf-dist/source/latex/expl3/l3calc.dtx
  92. texmf-dist/source/latex/expl3/l3chk.dtx
  93. texmf-dist/source/latex/expl3/l3clist.dtx
  94. texmf-dist/source/latex/expl3/l3doc.dtx
  95. texmf-dist/source/latex/expl3/l3expan.dtx
  96. texmf-dist/source/latex/expl3/l3file.dtx
  97. texmf-dist/source/latex/expl3/l3final.dtx
  98. texmf-dist/source/latex/expl3/l3format.ins
  99. texmf-dist/source/latex/expl3/l3int.dtx
  100. texmf-dist/source/latex/expl3/l3intexpr.dtx
  101. texmf-dist/source/latex/expl3/l3io.dtx
  102. texmf-dist/source/latex/expl3/l3keys.dtx
  103. texmf-dist/source/latex/expl3/l3keyval.dtx
  104. texmf-dist/source/latex/expl3/l3msg.dtx
  105. texmf-dist/source/latex/expl3/l3names.dtx
  106. texmf-dist/source/latex/expl3/l3num.dtx
  107. texmf-dist/source/latex/expl3/l3precom.dtx
  108. texmf-dist/source/latex/expl3/l3prg.dtx
  109. texmf-dist/source/latex/expl3/l3prop.dtx
  110. texmf-dist/source/latex/expl3/l3quark.dtx
  111. texmf-dist/source/latex/expl3/l3seq.dtx
  112. texmf-dist/source/latex/expl3/l3skip.dtx
  113. texmf-dist/source/latex/expl3/l3tl.dtx
  114. texmf-dist/source/latex/expl3/l3token.dtx
  115. texmf-dist/source/latex/expl3/l3toks.dtx
  116. texmf-dist/source/latex/expl3/l3vers.dtx
  117. texmf-dist/source/latex/expl3/l3xref.dtx
  118. texmf-dist/source/latex/expl3/source3.tex
  119. texmf-dist/makeindex/expl3/l3doc.ist
  120. texmf-dist/tex/latex/expl3/expl3.sty
  121. texmf-dist/tex/latex/expl3/l3basics.sty
  122. texmf-dist/tex/latex/expl3/l3box.sty
  123. texmf-dist/tex/latex/expl3/l3calc.sty
  124. texmf-dist/tex/latex/expl3/l3chk.sty
  125. texmf-dist/tex/latex/expl3/l3clist.sty
  126. texmf-dist/tex/latex/expl3/l3doc.cls
  127. texmf-dist/tex/latex/expl3/l3expan.sty
  128. texmf-dist/tex/latex/expl3/l3file.sty
  129. texmf-dist/tex/latex/expl3/l3int.sty
  130. texmf-dist/tex/latex/expl3/l3intexpr.sty
  131. texmf-dist/tex/latex/expl3/l3io.sty
  132. texmf-dist/tex/latex/expl3/l3keys.sty
  133. texmf-dist/tex/latex/expl3/l3keyval.sty
  134. texmf-dist/tex/latex/expl3/l3msg.sty
  135. texmf-dist/tex/latex/expl3/l3names.sty
  136. texmf-dist/tex/latex/expl3/l3num.sty
  137. texmf-dist/tex/latex/expl3/l3precom.sty
  138. texmf-dist/tex/latex/expl3/l3prg.sty
  139. texmf-dist/tex/latex/expl3/l3prop.sty
  140. texmf-dist/tex/latex/expl3/l3quark.sty
  141. texmf-dist/tex/latex/expl3/l3seq.sty
  142. texmf-dist/tex/latex/expl3/l3skip.sty
  143. texmf-dist/tex/latex/expl3/l3tl.sty
  144. texmf-dist/tex/latex/expl3/l3token.sty
  145. texmf-dist/tex/latex/expl3/l3toks.sty
  146. texmf-dist/tex/latex/expl3/l3xref.sty
  147. texmf-dist/doc/latex/keys3/README
  148. texmf-dist/doc/latex/keys3/keys3-test.tex
  149. texmf-dist/doc/latex/keys3/keys3.pdf
  150. texmf-dist/doc/latex/keys3/keys3opts2.pdf
  151. texmf-dist/source/latex/keys3/keys3.dtx
  152. texmf-dist/source/latex/keys3/keys3.ins
  153. texmf-dist/source/latex/keys3/keys3opts2.dtx
  154. texmf-dist/source/latex/keys3/keys3opts2.ins
  155. texmf-dist/tex/latex/keys3/keys3.sty
  156. texmf-dist/tex/latex/keys3/keys3opts2.sty
  157. texmf-dist/doc/latex/mh/README
  158. texmf-dist/doc/latex/mh/breqn-technotes.pdf
  159. texmf-dist/doc/latex/mh/breqn.pdf
  160. texmf-dist/doc/latex/mh/empheq.pdf
  161. texmf-dist/doc/latex/mh/flexisym.pdf
  162. texmf-dist/doc/latex/mh/mathstyle.pdf
  163. texmf-dist/doc/latex/mh/mathtools.pdf
  164. texmf-dist/doc/latex/mh/mhsetup.pdf
  165. texmf-dist/doc/latex/mh/xfrac.pdf
  166. texmf-dist/source/latex/mh/breqn-technotes.tex
  167. texmf-dist/source/latex/mh/breqn.dtx
  168. texmf-dist/source/latex/mh/empheq.dtx
  169. texmf-dist/source/latex/mh/flexisym.dtx
  170. texmf-dist/source/latex/mh/mathstyle.dtx
  171. texmf-dist/source/latex/mh/mathtools.dtx
  172. texmf-dist/source/latex/mh/mhsetup.dtx
  173. texmf-dist/source/latex/mh/xfrac.dtx
  174. texmf-dist/tex/latex/mh/breqn.sty
  175. texmf-dist/tex/latex/mh/cmbase.sym
  176. texmf-dist/tex/latex/mh/empheq.sty
  177. texmf-dist/tex/latex/mh/flexisym.sty
  178. texmf-dist/tex/latex/mh/mathpazo.sym
  179. texmf-dist/tex/latex/mh/mathptmx.sym
  180. texmf-dist/tex/latex/mh/mathstyle.sty
  181. texmf-dist/tex/latex/mh/mathtools.sty
  182. texmf-dist/tex/latex/mh/mhsetup.sty
  183. texmf-dist/tex/latex/mh/msabm.sym
  184. texmf-dist/tex/latex/mh/xfrac.sty
  185. texmf-dist/doc/latex/xpackages/README
  186. texmf-dist/doc/latex/xpackages/xbase/ldcsetup.pdf
  187. texmf-dist/doc/latex/xpackages/xbase/template.pdf
  188. texmf-dist/doc/latex/xpackages/xbase/xparse.pdf
  189. texmf-dist/doc/latex/xpackages/xtras/l3keys2e.pdf
  190. texmf-dist/source/latex/xpackages/xbase/ldcsetup.dtx
  191. texmf-dist/source/latex/xpackages/xbase/template-test.tex
  192. texmf-dist/source/latex/xpackages/xbase/template-test2.tex
  193. texmf-dist/source/latex/xpackages/xbase/template.dtx
  194. texmf-dist/source/latex/xpackages/xbase/tprestrict-test.tex
  195. texmf-dist/source/latex/xpackages/xbase/xbase.ins
  196. texmf-dist/source/latex/xpackages/xbase/xparse-test.tex
  197. texmf-dist/source/latex/xpackages/xbase/xparse.dtx
  198. texmf-dist/source/latex/xpackages/xtras/l3keys2e-demo.tex
  199. texmf-dist/source/latex/xpackages/xtras/l3keys2e.dtx
  200. texmf-dist/source/latex/xpackages/xtras/l3keys2e.ins
  201. texmf-dist/tex/latex/xpackages/xbase/ldcsetup.sty
  202. texmf-dist/tex/latex/xpackages/xbase/template.sty
  203. texmf-dist/tex/latex/xpackages/xbase/xparse.sty
  204. texmf-dist/tex/latex/xpackages/xtras/l3keys2e.sty
  205. )
  206. %__mkdir_p ${PREF}/texmf-dist
  207. for i in "${manifest[@]}"; do
  208. %__install -D %{texlive_src}/$i ${PREF}/$i
  209. done
  210. ## info
  211. %__rm -f %{buildroot}%{_infodir}/dir
  212. %__gzip -9nf %{buildroot}%{_infodir}/*info* ||:
  213. ## man
  214. ## man t1* files are provided by t1utils
  215. for i in t1ascii t1asm t1binary t1disasm t1mac t1unmac; do
  216. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  217. done
  218. ## man some files are provided by psutils
  219. for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps getafm includeres psbook psmerge psnup psresize psselect pstops; do
  220. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  221. done
  222. ## fix perl path
  223. for i in source/metapost/expressg/expressg.dtx \
  224. doc/metapost/expressg/n2mpsprl.prl \
  225. doc/latex/songbook/contrib/crd2sb/crd2sb; do
  226. [ -f %{build_texmf}-dist/${i} ] && \
  227. %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
  228. done
  229. ## remove asymptote directries, which provides asymptote package
  230. find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
  231. # find %{buildroot} -name "Makefile" | xargs %__rm -f
  232. # ## remove xindy
  233. # find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf
  234. # ## remove tex4ht
  235. # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
  236. ## remove arch dependent binaries
  237. %__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
  238. ## remove unpackaging files
  239. find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
  240. find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
  241. ## Files list
  242. find %{buildroot} -type f -or -type l | \
  243. %__sed -e "s|%{buildroot}||g" > filelist.full
  244. find %{buildroot}%{texmf}-dist -type d | \
  245. %__sed -e "s|^%{buildroot}|%dir |" \
  246. -e "s|$|/|" >> filelist.full
  247. ## subpackages
  248. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  249. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  250. %__mv -f filelist.tmp filelist.full
  251. %clean
  252. %__rm -rf %{buildroot}
  253. %post
  254. %{exec_texhash}
  255. exit 0
  256. %postun
  257. if [ "$1" = 0 ]; then
  258. %{exec_texhash}
  259. fi
  260. exit 0
  261. %files -f filelist.full
  262. %defattr(-,root,root)
  263. %files -f filelist.doc doc
  264. %defattr(-,root,root)
  265. %changelog
  266. * Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  267. - generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-latex3
  268. - improved %%post
  269. * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  270. - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-latex3
  271. - removed arch dependent binaries (texlive-collection-latexextra)
  272. - fixed perl path
  273. - improved updmap process in %%post and %%postun
  274. * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  275. - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-latex3