texlive-collection-binextra-vl.spec 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3:
  3. ## tlpdb2rpmspec collection-binextra
  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: TeX auxiliary programs
  22. Summary(ja): TeX Live: TeX auxiliary programs
  23. Name: texlive-collection-binextra
  24. Version: 2009
  25. Release: 3%{?_dist_release}
  26. License: GPL+, LGPLv2+, Knuth, Freely redistributable without restriction, Public Domain, No Info, LPPL, Artistic
  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 TeX auxiliary programs:
  48. Various useful, but non-essential, support programs. Includes
  49. programs and macros for DVI file manipulation, literate
  50. programming, patgen, and the TeX Works Editor.
  51. This package contains the following CTAN packages:
  52. a2ping: Advanced PS, PDF, EPS converter.
  53. asymptote: 2D and 3D TeX-Aware Vector Graphics Language.
  54. bibtex8: A fully 8-bit adaptation of BibTeX 0.99.
  55. ctie:
  56. cweb: A Web system in C.
  57. detex: Strip TeX from a source file.
  58. dtl: Tools to dis-assemble and re-assemble DVI files.
  59. dvi2tty: Produce ASCII from DVI.
  60. dviasm: A utility for editing DVI files.
  61. dvicopy: Copy DVI files, flattening VFs.
  62. dvidvi: Convert one DVI file into another.
  63. dviljk: DVI to Laserjet output.
  64. dvipng: A fast DVI to PNG/GIF converter.
  65. dvipos:
  66. findhyph: Find hyphenated words in a document.
  67. fragmaster: Using psfrag with PDFLaTeX.
  68. getnonfreefonts:
  69. hyphenex: Generate a hyphenation exceptions file.
  70. lacheck: LaTeX checker.
  71. latex2man: Translate LaTeX-based manual pages into Unix man format.
  72. latexmk: Fully automated LaTeX document generation routine.
  73. listings-ext: Automated input of source.
  74. mkind-english:
  75. mkjobtexmf: Generate a texmf tree for a particular job.
  76. patgen:
  77. pdfcrop: Crop PDF graphics.
  78. pdftools: PDF-related utilities, including PostScript-to-PDF conversion
  79. pkfix: Replace pk fonts in PostScript with Type 1 fonts.
  80. pkfix-helper: Make PostScript files accessible to pkfix.
  81. purifyeps: Make EPS work with both LaTeX/dvips and pdfLaTeX.
  82. seetexk: Utiities for manipulating DVI files.
  83. synctex:
  84. texcount: Count words in a LaTeX document.
  85. texdiff: Compare documents and produce tagged merge.
  86. texdirflatten: Collect files related to a LaTeX job in a single directory.
  87. texdoc: Documentation access for TeX distributions.
  88. texloganalyser: Analyse TeX logs.
  89. texware: Utility programs for use with TeX.
  90. tie: Allow multiple web change files.
  91. tpic2pdftex: Use tpic commands in PDFTeX.
  92. web: original web programs tangle and weave
  93. xindy: A general-purpose index processor.
  94. %description -l ja
  95. TeX Live ソフトウェアディストリビューションは、
  96. さまざまな Unix, Macintosh, Windows、および
  97. 他のプラットホームに対して完全な TeX システムを提供します。
  98. 多くの異なった言語を含む TeX ドキュメントの
  99. 編集、組版、閲覧、印刷するためのプログラム、
  100. そして、TeX マクロやフォントライブラリの大きなコレクションを
  101. 同梱しています。
  102. このディストリビューションは
  103. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  104. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  105. このパッケージは以下のようなパッケージ集です。
  106. TeX auxiliary programs:
  107. Various useful, but non-essential, support programs. Includes
  108. programs and macros for DVI file manipulation, literate
  109. programming, patgen, and the TeX Works Editor.
  110. このパッケージは以下の CTAN パッケージを含んでいます:
  111. a2ping: Advanced PS, PDF, EPS converter.
  112. asymptote: 2D and 3D TeX-Aware Vector Graphics Language.
  113. bibtex8: A fully 8-bit adaptation of BibTeX 0.99.
  114. ctie:
  115. cweb: A Web system in C.
  116. detex: Strip TeX from a source file.
  117. dtl: Tools to dis-assemble and re-assemble DVI files.
  118. dvi2tty: Produce ASCII from DVI.
  119. dviasm: A utility for editing DVI files.
  120. dvicopy: Copy DVI files, flattening VFs.
  121. dvidvi: Convert one DVI file into another.
  122. dviljk: DVI to Laserjet output.
  123. dvipng: A fast DVI to PNG/GIF converter.
  124. dvipos:
  125. findhyph: Find hyphenated words in a document.
  126. fragmaster: Using psfrag with PDFLaTeX.
  127. getnonfreefonts:
  128. hyphenex: Generate a hyphenation exceptions file.
  129. lacheck: LaTeX checker.
  130. latex2man: Translate LaTeX-based manual pages into Unix man format.
  131. latexmk: Fully automated LaTeX document generation routine.
  132. listings-ext: Automated input of source.
  133. mkind-english:
  134. mkjobtexmf: Generate a texmf tree for a particular job.
  135. patgen:
  136. pdfcrop: Crop PDF graphics.
  137. pdftools: PDF-related utilities, including PostScript-to-PDF conversion
  138. pkfix: Replace pk fonts in PostScript with Type 1 fonts.
  139. pkfix-helper: Make PostScript files accessible to pkfix.
  140. purifyeps: Make EPS work with both LaTeX/dvips and pdfLaTeX.
  141. seetexk: Utiities for manipulating DVI files.
  142. synctex:
  143. texcount: Count words in a LaTeX document.
  144. texdiff: Compare documents and produce tagged merge.
  145. texdirflatten: Collect files related to a LaTeX job in a single directory.
  146. texdoc: Documentation access for TeX distributions.
  147. texloganalyser: Analyse TeX logs.
  148. texware: Utility programs for use with TeX.
  149. tie: Allow multiple web change files.
  150. tpic2pdftex: Use tpic commands in PDFTeX.
  151. web: original web programs tangle and weave
  152. xindy: A general-purpose index processor.
  153. %package doc
  154. Summary: TeX Live: Documentation files of %{name}
  155. Group: Applications/Publishing
  156. Requires: %{name} = %{version}-%{release}
  157. %description doc
  158. This package contains documentation files of %{name}.
  159. %prep
  160. %build
  161. %install
  162. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  163. PREF=%{buildroot}%{tex_destdir}
  164. manifest=(
  165. texmf-dist/bibtex/csf/base/88591lat.csf
  166. texmf-dist/bibtex/csf/base/88591sca.csf
  167. texmf-dist/bibtex/csf/base/README.TEXLIVE
  168. texmf-dist/bibtex/csf/base/ascii.csf
  169. texmf-dist/bibtex/csf/base/cp437lat.csf
  170. texmf-dist/bibtex/csf/base/cp850lat.csf
  171. texmf-dist/bibtex/csf/base/cp850sca.csf
  172. texmf-dist/bibtex/csf/base/cp866rus.csf
  173. texmf-dist/bibtex/csf/base/csfile.txt
  174. texmf-dist/bibtex/csf/polish-csf/88592pl.csf
  175. texmf-dist/bibtex/csf/polish-csf/cp1250pl.csf
  176. texmf-dist/bibtex/csf/polish-csf/cp852pl.csf
  177. texmf-dist/bibtex/csf/polish-csf/iso8859-7.csf
  178. texmf-dist/doc/plain/cweb/cwebman.dvi
  179. texmf-dist/tex/plain/cweb/cwebmac.tex
  180. texmf-dist/tex/plain/cweb/pdfXcwebmac.tex
  181. texmf-dist/tex/plain/cweb/pdfcwebmac.tex
  182. texmf-dist/tex/plain/cweb/pdfdcwebmac.tex
  183. texmf-dist/tex/plain/cweb/pdffcwebmac.tex
  184. texmf-dist/tex/plain/cweb/pdficwebmac.tex
  185. texmf-dist/tex/plain/cweb/pdfwebmac.tex
  186. texmf-dist/scripts/dviasm/dviasm.py
  187. texmf-dist/doc/support/findhyph/Makefile
  188. texmf-dist/doc/support/findhyph/README
  189. texmf-dist/doc/support/findhyph/findhyph.bat
  190. texmf-dist/doc/support/findhyph/findhyph.txt
  191. texmf-dist/scripts/findhyph/findhyph
  192. texmf-dist/doc/support/fragmaster/AUTHORS
  193. texmf-dist/doc/support/fragmaster/COPYING
  194. texmf-dist/doc/support/fragmaster/CREDITS
  195. texmf-dist/doc/support/fragmaster/README
  196. texmf-dist/doc/support/fragmaster/README.de
  197. texmf-dist/doc/support/fragmaster/example/document.pdf
  198. texmf-dist/doc/support/fragmaster/example/document.ps
  199. texmf-dist/doc/support/fragmaster/example/document.tex
  200. texmf-dist/doc/support/fragmaster/example/parabel.eps
  201. texmf-dist/doc/support/fragmaster/example/parabel.pdf
  202. texmf-dist/doc/support/fragmaster/example/parabel_fm
  203. texmf-dist/doc/support/fragmaster/example/parabel_fm.eps
  204. texmf-dist/doc/support/fragmaster/example/parabel_fm.gp
  205. texmf-dist/doc/support/fragmaster/example/parabel_fm.pdf
  206. texmf-dist/scripts/fragmaster/fragmaster.pl
  207. texmf-dist/source/generic/hyphenex/GNUmakefile
  208. texmf-dist/source/generic/hyphenex/README
  209. texmf-dist/source/generic/hyphenex/hyphenex.pl
  210. texmf-dist/source/generic/hyphenex/hyphenex.sh
  211. texmf-dist/source/generic/hyphenex/tb0hyf.tex
  212. texmf-dist/source/generic/hyphenex/test.tex
  213. texmf-dist/tex/generic/hyphenex/ushyphex.tex
  214. texmf-dist/doc/support/latex2man/CHANGES
  215. texmf-dist/doc/support/latex2man/INSTALL
  216. texmf-dist/doc/support/latex2man/Makefile
  217. texmf-dist/doc/support/latex2man/README
  218. texmf-dist/doc/support/latex2man/THIS-IS-VERSION-1.23
  219. texmf-dist/doc/support/latex2man/latex2man.1
  220. texmf-dist/doc/support/latex2man/latex2man.html
  221. texmf-dist/doc/support/latex2man/latex2man.pdf
  222. texmf-dist/doc/support/latex2man/latex2man.tex
  223. texmf-dist/doc/support/latex2man/latex2man.texi
  224. texmf-dist/doc/support/latex2man/latex2man.trans
  225. texmf-dist/doc/support/latex2man/latex2man.txt
  226. texmf-dist/scripts/latex2man/latex2man
  227. texmf-dist/tex/latex/latex2man/latex2man.cfg
  228. texmf-dist/tex/latex/latex2man/latex2man.sty
  229. texmf-dist/doc/support/latexmk/CHANGES
  230. texmf-dist/doc/support/latexmk/COPYING
  231. texmf-dist/doc/support/latexmk/INSTALL
  232. texmf-dist/doc/support/latexmk/README
  233. texmf-dist/doc/support/latexmk/example_rcfiles/README
  234. texmf-dist/doc/support/latexmk/example_rcfiles/pdflatexmkrc
  235. texmf-dist/doc/support/latexmk/extra-scripts/README1
  236. texmf-dist/doc/support/latexmk/extra-scripts/dvipdfm_call
  237. texmf-dist/doc/support/latexmk/extra-scripts/dvipdfm_call.bat
  238. texmf-dist/doc/support/latexmk/extra-scripts/dvipdfmx_call
  239. texmf-dist/doc/support/latexmk/extra-scripts/dvipdfmx_call.bat
  240. texmf-dist/doc/support/latexmk/extra-scripts/kickxdvi
  241. texmf-dist/doc/support/latexmk/extra-scripts/l1
  242. texmf-dist/doc/support/latexmk/extra-scripts/l2
  243. texmf-dist/doc/support/latexmk/extra-scripts/pst2pdf_for_latexmk
  244. texmf-dist/doc/support/latexmk/extra-scripts/pst2pdf_for_latexmk_README.txt
  245. texmf-dist/doc/support/latexmk/extra-scripts/startacroread
  246. texmf-dist/doc/support/latexmk/latexmk.1
  247. texmf-dist/doc/support/latexmk/latexmk.bat
  248. texmf-dist/doc/support/latexmk/latexmk.pdf
  249. texmf-dist/doc/support/latexmk/latexmk.txt
  250. texmf-dist/scripts/latexmk/latexmk.pl
  251. texmf-dist/doc/latex/listings-ext/README
  252. texmf-dist/doc/latex/listings-ext/THIS_IS_VERSION_v48
  253. texmf-dist/doc/latex/listings-ext/getversion.tex
  254. texmf-dist/doc/latex/listings-ext/hyperref.cfg
  255. texmf-dist/doc/latex/listings-ext/listings-ext.bib
  256. texmf-dist/doc/latex/listings-ext/listings-ext.el
  257. texmf-dist/doc/latex/listings-ext/listings-ext.makemake
  258. texmf-dist/doc/latex/listings-ext/listings-ext.mk
  259. texmf-dist/doc/latex/listings-ext/listings-ext.pdf
  260. texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_a.java
  261. texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_b.java
  262. texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_c.java
  263. texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_d.java
  264. texmf-dist/doc/latex/listings-ext/listings-ext_test_a.tex
  265. texmf-dist/doc/latex/listings-ext/listings-ext_test_d.tex
  266. texmf-dist/doc/latex/listings-ext/listings.cfg
  267. texmf-dist/source/latex/listings-ext/listings-ext.dtx
  268. texmf-dist/source/latex/listings-ext/listings-ext.ins
  269. texmf-dist/scripts/listings-ext/listings-ext.sh
  270. texmf-dist/tex/latex/listings-ext/listings-ext.sty
  271. texmf-dist/makeindex/mkind-english/digit.ist
  272. texmf-dist/makeindex/mkind-english/letter.ist
  273. texmf-dist/makeindex/mkind-english/special.ist
  274. texmf-dist/doc/generic/mkjobtexmf/README
  275. texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.html
  276. texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.ltx
  277. texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.man
  278. texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.pdf
  279. texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.txt
  280. texmf-dist/source/generic/mkjobtexmf/Makefile.in
  281. texmf-dist/source/generic/mkjobtexmf/configure
  282. texmf-dist/source/generic/mkjobtexmf/configure.ac
  283. texmf-dist/source/generic/mkjobtexmf/install-sh
  284. texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl
  285. texmf-dist/doc/support/patgen/patgen2.tutorial
  286. texmf-dist/doc/support/pdfcrop/README
  287. texmf-dist/scripts/pdfcrop/pdfcrop.pl
  288. texmf-dist/doc/support/pkfix/README
  289. texmf-dist/scripts/pkfix/pkfix.pl
  290. texmf-dist/doc/support/pkfix-helper/README
  291. texmf-dist/doc/support/pkfix-helper/encoding-samples.pdf
  292. texmf-dist/doc/support/pkfix-helper/encoding-samples.tex
  293. texmf-dist/scripts/pkfix-helper/pkfix-helper
  294. texmf-dist/doc/support/purifyeps/README
  295. texmf-dist/scripts/purifyeps/purifyeps
  296. texmf-dist/doc/support/texcount/QuickReference.pdf
  297. texmf-dist/doc/support/texcount/QuickReference.tex
  298. texmf-dist/doc/support/texcount/README
  299. texmf-dist/doc/support/texcount/TeXcount.pdf
  300. texmf-dist/doc/support/texcount/TeXcount.tex
  301. texmf-dist/doc/support/texcount/macros.tex
  302. texmf-dist/scripts/texcount/texcount.pl
  303. texmf-dist/doc/support/texdiff/README
  304. texmf-dist/scripts/texdiff/texdiff
  305. texmf-dist/scripts/texdirflatten/texdirflatten
  306. texmf-dist/doc/support/texloganalyser/README
  307. texmf-dist/scripts/texloganalyser/texloganalyser
  308. )
  309. %__mkdir_p ${PREF}/texmf-dist
  310. for i in "${manifest[@]}"; do
  311. %__install -D %{texlive_src}/$i ${PREF}/$i
  312. done
  313. ## info
  314. %__rm -f %{buildroot}%{_infodir}/dir
  315. %__gzip -9nf %{buildroot}%{_infodir}/*info* ||:
  316. ## man
  317. ## man t1* files are provided by t1utils
  318. for i in t1ascii t1asm t1binary t1disasm t1mac t1unmac; do
  319. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  320. done
  321. ## man some files are provided by psutils
  322. for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps getafm includeres psbook psmerge psnup psresize psselect pstops; do
  323. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  324. done
  325. ## fix perl path
  326. for i in source/metapost/expressg/expressg.dtx \
  327. doc/metapost/expressg/n2mpsprl.prl \
  328. doc/latex/songbook/contrib/crd2sb/crd2sb; do
  329. [ -f %{build_texmf}-dist/${i} ] && \
  330. %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
  331. done
  332. ## remove asymptote directries, which provides asymptote package
  333. find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
  334. # find %{buildroot} -name "Makefile" | xargs %__rm -f
  335. # ## remove xindy
  336. # find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf
  337. # ## remove tex4ht
  338. # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
  339. ## remove arch dependent binaries
  340. %__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
  341. ## remove unpackaging files
  342. find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
  343. find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
  344. ## Files list
  345. find %{buildroot} -type f -or -type l | \
  346. %__sed -e "s|%{buildroot}||g" > filelist.full
  347. find %{buildroot}%{texmf}-dist -type d | \
  348. %__sed -e "s|^%{buildroot}|%dir |" \
  349. -e "s|$|/|" >> filelist.full
  350. ## subpackages
  351. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  352. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  353. %__mv -f filelist.tmp filelist.full
  354. %clean
  355. %__rm -rf %{buildroot}
  356. %post
  357. %{exec_texhash}
  358. exit 0
  359. %postun
  360. if [ "$1" = 0 ]; then
  361. %{exec_texhash}
  362. fi
  363. exit 0
  364. %files -f filelist.full
  365. %defattr(-,root,root)
  366. %files -f filelist.doc doc
  367. %defattr(-,root,root)
  368. %changelog
  369. * Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  370. - generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-binextra
  371. - improved %%post
  372. * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  373. - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-binextra
  374. - removed arch dependent binaries (texlive-collection-latexextra)
  375. - fixed perl path
  376. - improved updmap process in %%post and %%postun
  377. * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  378. - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-binextra