source: projects/specs/trunk/t/texlive-collection-langgerman/texlive-collection-langgerman-vl.spec @ 5207

Revision 5207, 20.0 KB checked in by munepi, 12 years ago (diff)

upgrade to TeX Live 2011

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2011-1:
3## tlpdb2rpmspec collection-langgerman
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9%bcond_with firstbuild
10
11%define tex_destdir     %{_datadir}
12%define texmf           %{tex_destdir}/texmf
13%define texlive_src     %{tex_destdir}/texlive-sources
14%define build_tex_destdir       %{buildroot}%{tex_destdir}
15%define build_texmf     %{buildroot}%{texmf}
16
17%define exec_mktexlsr  [ -x %{_bindir}/texconfig-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/texconfig-sys rehash
18%define exec_texhash  [ -x %{_bindir}/texhash ] && PATH=%{_bindir}:$PATH %{_bindir}/texhash
19%define exec_updmap   [ -x %{_bindir}/updmap-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/updmap-sys
20%define exec_fmtutil  [ -x %{_bindir}/fmtutil-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/fmtutil-sys --all >/dev/null 2>&1
21%define exec_upddeffont    [ -x %{_sbindir}/update-defaultfont ] && %{_sbindir}/update-defaultfont 2> /dev/null
22%define vartexfonts %{_var}/lib/texmf/fonts
23
24Summary: TeX Live: German
25Summary(ja): TeX Live: German
26Name: texlive-collection-langgerman
27Version: 2011
28Release: 1%{?_dist_release}
29License: LPPL, GPL+, No Info, Freely redistributable without restriction
30Group: Applications/Publishing
31URL:http://www.tug.org/texlive/
32
33Requires: texlive = %{version}
34Requires: texlive-collection-basic = %{version}
35
36Requires(post):         texlive = %{version}
37Requires(postun):       texlive = %{version}
38BuildRequires:          texlive-sources = %{version}
39
40BuildArch:      noarch
41Buildroot:      %{_tmppath}/%{name}-%{version}-root
42
43Vendor:         Project Vine
44Distribution:   Vine Linux
45Packager:       munepi
46
47%description
48The TeX Live software distribution offers a complete TeX system for a
49variety of Unix, Macintosh, Windows and other platforms. It
50encompasses programs for editing, typesetting, previewing and printing
51of TeX documents in many different languages, and a large collection
52of TeX macros and font libraries.
53
54The distribution includes extensive general documentation about TeX,
55as well as the documentation for the included software packages.
56
57This package is a collection of German:
58Support for typesetting German.
59
60This package contains the following CTAN packages:
61bibleref-german: German adaptation of bibleref.
62dehyph-exptl: Experimental hyphenation patterns for the German language.
63booktabs-de: German version of booktabs.
64csquotes-de: German translation of csquotes documentation.
65etoolbox-de: German translation of documentation of etoolbox.
66geometry-de: German translation of the geometry package.
67german: Support for German typography.
68germbib: German variants of standard BibTeX styles.
69germkorr: Change kerning for german quotation marks.
70kalender: Create a calendar, in German.
71microtype-de: Translation into German of the documentation of microtype.
72r_und_s: Chemical hazard codes.
73tipa-de: German translation of tipa documentation.
74umlaute: German input encodings in LaTeX.
75hyphen-german: German hyphenation patterns.
76
77%description -l ja
78TeX Live ソフトウェアディストリビューションは、
79さまざまな Unix, Macintosh, Windows、および
80他のプラットホームに対して完全な TeX システムを提供します。
81多くの異なった言語を含む TeX ドキュメントの
82編集、組版、閲覧、印刷するためのプログラム、
83そして、TeX マクロやフォントライブラリの大きなコレクションを
84同梱しています。
85
86このディストリビューションは
87同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
88TeX に関するたくさんの一般的なドキュメントを含んでいます。
89
90このパッケージは以下のようなパッケージ集です。
91German:
92Support for typesetting German.
93
94このパッケージは以下の CTAN パッケージを含んでいます:
95bibleref-german: German adaptation of bibleref.
96dehyph-exptl: Experimental hyphenation patterns for the German language.
97booktabs-de: German version of booktabs.
98csquotes-de: German translation of csquotes documentation.
99etoolbox-de: German translation of documentation of etoolbox.
100geometry-de: German translation of the geometry package.
101german: Support for German typography.
102germbib: German variants of standard BibTeX styles.
103germkorr: Change kerning for german quotation marks.
104kalender: Create a calendar, in German.
105microtype-de: Translation into German of the documentation of microtype.
106r_und_s: Chemical hazard codes.
107tipa-de: German translation of tipa documentation.
108umlaute: German input encodings in LaTeX.
109hyphen-german: German hyphenation patterns.
110
111%package doc
112Summary: TeX Live: Documentation files of %{name}
113Group: Applications/Publishing
114Requires: %{name} = %{version}-%{release}
115
116%description doc
117This package contains documentation files of %{name}.
118
119%prep
120
121%build
122
123%install
124[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
125
126PREF=%{buildroot}%{tex_destdir}
127
128manifest=(
129texmf-dist/doc/latex/bibleref-german/CHANGES
130texmf-dist/doc/latex/bibleref-german/LIESMICH
131texmf-dist/doc/latex/bibleref-german/README
132texmf-dist/doc/latex/bibleref-german/bibleref-german-preamble.tex
133texmf-dist/doc/latex/bibleref-german/bibleref-german-print.tex
134texmf-dist/doc/latex/bibleref-german/bibleref-german-screen.tex
135texmf-dist/doc/latex/bibleref-german/de-bibleref-german.pdf
136texmf-dist/doc/latex/bibleref-german/de-bibleref-german.tex
137texmf-dist/doc/latex/bibleref-german/en-bibleref-german.pdf
138texmf-dist/doc/latex/bibleref-german/en-bibleref-german.tex
139texmf-dist/tex/latex/bibleref-german/bibleref-german.sty
140texmf-dist/doc/generic/dehyph-exptl/CHANGES
141texmf-dist/doc/generic/dehyph-exptl/INSTALL
142texmf-dist/doc/generic/dehyph-exptl/LICENSE
143texmf-dist/doc/generic/dehyph-exptl/README
144texmf-dist/doc/generic/dehyph-exptl/dehyph-exptl.bib
145texmf-dist/doc/generic/dehyph-exptl/dehyph-exptl.pdf
146texmf-dist/doc/generic/dehyph-exptl/projektbeschreibung.bib
147texmf-dist/doc/generic/dehyph-exptl/projektbeschreibung.pdf
148texmf-dist/doc/generic/dehyph-exptl/projektbeschreibung.tex
149texmf-dist/tex/generic/dehyph-exptl/dehyph-exptl.tex
150texmf-dist/tex/generic/dehyph-exptl/dehyphn-x-2009-06-19.pat
151texmf-dist/tex/generic/dehyph-exptl/dehyphn-x-2009-06-19.tex
152texmf-dist/tex/generic/dehyph-exptl/dehypht-x-2009-06-19.pat
153texmf-dist/tex/generic/dehyph-exptl/dehypht-x-2009-06-19.tex
154texmf-dist/tex/generic/dehyph-exptl/dehyphts-x-2009-06-19.pat
155texmf-dist/tex/generic/dehyph-exptl/dehyphts-x-2009-06-19.tex
156texmf-dist/doc/latex/booktabs-de/README-DE
157texmf-dist/doc/latex/booktabs-de/booktabs-de.dtx
158texmf-dist/doc/latex/booktabs-de/booktabs-de.ins
159texmf-dist/doc/latex/booktabs-de/booktabs-de.pdf
160texmf-dist/doc/latex/csquotes-de/LIESMICH
161texmf-dist/doc/latex/csquotes-de/csquotes-DE.pdf
162texmf-dist/doc/latex/csquotes-de/csquotes-DE.tex
163texmf-dist/doc/latex/etoolbox-de/etoolbox-DE.pdf
164texmf-dist/doc/latex/etoolbox-de/etoolbox-DE.tex
165texmf-dist/doc/latex/geometry-de/README
166texmf-dist/doc/latex/geometry-de/README-DE
167texmf-dist/doc/latex/geometry-de/geometry-de.dtx
168texmf-dist/doc/latex/geometry-de/geometry-de.pdf
169texmf-dist/doc/latex/geometry-de/geometry.ins
170texmf-dist/doc/generic/german/00readme.1st
171texmf-dist/doc/generic/german/betatest/00readme.1st
172texmf-dist/doc/generic/german/gerdoc.pdf
173texmf-dist/doc/generic/german/gerdoc.tex
174texmf-dist/doc/generic/german/german.MISSING
175texmf-dist/doc/generic/german/hyphxmpl.cfg
176texmf-dist/source/generic/german/german.dtx
177texmf-dist/source/generic/german/german.ins
178texmf-dist/tex/generic/german/german.sty
179texmf-dist/tex/generic/german/ngerman.sty
180texmf-dist/doc/bibtex/germbib/README.bibgerm
181texmf-dist/doc/bibtex/germbib/apalike.doc
182texmf-dist/doc/bibtex/germbib/apalike.germbib_sty
183texmf-dist/doc/bibtex/germbib/apalike.tex
184texmf-dist/doc/bibtex/germbib/btxdoc.tex
185texmf-dist/doc/bibtex/germbib/btxhak.tex
186texmf-dist/doc/bibtex/germbib/gerbibtx.bib
187texmf-dist/doc/bibtex/germbib/gerbibtx.tex
188texmf-dist/doc/bibtex/germbib/gerxampl.bib
189texmf-dist/doc/bibtex/germbib/schaum.bib
190texmf-dist/doc/bibtex/germbib/testbibgerm.tex
191texmf-dist/doc/bibtex/germbib/testgerb.tex
192texmf-dist/doc/bibtex/germbib/xampl.bib
193texmf-dist/bibtex/bst/germbib/gerabbrv.bst
194texmf-dist/bibtex/bst/germbib/geralpha.bst
195texmf-dist/bibtex/bst/germbib/gerapali.bst
196texmf-dist/bibtex/bst/germbib/gerplain.bst
197texmf-dist/bibtex/bst/germbib/gerunsrt.bst
198texmf-dist/tex/latex/germbib/bibgerm.sty
199texmf-dist/tex/latex/germbib/mynormal.sty
200texmf-dist/doc/latex/germkorr/COPYING
201texmf-dist/doc/latex/germkorr/README
202texmf-dist/doc/latex/germkorr/germkorr.pdf
203texmf-dist/doc/latex/germkorr/germkorr.tex
204texmf-dist/tex/latex/germkorr/germkorr.sty
205texmf-dist/tex/latex/kalender/kalender.sty
206texmf-dist/doc/latex/microtype-de/microtype-DE.dtx
207texmf-dist/doc/latex/microtype-de/microtype-DE.pdf
208texmf-dist/doc/latex/r_und_s/README
209texmf-dist/tex/latex/r_und_s/eng_rs.sty
210texmf-dist/tex/latex/r_und_s/eng_rs.tex
211texmf-dist/tex/latex/r_und_s/fr_rs.sty
212texmf-dist/tex/latex/r_und_s/fr_rs.tex
213texmf-dist/tex/latex/r_und_s/nl_rs.sty
214texmf-dist/tex/latex/r_und_s/nl_rs.tex
215texmf-dist/tex/latex/r_und_s/r_und_s.sty
216texmf-dist/tex/latex/r_und_s/r_und_s.tex
217texmf-dist/doc/latex/tipa-de/LIESMICH
218texmf-dist/doc/latex/tipa-de/tipa.bib
219texmf-dist/doc/latex/tipa-de/tipaman-de.pdf
220texmf-dist/doc/latex/tipa-de/tipaman-de.tex
221texmf-dist/doc/latex/tipa-de/tipaman0-de.tex
222texmf-dist/doc/latex/tipa-de/tipaman1-de.tex
223texmf-dist/doc/latex/tipa-de/tipaman2-de.tex
224texmf-dist/doc/latex/tipa-de/tipaman3-de.tex
225texmf-dist/doc/latex/tipa-de/tipaman4-de.tex
226texmf-dist/doc/latex/umlaute/cs_patch.uue
227texmf-dist/doc/latex/umlaute/umlaute.pdf
228texmf-dist/source/latex/umlaute/umlaute.dtx
229texmf-dist/source/latex/umlaute/umlaute.ins
230texmf-dist/tex/latex/umlaute/atari.def
231texmf-dist/tex/latex/umlaute/isolatin.def
232texmf-dist/tex/latex/umlaute/mac.def
233texmf-dist/tex/latex/umlaute/pc850.def
234texmf-dist/tex/latex/umlaute/roman8.def
235texmf-dist/tex/latex/umlaute/umlaute.sty
236)
237
238%__mkdir_p ${PREF}/texmf-dist
239for i in "${manifest[@]}"; do
240    %__install -m $(stat -c %a %{texlive_src}/$i) -p -D %{texlive_src}/$i ${PREF}/$i
241done
242## make symlinks of core script utils
243mk_symlinks=(
244texlive-collection-bibtexextra,/usr/bin/bibexport,/usr/share/texmf-dist/scripts/bibexport/bibexport.sh
245texlive-collection-binextra,/usr/bin/arlatex,/usr/share/texmf-dist/scripts/bundledoc/arlatex
246texlive-collection-binextra,/usr/bin/bundledoc,/usr/share/texmf-dist/scripts/bundledoc/bundledoc
247texlive-collection-binextra,/usr/bin/de-macro,/usr/share/texmf-dist/scripts/de-macro/de-macro
248texlive-collection-binextra,/usr/bin/dviasm,/usr/share/texmf-dist/scripts/dviasm/dviasm.py
249texlive-collection-binextra,/usr/bin/findhyph,/usr/share/texmf-dist/scripts/findhyph/findhyph
250texlive-collection-binextra,/usr/bin/fragmaster,/usr/share/texmf-dist/scripts/fragmaster/fragmaster.pl
251texlive-collection-binextra,/usr/bin/installfont-tl,/usr/share/texmf-dist/scripts/installfont/installfont-tl
252texlive-collection-binextra,/usr/bin/latex2man,/usr/share/texmf-dist/scripts/latex2man/latex2man
253texlive-collection-binextra,/usr/bin/latexdiff,/usr/share/texmf-dist/scripts/latexdiff/latexdiff.pl
254texlive-collection-binextra,/usr/bin/latexdiff-vc,/usr/share/texmf-dist/scripts/latexdiff/latexdiff-vc.pl
255texlive-collection-binextra,/usr/bin/latexmk,/usr/share/texmf-dist/scripts/latexmk/latexmk.pl
256texlive-collection-binextra,/usr/bin/latexrevise,/usr/share/texmf-dist/scripts/latexdiff/latexrevise.pl
257texlive-collection-binextra,/usr/bin/listings-ext.sh,/usr/share/texmf-dist/scripts/listings-ext/listings-ext.sh
258texlive-collection-binextra,/usr/bin/mkjobtexmf,/usr/share/texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl
259texlive-collection-binextra,/usr/bin/pdf180,/usr/share/texmf-dist/scripts/pdfjam/pdf180
260texlive-collection-binextra,/usr/bin/pdf270,/usr/share/texmf-dist/scripts/pdfjam/pdf270
261texlive-collection-binextra,/usr/bin/pdf90,/usr/share/texmf-dist/scripts/pdfjam/pdf90
262texlive-collection-binextra,/usr/bin/pdfbook,/usr/share/texmf-dist/scripts/pdfjam/pdfbook
263texlive-collection-binextra,/usr/bin/pdfcrop,/usr/share/texmf-dist/scripts/pdfcrop/pdfcrop.pl
264texlive-collection-binextra,/usr/bin/pdfflip,/usr/share/texmf-dist/scripts/pdfjam/pdfflip
265texlive-collection-binextra,/usr/bin/pdfjam,/usr/share/texmf-dist/scripts/pdfjam/pdfjam
266texlive-collection-binextra,/usr/bin/pdfjam-pocketmod,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-pocketmod
267texlive-collection-binextra,/usr/bin/pdfjam-slides3up,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-slides3up
268texlive-collection-binextra,/usr/bin/pdfjam-slides6up,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-slides6up
269texlive-collection-binextra,/usr/bin/pdfjoin,/usr/share/texmf-dist/scripts/pdfjam/pdfjoin
270texlive-collection-binextra,/usr/bin/pdfnup,/usr/share/texmf-dist/scripts/pdfjam/pdfnup
271texlive-collection-binextra,/usr/bin/pdfpun,/usr/share/texmf-dist/scripts/pdfjam/pdfpun
272texlive-collection-binextra,/usr/bin/pkfix,/usr/share/texmf-dist/scripts/pkfix/pkfix.pl
273texlive-collection-binextra,/usr/bin/pkfix-helper,/usr/share/texmf-dist/scripts/pkfix-helper/pkfix-helper
274texlive-collection-binextra,/usr/bin/purifyeps,/usr/share/texmf-dist/scripts/purifyeps/purifyeps
275texlive-collection-binextra,/usr/bin/sty2dtx,/usr/share/texmf-dist/scripts/sty2dtx/sty2dtx.pl
276texlive-collection-binextra,/usr/bin/texcount,/usr/share/texmf-dist/scripts/texcount/texcount.pl
277texlive-collection-binextra,/usr/bin/texdef,/usr/share/texmf-dist/scripts/texdef/texdef.pl
278texlive-collection-binextra,/usr/bin/texdiff,/usr/share/texmf-dist/scripts/texdiff/texdiff
279texlive-collection-binextra,/usr/bin/texdirflatten,/usr/share/texmf-dist/scripts/texdirflatten/texdirflatten
280texlive-collection-binextra,/usr/bin/texloganalyser,/usr/share/texmf-dist/scripts/texloganalyser/texloganalyser
281texlive-collection-fontutils,/usr/bin/afm2afm,/usr/share/texmf-dist/scripts/fontools/afm2afm
282texlive-collection-fontutils,/usr/bin/autoinst,/usr/share/texmf-dist/scripts/fontools/autoinst
283texlive-collection-fontutils,/usr/bin/cmap2enc,/usr/share/texmf-dist/scripts/fontools/cmap2enc
284texlive-collection-fontutils,/usr/bin/epstopdf,/usr/share/texmf-dist/scripts/epstopdf/epstopdf.pl
285texlive-collection-fontutils,/usr/bin/font2afm,/usr/share/texmf-dist/scripts/fontools/font2afm
286texlive-collection-fontutils,/usr/bin/mkt1font,/usr/share/texmf-dist/scripts/accfonts/mkt1font
287texlive-collection-fontutils,/usr/bin/ot2kpx,/usr/share/texmf-dist/scripts/fontools/ot2kpx
288texlive-collection-fontutils,/usr/bin/pfm2kpx,/usr/share/texmf-dist/scripts/fontools/pfm2kpx
289texlive-collection-fontutils,/usr/bin/showglyphs,/usr/share/texmf-dist/scripts/fontools/showglyphs
290texlive-collection-fontutils,/usr/bin/vpl2ovp,/usr/share/texmf-dist/scripts/accfonts/vpl2ovp
291texlive-collection-fontutils,/usr/bin/vpl2vpl,/usr/share/texmf-dist/scripts/accfonts/vpl2vpl
292texlive-collection-htmlxml,/usr/bin/ht,/usr/share/texmf-dist/scripts/tex4ht/ht.sh
293texlive-collection-htmlxml,/usr/bin/htcontext,/usr/share/texmf-dist/scripts/tex4ht/htcontext.sh
294texlive-collection-htmlxml,/usr/bin/htlatex,/usr/share/texmf-dist/scripts/tex4ht/htlatex.sh
295texlive-collection-htmlxml,/usr/bin/htmex,/usr/share/texmf-dist/scripts/tex4ht/htmex.sh
296texlive-collection-htmlxml,/usr/bin/httex,/usr/share/texmf-dist/scripts/tex4ht/httex.sh
297texlive-collection-htmlxml,/usr/bin/httexi,/usr/share/texmf-dist/scripts/tex4ht/httexi.sh
298texlive-collection-htmlxml,/usr/bin/htxelatex,/usr/share/texmf-dist/scripts/tex4ht/htxelatex.sh
299texlive-collection-htmlxml,/usr/bin/htxetex,/usr/share/texmf-dist/scripts/tex4ht/htxetex.sh
300texlive-collection-htmlxml,/usr/bin/mk4ht,/usr/share/texmf-dist/scripts/tex4ht/mk4ht.pl
301texlive-collection-langgreek,/usr/bin/mkgrkindex,/usr/share/texmf-dist/scripts/mkgrkindex/mkgrkindex
302texlive-collection-langindic,/usr/bin/ebong,/usr/share/texmf-dist/scripts/ebong/ebong.py
303texlive-collection-latex,/usr/bin/mptopdf,/usr/share/texmf-dist/scripts/context/perl/mptopdf.pl
304texlive-collection-latex,/usr/bin/pdfatfi,/usr/share/texmf-dist/scripts/oberdiek/pdfatfi.pl
305texlive-collection-latexextra,/usr/bin/authorindex,/usr/share/texmf-dist/scripts/authorindex/authorindex
306texlive-collection-latexextra,/usr/bin/makeglossaries,/usr/share/texmf-dist/scripts/glossaries/makeglossaries
307texlive-collection-latexextra,/usr/bin/pdfannotextractor,/usr/share/texmf-dist/scripts/pax/pdfannotextractor.pl
308texlive-collection-latexextra,/usr/bin/pdfthumb,/usr/share/texmf-dist/scripts/ppower4/pdfthumb.tlu
309texlive-collection-latexextra,/usr/bin/perltex,/usr/share/texmf-dist/scripts/perltex/perltex.pl
310texlive-collection-latexextra,/usr/bin/ppower4,/usr/share/texmf-dist/scripts/ppower4/ppower4.tlu
311texlive-collection-latexextra,/usr/bin/ps4pdf,/usr/share/texmf-dist/scripts/pst-pdf/ps4pdf
312texlive-collection-latexextra,/usr/bin/splitindex,/usr/share/texmf-dist/scripts/splitindex/perl/splitindex.pl
313texlive-collection-latexextra,/usr/bin/svn-multi,/usr/share/texmf-dist/scripts/svn-multi/svn-multi.pl
314texlive-collection-latexextra,/usr/bin/vpe,/usr/share/texmf-dist/scripts/vpe/vpe.pl
315texlive-collection-latexrecommended,/usr/bin/thumbpdf,/usr/share/texmf-dist/scripts/thumbpdf/thumbpdf.pl
316texlive-collection-luatex,/usr/bin/mkluatexfontdb,/usr/share/texmf-dist/scripts/luaotfload/mkluatexfontdb.lua
317texlive-collection-music,/usr/bin/musixflx,/usr/share/texmf-dist/scripts/musixtex/musixflx.lua
318texlive-collection-music,/usr/bin/musixtex,/usr/share/texmf-dist/scripts/musixtex/musixtex.lua
319texlive-collection-pictures,/usr/bin/cachepic,/usr/share/texmf-dist/scripts/cachepic/cachepic.tlu
320texlive-collection-pictures,/usr/bin/epspdf,/usr/share/texmf-dist/scripts/epspdf/epspdf.rb
321texlive-collection-pictures,/usr/bin/epspdftk,/usr/share/texmf-dist/scripts/epspdf/epspdftk.tcl
322texlive-collection-pictures,/usr/bin/fig4latex,/usr/share/texmf-dist/scripts/fig4latex/fig4latex
323texlive-collection-pictures,/usr/bin/mathspic,/usr/share/texmf-dist/scripts/mathspic/mathspic.pl
324texlive-collection-pstricks,/usr/bin/pst2pdf,/usr/share/texmf-dist/scripts/pst2pdf/pst2pdf
325texlive-collection-science,/usr/bin/ulqda,/usr/share/texmf-dist/scripts/ulqda/ulqda.pl
326)
327%__mkdir_p %{buildroot}%{_bindir}
328pushd %{buildroot}%{_bindir}
329    for i in "${mk_symlinks[@]}"; do
330        tlc=$(echo $i | cut -f 1 -d",")
331        lnk=$(echo $i | cut -f 2 -d"," | %__sed -e "s|/usr/bin/||")
332        rlnk=$(echo $i | cut -f 3 -d"," | %__sed -e "s|/usr/|../|")
333
334        [ "%{name}" = "$tlc" ] || continue
335        [ -f $rlnk ] || exit 1
336        %__ln_s $rlnk $lnk || exit 1
337    done
338popd
339## Files list
340find %{buildroot} -type f -or -type l | \
341    %__sed -e "s|%{buildroot}||g" > filelist.full
342
343find %{buildroot}%{texmf}-dist -type d | \
344    %__sed -e "s|^%{buildroot}|%dir |" \
345           -e "s|$|/|"             >> filelist.full
346
347## subpackages
348grep "/texmf-dist/doc/" filelist.full > filelist.doc
349cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
350%__mv -f filelist.tmp filelist.full
351
352%clean
353%__rm -rf %{buildroot}
354
355%post
356%{exec_texhash}
357
358rpm -q --quiet texlive-common || exit 0
359
360echo -n "    "
361echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
362
363exit 0
364
365
366%postun
367if [ "$1" = 0 ]; then
368    %{exec_texhash}
369
370fi
371
372exit 0
373
374%files -f filelist.full
375%defattr(-,root,root,-)
376
377%files -f filelist.doc doc
378%defattr(-,root,root,-)
379
380%changelog
381* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
382- generated by tlpdb2rpmspec 2011-1: tlpdb2rpmspec collection-langgerman
383
384* Mon Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
385- generated by tlpdb2rpmspec 2009-4: tlpdb2rpmspec collection-langgerman
386- make symlinks of core script utils (texlive-collection-binextra,
387  texlive-collection-context, texlive-collection-fontutils,
388  texlive-collection-langgreek, texlive-collection-langindic,
389  texlive-collection-latex, texlive-collection-latexextra,
390  texlive-collection-latexrecommended, texlive-collection-pictures,
391  texlive-collection-pstricks, texlive-collection-science)
392
393* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
394- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langgerman
395- improved %%post
396
397* Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
398- generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langgerman
399- removed arch dependent binaries (texlive-collection-latexextra)
400- fixed perl path
401- improved updmap process in %%post and %%postun
402
403* Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
404- generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langgerman
Note: See TracBrowser for help on using the repository browser.