source: projects/specs/branches/6/t/texlive-collection-humanities/texlive-collection-humanities-vl.spec @ 2505

Revision 2505, 19.7 KB checked in by munepi, 13 years ago (diff)

updated all texlive-collection-* packages: improved %%post

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3:
3## tlpdb2rpmspec collection-humanities
4
5%bcond_with firstbuild
6
7%define tex_destdir     %{_datadir}
8%define texmf           %{tex_destdir}/texmf
9%define texlive_src     %{tex_destdir}/texlive-sources
10%define build_tex_destdir       %{buildroot}%{tex_destdir}
11%define build_texmf     %{buildroot}%{texmf}
12
13%define exec_mktexlsr  [ -x %{_bindir}/texconfig-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/texconfig-sys rehash
14%define exec_texhash  [ -x %{_bindir}/texhash ] && PATH=%{_bindir}:$PATH %{_bindir}/texhash
15%define exec_updmap   [ -x %{_bindir}/updmap-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/updmap-sys --nostop
16%define exec_fmtutil  [ -x %{_bindir}/fmtutil-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/fmtutil-sys --all >/dev/null 2>&1
17%define exec_upddeffont    [ -x %{_sbindir}/update-defaultfont ] && %{_sbindir}/update-defaultfont 2> /dev/null
18%define vartexfonts %{_var}/lib/texmf
19
20%define __find_provides %{nil}
21%define __find_requires %{nil}
22%define __perl_provides %{nil}
23%define __perl_requires %{nil}
24
25Autoreq: 0
26
27Summary: TeX Live: Humanities packages
28Summary(ja): TeX Live: Humanities packages
29Name: texlive-collection-humanities
30Version: 2009
31Release: 3%{?_dist_release}
32License: LPPL, Public Domain, GPL+, No Info
33Group: Applications/Publishing
34URL:http://www.tug.org/texlive/
35
36Requires: texlive = %{version}
37Requires: texlive-collection-latex = %{version}
38
39Requires(post):         texlive = %{version}
40Requires(postun):       texlive = %{version}
41BuildRequires:          texlive-sources = %{version}
42
43BuildArch:      noarch
44Buildroot:      %{_tmppath}/%{name}-%{version}-root
45
46Vendor:         Project Vine
47Distribution:   Vine Linux
48Packager:       munepi
49
50%description
51The TeX Live software distribution offers a complete TeX system for a
52variety of Unix, Macintosh, Windows and other platforms. It
53encompasses programs for editing, typesetting, previewing and printing
54of TeX documents in many different languages, and a large collection
55of TeX macros and font libraries.
56
57The distribution includes extensive general documentation about TeX,
58as well as the documentation for the included software packages.
59
60This package is a collection of Humanities packages:
61Packages for law, linguistics, the social sciences, the
62humanities, etc.
63
64This package contains the following CTAN packages:
65alnumsec: Alphanumeric section numbering.
66arydshln: Horizontal and vertical dashed lines in arrays and tabulars.
67bibleref: Format bible citations.
68covington: Linguistic support.
69dramatist: Typeset dramas, both in verse and in prose.
70ecltree: Trees using epic and eepic macros.
71ednotes: Typeset scholarly editions.
72gb4e: Linguistic tools.
73gmverse: a package for typesetting (short) poems.
74jura: A document class for German legal texts.
75juraabbrev: Abbreviations for typesetting (German) juridical documents.
76juramisc: Typesetting German juridical documents.
77jurarsp: Citations of judgements and official documents in (German) juridical documents.
78ledmac: Typeset scholarly editions in parallel texts.
79lexikon: Macros for a two language dictionary.
80lineno: Line numbers on paragraphs.
81linguex: Format linguists' examples.
82liturg: Support for typesetting Catholic liturgical texts.
83parallel: Typeset parallel texts.
84parrun: Typesets (two) streams of text running parallel.
85plari: Typesetting stageplay scripts.
86play: Typeset drama using LaTeX.
87poemscol: Typesetting Critical Editions of Poetry.
88qobitree: LaTeX macros for typesetting trees.
89qtree: Draw tree structures.
90rtklage: A package for German lawyers
91screenplay: A class file to typeset screenplays.
92sides: A LaTeX class for typesetting stage plays.
93stage: A LaTeX class for stage plays
94tree-dvips: Trees and other linguists' macros.
95verse: Aids for typesetting simple verse.
96xyling: Draw syntactic trees, etc., for linguistics literature, using xy-pic.
97
98%description -l ja
99TeX Live ソフトウェアディストリビューションは、
100さまざまな Unix, Macintosh, Windows、および
101他のプラットホームに対して完全な TeX システムを提供します。
102多くの異なった言語を含む TeX ドキュメントの
103編集、組版、閲覧、印刷するためのプログラム、
104そして、TeX マクロやフォントライブラリの大きなコレクションを
105同梱しています。
106
107このディストリビューションは
108同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
109TeX に関するたくさんの一般的なドキュメントを含んでいます。
110
111このパッケージは以下のようなパッケージ集です。
112Humanities packages:
113Packages for law, linguistics, the social sciences, the
114humanities, etc.
115
116このパッケージは以下の CTAN パッケージを含んでいます:
117alnumsec: Alphanumeric section numbering.
118arydshln: Horizontal and vertical dashed lines in arrays and tabulars.
119bibleref: Format bible citations.
120covington: Linguistic support.
121dramatist: Typeset dramas, both in verse and in prose.
122ecltree: Trees using epic and eepic macros.
123ednotes: Typeset scholarly editions.
124gb4e: Linguistic tools.
125gmverse: a package for typesetting (short) poems.
126jura: A document class for German legal texts.
127juraabbrev: Abbreviations for typesetting (German) juridical documents.
128juramisc: Typesetting German juridical documents.
129jurarsp: Citations of judgements and official documents in (German) juridical documents.
130ledmac: Typeset scholarly editions in parallel texts.
131lexikon: Macros for a two language dictionary.
132lineno: Line numbers on paragraphs.
133linguex: Format linguists' examples.
134liturg: Support for typesetting Catholic liturgical texts.
135parallel: Typeset parallel texts.
136parrun: Typesets (two) streams of text running parallel.
137plari: Typesetting stageplay scripts.
138play: Typeset drama using LaTeX.
139poemscol: Typesetting Critical Editions of Poetry.
140qobitree: LaTeX macros for typesetting trees.
141qtree: Draw tree structures.
142rtklage: A package for German lawyers
143screenplay: A class file to typeset screenplays.
144sides: A LaTeX class for typesetting stage plays.
145stage: A LaTeX class for stage plays
146tree-dvips: Trees and other linguists' macros.
147verse: Aids for typesetting simple verse.
148xyling: Draw syntactic trees, etc., for linguistics literature, using xy-pic.
149
150%package doc
151Summary: TeX Live: Documentation files of %{name}
152Group: Applications/Publishing
153Requires: %{name} = %{version}-%{release}
154
155%description doc
156This package contains documentation files of %{name}.
157
158%prep
159
160%build
161
162%install
163[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
164
165PREF=%{buildroot}%{tex_destdir}
166
167manifest=(
168texmf-dist/doc/latex/alnumsec/README
169texmf-dist/doc/latex/alnumsec/alnumsec.pdf
170texmf-dist/source/latex/alnumsec/alnumsec.dtx
171texmf-dist/source/latex/alnumsec/alnumsec.ins
172texmf-dist/tex/latex/alnumsec/alnumsec.sty
173texmf-dist/doc/latex/arydshln/README
174texmf-dist/doc/latex/arydshln/arydshln-man.pdf
175texmf-dist/doc/latex/arydshln/arydshln-man.tex
176texmf-dist/doc/latex/arydshln/arydshln.pdf
177texmf-dist/source/latex/arydshln/arydshln.dtx
178texmf-dist/source/latex/arydshln/arydshln.ins
179texmf-dist/tex/latex/arydshln/arydshln.sty
180texmf-dist/doc/latex/bibleref/README
181texmf-dist/doc/latex/bibleref/bibleref-manual.html
182texmf-dist/doc/latex/bibleref/bibleref.pdf
183texmf-dist/doc/latex/bibleref/bibleref.perl
184texmf-dist/doc/latex/bibleref/sample.pdf
185texmf-dist/doc/latex/bibleref/sample.tex
186texmf-dist/source/latex/bibleref/bibleref.dtx
187texmf-dist/source/latex/bibleref/bibleref.ins
188texmf-dist/tex/latex/bibleref/bibleref.sty
189texmf-dist/doc/latex/covington/covington.dvi
190texmf-dist/doc/latex/covington/covington.tex
191texmf-dist/tex/latex/covington/covington.sty
192texmf-dist/doc/latex/dramatist/README
193texmf-dist/doc/latex/dramatist/dramatist.pdf
194texmf-dist/doc/latex/dramatist/marlowe-poemscol.tex
195texmf-dist/doc/latex/dramatist/marlowe-verse.tex
196texmf-dist/doc/latex/dramatist/schiller.tex
197texmf-dist/source/latex/dramatist/dramatist.dtx
198texmf-dist/source/latex/dramatist/dramatist.ins
199texmf-dist/tex/latex/dramatist/dramatist.sty
200texmf-dist/doc/latex/ecltree/ecltreesample.pdf
201texmf-dist/doc/latex/ecltree/ecltreesample.tex
202texmf-dist/tex/latex/ecltree/ecltree.sty
203texmf-dist/doc/latex/ednotes/CHANGES.txt
204texmf-dist/doc/latex/ednotes/CHANGING.txt
205texmf-dist/doc/latex/ednotes/README
206texmf-dist/doc/latex/ednotes/README.TEXLIVE
207texmf-dist/doc/latex/ednotes/README4U.txt
208texmf-dist/doc/latex/ednotes/READMORE.txt
209texmf-dist/doc/latex/ednotes/ednotes.pdf
210texmf-dist/doc/latex/ednotes/ednotes.tex
211texmf-dist/doc/latex/ednotes/ednotugb.pdf
212texmf-dist/doc/latex/ednotes/emathtst.tex
213texmf-dist/doc/latex/ednotes/varnrule.tex
214texmf-dist/doc/latex/ednotes/visible.txt
215texmf-dist/tex/latex/ednotes/edcntwd0.sty
216texmf-dist/tex/latex/ednotes/ednotes.sty
217texmf-dist/tex/latex/ednotes/lblchng1.sty
218texmf-dist/tex/latex/ednotes/mfparptc.sty
219texmf-dist/tex/latex/ednotes/mfparxsp.sty
220texmf-dist/doc/latex/gb4e/gb4e-doc.pdf
221texmf-dist/doc/latex/gb4e/gb4e-doc.tex
222texmf-dist/tex/latex/gb4e/cgloss4e.sty
223texmf-dist/tex/latex/gb4e/gb4e.sty
224texmf-dist/doc/latex/gmverse/README
225texmf-dist/doc/latex/gmverse/gmverse.pdf
226texmf-dist/tex/latex/gmverse/gmverse.sty
227texmf-dist/doc/latex/jura/README
228texmf-dist/doc/latex/jura/jura.pdf
229texmf-dist/doc/latex/jura/jura2html
230texmf-dist/doc/latex/jura/juratest.ltx
231texmf-dist/source/latex/jura/jura.dtx
232texmf-dist/source/latex/jura/jura.ins
233texmf-dist/tex/latex/jura/alphanum.sty
234texmf-dist/tex/latex/jura/jura.cls
235texmf-dist/doc/latex/juraabbrev/README
236texmf-dist/doc/latex/juraabbrev/abbrevtest.tex
237texmf-dist/doc/latex/juraabbrev/juraabbrev.pdf
238texmf-dist/source/latex/juraabbrev/juraabbrev.dtx
239texmf-dist/source/latex/juraabbrev/juraabbrev.ins
240texmf-dist/makeindex/juraabbrev/laws.ist
241texmf-dist/tex/latex/juraabbrev/juraabbrev.4ht
242texmf-dist/tex/latex/juraabbrev/juraabbrev.sty
243texmf-dist/doc/latex/juramisc/README
244texmf-dist/doc/latex/juramisc/doc/jbook/jbook.dtx
245texmf-dist/doc/latex/juramisc/doc/jbook/jbook.ins
246texmf-dist/doc/latex/juramisc/doc/jmgerdoc.pdf
247texmf-dist/doc/latex/juramisc/doc/jmgerdoc.tex
248texmf-dist/doc/latex/juramisc/doc/jmgerdoc_scr.pdf
249texmf-dist/tex/latex/juramisc/jbgoe.clo
250texmf-dist/tex/latex/juramisc/jbstgallen.clo
251texmf-dist/tex/latex/juramisc/jbtrier.clo
252texmf-dist/tex/latex/juramisc/jurabase.sty
253texmf-dist/tex/latex/juramisc/jurabook.cls
254texmf-dist/tex/latex/juramisc/juraovw.cls
255texmf-dist/tex/latex/juramisc/juraurtl.cls
256texmf-dist/doc/latex/jurarsp/README
257texmf-dist/doc/latex/jurarsp/jurarsp.pdf
258texmf-dist/doc/latex/jurarsp/rsptest.bib
259texmf-dist/doc/latex/jurarsp/rsptest.tex
260texmf-dist/source/latex/jurarsp/jurarsp.dtx
261texmf-dist/source/latex/jurarsp/jurarsp.ins
262texmf-dist/bibtex/bst/jurarsp/jurarsp.bst
263texmf-dist/tex/latex/jurarsp/jurarsp.cfg
264texmf-dist/tex/latex/jurarsp/jurarsp.sty
265texmf-dist/doc/latex/ledmac/README
266texmf-dist/doc/latex/ledmac/examples/djd17nov.tex
267texmf-dist/doc/latex/ledmac/examples/djd17novL.eps
268texmf-dist/doc/latex/ledmac/examples/djd17novR.eps
269texmf-dist/doc/latex/ledmac/examples/djdpoems.tex
270texmf-dist/doc/latex/ledmac/examples/djdpoems1.eps
271texmf-dist/doc/latex/ledmac/examples/djdpoems2.eps
272texmf-dist/doc/latex/ledmac/examples/djdpoems3.eps
273texmf-dist/doc/latex/ledmac/examples/djdpoems4.eps
274texmf-dist/doc/latex/ledmac/examples/egarab.eps
275texmf-dist/doc/latex/ledmac/examples/egarab.tex
276texmf-dist/doc/latex/ledmac/examples/egarabpar.eps
277texmf-dist/doc/latex/ledmac/examples/egarabpar.tex
278texmf-dist/doc/latex/ledmac/examples/ledarden.eps
279texmf-dist/doc/latex/ledmac/examples/ledarden.tex
280texmf-dist/doc/latex/ledmac/examples/ledbraonain.eps
281texmf-dist/doc/latex/ledmac/examples/ledbraonain.tex
282texmf-dist/doc/latex/ledmac/examples/ledeasy.eps
283texmf-dist/doc/latex/ledmac/examples/ledeasy.tex
284texmf-dist/doc/latex/ledmac/examples/ledekker.eps
285texmf-dist/doc/latex/ledmac/examples/ledekker.tex
286texmf-dist/doc/latex/ledmac/examples/ledfeat.eps
287texmf-dist/doc/latex/ledmac/examples/ledfeat.tex
288texmf-dist/doc/latex/ledmac/examples/ledioc.eps
289texmf-dist/doc/latex/ledmac/examples/ledioc.tex
290texmf-dist/doc/latex/ledmac/examples/ledmixed.eps
291texmf-dist/doc/latex/ledmac/examples/ledmixed.tex
292texmf-dist/doc/latex/ledmac/examples/villon.eps
293texmf-dist/doc/latex/ledmac/examples/villon.tex
294texmf-dist/doc/latex/ledmac/ledarab.pdf
295texmf-dist/doc/latex/ledmac/ledmac.pdf
296texmf-dist/doc/latex/ledmac/ledpar.pdf
297texmf-dist/source/latex/ledmac/ledarab.dtx
298texmf-dist/source/latex/ledmac/ledarab.ins
299texmf-dist/source/latex/ledmac/ledmac.dtx
300texmf-dist/source/latex/ledmac/ledmac.ins
301texmf-dist/source/latex/ledmac/ledpar.dtx
302texmf-dist/source/latex/ledmac/ledpar.ins
303texmf-dist/tex/latex/ledmac/afoot.sty
304texmf-dist/tex/latex/ledmac/ledarab.sty
305texmf-dist/tex/latex/ledmac/ledmac.sty
306texmf-dist/tex/latex/ledmac/ledpar.sty
307texmf-dist/tex/latex/ledmac/ledparpatch.sty
308texmf-dist/tex/latex/ledmac/ledpatch.sty
309texmf-dist/doc/latex/lexikon/lexikon.dvi
310texmf-dist/doc/latex/lexikon/lexikon.tex
311texmf-dist/source/latex/lexikon/lexikon.upl
312texmf-dist/tex/latex/lexikon/lexikon.sty
313texmf-dist/doc/latex/lineno/CHANGES.txt
314texmf-dist/doc/latex/lineno/COPYING.txt
315texmf-dist/doc/latex/lineno/README.txt
316texmf-dist/doc/latex/lineno/lineno.pdf
317texmf-dist/doc/latex/lineno/lineno.tex
318texmf-dist/doc/latex/lineno/lnosuppl.pdf
319texmf-dist/doc/latex/lineno/lnosuppl.tex
320texmf-dist/doc/latex/lineno/ulineno.pdf
321texmf-dist/doc/latex/lineno/ulineno.tex
322texmf-dist/tex/latex/lineno/ednmath0.sty
323texmf-dist/tex/latex/lineno/edtable.sty
324texmf-dist/tex/latex/lineno/lineno.sty
325texmf-dist/tex/latex/lineno/vplref.sty
326texmf-dist/doc/latex/linguex/README
327texmf-dist/doc/latex/linguex/README.TEXLIVE
328texmf-dist/doc/latex/linguex/linguex-doc.pdf
329texmf-dist/doc/latex/linguex/linguex-doc.tex
330texmf-dist/doc/latex/linguex/ps-trees-doc.pdf
331texmf-dist/doc/latex/linguex/ps-trees-doc.tex
332texmf-dist/tex/latex/linguex/linguex.sty
333texmf-dist/tex/latex/linguex/linguho.sty
334texmf-dist/tex/latex/linguex/ps-trees.sty
335texmf-dist/doc/latex/liturg/README
336texmf-dist/doc/latex/liturg/liturg.pdf
337texmf-dist/doc/latex/liturg/test.tex
338texmf-dist/source/latex/liturg/liturg.ins
339texmf-dist/tex/latex/liturg/liturg.sty
340texmf-dist/doc/latex/parallel/example1.tex
341texmf-dist/doc/latex/parallel/example2.tex
342texmf-dist/doc/latex/parallel/parallel.pdf
343texmf-dist/doc/latex/parallel/readme
344texmf-dist/source/latex/parallel/parallel.drv
345texmf-dist/source/latex/parallel/parallel.dtx
346texmf-dist/source/latex/parallel/parallel.ins
347texmf-dist/tex/latex/parallel/parallel.sty
348texmf-dist/doc/latex/parrun/parrun.pdf
349texmf-dist/doc/latex/parrun/readme
350texmf-dist/source/latex/parrun/parrun.dtx
351texmf-dist/source/latex/parrun/parrun.ins
352texmf-dist/tex/latex/parrun/parrun.sty
353texmf-dist/doc/latex/plari/COPYING
354texmf-dist/doc/latex/plari/README
355texmf-dist/doc/latex/plari/plari.pdf
356texmf-dist/source/latex/plari/Makefile
357texmf-dist/source/latex/plari/plari.dtx
358texmf-dist/source/latex/plari/plari.ins
359texmf-dist/tex/latex/plari/plari.cls
360texmf-dist/doc/latex/play/README
361texmf-dist/source/latex/play/play.dtx
362texmf-dist/source/latex/play/play.ins
363texmf-dist/tex/latex/play/play.cls
364texmf-dist/tex/latex/play/play.sty
365texmf-dist/doc/latex/poemscol/README
366texmf-dist/doc/latex/poemscol/poemscol.pdf
367texmf-dist/doc/latex/poemscol/poemscolcheatsheet.pdf
368texmf-dist/source/latex/poemscol/poemscol.dtx
369texmf-dist/source/latex/poemscol/poemscol.ins
370texmf-dist/tex/latex/poemscol/poemscol.sty
371texmf-dist/doc/latex/qobitree/README
372texmf-dist/doc/latex/qobitree/example.tex
373texmf-dist/tex/latex/qobitree/qobitree.tex
374texmf-dist/doc/latex/qtree/README
375texmf-dist/doc/latex/qtree/qarrows.pdf
376texmf-dist/doc/latex/qtree/qarrows.tex
377texmf-dist/doc/latex/qtree/qtreenotes.pdf
378texmf-dist/doc/latex/qtree/qtreenotes.tex
379texmf-dist/tex/latex/qtree/qtree.sty
380texmf-dist/doc/latex/rtklage/README
381texmf-dist/doc/latex/rtklage/bspklage.tex
382texmf-dist/doc/latex/rtklage/rtklage.pdf
383texmf-dist/tex/latex/rtklage/rtklage.cls
384texmf-dist/doc/latex/screenplay/COPYING
385texmf-dist/doc/latex/screenplay/README
386texmf-dist/doc/latex/screenplay/example.tex
387texmf-dist/doc/latex/screenplay/screenplay.pdf
388texmf-dist/doc/latex/screenplay/test.pdf
389texmf-dist/doc/latex/screenplay/test.tex
390texmf-dist/source/latex/screenplay/screenplay.dtx
391texmf-dist/source/latex/screenplay/screenplay.ins
392texmf-dist/tex/latex/screenplay/hardmarg.sty
393texmf-dist/tex/latex/screenplay/screenplay.cls
394texmf-dist/doc/latex/sides/README
395texmf-dist/doc/latex/sides/sides-sample.pdf
396texmf-dist/doc/latex/sides/sides-sample.tex
397texmf-dist/tex/latex/sides/sides.cls
398texmf-dist/doc/latex/stage/README
399texmf-dist/doc/latex/stage/stage-documentation.pdf
400texmf-dist/tex/latex/stage/stage.cls
401texmf-dist/doc/latex/tree-dvips/Readme
402texmf-dist/doc/latex/tree-dvips/lingmacros-manual.pdf
403texmf-dist/doc/latex/tree-dvips/lingmacros-manual.tex
404texmf-dist/doc/latex/tree-dvips/tree-manual.pdf
405texmf-dist/doc/latex/tree-dvips/tree-manual.tex
406texmf-dist/doc/latex/tree-dvips/tree.script
407texmf-dist/source/latex/tree-dvips/Makefile
408texmf-dist/dvips/tree-dvips/tree-dvips.pro
409texmf-dist/tex/latex/tree-dvips/lingmacros.sty
410texmf-dist/tex/latex/tree-dvips/tree-dvips.sty
411texmf-dist/doc/latex/verse/README
412texmf-dist/doc/latex/verse/verse.pdf
413texmf-dist/source/latex/verse/verse.dtx
414texmf-dist/source/latex/verse/verse.ins
415texmf-dist/tex/latex/verse/verse.sty
416texmf-dist/doc/latex/xyling/README
417texmf-dist/doc/latex/xyling/xyli-doc.pdf
418texmf-dist/doc/latex/xyling/xyli-doc.tex
419texmf-dist/tex/latex/xyling/xyling.sty
420)
421
422%__mkdir_p ${PREF}/texmf-dist
423for i in "${manifest[@]}"; do
424    %__install -D %{texlive_src}/$i ${PREF}/$i
425done
426
427## info
428%__rm -f %{buildroot}%{_infodir}/dir
429%__gzip -9nf %{buildroot}%{_infodir}/*info* ||:
430
431## man
432## man t1* files are provided by t1utils
433for i in t1ascii t1asm t1binary t1disasm t1mac t1unmac; do
434    %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
435done
436
437## man some files are provided by psutils
438for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps getafm includeres psbook psmerge psnup psresize psselect pstops; do
439    %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
440done
441
442## fix perl path
443for i in source/metapost/expressg/expressg.dtx \
444         doc/metapost/expressg/n2mpsprl.prl \
445         doc/latex/songbook/contrib/crd2sb/crd2sb; do
446    [ -f %{build_texmf}-dist/${i} ] && \
447        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
448done
449
450## remove asymptote directries, which provides asymptote package
451find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
452# find %{buildroot} -name "Makefile" | xargs %__rm -f
453
454# ## remove xindy
455# find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf
456
457# ## remove tex4ht
458# find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
459
460## remove arch dependent binaries
461%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
462
463## remove unpackaging files
464find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
465find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
466
467## Files list
468find %{buildroot} -type f -or -type l | \
469    %__sed -e "s|%{buildroot}||g" > filelist.full
470
471find %{buildroot}%{texmf}-dist -type d | \
472    %__sed -e "s|^%{buildroot}|%dir |" \
473           -e "s|$|/|"             >> filelist.full
474
475## subpackages
476grep "/texmf-dist/doc/" filelist.full > filelist.doc
477cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
478%__mv -f filelist.tmp filelist.full
479
480%clean
481%__rm -rf %{buildroot}
482
483%post
484%{exec_texhash}
485
486exit 0
487
488
489%postun
490if [ "$1" = 0 ]; then
491    %{exec_texhash}
492
493fi
494
495exit 0
496
497%files -f filelist.full
498%defattr(-,root,root)
499
500%files -f filelist.doc doc
501%defattr(-,root,root)
502
503%changelog
504* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
505- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-humanities
506- improved %%post
507
508* Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
509- generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-humanities
510- removed arch dependent binaries (texlive-collection-latexextra)
511- fixed perl path
512- improved updmap process in %%post and %%postun
513
514* Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
515- generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-humanities
Note: See TracBrowser for help on using the repository browser.