texlive-collection-genericextra-vl.spec 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3:
  3. ## tlpdb2rpmspec collection-genericextra
  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 generic packages
  22. Summary(ja): TeX Live: Extra generic packages
  23. Name: texlive-collection-genericextra
  24. Version: 2009
  25. Release: 3%{?_dist_release}
  26. License: Public Domain, Freely redistributable without restriction, No Info, LPPL, GPL+, Knuth
  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 generic packages:
  48. Extra packages that work with multiple formats, typically both
  49. TeX and LaTeX.
  50. This package contains the following CTAN packages:
  51. abbr: Simple macros supporting abreviations for Plain and LaTeX.
  52. abstyles: Adaptable BibTeX styles.
  53. barr: Diagram macros by Michael Barr.
  54. borceux: Diagram macros by Francois Borceux.
  55. c-pascal: Typeset Python, C and Pascal programs.
  56. colorsep: Color separation.
  57. dinat: Bibliography style for German texts.
  58. dirtree: Display trees in the style of windows explorer.
  59. eijkhout: Victor Eijkhout's packages.
  60. encxvlna: Insert nonbreakable spaces, using encTeX.
  61. fenixpar: One-shot changes to token registers such as everypar.
  62. fltpoint: Simple floating point arithmetic.
  63. insbox: A TeX macro for inserting pictures/boxes into paragraphs.
  64. mathdots: Commands to produce dots in math that respect font size.
  65. metatex: Incorporate MetaFont pictures in TeX source.
  66. mftoeps:
  67. midnight: A set of useful macro tools.
  68. multi:
  69. ofs: Macros for managing large font collections.
  70. pdf-trans: A set of macros for various transformations of TeX boxes.
  71. shade: Shade pieces of text.
  72. tabto-generic: "Tab" to a measured position in the line.
  73. vrb: Verbatim macros in plain TeX.
  74. vtex:
  75. xlop: Calculates and displays arithmetic operations.
  76. %description -l ja
  77. TeX Live ソフトウェアディストリビューションは、
  78. さまざまな Unix, Macintosh, Windows、および
  79. 他のプラットホームに対して完全な TeX システムを提供します。
  80. 多くの異なった言語を含む TeX ドキュメントの
  81. 編集、組版、閲覧、印刷するためのプログラム、
  82. そして、TeX マクロやフォントライブラリの大きなコレクションを
  83. 同梱しています。
  84. このディストリビューションは
  85. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  86. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  87. このパッケージは以下のようなパッケージ集です。
  88. Extra generic packages:
  89. Extra packages that work with multiple formats, typically both
  90. TeX and LaTeX.
  91. このパッケージは以下の CTAN パッケージを含んでいます:
  92. abbr: Simple macros supporting abreviations for Plain and LaTeX.
  93. abstyles: Adaptable BibTeX styles.
  94. barr: Diagram macros by Michael Barr.
  95. borceux: Diagram macros by Francois Borceux.
  96. c-pascal: Typeset Python, C and Pascal programs.
  97. colorsep: Color separation.
  98. dinat: Bibliography style for German texts.
  99. dirtree: Display trees in the style of windows explorer.
  100. eijkhout: Victor Eijkhout's packages.
  101. encxvlna: Insert nonbreakable spaces, using encTeX.
  102. fenixpar: One-shot changes to token registers such as everypar.
  103. fltpoint: Simple floating point arithmetic.
  104. insbox: A TeX macro for inserting pictures/boxes into paragraphs.
  105. mathdots: Commands to produce dots in math that respect font size.
  106. metatex: Incorporate MetaFont pictures in TeX source.
  107. mftoeps:
  108. midnight: A set of useful macro tools.
  109. multi:
  110. ofs: Macros for managing large font collections.
  111. pdf-trans: A set of macros for various transformations of TeX boxes.
  112. shade: Shade pieces of text.
  113. tabto-generic: "Tab" to a measured position in the line.
  114. vrb: Verbatim macros in plain TeX.
  115. vtex:
  116. xlop: Calculates and displays arithmetic operations.
  117. %package doc
  118. Summary: TeX Live: Documentation files of %{name}
  119. Group: Applications/Publishing
  120. Requires: %{name} = %{version}-%{release}
  121. %description doc
  122. This package contains documentation files of %{name}.
  123. %prep
  124. %build
  125. %install
  126. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  127. PREF=%{buildroot}%{tex_destdir}
  128. manifest=(
  129. texmf-dist/doc/generic/abbr/README
  130. texmf-dist/tex/generic/abbr/abbr.tex
  131. texmf-dist/doc/bibtex/abstyles/README
  132. texmf-dist/doc/bibtex/abstyles/a4c.sty
  133. texmf-dist/doc/bibtex/abstyles/a4c.tex
  134. texmf-dist/doc/bibtex/abstyles/abstdok.pdf
  135. texmf-dist/doc/bibtex/abstyles/abstdok.tex
  136. texmf-dist/doc/bibtex/abstyles/apreambl.doc
  137. texmf-dist/doc/bibtex/abstyles/btxabst.doc
  138. texmf-dist/doc/bibtex/abstyles/docmac.doc
  139. texmf-dist/doc/bibtex/abstyles/docmac.tex
  140. texmf-dist/bibtex/bib/abstyles/acompat.bib
  141. texmf-dist/bibtex/bib/abstyles/jourabbr.bib
  142. texmf-dist/bibtex/bib/abstyles/jourfull.bib
  143. texmf-dist/bibtex/bst/abstyles/aabbrv.bst
  144. texmf-dist/bibtex/bst/abstyles/aalpha.bst
  145. texmf-dist/bibtex/bst/abstyles/anotit.bst
  146. texmf-dist/bibtex/bst/abstyles/aplain.bst
  147. texmf-dist/bibtex/bst/abstyles/aunsnot.bst
  148. texmf-dist/bibtex/bst/abstyles/aunsrt.bst
  149. texmf-dist/tex/generic/abstyles/apreambl.tex
  150. texmf-dist/doc/generic/barr/diaxydoc.pdf
  151. texmf-dist/doc/generic/barr/diaxydoc.tex
  152. texmf-dist/tex/generic/barr/diagxy.tex
  153. texmf-dist/doc/generic/borceux/Diagram_Mode_d_Emploi
  154. texmf-dist/doc/generic/borceux/Diagram_Read_Me
  155. texmf-dist/source/generic/borceux/compatibility/OldDiagram
  156. texmf-dist/source/generic/borceux/compatibility/OldMaxiDiagram
  157. texmf-dist/source/generic/borceux/compatibility/OldMicroDiagram
  158. texmf-dist/source/generic/borceux/compatibility/OldMiniDiagram
  159. texmf-dist/source/generic/borceux/compatibility/OldMultipleArrows
  160. texmf-dist/tex/generic/borceux/Diagram
  161. texmf-dist/tex/generic/borceux/MaxiDiagram
  162. texmf-dist/tex/generic/borceux/MicroDiagram
  163. texmf-dist/tex/generic/borceux/MiniDiagram
  164. texmf-dist/tex/generic/borceux/MultipleArrows
  165. texmf-dist/doc/generic/c-pascal/demo1.tex
  166. texmf-dist/doc/generic/c-pascal/demo2.tex
  167. texmf-dist/doc/generic/c-pascal/prog/guess.pas
  168. texmf-dist/doc/generic/c-pascal/prog/sun.c
  169. texmf-dist/doc/generic/c-pascal/readme.eng
  170. texmf-dist/doc/generic/c-pascal/readme.pol
  171. texmf-dist/tex/generic/c-pascal/cap.tex
  172. texmf-dist/tex/generic/c-pascal/cap_c.tex
  173. texmf-dist/tex/generic/c-pascal/cap_comm.tex
  174. texmf-dist/tex/generic/c-pascal/cap_pas.tex
  175. texmf-dist/dvips/colorsep/colorsep.pro
  176. texmf-dist/doc/bibtex/dinat/dinat-index.html
  177. texmf-dist/doc/bibtex/dinat/history.html
  178. texmf-dist/bibtex/bst/dinat/dinat.bst
  179. texmf-dist/doc/generic/dirtree/README
  180. texmf-dist/doc/generic/dirtree/dirtree.pdf
  181. texmf-dist/source/generic/dirtree/dirtree.dtx
  182. texmf-dist/source/generic/dirtree/dirtree.ins
  183. texmf-dist/tex/generic/dirtree/dirtree.sty
  184. texmf-dist/tex/generic/dirtree/dirtree.tex
  185. texmf-dist/tex/generic/eijkhout/CD_labeler.tex
  186. texmf-dist/tex/generic/eijkhout/CD_labeler_test.tex
  187. texmf-dist/tex/generic/eijkhout/DB_process.tex
  188. texmf-dist/tex/generic/eijkhout/repeat.tex
  189. texmf-dist/doc/generic/encxvlna/License.txt
  190. texmf-dist/doc/generic/encxvlna/README
  191. texmf-dist/doc/generic/encxvlna/encxvlna.pdf
  192. texmf-dist/doc/generic/encxvlna/encxvlna.tex
  193. texmf-dist/doc/generic/encxvlna/vlna-inc.tex
  194. texmf-dist/tex/latex/encxvlna/encxvlna.sty
  195. texmf-dist/tex/plain/encxvlna/encxvlna.tex
  196. texmf-dist/doc/generic/fenixpar/README
  197. texmf-dist/tex/generic/fenixpar/fenixpar.sty
  198. texmf-dist/tex/generic/fenixpar/fenixtok.sty
  199. texmf-dist/doc/generic/fltpoint/README
  200. texmf-dist/doc/generic/fltpoint/fltpoint.pdf
  201. texmf-dist/source/generic/fltpoint/fltpoint.dtx
  202. texmf-dist/source/generic/fltpoint/fltpoint.ins
  203. texmf-dist/tex/generic/fltpoint/deccomma.sty
  204. texmf-dist/tex/generic/fltpoint/fltpoint.sty
  205. texmf-dist/tex/generic/fltpoint/fltpoint.tex
  206. texmf-dist/doc/generic/insbox/demo.dvi
  207. texmf-dist/doc/generic/insbox/demo.tex
  208. texmf-dist/doc/generic/insbox/pic1.eps
  209. texmf-dist/doc/generic/insbox/pic2.eps
  210. texmf-dist/tex/generic/insbox/insbox.tex
  211. texmf-dist/doc/generic/mathdots/README
  212. texmf-dist/doc/generic/mathdots/mathdots.pdf
  213. texmf-dist/doc/generic/mathdots/mdtest.tex
  214. texmf-dist/source/generic/mathdots/mathdots.dtx
  215. texmf-dist/source/generic/mathdots/mathdots.ins
  216. texmf-dist/tex/generic/mathdots/mathdots.sty
  217. texmf-dist/tex/generic/mathdots/mathdots.tex
  218. texmf-dist/doc/plain/metatex/README
  219. texmf-dist/doc/plain/metatex/gpl.txt
  220. texmf-dist/doc/plain/metatex/mtmp2pdf.tex
  221. texmf-dist/doc/plain/metatex/mtpaper.pdf
  222. texmf-dist/doc/plain/metatex/mtpaper/delay.mf
  223. texmf-dist/doc/plain/metatex/mtpaper/diagram.tex
  224. texmf-dist/doc/plain/metatex/mtpaper/frame.tex
  225. texmf-dist/doc/plain/metatex/mtpaper/mtpaper.tex
  226. texmf-dist/doc/plain/metatex/mtpaper/shadow.tex
  227. texmf-dist/tex/plain/metatex/metatex.tex
  228. texmf-dist/source/metafont/mftoeps/0mftoeps.doc
  229. texmf-dist/source/metafont/mftoeps/m2esamp/0m2esamp.doc
  230. texmf-dist/source/metafont/mftoeps/m2esamp/clipcir.mf
  231. texmf-dist/source/metafont/mftoeps/m2esamp/clipsqu.mf
  232. texmf-dist/source/metafont/mftoeps/m2esamp/holeclip.mf
  233. texmf-dist/source/metafont/mftoeps/m2esamp/holeclip.tex
  234. texmf-dist/source/metafont/mftoeps/m2esamp/holefill.mf
  235. texmf-dist/source/metafont/mftoeps/m2esamp/polygons.mf
  236. texmf-dist/source/metafont/mftoeps/m2esamp/rectan.mf
  237. texmf-dist/source/metafont/mftoeps/m2esamp/rectan_.bat
  238. texmf-dist/source/metafont/mftoeps/m2esamp/sample1a.mf
  239. texmf-dist/source/metafont/mftoeps/m2esamp/sample1b.mf
  240. texmf-dist/source/metafont/mftoeps/m2esamp/sample2a.mf
  241. texmf-dist/source/metafont/mftoeps/m2esamp/sample2b.mf
  242. texmf-dist/source/metafont/mftoeps/m2esamp/sample2c.mf
  243. texmf-dist/source/metafont/mftoeps/m2esamp/sample2d.mf
  244. texmf-dist/source/metafont/mftoeps/m2esamp/sample2e.mf
  245. texmf-dist/source/metafont/mftoeps/m2esamp/sample3.mf
  246. texmf-dist/source/metafont/mftoeps/m2esamp/sample4.mf
  247. texmf-dist/source/metafont/mftoeps/m2esamp/sample5.mf
  248. texmf-dist/source/metafont/mftoeps/m2esamp/stereo.mf
  249. texmf-dist/metafont/mftoeps/mftoeps.mf
  250. texmf-dist/doc/generic/midnight/README
  251. texmf-dist/doc/generic/midnight/border.doc
  252. texmf-dist/doc/generic/midnight/dolines.doc
  253. texmf-dist/doc/generic/midnight/gloss.doc
  254. texmf-dist/doc/generic/midnight/labels.doc
  255. texmf-dist/doc/generic/midnight/loop.doc
  256. texmf-dist/doc/generic/midnight/midnight.pdf
  257. texmf-dist/doc/generic/midnight/quire.doc
  258. texmf-dist/doc/generic/midnight/styledef.doc
  259. texmf-dist/tex/generic/midnight/border.tex
  260. texmf-dist/tex/generic/midnight/dolines.tex
  261. texmf-dist/tex/generic/midnight/gloss.tex
  262. texmf-dist/tex/generic/midnight/labels.tex
  263. texmf-dist/tex/generic/midnight/loop.tex
  264. texmf-dist/tex/generic/midnight/quire.tex
  265. texmf-dist/tex/generic/midnight/styledef.tex
  266. texmf-dist/dvips/multi/2up.pro
  267. texmf-dist/dvips/multi/4up.pro
  268. texmf-dist/dvips/multi/multi.pro
  269. texmf-dist/doc/generic/ofs/changes.txt
  270. texmf-dist/doc/generic/ofs/eurotex2003-ofs.pdf
  271. texmf-dist/doc/generic/ofs/eurotex2003-ofs.tex
  272. texmf-dist/doc/generic/ofs/ofs-slt.pdf
  273. texmf-dist/doc/generic/ofs/ofsdoc-e.pdf
  274. texmf-dist/doc/generic/ofs/ofsdoc-e.tex
  275. texmf-dist/doc/generic/ofs/ofsdoc.pdf
  276. texmf-dist/doc/generic/ofs/ofsdoc.tex
  277. texmf-dist/doc/generic/ofs/ofsmtdef.tex
  278. texmf-dist/doc/generic/ofs/ofstest.tex
  279. texmf-dist/doc/generic/ofs/readme.ofs
  280. texmf-dist/tex/generic/ofs/a117.tex
  281. texmf-dist/tex/generic/ofs/a35.sty
  282. texmf-dist/tex/generic/ofs/a35.tex
  283. texmf-dist/tex/generic/ofs/allfonts.sty
  284. texmf-dist/tex/generic/ofs/allfonts.tex
  285. texmf-dist/tex/generic/ofs/amsfn.tex
  286. texmf-dist/tex/generic/ofs/mtfn.tex
  287. texmf-dist/tex/generic/ofs/ofs-6a.tex
  288. texmf-dist/tex/generic/ofs/ofs-6c.tex
  289. texmf-dist/tex/generic/ofs/ofs-6k.tex
  290. texmf-dist/tex/generic/ofs/ofs-6s.tex
  291. texmf-dist/tex/generic/ofs/ofs-6t.tex
  292. texmf-dist/tex/generic/ofs/ofs-6x.tex
  293. texmf-dist/tex/generic/ofs/ofs-6y.tex
  294. texmf-dist/tex/generic/ofs/ofs-8c.tex
  295. texmf-dist/tex/generic/ofs/ofs-8t.tex
  296. texmf-dist/tex/generic/ofs/ofs-8x.tex
  297. texmf-dist/tex/generic/ofs/ofs-8z.tex
  298. texmf-dist/tex/generic/ofs/ofs-ams.tex
  299. texmf-dist/tex/generic/ofs/ofs-cm.tex
  300. texmf-dist/tex/generic/ofs/ofs-mt.tex
  301. texmf-dist/tex/generic/ofs/ofs-ps.tex
  302. texmf-dist/tex/generic/ofs/ofs-px.tex
  303. texmf-dist/tex/generic/ofs/ofs-slt.tex
  304. texmf-dist/tex/generic/ofs/ofs-tx.tex
  305. texmf-dist/tex/generic/ofs/ofs.sty
  306. texmf-dist/tex/generic/ofs/ofs.tex
  307. texmf-dist/tex/generic/ofs/ofsdef.tex
  308. texmf-dist/tex/generic/ofs/pantyk.tex
  309. texmf-dist/tex/generic/ofs/txfn.tex
  310. texmf-dist/doc/generic/pdf-trans/example.pdf
  311. texmf-dist/doc/generic/pdf-trans/example.tex
  312. texmf-dist/tex/generic/pdf-trans/pdf-trans.tex
  313. texmf-dist/doc/generic/shade/README
  314. texmf-dist/doc/generic/shade/description.pdf
  315. texmf-dist/doc/generic/shade/description.tex
  316. texmf-dist/fonts/source/public/shade/shade.mf
  317. texmf-dist/tex/generic/shade/shade.tex
  318. texmf-dist/tex/generic/tabto-generic/tabto.tex
  319. texmf-dist/doc/generic/vrb/readme
  320. texmf-dist/tex/generic/vrb/vrb.tex
  321. texmf-dist/fonts/map/vtex/bera/bera.ali
  322. texmf-dist/fonts/map/vtex/dictsym/dictsym.ali
  323. texmf-dist/fonts/map/vtex/skaknew/SkakNew.ali
  324. texmf-dist/vtex/config/lucidabr-k.ali
  325. texmf-dist/vtex/config/lucidabr.ali
  326. texmf-dist/vtex/config/lumath-k.ali
  327. texmf-dist/vtex/config/lumath.ali
  328. texmf-dist/vtex/config/uaq.ali
  329. texmf-dist/vtex/config/ugq.ali
  330. texmf-dist/doc/generic/xlop/LISEZ.MOI
  331. texmf-dist/doc/generic/xlop/README
  332. texmf-dist/doc/generic/xlop/XLOP03
  333. texmf-dist/doc/generic/xlop/fr-user.pdf
  334. texmf-dist/doc/generic/xlop/fr-user.tex
  335. texmf-dist/doc/generic/xlop/history.txt
  336. texmf-dist/source/generic/xlop/manual.sty
  337. texmf-dist/tex/generic/xlop/xlop.sty
  338. texmf-dist/tex/generic/xlop/xlop.tex
  339. )
  340. %__mkdir_p ${PREF}/texmf-dist
  341. for i in "${manifest[@]}"; do
  342. %__install -D %{texlive_src}/$i ${PREF}/$i
  343. done
  344. ## info
  345. %__rm -f %{buildroot}%{_infodir}/dir
  346. %__gzip -9nf %{buildroot}%{_infodir}/*info* ||:
  347. ## man
  348. ## man t1* files are provided by t1utils
  349. for i in t1ascii t1asm t1binary t1disasm t1mac t1unmac; do
  350. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  351. done
  352. ## man some files are provided by psutils
  353. for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps getafm includeres psbook psmerge psnup psresize psselect pstops; do
  354. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  355. done
  356. ## fix perl path
  357. for i in source/metapost/expressg/expressg.dtx \
  358. doc/metapost/expressg/n2mpsprl.prl \
  359. doc/latex/songbook/contrib/crd2sb/crd2sb; do
  360. [ -f %{build_texmf}-dist/${i} ] && \
  361. %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
  362. done
  363. ## remove asymptote directries, which provides asymptote package
  364. find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
  365. # find %{buildroot} -name "Makefile" | xargs %__rm -f
  366. # ## remove xindy
  367. # find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf
  368. # ## remove tex4ht
  369. # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
  370. ## remove arch dependent binaries
  371. %__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
  372. ## remove unpackaging files
  373. find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
  374. find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
  375. ## Files list
  376. find %{buildroot} -type f -or -type l | \
  377. %__sed -e "s|%{buildroot}||g" > filelist.full
  378. find %{buildroot}%{texmf}-dist -type d | \
  379. %__sed -e "s|^%{buildroot}|%dir |" \
  380. -e "s|$|/|" >> filelist.full
  381. ## subpackages
  382. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  383. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  384. %__mv -f filelist.tmp filelist.full
  385. %clean
  386. %__rm -rf %{buildroot}
  387. %post
  388. %{exec_texhash}
  389. exit 0
  390. %postun
  391. if [ "$1" = 0 ]; then
  392. %{exec_texhash}
  393. fi
  394. exit 0
  395. %files -f filelist.full
  396. %defattr(-,root,root)
  397. %files -f filelist.doc doc
  398. %defattr(-,root,root)
  399. %changelog
  400. * Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  401. - generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-genericextra
  402. - improved %%post
  403. * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  404. - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-genericextra
  405. - removed arch dependent binaries (texlive-collection-latexextra)
  406. - fixed perl path
  407. - improved updmap process in %%post and %%postun
  408. * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  409. - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-genericextra