texlive-collection-formatsextra-vl.spec 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2:
  3. ## tlpdb2rpmspec collection-formatsextra
  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: Extra formats
  22. Summary(ja): TeX Live: Extra formats
  23. Name: texlive-collection-formatsextra
  24. Version: 2009
  25. Release: 2%{?_dist_release}
  26. License: GPL+, LPPL, Freely redistributable without restriction, Knuth, No Info, Public Domain
  27. Group: Applications/Publishing
  28. URL:http://www.tug.org/texlive/
  29. Requires: texlive = %{version}
  30. Requires: texlive-collection-basic = %{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 Extra formats:
  48. A collection of TeX `formats', ie large-scale macro packages
  49. designed to be dumped into .fmt file
  50. This package contains the following CTAN packages:
  51. alatex: Abstract LaTeX.
  52. edmac: Typeset scholarly edition.
  53. eplain: Extended plain tex macros.
  54. mltex: The MLTeX system.
  55. physe: The PHYSE format.
  56. phyzzx: A TeX format for physicists.
  57. psizzl: A TeX format for physics papers.
  58. startex: An XML-inspired format for student use.
  59. texsis: Plain TeX macros for Physicists.
  60. ytex: Macro package developed at MIT.
  61. %description -l ja
  62. TeX Live ソフトウェアディストリビューションは、
  63. さまざまな Unix, Macintosh, Windows、および
  64. 他のプラットホームに対して完全な TeX システムを提供します。
  65. 多くの異なった言語を含む TeX ドキュメントの
  66. 編集、組版、閲覧、印刷するためのプログラム、
  67. そして、TeX マクロやフォントライブラリの大きなコレクションを
  68. 同梱しています。
  69. このディストリビューションは
  70. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  71. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  72. このパッケージは以下のようなパッケージ集です。
  73. Extra formats:
  74. A collection of TeX `formats', ie large-scale macro packages
  75. designed to be dumped into .fmt file
  76. このパッケージは以下の CTAN パッケージを含んでいます:
  77. alatex: Abstract LaTeX.
  78. edmac: Typeset scholarly edition.
  79. eplain: Extended plain tex macros.
  80. mltex: The MLTeX system.
  81. physe: The PHYSE format.
  82. phyzzx: A TeX format for physicists.
  83. psizzl: A TeX format for physics papers.
  84. startex: An XML-inspired format for student use.
  85. texsis: Plain TeX macros for Physicists.
  86. ytex: Macro package developed at MIT.
  87. %package doc
  88. Summary: TeX Live: Documentation files of %{name}
  89. Group: Applications/Publishing
  90. Requires: %{name} = %{version}-%{release}
  91. %description doc
  92. This package contains documentation files of %{name}.
  93. %prep
  94. %build
  95. %install
  96. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  97. PREF=%{buildroot}%{tex_destdir}
  98. manifest=(
  99. texmf-dist/doc/otherformats/alatex/base/alatex.tex
  100. texmf-dist/source/alatex/base/0areadme.txt
  101. texmf-dist/source/alatex/base/COPYING
  102. texmf-dist/source/alatex/base/Makefile
  103. texmf-dist/source/alatex/base/README
  104. texmf-dist/source/alatex/base/VERSION-1.0
  105. texmf-dist/source/alatex/base/abugs.txt
  106. texmf-dist/source/alatex/base/ainstall.txt
  107. texmf-dist/source/alatex/base/alatex.dtx
  108. texmf-dist/source/alatex/base/alatex.ltx
  109. texmf-dist/source/alatex/base/amanifst.txt
  110. texmf-dist/source/alatex/base/aunpack.ins
  111. texmf-dist/source/alatex/base/aunpcked.txt
  112. texmf-dist/source/alatex/base/testdist.dtx
  113. texmf-dist/tex/alatex/base/metaclas.cfg
  114. texmf-dist/doc/latex/edmac/COPYRIGHT
  115. texmf-dist/doc/latex/edmac/braonain.tex
  116. texmf-dist/doc/latex/edmac/copying
  117. texmf-dist/doc/latex/edmac/ed-nfss.txt
  118. texmf-dist/doc/latex/edmac/edmac.doc
  119. texmf-dist/doc/latex/edmac/edstanza.doc
  120. texmf-dist/doc/latex/edmac/edszadoc.tex
  121. texmf-dist/doc/latex/edmac/features.tex
  122. texmf-dist/doc/latex/edmac/readme
  123. texmf-dist/source/latex/edmac/edmac.drv
  124. texmf-dist/tex/generic/edmac/edmac.tex
  125. texmf-dist/tex/generic/edmac/edmacfss.sty
  126. texmf-dist/tex/generic/edmac/edstanza.tex
  127. texmf-dist/tex/generic/edmac/tabmac.tex
  128. texmf-dist/doc/eplain/AUTHORS
  129. texmf-dist/doc/eplain/COPYING
  130. texmf-dist/doc/eplain/ChangeLog
  131. texmf-dist/doc/eplain/INSTALL
  132. texmf-dist/doc/eplain/NEWS
  133. texmf-dist/doc/eplain/PROJECTS
  134. texmf-dist/doc/eplain/README
  135. texmf-dist/doc/eplain/README.TOP
  136. texmf-dist/doc/eplain/demo/Makefile
  137. texmf-dist/doc/eplain/demo/lscommnt.tex
  138. texmf-dist/doc/eplain/demo/xhyper.tex
  139. texmf-dist/doc/eplain/doc/eplain.html
  140. texmf-dist/doc/eplain/doc/eplain.pdf
  141. texmf-dist/doc/eplain/doc/lscommnt.jpg
  142. texmf-dist/doc/eplain/doc/xhyper.jpg
  143. texmf-dist/doc/eplain/util/idxuniq
  144. texmf-dist/doc/eplain/util/trimsee
  145. texmf-dist/source/eplain/eplain-source-3.3.zip
  146. texmf-dist/source/eplain/xeplain.tex
  147. texmf-dist/tex/eplain/arrow.tex
  148. texmf-dist/tex/eplain/btxmac.tex
  149. texmf-dist/tex/eplain/eplain.aux
  150. texmf-dist/tex/eplain/eplain.ini
  151. texmf-dist/tex/eplain/eplain.tex
  152. texmf-dist/doc/latex/mltex/README
  153. texmf-dist/doc/latex/mltex/mltex.txt
  154. texmf-dist/doc/latex/mltex/testmlft.dvi
  155. texmf-dist/doc/latex/mltex/testmlft.tex
  156. texmf-dist/doc/latex/mltex/testmlsw.dvi
  157. texmf-dist/doc/latex/mltex/testmlsw.tex
  158. texmf-dist/tex/latex/mltex/lo1enc.def
  159. texmf-dist/tex/latex/mltex/mlltxchg.def
  160. texmf-dist/tex/latex/mltex/mltex.sty
  161. texmf-dist/tex/mltex/config/mltex.ini
  162. texmf-dist/tex/physe/base/physe.tex
  163. texmf-dist/tex/physe/base/physupdt.tex
  164. texmf-dist/tex/physe/config/physe.ini
  165. texmf-dist/doc/otherformats/phyzzx/base/phyzdoc.dvi
  166. texmf-dist/doc/otherformats/phyzzx/base/phyzdoc.tex
  167. texmf-dist/tex/phyzzx/base/myphyx.tex
  168. texmf-dist/tex/phyzzx/base/phyzzx.fonts
  169. texmf-dist/tex/phyzzx/base/phyzzx.local
  170. texmf-dist/tex/phyzzx/base/phyzzx.plus
  171. texmf-dist/tex/phyzzx/base/phyzzx.tex
  172. texmf-dist/tex/phyzzx/config/phyzzx.ini
  173. texmf-dist/doc/otherformats/psizzl/base/psizzl.commands
  174. texmf-dist/doc/otherformats/psizzl/base/psizzl.doc
  175. texmf-dist/source/psizzl/base/aaaread.me
  176. texmf-dist/tex/psizzl/base/chapters.Psizzl
  177. texmf-dist/tex/psizzl/base/citation.Psizzl
  178. texmf-dist/tex/psizzl/base/fontdefs.Psizzl
  179. texmf-dist/tex/psizzl/base/index.Psizzl
  180. texmf-dist/tex/psizzl/base/institut.Psizzl
  181. texmf-dist/tex/psizzl/base/letter.Psizzl
  182. texmf-dist/tex/psizzl/base/lists.Psizzl
  183. texmf-dist/tex/psizzl/base/macros.Psizzl
  184. texmf-dist/tex/psizzl/base/memo.Psizzl
  185. texmf-dist/tex/psizzl/base/mypsizzl.tex
  186. texmf-dist/tex/psizzl/base/options.Psizzl
  187. texmf-dist/tex/psizzl/base/output.Psizzl
  188. texmf-dist/tex/psizzl/base/picture.Psizzl
  189. texmf-dist/tex/psizzl/base/psizzl.tex
  190. texmf-dist/tex/psizzl/base/publicat.Psizzl
  191. texmf-dist/tex/psizzl/base/symbols.Psizzl
  192. texmf-dist/tex/psizzl/base/thesis.Psizzl
  193. texmf-dist/tex/psizzl/config/psizzl.ini
  194. texmf-dist/doc/otherformats/startex/base/guide.pdf
  195. texmf-dist/doc/otherformats/startex/base/ideas.pdf
  196. texmf-dist/doc/otherformats/startex/base/startex.pdf
  197. texmf-dist/source/startex/base/INSTALL
  198. texmf-dist/source/startex/base/README
  199. texmf-dist/source/startex/base/startex.bib
  200. texmf-dist/source/startex/base/startex.dtx
  201. texmf-dist/source/startex/base/startex.ins
  202. texmf-dist/makeindex/startex/stxglo.ist
  203. texmf-dist/makeindex/startex/stxind.ist
  204. texmf-dist/tex/startex/base/a4-article.stx
  205. texmf-dist/tex/startex/base/article.stx
  206. texmf-dist/tex/startex/base/ifi-article.stx
  207. texmf-dist/tex/startex/base/ifi-artikkel.stx
  208. texmf-dist/tex/startex/base/startex.lan
  209. texmf-dist/tex/startex/base/startex.tex
  210. texmf-dist/doc/otherformats/texsis/base/COPYING
  211. texmf-dist/doc/otherformats/texsis/base/Example.tex
  212. texmf-dist/doc/otherformats/texsis/base/Fonts.tex
  213. texmf-dist/doc/otherformats/texsis/base/INSTALL
  214. texmf-dist/doc/otherformats/texsis/base/Install.tex
  215. texmf-dist/doc/otherformats/texsis/base/MANIFEST
  216. texmf-dist/doc/otherformats/texsis/base/Manual.fgl
  217. texmf-dist/doc/otherformats/texsis/base/Manual.ref
  218. texmf-dist/doc/otherformats/texsis/base/Manual.tbl
  219. texmf-dist/doc/otherformats/texsis/base/Manual.tex
  220. texmf-dist/doc/otherformats/texsis/base/NEWS
  221. texmf-dist/doc/otherformats/texsis/base/README
  222. texmf-dist/doc/otherformats/texsis/base/TXSapxF.doc
  223. texmf-dist/doc/otherformats/texsis/base/TXScover.doc
  224. texmf-dist/doc/otherformats/texsis/base/TXSdcol.doc
  225. texmf-dist/doc/otherformats/texsis/base/TXSdoc.doc
  226. texmf-dist/doc/otherformats/texsis/base/TXSdoc0.doc
  227. texmf-dist/doc/otherformats/texsis/base/TXSdocM.doc
  228. texmf-dist/doc/otherformats/texsis/base/TXSend.doc
  229. texmf-dist/doc/otherformats/texsis/base/TXSenvmt.doc
  230. texmf-dist/doc/otherformats/texsis/base/TXSeqns.doc
  231. texmf-dist/doc/otherformats/texsis/base/TXSfigs.doc
  232. texmf-dist/doc/otherformats/texsis/base/TXSfmts.doc
  233. texmf-dist/doc/otherformats/texsis/base/TXSfonts.doc
  234. texmf-dist/doc/otherformats/texsis/base/TXSinstl.doc
  235. texmf-dist/doc/otherformats/texsis/base/TXSintro.doc
  236. texmf-dist/doc/otherformats/texsis/base/TXSletr.doc
  237. texmf-dist/doc/otherformats/texsis/base/TXSmisc.doc
  238. texmf-dist/doc/otherformats/texsis/base/TXSprns.doc
  239. texmf-dist/doc/otherformats/texsis/base/TXSrefs.doc
  240. texmf-dist/doc/otherformats/texsis/base/TXSrevs.doc
  241. texmf-dist/doc/otherformats/texsis/base/TXSruled.doc
  242. texmf-dist/doc/otherformats/texsis/base/TXSsects.doc
  243. texmf-dist/doc/otherformats/texsis/base/TXSsite.000
  244. texmf-dist/doc/otherformats/texsis/base/TXSsymb.doc
  245. texmf-dist/doc/otherformats/texsis/base/TXStags.doc
  246. texmf-dist/doc/otherformats/texsis/base/index.tex
  247. texmf-dist/doc/otherformats/texsis/base/letr
  248. texmf-dist/doc/otherformats/texsis/base/penguin.eps
  249. texmf-dist/doc/otherformats/texsis/base/penguin2.eps
  250. texmf-dist/doc/otherformats/texsis/base/texsis.1
  251. texmf-dist/doc/otherformats/texsis/base/texsis.el
  252. texmf-dist/doc/otherformats/texsis/base/texsis.lsm
  253. texmf-dist/bibtex/bst/texsis/texsis.bst
  254. texmf-dist/tex/texsis/base/AIP.txs
  255. texmf-dist/tex/texsis/base/CVformat.txs
  256. texmf-dist/tex/texsis/base/Elsevier.txs
  257. texmf-dist/tex/texsis/base/Exam.txs
  258. texmf-dist/tex/texsis/base/Formletr.txs
  259. texmf-dist/tex/texsis/base/IEEE.txs
  260. texmf-dist/tex/texsis/base/PhysRev.txs
  261. texmf-dist/tex/texsis/base/Spanish.txs
  262. texmf-dist/tex/texsis/base/Swedish.txs
  263. texmf-dist/tex/texsis/base/TXSconts.tex
  264. texmf-dist/tex/texsis/base/TXSdcol.tex
  265. texmf-dist/tex/texsis/base/TXSenvmt.tex
  266. texmf-dist/tex/texsis/base/TXSeqns.tex
  267. texmf-dist/tex/texsis/base/TXSfigs.tex
  268. texmf-dist/tex/texsis/base/TXSfmts.tex
  269. texmf-dist/tex/texsis/base/TXSfonts.tex
  270. texmf-dist/tex/texsis/base/TXShead.tex
  271. texmf-dist/tex/texsis/base/TXSinit.tex
  272. texmf-dist/tex/texsis/base/TXSletr.tex
  273. texmf-dist/tex/texsis/base/TXSmacs.tex
  274. texmf-dist/tex/texsis/base/TXSmemo.tex
  275. texmf-dist/tex/texsis/base/TXSprns.tex
  276. texmf-dist/tex/texsis/base/TXSrefs.tex
  277. texmf-dist/tex/texsis/base/TXSruled.tex
  278. texmf-dist/tex/texsis/base/TXSsects.tex
  279. texmf-dist/tex/texsis/base/TXSsite.tex
  280. texmf-dist/tex/texsis/base/TXSsymb.tex
  281. texmf-dist/tex/texsis/base/TXStags.tex
  282. texmf-dist/tex/texsis/base/TXStitle.tex
  283. texmf-dist/tex/texsis/base/Tablebod.txs
  284. texmf-dist/tex/texsis/base/WorldSci.txs
  285. texmf-dist/tex/texsis/base/color.txs
  286. texmf-dist/tex/texsis/base/nuclproc.txs
  287. texmf-dist/tex/texsis/base/printfont.txs
  288. texmf-dist/tex/texsis/base/spine.txs
  289. texmf-dist/tex/texsis/base/texsis.tex
  290. texmf-dist/tex/texsis/base/thesis.txs
  291. texmf-dist/tex/texsis/base/twin.txs
  292. texmf-dist/tex/texsis/config/texsis.ini
  293. texmf-dist/tex/ytex/base/ybase.mac
  294. texmf-dist/tex/ytex/base/yfonts.mac
  295. texmf-dist/tex/ytex/base/ylog.mac
  296. texmf-dist/tex/ytex/base/ysite.mac
  297. texmf-dist/tex/ytex/base/ytex-cm.tex
  298. texmf-dist/tex/ytex/base/ytex.ieee
  299. texmf-dist/tex/ytex/base/ytex.mac
  300. texmf-dist/tex/ytex/base/ytex.mail
  301. texmf-dist/tex/ytex/base/yusage.lst
  302. texmf-dist/tex/ytex/base/yusage.tex
  303. texmf-dist/tex/ytex/base/yuser.mac
  304. )
  305. %__mkdir_p ${PREF}/texmf-dist
  306. for i in "${manifest[@]}"; do
  307. %__install -D %{texlive_src}/$i ${PREF}/$i
  308. done
  309. ## info
  310. %__rm -f %{buildroot}%{_infodir}/dir
  311. %__gzip -9nf %{buildroot}%{_infodir}/*info* ||:
  312. ## man
  313. ## man t1* files are provided by t1utils
  314. for i in t1ascii t1asm t1binary t1disasm t1mac t1unmac; do
  315. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  316. done
  317. ## man some files are provided by psutils
  318. for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps getafm includeres psbook psmerge psnup psresize psselect pstops; do
  319. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  320. done
  321. ## fix perl path
  322. for i in source/metapost/expressg/expressg.dtx doc/metapost/expressg/n2mpsprl.prl doc/latex/songbook/contrib/crd2sb/crd2sb; do
  323. [ -f %{build_texmf}-dist/${i} ] && %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
  324. done
  325. ## remove asymptote directries, which provides asymptote package
  326. find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
  327. # find %{buildroot} -name "Makefile" | xargs %__rm -f
  328. # ## remove xindy
  329. # find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf
  330. # ## remove tex4ht
  331. # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
  332. ## remove arch dependent binaries
  333. %__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
  334. ## remove unpackaging files
  335. find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
  336. find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
  337. ## Files list
  338. find %{buildroot} -type f -or -type l | \
  339. %__sed -e "s|%{buildroot}||g" > filelist.full
  340. find %{buildroot}%{texmf}-dist -type d | \
  341. %__sed -e "s|^%{buildroot}|%dir |" \
  342. -e "s|$|/|" >> filelist.full
  343. ## subpackages
  344. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  345. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  346. %__mv -f filelist.tmp filelist.full
  347. %clean
  348. %__rm -rf %{buildroot}
  349. %post
  350. %{exec_texhash}
  351. echo -n " "
  352. echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
  353. exit 0
  354. %postun
  355. if [ "$1" = 0 ]; then
  356. %{exec_texhash}
  357. fi
  358. exit 0
  359. %files -f filelist.full
  360. %defattr(-,root,root)
  361. %files -f filelist.doc doc
  362. %defattr(-,root,root)
  363. %changelog
  364. * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  365. - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-formatsextra
  366. - removed arch dependent binaries (texlive-collection-latexextra)
  367. - fixed perl path
  368. - improved updmap process in %%post and %%postun
  369. * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  370. - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-formatsextra