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

Revision 5207, 21.4 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-genericrecommended
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: Recommended generic packages
25Summary(ja): TeX Live: Recommended generic packages
26Name: texlive-collection-genericrecommended
27Version: 2011
28Release: 1%{?_dist_release}
29License: Public Domain, GPL+, LPPL, 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 Recommended generic packages:
58Recommended packages that work with multiple formats.
59
60This package contains the following CTAN packages:
61epsf: Simple macros for EPS inclusion.
62fontname: Scheme for naming fonts in TeX.
63genmisc:
64kastrup:
65multido: A loop facility for Generic TeX.
66path: Typeset paths, making them breakable.
67tex-ps: TeX to PostScript generic macros and add-ons.
68ulem: Package for underlining.
69
70%description -l ja
71TeX Live ソフトウェアディストリビューションは、
72さまざまな Unix, Macintosh, Windows、および
73他のプラットホームに対して完全な TeX システムを提供します。
74多くの異なった言語を含む TeX ドキュメントの
75編集、組版、閲覧、印刷するためのプログラム、
76そして、TeX マクロやフォントライブラリの大きなコレクションを
77同梱しています。
78
79このディストリビューションは
80同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
81TeX に関するたくさんの一般的なドキュメントを含んでいます。
82
83このパッケージは以下のようなパッケージ集です。
84Recommended generic packages:
85Recommended packages that work with multiple formats.
86
87このパッケージは以下の CTAN パッケージを含んでいます:
88epsf: Simple macros for EPS inclusion.
89fontname: Scheme for naming fonts in TeX.
90genmisc:
91kastrup:
92multido: A loop facility for Generic TeX.
93path: Typeset paths, making them breakable.
94tex-ps: TeX to PostScript generic macros and add-ons.
95ulem: Package for underlining.
96
97%package doc
98Summary: TeX Live: Documentation files of %{name}
99Group: Applications/Publishing
100Requires: %{name} = %{version}-%{release}
101
102%description doc
103This package contains documentation files of %{name}.
104
105%prep
106
107%build
108
109%install
110[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
111
112PREF=%{buildroot}%{tex_destdir}
113
114manifest=(
115texmf-dist/doc/generic/epsf/LICENSE
116texmf-dist/doc/generic/epsf/Makefile
117texmf-dist/doc/generic/epsf/README
118texmf-dist/doc/generic/epsf/bboxgrid.ps
119texmf-dist/doc/generic/epsf/epsf-doc.pdf
120texmf-dist/doc/generic/epsf/epsf-doc.tex
121texmf-dist/doc/generic/epsf/fndbadps
122texmf-dist/doc/generic/epsf/okay/teps.eps
123texmf-dist/doc/generic/epsf/okay/tepsf.eps
124texmf-dist/doc/generic/epsf/okay/tepsf1.dvi
125texmf-dist/doc/generic/epsf/okay/tepsf2.dvi
126texmf-dist/doc/generic/epsf/okay/tepsf3.dvi
127texmf-dist/doc/generic/epsf/teps.eps
128texmf-dist/doc/generic/epsf/tepsf.eps
129texmf-dist/doc/generic/epsf/tepsf1.tex
130texmf-dist/doc/generic/epsf/tepsf2.ltx
131texmf-dist/doc/generic/epsf/tepsf3.tex
132texmf-dist/tex/generic/epsf/epsf.sty
133texmf-dist/tex/generic/epsf/epsf.tex
134texmf-dist/doc/fonts/fontname/8a.html
135texmf-dist/doc/fonts/fontname/8r.html
136texmf-dist/doc/fonts/fontname/Adobe-fonts.html
137texmf-dist/doc/fonts/fontname/Apple-fonts.html
138texmf-dist/doc/fonts/fontname/Bitstream-fonts.html
139texmf-dist/doc/fonts/fontname/ChangeLog
140texmf-dist/doc/fonts/fontname/DTC-fonts.html
141texmf-dist/doc/fonts/fontname/Encodings.html
142texmf-dist/doc/fonts/fontname/Filenames-for-fonts.html
143texmf-dist/doc/fonts/fontname/Font-legalities.html
144texmf-dist/doc/fonts/fontname/Font-name-lists.html
145texmf-dist/doc/fonts/fontname/History.html
146texmf-dist/doc/fonts/fontname/ITC-fonts.html
147texmf-dist/doc/fonts/fontname/Introduction.html
148texmf-dist/doc/fonts/fontname/Linotype-fonts.html
149texmf-dist/doc/fonts/fontname/Long-names.html
150texmf-dist/doc/fonts/fontname/Long-naming-scheme.html
151texmf-dist/doc/fonts/fontname/Makefile
152texmf-dist/doc/fonts/fontname/Monotype-fonts.html
153texmf-dist/doc/fonts/fontname/Name-mapping-file.html
154texmf-dist/doc/fonts/fontname/References.html
155texmf-dist/doc/fonts/fontname/Standard-PostScript-fonts.html
156texmf-dist/doc/fonts/fontname/Suppliers.html
157texmf-dist/doc/fonts/fontname/Typefaces.html
158texmf-dist/doc/fonts/fontname/URW-fonts.html
159texmf-dist/doc/fonts/fontname/Variants.html
160texmf-dist/doc/fonts/fontname/Weights.html
161texmf-dist/doc/fonts/fontname/Widths.html
162texmf-dist/doc/fonts/fontname/bitstrea.aka
163texmf-dist/doc/fonts/fontname/cork.html
164texmf-dist/doc/fonts/fontname/dvips.html
165texmf-dist/doc/fonts/fontname/fontname.aux
166texmf-dist/doc/fonts/fontname/fontname.cp
167texmf-dist/doc/fonts/fontname/fontname.html
168texmf-dist/doc/fonts/fontname/fontname.pdf
169texmf-dist/doc/fonts/fontname/fontname.texi
170texmf-dist/doc/fonts/fontname/fontname.toc
171texmf-dist/doc/fonts/fontname/index.html
172texmf-dist/doc/fonts/fontname/texmext.html
173texmf-dist/doc/fonts/fontname/texmital.html
174texmf-dist/doc/fonts/fontname/texmsym.html
175texmf-dist/doc/fonts/fontname/texnansi.html
176texmf-dist/doc/fonts/fontname/texnansx.html
177texmf-dist/doc/fonts/fontname/xl2.html
178texmf-dist/doc/fonts/fontname/xt2.html
179texmf-dist/fonts/map/fontname/adobe.map
180texmf-dist/fonts/map/fontname/apple.map
181texmf-dist/fonts/map/fontname/bitstrea.map
182texmf-dist/fonts/map/fontname/dtc.map
183texmf-dist/fonts/map/fontname/itc.map
184texmf-dist/fonts/map/fontname/linot-cd.map
185texmf-dist/fonts/map/fontname/linotype-cd.map
186texmf-dist/fonts/map/fontname/linotype.map
187texmf-dist/fonts/map/fontname/monotype.map
188texmf-dist/fonts/map/fontname/skey1250.map
189texmf-dist/fonts/map/fontname/skey1555.map
190texmf-dist/fonts/map/fontname/softkey-1250.map
191texmf-dist/fonts/map/fontname/softkey-1555.map
192texmf-dist/fonts/map/fontname/softkey.map
193texmf-dist/fonts/map/fontname/special.map
194texmf-dist/fonts/map/fontname/supplier.map
195texmf-dist/fonts/map/fontname/texfonts.map
196texmf-dist/fonts/map/fontname/typeface.map
197texmf-dist/fonts/map/fontname/urw.map
198texmf-dist/fonts/map/fontname/variant.map
199texmf-dist/fonts/map/fontname/weight.map
200texmf-dist/fonts/map/fontname/width.map
201texmf-dist/fonts/map/fontname/yandy.map
202texmf-dist/tex/generic/genmisc/anti.tex
203texmf-dist/tex/generic/genmisc/apldef.tex
204texmf-dist/tex/generic/genmisc/arabic.tex
205texmf-dist/tex/generic/genmisc/backgrnd.tex
206texmf-dist/tex/generic/genmisc/balancedquotes.sty
207texmf-dist/tex/generic/genmisc/chessmin.tex
208texmf-dist/tex/generic/genmisc/compare.tex
209texmf-dist/tex/generic/genmisc/cropmark.sty
210texmf-dist/tex/generic/genmisc/cropmark.tex
211texmf-dist/tex/generic/genmisc/croptest.tex
212texmf-dist/tex/generic/genmisc/dayofweek.tex
213texmf-dist/tex/generic/genmisc/daytime.sty
214texmf-dist/tex/generic/genmisc/default.sty
215texmf-dist/tex/generic/genmisc/dow.tex
216texmf-dist/tex/generic/genmisc/emtrees.tex
217texmf-dist/tex/generic/genmisc/endnote.tex
218texmf-dist/tex/generic/genmisc/fakebold.tex
219texmf-dist/tex/generic/genmisc/hep.tex
220texmf-dist/tex/generic/genmisc/hexdump.sty
221texmf-dist/tex/generic/genmisc/inscrutable.tex
222texmf-dist/tex/generic/genmisc/laps.tex
223texmf-dist/tex/generic/genmisc/letterspacing.tex
224texmf-dist/tex/generic/genmisc/longdiv.tex
225texmf-dist/tex/generic/genmisc/mandel.tex
226texmf-dist/tex/generic/genmisc/mathlig.tex
227texmf-dist/tex/generic/genmisc/nth.sty
228texmf-dist/tex/generic/genmisc/outerhbox.sty
229texmf-dist/tex/generic/genmisc/pagereference.tex
230texmf-dist/tex/generic/genmisc/quotation.tex
231texmf-dist/tex/generic/genmisc/ragged.sty
232texmf-dist/tex/generic/genmisc/random.tex
233texmf-dist/tex/generic/genmisc/ruler.tex
234texmf-dist/tex/generic/genmisc/selectpage.tex
235texmf-dist/tex/generic/genmisc/shadebox.tex
236texmf-dist/tex/generic/genmisc/swrule.sty
237texmf-dist/tex/generic/genmisc/underlin.tex
238texmf-dist/tex/generic/genmisc/undertilde.tex
239texmf-dist/tex/generic/genmisc/verbatim.tex
240texmf-dist/tex/generic/genmisc/weekday.sty
241texmf-dist/tex/generic/genmisc/wiggly.tex
242texmf-dist/tex/generic/genmisc/zip.tex
243texmf-dist/doc/generic/kastrup/binhex.pdf
244texmf-dist/source/generic/kastrup/binhex.drv
245texmf-dist/source/generic/kastrup/binhex.dtx
246texmf-dist/source/generic/kastrup/binhex.ins
247texmf-dist/tex/generic/kastrup/binhex.tex
248texmf-dist/doc/generic/multido/Changes
249texmf-dist/doc/generic/multido/multido-doc.pdf
250texmf-dist/doc/generic/multido/multido-doc.tex
251texmf-dist/doc/generic/multido/multido.pdf
252texmf-dist/source/generic/multido/Makefile
253texmf-dist/tex/generic/multido/multido.tex
254texmf-dist/tex/latex/multido/multido.sty
255texmf-dist/doc/generic/path/path-doc.pdf
256texmf-dist/doc/generic/path/path-doc.tex
257texmf-dist/tex/generic/path/path.sty
258texmf-dist/doc/generic/tex-ps/cmyk-hax/README
259texmf-dist/doc/generic/tex-ps/cmyk-hax/cmyk-doc.pdf
260texmf-dist/doc/generic/tex-ps/cmyk-hax/fountain.eps
261texmf-dist/doc/generic/tex-ps/cmyk-hax/gdansk.eps
262texmf-dist/doc/generic/tex-ps/cmyk-hax/rules.tex
263texmf-dist/doc/generic/tex-ps/cmyk-hax/sam1-sep.bat
264texmf-dist/doc/generic/tex-ps/cmyk-hax/sample1.tex
265texmf-dist/doc/generic/tex-ps/cmyk-hax/sample2.tex
266texmf-dist/doc/generic/tex-ps/cmyk-hax/sample3.tex
267texmf-dist/doc/generic/tex-ps/cmyk-hax/sample4.tex
268texmf-dist/doc/generic/tex-ps/cmyk-hax/screen.eps
269texmf-dist/doc/generic/tex-ps/poligraf/README
270texmf-dist/doc/generic/tex-ps/poligraf/kol-cmyk.eps
271texmf-dist/doc/generic/tex-ps/poligraf/sample.tex
272texmf-dist/doc/generic/tex-ps/poligraf/samplelx.tex
273texmf-dist/dvips/tex-ps/crops.pro
274texmf-dist/dvips/tex-ps/mirr.hd
275texmf-dist/dvips/tex-ps/separate.pro
276texmf-dist/tex/generic/tex-ps/cmyk-hax.tex
277texmf-dist/tex/generic/tex-ps/epsfx.tex
278texmf-dist/tex/generic/tex-ps/poligraf.sty
279texmf-dist/tex/generic/tex-ps/trans.tex
280texmf-dist/doc/generic/ulem/README
281texmf-dist/doc/generic/ulem/ulem.ltx
282texmf-dist/doc/generic/ulem/ulem.pdf
283texmf-dist/tex/generic/ulem/ulem.sty
284)
285
286%__mkdir_p ${PREF}/texmf-dist
287for i in "${manifest[@]}"; do
288    %__install -m $(stat -c %a %{texlive_src}/$i) -p -D %{texlive_src}/$i ${PREF}/$i
289done
290## make symlinks of core script utils
291mk_symlinks=(
292texlive-collection-bibtexextra,/usr/bin/bibexport,/usr/share/texmf-dist/scripts/bibexport/bibexport.sh
293texlive-collection-binextra,/usr/bin/arlatex,/usr/share/texmf-dist/scripts/bundledoc/arlatex
294texlive-collection-binextra,/usr/bin/bundledoc,/usr/share/texmf-dist/scripts/bundledoc/bundledoc
295texlive-collection-binextra,/usr/bin/de-macro,/usr/share/texmf-dist/scripts/de-macro/de-macro
296texlive-collection-binextra,/usr/bin/dviasm,/usr/share/texmf-dist/scripts/dviasm/dviasm.py
297texlive-collection-binextra,/usr/bin/findhyph,/usr/share/texmf-dist/scripts/findhyph/findhyph
298texlive-collection-binextra,/usr/bin/fragmaster,/usr/share/texmf-dist/scripts/fragmaster/fragmaster.pl
299texlive-collection-binextra,/usr/bin/installfont-tl,/usr/share/texmf-dist/scripts/installfont/installfont-tl
300texlive-collection-binextra,/usr/bin/latex2man,/usr/share/texmf-dist/scripts/latex2man/latex2man
301texlive-collection-binextra,/usr/bin/latexdiff,/usr/share/texmf-dist/scripts/latexdiff/latexdiff.pl
302texlive-collection-binextra,/usr/bin/latexdiff-vc,/usr/share/texmf-dist/scripts/latexdiff/latexdiff-vc.pl
303texlive-collection-binextra,/usr/bin/latexmk,/usr/share/texmf-dist/scripts/latexmk/latexmk.pl
304texlive-collection-binextra,/usr/bin/latexrevise,/usr/share/texmf-dist/scripts/latexdiff/latexrevise.pl
305texlive-collection-binextra,/usr/bin/listings-ext.sh,/usr/share/texmf-dist/scripts/listings-ext/listings-ext.sh
306texlive-collection-binextra,/usr/bin/mkjobtexmf,/usr/share/texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl
307texlive-collection-binextra,/usr/bin/pdf180,/usr/share/texmf-dist/scripts/pdfjam/pdf180
308texlive-collection-binextra,/usr/bin/pdf270,/usr/share/texmf-dist/scripts/pdfjam/pdf270
309texlive-collection-binextra,/usr/bin/pdf90,/usr/share/texmf-dist/scripts/pdfjam/pdf90
310texlive-collection-binextra,/usr/bin/pdfbook,/usr/share/texmf-dist/scripts/pdfjam/pdfbook
311texlive-collection-binextra,/usr/bin/pdfcrop,/usr/share/texmf-dist/scripts/pdfcrop/pdfcrop.pl
312texlive-collection-binextra,/usr/bin/pdfflip,/usr/share/texmf-dist/scripts/pdfjam/pdfflip
313texlive-collection-binextra,/usr/bin/pdfjam,/usr/share/texmf-dist/scripts/pdfjam/pdfjam
314texlive-collection-binextra,/usr/bin/pdfjam-pocketmod,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-pocketmod
315texlive-collection-binextra,/usr/bin/pdfjam-slides3up,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-slides3up
316texlive-collection-binextra,/usr/bin/pdfjam-slides6up,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-slides6up
317texlive-collection-binextra,/usr/bin/pdfjoin,/usr/share/texmf-dist/scripts/pdfjam/pdfjoin
318texlive-collection-binextra,/usr/bin/pdfnup,/usr/share/texmf-dist/scripts/pdfjam/pdfnup
319texlive-collection-binextra,/usr/bin/pdfpun,/usr/share/texmf-dist/scripts/pdfjam/pdfpun
320texlive-collection-binextra,/usr/bin/pkfix,/usr/share/texmf-dist/scripts/pkfix/pkfix.pl
321texlive-collection-binextra,/usr/bin/pkfix-helper,/usr/share/texmf-dist/scripts/pkfix-helper/pkfix-helper
322texlive-collection-binextra,/usr/bin/purifyeps,/usr/share/texmf-dist/scripts/purifyeps/purifyeps
323texlive-collection-binextra,/usr/bin/sty2dtx,/usr/share/texmf-dist/scripts/sty2dtx/sty2dtx.pl
324texlive-collection-binextra,/usr/bin/texcount,/usr/share/texmf-dist/scripts/texcount/texcount.pl
325texlive-collection-binextra,/usr/bin/texdef,/usr/share/texmf-dist/scripts/texdef/texdef.pl
326texlive-collection-binextra,/usr/bin/texdiff,/usr/share/texmf-dist/scripts/texdiff/texdiff
327texlive-collection-binextra,/usr/bin/texdirflatten,/usr/share/texmf-dist/scripts/texdirflatten/texdirflatten
328texlive-collection-binextra,/usr/bin/texloganalyser,/usr/share/texmf-dist/scripts/texloganalyser/texloganalyser
329texlive-collection-fontutils,/usr/bin/afm2afm,/usr/share/texmf-dist/scripts/fontools/afm2afm
330texlive-collection-fontutils,/usr/bin/autoinst,/usr/share/texmf-dist/scripts/fontools/autoinst
331texlive-collection-fontutils,/usr/bin/cmap2enc,/usr/share/texmf-dist/scripts/fontools/cmap2enc
332texlive-collection-fontutils,/usr/bin/epstopdf,/usr/share/texmf-dist/scripts/epstopdf/epstopdf.pl
333texlive-collection-fontutils,/usr/bin/font2afm,/usr/share/texmf-dist/scripts/fontools/font2afm
334texlive-collection-fontutils,/usr/bin/mkt1font,/usr/share/texmf-dist/scripts/accfonts/mkt1font
335texlive-collection-fontutils,/usr/bin/ot2kpx,/usr/share/texmf-dist/scripts/fontools/ot2kpx
336texlive-collection-fontutils,/usr/bin/pfm2kpx,/usr/share/texmf-dist/scripts/fontools/pfm2kpx
337texlive-collection-fontutils,/usr/bin/showglyphs,/usr/share/texmf-dist/scripts/fontools/showglyphs
338texlive-collection-fontutils,/usr/bin/vpl2ovp,/usr/share/texmf-dist/scripts/accfonts/vpl2ovp
339texlive-collection-fontutils,/usr/bin/vpl2vpl,/usr/share/texmf-dist/scripts/accfonts/vpl2vpl
340texlive-collection-htmlxml,/usr/bin/ht,/usr/share/texmf-dist/scripts/tex4ht/ht.sh
341texlive-collection-htmlxml,/usr/bin/htcontext,/usr/share/texmf-dist/scripts/tex4ht/htcontext.sh
342texlive-collection-htmlxml,/usr/bin/htlatex,/usr/share/texmf-dist/scripts/tex4ht/htlatex.sh
343texlive-collection-htmlxml,/usr/bin/htmex,/usr/share/texmf-dist/scripts/tex4ht/htmex.sh
344texlive-collection-htmlxml,/usr/bin/httex,/usr/share/texmf-dist/scripts/tex4ht/httex.sh
345texlive-collection-htmlxml,/usr/bin/httexi,/usr/share/texmf-dist/scripts/tex4ht/httexi.sh
346texlive-collection-htmlxml,/usr/bin/htxelatex,/usr/share/texmf-dist/scripts/tex4ht/htxelatex.sh
347texlive-collection-htmlxml,/usr/bin/htxetex,/usr/share/texmf-dist/scripts/tex4ht/htxetex.sh
348texlive-collection-htmlxml,/usr/bin/mk4ht,/usr/share/texmf-dist/scripts/tex4ht/mk4ht.pl
349texlive-collection-langgreek,/usr/bin/mkgrkindex,/usr/share/texmf-dist/scripts/mkgrkindex/mkgrkindex
350texlive-collection-langindic,/usr/bin/ebong,/usr/share/texmf-dist/scripts/ebong/ebong.py
351texlive-collection-latex,/usr/bin/mptopdf,/usr/share/texmf-dist/scripts/context/perl/mptopdf.pl
352texlive-collection-latex,/usr/bin/pdfatfi,/usr/share/texmf-dist/scripts/oberdiek/pdfatfi.pl
353texlive-collection-latexextra,/usr/bin/authorindex,/usr/share/texmf-dist/scripts/authorindex/authorindex
354texlive-collection-latexextra,/usr/bin/makeglossaries,/usr/share/texmf-dist/scripts/glossaries/makeglossaries
355texlive-collection-latexextra,/usr/bin/pdfannotextractor,/usr/share/texmf-dist/scripts/pax/pdfannotextractor.pl
356texlive-collection-latexextra,/usr/bin/pdfthumb,/usr/share/texmf-dist/scripts/ppower4/pdfthumb.tlu
357texlive-collection-latexextra,/usr/bin/perltex,/usr/share/texmf-dist/scripts/perltex/perltex.pl
358texlive-collection-latexextra,/usr/bin/ppower4,/usr/share/texmf-dist/scripts/ppower4/ppower4.tlu
359texlive-collection-latexextra,/usr/bin/ps4pdf,/usr/share/texmf-dist/scripts/pst-pdf/ps4pdf
360texlive-collection-latexextra,/usr/bin/splitindex,/usr/share/texmf-dist/scripts/splitindex/perl/splitindex.pl
361texlive-collection-latexextra,/usr/bin/svn-multi,/usr/share/texmf-dist/scripts/svn-multi/svn-multi.pl
362texlive-collection-latexextra,/usr/bin/vpe,/usr/share/texmf-dist/scripts/vpe/vpe.pl
363texlive-collection-latexrecommended,/usr/bin/thumbpdf,/usr/share/texmf-dist/scripts/thumbpdf/thumbpdf.pl
364texlive-collection-luatex,/usr/bin/mkluatexfontdb,/usr/share/texmf-dist/scripts/luaotfload/mkluatexfontdb.lua
365texlive-collection-music,/usr/bin/musixflx,/usr/share/texmf-dist/scripts/musixtex/musixflx.lua
366texlive-collection-music,/usr/bin/musixtex,/usr/share/texmf-dist/scripts/musixtex/musixtex.lua
367texlive-collection-pictures,/usr/bin/cachepic,/usr/share/texmf-dist/scripts/cachepic/cachepic.tlu
368texlive-collection-pictures,/usr/bin/epspdf,/usr/share/texmf-dist/scripts/epspdf/epspdf.rb
369texlive-collection-pictures,/usr/bin/epspdftk,/usr/share/texmf-dist/scripts/epspdf/epspdftk.tcl
370texlive-collection-pictures,/usr/bin/fig4latex,/usr/share/texmf-dist/scripts/fig4latex/fig4latex
371texlive-collection-pictures,/usr/bin/mathspic,/usr/share/texmf-dist/scripts/mathspic/mathspic.pl
372texlive-collection-pstricks,/usr/bin/pst2pdf,/usr/share/texmf-dist/scripts/pst2pdf/pst2pdf
373texlive-collection-science,/usr/bin/ulqda,/usr/share/texmf-dist/scripts/ulqda/ulqda.pl
374)
375%__mkdir_p %{buildroot}%{_bindir}
376pushd %{buildroot}%{_bindir}
377    for i in "${mk_symlinks[@]}"; do
378        tlc=$(echo $i | cut -f 1 -d",")
379        lnk=$(echo $i | cut -f 2 -d"," | %__sed -e "s|/usr/bin/||")
380        rlnk=$(echo $i | cut -f 3 -d"," | %__sed -e "s|/usr/|../|")
381
382        [ "%{name}" = "$tlc" ] || continue
383        [ -f $rlnk ] || exit 1
384        %__ln_s $rlnk $lnk || exit 1
385    done
386popd
387## Files list
388find %{buildroot} -type f -or -type l | \
389    %__sed -e "s|%{buildroot}||g" > filelist.full
390
391find %{buildroot}%{texmf}-dist -type d | \
392    %__sed -e "s|^%{buildroot}|%dir |" \
393           -e "s|$|/|"             >> filelist.full
394
395## subpackages
396grep "/texmf-dist/doc/" filelist.full > filelist.doc
397cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
398%__mv -f filelist.tmp filelist.full
399
400%clean
401%__rm -rf %{buildroot}
402
403%post
404%{exec_texhash}
405
406exit 0
407
408
409%postun
410if [ "$1" = 0 ]; then
411    %{exec_texhash}
412
413fi
414
415exit 0
416
417%files -f filelist.full
418%defattr(-,root,root,-)
419
420%files -f filelist.doc doc
421%defattr(-,root,root,-)
422
423%changelog
424* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
425- generated by tlpdb2rpmspec 2011-1: tlpdb2rpmspec collection-genericrecommended
426
427* Mon Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
428- generated by tlpdb2rpmspec 2009-4: tlpdb2rpmspec collection-genericrecommended
429- make symlinks of core script utils (texlive-collection-binextra,
430  texlive-collection-context, texlive-collection-fontutils,
431  texlive-collection-langgreek, texlive-collection-langindic,
432  texlive-collection-latex, texlive-collection-latexextra,
433  texlive-collection-latexrecommended, texlive-collection-pictures,
434  texlive-collection-pstricks, texlive-collection-science)
435
436* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
437- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-genericrecommended
438- improved %%post
439
440* Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
441- generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-genericrecommended
442- removed arch dependent binaries (texlive-collection-latexextra)
443- fixed perl path
444- improved updmap process in %%post and %%postun
445
446* Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
447- generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-genericrecommended
Note: See TracBrowser for help on using the repository browser.