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

Revision 5207, 19.5 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-documentation-french
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: French documentation
25Summary(ja): TeX Live: French documentation
26Name: texlive-collection-documentation-french
27Version: 2011
28Release: 1%{?_dist_release}
29License: LPPL, GPL+, GFDL
30Group: Applications/Publishing
31URL:http://www.tug.org/texlive/
32
33Requires: texlive = %{version}
34
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 French documentation:
58
59
60This package contains the following CTAN packages:
61apprends-latex: Apprends LaTeX!
62epslatex-fr: French version of "graphics in LaTeX".
63impatient-fr: Free edition of the book "TeX for the Impatient"
64l2tabu-french: French translation of l2tabu.
65lshort-french: Short introduction to LaTeX, French translation.
66texlive-fr: TeX Live manual (French)
67
68%description -l ja
69TeX Live ソフトウェアディストリビューションは、
70さまざまな Unix, Macintosh, Windows、および
71他のプラットホームに対して完全な TeX システムを提供します。
72多くの異なった言語を含む TeX ドキュメントの
73編集、組版、閲覧、印刷するためのプログラム、
74そして、TeX マクロやフォントライブラリの大きなコレクションを
75同梱しています。
76
77このディストリビューションは
78同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
79TeX に関するたくさんの一般的なドキュメントを含んでいます。
80
81このパッケージは以下のようなパッケージ集です。
82French documentation:
83
84
85このパッケージは以下の CTAN パッケージを含んでいます:
86apprends-latex: Apprends LaTeX!
87epslatex-fr: French version of "graphics in LaTeX".
88impatient-fr: Free edition of the book "TeX for the Impatient"
89l2tabu-french: French translation of l2tabu.
90lshort-french: Short introduction to LaTeX, French translation.
91texlive-fr: TeX Live manual (French)
92
93%prep
94
95%build
96
97%install
98[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
99
100PREF=%{buildroot}%{tex_destdir}
101
102manifest=(
103texmf-dist/doc/latex/apprends-latex/Apprends_LaTeX.pdf
104texmf-dist/doc/latex/apprends-latex/Apprends_LaTeX.tex
105texmf-dist/doc/latex/apprends-latex/README
106texmf-dist/doc/latex/apprends-latex/avance.bib
107texmf-dist/doc/latex/apprends-latex/bibliographie-index.bib
108texmf-dist/doc/latex/apprends-latex/divers.bib
109texmf-dist/doc/latex/apprends-latex/exemples/Makefile
110texmf-dist/doc/latex/apprends-latex/exemples/beamer-themes.pl
111texmf-dist/doc/latex/apprends-latex/exemples/beamer-titlepage.tex
112texmf-dist/doc/latex/apprends-latex/exemples/currvita.tex
113texmf-dist/doc/latex/apprends-latex/exemples/curve-experience.tex
114texmf-dist/doc/latex/apprends-latex/exemples/curve-extra.tex
115texmf-dist/doc/latex/apprends-latex/exemples/curve-formation.tex
116texmf-dist/doc/latex/apprends-latex/exemples/curve-langues.tex
117texmf-dist/doc/latex/apprends-latex/exemples/curve-methodologies.tex
118texmf-dist/doc/latex/apprends-latex/exemples/curve-references.tex
119texmf-dist/doc/latex/apprends-latex/exemples/curve.tex
120texmf-dist/doc/latex/apprends-latex/exemples/letter.tex
121texmf-dist/doc/latex/apprends-latex/exemples/moderncv.tex
122texmf-dist/doc/latex/apprends-latex/exemples/polices.pl
123texmf-dist/doc/latex/apprends-latex/exemples/scrlttr2.tex
124texmf-dist/doc/latex/apprends-latex/exemples/seraphin-lampion.jpg
125texmf-dist/doc/latex/apprends-latex/exemples/slides.tex
126texmf-dist/doc/latex/apprends-latex/exemples/tikz.tex
127texmf-dist/doc/latex/apprends-latex/graphisme.bib
128texmf-dist/doc/latex/apprends-latex/index.ist
129texmf-dist/doc/latex/apprends-latex/latex.bib
130texmf-dist/doc/latex/apprends-latex/latexmkrc
131texmf-dist/doc/latex/apprends-latex/typographie.bib
132texmf-dist/doc/latex/epslatex-fr/Ball.eps
133texmf-dist/doc/latex/epslatex-fr/CHAP2.sty
134texmf-dist/doc/latex/epslatex-fr/Construction.eps
135texmf-dist/doc/latex/epslatex-fr/Franc-chap.sty
136texmf-dist/doc/latex/epslatex-fr/README
137texmf-dist/doc/latex/epslatex-fr/README.TEXLIVE
138texmf-dist/doc/latex/epslatex-fr/Warning.eps
139texmf-dist/doc/latex/epslatex-fr/alltex.sty
140texmf-dist/doc/latex/epslatex-fr/auteurs.sty
141texmf-dist/doc/latex/epslatex-fr/bases.sty
142texmf-dist/doc/latex/epslatex-fr/block.sty
143texmf-dist/doc/latex/epslatex-fr/box1.eps
144texmf-dist/doc/latex/epslatex-fr/box2.eps
145texmf-dist/doc/latex/epslatex-fr/boxes.sty
146texmf-dist/doc/latex/epslatex-fr/btxdoc.bib
147texmf-dist/doc/latex/epslatex-fr/cm.eps
148texmf-dist/doc/latex/epslatex-fr/cm.ps
149texmf-dist/doc/latex/epslatex-fr/danger.eps
150texmf-dist/doc/latex/epslatex-fr/divers.sty
151texmf-dist/doc/latex/epslatex-fr/ebnf.sty
152texmf-dist/doc/latex/epslatex-fr/export.sty
153texmf-dist/doc/latex/epslatex-fr/fepslatex.pdf
154texmf-dist/doc/latex/epslatex-fr/fepslatex.tex
155texmf-dist/doc/latex/epslatex-fr/fill.sty
156texmf-dist/doc/latex/epslatex-fr/fmparhack.sty
157texmf-dist/doc/latex/epslatex-fr/foot.sty
158texmf-dist/doc/latex/epslatex-fr/fr.sty
159texmf-dist/doc/latex/epslatex-fr/franc.sty
160texmf-dist/doc/latex/epslatex-fr/frnew.sty
161texmf-dist/doc/latex/epslatex-fr/g_toc_entry.sty
162texmf-dist/doc/latex/epslatex-fr/graphic.eps
163texmf-dist/doc/latex/epslatex-fr/hands.sty
164texmf-dist/doc/latex/epslatex-fr/header.tex
165texmf-dist/doc/latex/epslatex-fr/indentondemand.sty
166texmf-dist/doc/latex/epslatex-fr/makecmds.sty
167texmf-dist/doc/latex/epslatex-fr/makerobust.sty
168texmf-dist/doc/latex/epslatex-fr/mass.eps
169texmf-dist/doc/latex/epslatex-fr/mypatches.sty
170texmf-dist/doc/latex/epslatex-fr/myvarioref.sty
171texmf-dist/doc/latex/epslatex-fr/nrfoot.sty
172texmf-dist/doc/latex/epslatex-fr/origin.eps
173texmf-dist/doc/latex/epslatex-fr/overlay.sty
174texmf-dist/doc/latex/epslatex-fr/pale.eps
175texmf-dist/doc/latex/epslatex-fr/pend.eps
176texmf-dist/doc/latex/epslatex-fr/pretzel.eps
177texmf-dist/doc/latex/epslatex-fr/pretzel.ps
178texmf-dist/doc/latex/epslatex-fr/rdanger.eps
179texmf-dist/doc/latex/epslatex-fr/rosette.eps
180texmf-dist/doc/latex/epslatex-fr/rosette.ps
181texmf-dist/doc/latex/epslatex-fr/sgte.sty
182texmf-dist/doc/latex/epslatex-fr/smaller.sty
183texmf-dist/doc/latex/epslatex-fr/square.eps
184texmf-dist/doc/latex/epslatex-fr/topcapt.sty
185texmf-dist/doc/latex/epslatex-fr/topfig.sty
186texmf-dist/doc/latex/epslatex-fr/warn.sty
187texmf-dist/doc/latex/epslatex-fr/wdesc.sty
188texmf-dist/doc/latex/epslatex-fr/whitecdp.sty
189texmf-dist/doc/latex/epslatex-fr/wide.eps
190texmf-dist/doc/latex/epslatex-fr/widecenter.sty
191texmf-dist/doc/latex/epslatex-fr/xb.sty
192texmf-dist/doc/plain/impatient-fr/README
193texmf-dist/doc/plain/impatient-fr/config.tex
194texmf-dist/doc/plain/impatient-fr/eplain.tex
195texmf-dist/doc/plain/impatient-fr/fbackm.tex
196texmf-dist/doc/plain/impatient-fr/fbook.pdf
197texmf-dist/doc/plain/impatient-fr/fbook.tex
198texmf-dist/doc/plain/impatient-fr/fcapsule.tex
199texmf-dist/doc/plain/impatient-fr/fconcept.tex
200texmf-dist/doc/plain/impatient-fr/fcopyrgh.tex
201texmf-dist/doc/plain/impatient-fr/fdl.tex
202texmf-dist/doc/plain/impatient-fr/ferrors.tex
203texmf-dist/doc/plain/impatient-fr/fexamples.tex
204texmf-dist/doc/plain/impatient-fr/ffrontm.tex
205texmf-dist/doc/plain/impatient-fr/fgenops.tex
206texmf-dist/doc/plain/impatient-fr/fmacros.tex
207texmf-dist/doc/plain/impatient-fr/fmath.tex
208texmf-dist/doc/plain/impatient-fr/fmodes.tex
209texmf-dist/doc/plain/impatient-fr/fonts.tex
210texmf-dist/doc/plain/impatient-fr/fpages.tex
211texmf-dist/doc/plain/impatient-fr/fparas.tex
212texmf-dist/doc/plain/impatient-fr/fpreface.tex
213texmf-dist/doc/plain/impatient-fr/fread1st.tex
214texmf-dist/doc/plain/impatient-fr/ftips.tex
215texmf-dist/doc/plain/impatient-fr/fusebook.tex
216texmf-dist/doc/plain/impatient-fr/fusermacs.tex
217texmf-dist/doc/plain/impatient-fr/fusingtex.tex
218texmf-dist/doc/plain/impatient-fr/fxmptext.tex
219texmf-dist/doc/latex/l2tabu-french/README
220texmf-dist/doc/latex/l2tabu-french/l2tabufr-heavy.pdf
221texmf-dist/doc/latex/l2tabu-french/l2tabufr-light.pdf
222texmf-dist/doc/latex/l2tabu-french/l2tabufr.tex
223texmf-dist/doc/latex/lshort-french/CHANGES.fr
224texmf-dist/doc/latex/lshort-french/README
225texmf-dist/doc/latex/lshort-french/lshort-fr-4.31fr-1.src.tar.gz
226texmf-dist/doc/latex/lshort-french/lshort-fr.pdf
227)
228
229%__mkdir_p ${PREF}/texmf-dist
230for i in "${manifest[@]}"; do
231    %__install -m $(stat -c %a %{texlive_src}/$i) -p -D %{texlive_src}/$i ${PREF}/$i
232done
233## make symlinks of core script utils
234mk_symlinks=(
235texlive-collection-bibtexextra,/usr/bin/bibexport,/usr/share/texmf-dist/scripts/bibexport/bibexport.sh
236texlive-collection-binextra,/usr/bin/arlatex,/usr/share/texmf-dist/scripts/bundledoc/arlatex
237texlive-collection-binextra,/usr/bin/bundledoc,/usr/share/texmf-dist/scripts/bundledoc/bundledoc
238texlive-collection-binextra,/usr/bin/de-macro,/usr/share/texmf-dist/scripts/de-macro/de-macro
239texlive-collection-binextra,/usr/bin/dviasm,/usr/share/texmf-dist/scripts/dviasm/dviasm.py
240texlive-collection-binextra,/usr/bin/findhyph,/usr/share/texmf-dist/scripts/findhyph/findhyph
241texlive-collection-binextra,/usr/bin/fragmaster,/usr/share/texmf-dist/scripts/fragmaster/fragmaster.pl
242texlive-collection-binextra,/usr/bin/installfont-tl,/usr/share/texmf-dist/scripts/installfont/installfont-tl
243texlive-collection-binextra,/usr/bin/latex2man,/usr/share/texmf-dist/scripts/latex2man/latex2man
244texlive-collection-binextra,/usr/bin/latexdiff,/usr/share/texmf-dist/scripts/latexdiff/latexdiff.pl
245texlive-collection-binextra,/usr/bin/latexdiff-vc,/usr/share/texmf-dist/scripts/latexdiff/latexdiff-vc.pl
246texlive-collection-binextra,/usr/bin/latexmk,/usr/share/texmf-dist/scripts/latexmk/latexmk.pl
247texlive-collection-binextra,/usr/bin/latexrevise,/usr/share/texmf-dist/scripts/latexdiff/latexrevise.pl
248texlive-collection-binextra,/usr/bin/listings-ext.sh,/usr/share/texmf-dist/scripts/listings-ext/listings-ext.sh
249texlive-collection-binextra,/usr/bin/mkjobtexmf,/usr/share/texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl
250texlive-collection-binextra,/usr/bin/pdf180,/usr/share/texmf-dist/scripts/pdfjam/pdf180
251texlive-collection-binextra,/usr/bin/pdf270,/usr/share/texmf-dist/scripts/pdfjam/pdf270
252texlive-collection-binextra,/usr/bin/pdf90,/usr/share/texmf-dist/scripts/pdfjam/pdf90
253texlive-collection-binextra,/usr/bin/pdfbook,/usr/share/texmf-dist/scripts/pdfjam/pdfbook
254texlive-collection-binextra,/usr/bin/pdfcrop,/usr/share/texmf-dist/scripts/pdfcrop/pdfcrop.pl
255texlive-collection-binextra,/usr/bin/pdfflip,/usr/share/texmf-dist/scripts/pdfjam/pdfflip
256texlive-collection-binextra,/usr/bin/pdfjam,/usr/share/texmf-dist/scripts/pdfjam/pdfjam
257texlive-collection-binextra,/usr/bin/pdfjam-pocketmod,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-pocketmod
258texlive-collection-binextra,/usr/bin/pdfjam-slides3up,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-slides3up
259texlive-collection-binextra,/usr/bin/pdfjam-slides6up,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-slides6up
260texlive-collection-binextra,/usr/bin/pdfjoin,/usr/share/texmf-dist/scripts/pdfjam/pdfjoin
261texlive-collection-binextra,/usr/bin/pdfnup,/usr/share/texmf-dist/scripts/pdfjam/pdfnup
262texlive-collection-binextra,/usr/bin/pdfpun,/usr/share/texmf-dist/scripts/pdfjam/pdfpun
263texlive-collection-binextra,/usr/bin/pkfix,/usr/share/texmf-dist/scripts/pkfix/pkfix.pl
264texlive-collection-binextra,/usr/bin/pkfix-helper,/usr/share/texmf-dist/scripts/pkfix-helper/pkfix-helper
265texlive-collection-binextra,/usr/bin/purifyeps,/usr/share/texmf-dist/scripts/purifyeps/purifyeps
266texlive-collection-binextra,/usr/bin/sty2dtx,/usr/share/texmf-dist/scripts/sty2dtx/sty2dtx.pl
267texlive-collection-binextra,/usr/bin/texcount,/usr/share/texmf-dist/scripts/texcount/texcount.pl
268texlive-collection-binextra,/usr/bin/texdef,/usr/share/texmf-dist/scripts/texdef/texdef.pl
269texlive-collection-binextra,/usr/bin/texdiff,/usr/share/texmf-dist/scripts/texdiff/texdiff
270texlive-collection-binextra,/usr/bin/texdirflatten,/usr/share/texmf-dist/scripts/texdirflatten/texdirflatten
271texlive-collection-binextra,/usr/bin/texloganalyser,/usr/share/texmf-dist/scripts/texloganalyser/texloganalyser
272texlive-collection-fontutils,/usr/bin/afm2afm,/usr/share/texmf-dist/scripts/fontools/afm2afm
273texlive-collection-fontutils,/usr/bin/autoinst,/usr/share/texmf-dist/scripts/fontools/autoinst
274texlive-collection-fontutils,/usr/bin/cmap2enc,/usr/share/texmf-dist/scripts/fontools/cmap2enc
275texlive-collection-fontutils,/usr/bin/epstopdf,/usr/share/texmf-dist/scripts/epstopdf/epstopdf.pl
276texlive-collection-fontutils,/usr/bin/font2afm,/usr/share/texmf-dist/scripts/fontools/font2afm
277texlive-collection-fontutils,/usr/bin/mkt1font,/usr/share/texmf-dist/scripts/accfonts/mkt1font
278texlive-collection-fontutils,/usr/bin/ot2kpx,/usr/share/texmf-dist/scripts/fontools/ot2kpx
279texlive-collection-fontutils,/usr/bin/pfm2kpx,/usr/share/texmf-dist/scripts/fontools/pfm2kpx
280texlive-collection-fontutils,/usr/bin/showglyphs,/usr/share/texmf-dist/scripts/fontools/showglyphs
281texlive-collection-fontutils,/usr/bin/vpl2ovp,/usr/share/texmf-dist/scripts/accfonts/vpl2ovp
282texlive-collection-fontutils,/usr/bin/vpl2vpl,/usr/share/texmf-dist/scripts/accfonts/vpl2vpl
283texlive-collection-htmlxml,/usr/bin/ht,/usr/share/texmf-dist/scripts/tex4ht/ht.sh
284texlive-collection-htmlxml,/usr/bin/htcontext,/usr/share/texmf-dist/scripts/tex4ht/htcontext.sh
285texlive-collection-htmlxml,/usr/bin/htlatex,/usr/share/texmf-dist/scripts/tex4ht/htlatex.sh
286texlive-collection-htmlxml,/usr/bin/htmex,/usr/share/texmf-dist/scripts/tex4ht/htmex.sh
287texlive-collection-htmlxml,/usr/bin/httex,/usr/share/texmf-dist/scripts/tex4ht/httex.sh
288texlive-collection-htmlxml,/usr/bin/httexi,/usr/share/texmf-dist/scripts/tex4ht/httexi.sh
289texlive-collection-htmlxml,/usr/bin/htxelatex,/usr/share/texmf-dist/scripts/tex4ht/htxelatex.sh
290texlive-collection-htmlxml,/usr/bin/htxetex,/usr/share/texmf-dist/scripts/tex4ht/htxetex.sh
291texlive-collection-htmlxml,/usr/bin/mk4ht,/usr/share/texmf-dist/scripts/tex4ht/mk4ht.pl
292texlive-collection-langgreek,/usr/bin/mkgrkindex,/usr/share/texmf-dist/scripts/mkgrkindex/mkgrkindex
293texlive-collection-langindic,/usr/bin/ebong,/usr/share/texmf-dist/scripts/ebong/ebong.py
294texlive-collection-latex,/usr/bin/mptopdf,/usr/share/texmf-dist/scripts/context/perl/mptopdf.pl
295texlive-collection-latex,/usr/bin/pdfatfi,/usr/share/texmf-dist/scripts/oberdiek/pdfatfi.pl
296texlive-collection-latexextra,/usr/bin/authorindex,/usr/share/texmf-dist/scripts/authorindex/authorindex
297texlive-collection-latexextra,/usr/bin/makeglossaries,/usr/share/texmf-dist/scripts/glossaries/makeglossaries
298texlive-collection-latexextra,/usr/bin/pdfannotextractor,/usr/share/texmf-dist/scripts/pax/pdfannotextractor.pl
299texlive-collection-latexextra,/usr/bin/pdfthumb,/usr/share/texmf-dist/scripts/ppower4/pdfthumb.tlu
300texlive-collection-latexextra,/usr/bin/perltex,/usr/share/texmf-dist/scripts/perltex/perltex.pl
301texlive-collection-latexextra,/usr/bin/ppower4,/usr/share/texmf-dist/scripts/ppower4/ppower4.tlu
302texlive-collection-latexextra,/usr/bin/ps4pdf,/usr/share/texmf-dist/scripts/pst-pdf/ps4pdf
303texlive-collection-latexextra,/usr/bin/splitindex,/usr/share/texmf-dist/scripts/splitindex/perl/splitindex.pl
304texlive-collection-latexextra,/usr/bin/svn-multi,/usr/share/texmf-dist/scripts/svn-multi/svn-multi.pl
305texlive-collection-latexextra,/usr/bin/vpe,/usr/share/texmf-dist/scripts/vpe/vpe.pl
306texlive-collection-latexrecommended,/usr/bin/thumbpdf,/usr/share/texmf-dist/scripts/thumbpdf/thumbpdf.pl
307texlive-collection-luatex,/usr/bin/mkluatexfontdb,/usr/share/texmf-dist/scripts/luaotfload/mkluatexfontdb.lua
308texlive-collection-music,/usr/bin/musixflx,/usr/share/texmf-dist/scripts/musixtex/musixflx.lua
309texlive-collection-music,/usr/bin/musixtex,/usr/share/texmf-dist/scripts/musixtex/musixtex.lua
310texlive-collection-pictures,/usr/bin/cachepic,/usr/share/texmf-dist/scripts/cachepic/cachepic.tlu
311texlive-collection-pictures,/usr/bin/epspdf,/usr/share/texmf-dist/scripts/epspdf/epspdf.rb
312texlive-collection-pictures,/usr/bin/epspdftk,/usr/share/texmf-dist/scripts/epspdf/epspdftk.tcl
313texlive-collection-pictures,/usr/bin/fig4latex,/usr/share/texmf-dist/scripts/fig4latex/fig4latex
314texlive-collection-pictures,/usr/bin/mathspic,/usr/share/texmf-dist/scripts/mathspic/mathspic.pl
315texlive-collection-pstricks,/usr/bin/pst2pdf,/usr/share/texmf-dist/scripts/pst2pdf/pst2pdf
316texlive-collection-science,/usr/bin/ulqda,/usr/share/texmf-dist/scripts/ulqda/ulqda.pl
317)
318%__mkdir_p %{buildroot}%{_bindir}
319pushd %{buildroot}%{_bindir}
320    for i in "${mk_symlinks[@]}"; do
321        tlc=$(echo $i | cut -f 1 -d",")
322        lnk=$(echo $i | cut -f 2 -d"," | %__sed -e "s|/usr/bin/||")
323        rlnk=$(echo $i | cut -f 3 -d"," | %__sed -e "s|/usr/|../|")
324
325        [ "%{name}" = "$tlc" ] || continue
326        [ -f $rlnk ] || exit 1
327        %__ln_s $rlnk $lnk || exit 1
328    done
329popd
330## Files list
331find %{buildroot} -type f -or -type l | \
332    %__sed -e "s|%{buildroot}||g" > filelist.full
333
334find %{buildroot}%{texmf}-dist -type d | \
335    %__sed -e "s|^%{buildroot}|%dir |" \
336           -e "s|$|/|"             >> filelist.full
337
338%clean
339%__rm -rf %{buildroot}
340
341%post
342%{exec_texhash}
343
344exit 0
345
346
347%postun
348if [ "$1" = 0 ]; then
349    %{exec_texhash}
350
351fi
352
353exit 0
354
355%files -f filelist.full
356%defattr(-,root,root,-)
357
358%changelog
359* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
360- generated by tlpdb2rpmspec 2011-1: tlpdb2rpmspec collection-documentation-french
361
362* Mon Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
363- generated by tlpdb2rpmspec 2009-4: tlpdb2rpmspec collection-documentation-french
364- make symlinks of core script utils (texlive-collection-binextra,
365  texlive-collection-context, texlive-collection-fontutils,
366  texlive-collection-langgreek, texlive-collection-langindic,
367  texlive-collection-latex, texlive-collection-latexextra,
368  texlive-collection-latexrecommended, texlive-collection-pictures,
369  texlive-collection-pstricks, texlive-collection-science)
370
371* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
372- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-french
373- improved %%post
374
375* Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
376- generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-french
377- removed arch dependent binaries (texlive-collection-latexextra)
378- fixed perl path
379- improved updmap process in %%post and %%postun
380
381* Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
382- generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-french
Note: See TracBrowser for help on using the repository browser.