source: projects/specs/trunk/t/texlive-collection-fontutils/texlive-collection-fontutils-vl.spec @ 7148

Revision 7148, 28.5 KB checked in by munepi, 12 years ago (diff)

upgrade to TeX Live 2012

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2012-1:
3## tlpdb2rpmspec collection-fontutils
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9%define aliasttfdir     %{texmfsysvar}/fonts/truetype/vine
10%define texmfsysconfig  %{_sysconfdir}/texmf
11%define texmfsysvar     %{_var}/lib/texmf
12%define vartexfonts     %{texmfsysvar}/fonts
13
14%define tex_destdir     %{_datadir}
15%define texmf           %{tex_destdir}/texmf
16%define texlive_src     %{tex_destdir}/texlive-sources
17%define build_tex_destdir       %{buildroot}%{tex_destdir}
18%define build_texmf     %{buildroot}%{texmf}
19
20## use some macros for %post, %posttrans
21%define touch_run(%1)   %{expand:( %__mkdir_p /var/run/texlive; touch /var/run/texlive/run-%1; )
22}
23%define exec_upddeffont [ -x %{_sbindir}/update-defaultfont ] && \\\
24    %{_sbindir}/update-defaultfont 2> /dev/null
25%define exec_texhash    [ -e /var/run/texlive/run-texhash ] && ( \\\
26    [ -x %{_bindir}/texhash ] && \\\
27    echo -n "    "; echo -n "Running texhash... "; \\\
28    %{_bindir}/texhash 2> /dev/null; \\\
29    echo "done." ) && %__rm -f /var/run/texlive/run-texhash;
30%define exec_mtxrun     [ -e /var/run/texlive/run-mtxrun ] && ( \\\
31    [ -x %{_bindir}/mtxrun ] && \\\
32    echo -n "    "; echo -n "Running mtxrun... "; \\\
33    export TEXMF=%{texmf}-dist TEXMFCNF=%{texmf}/web2c TEXMFCACHE=%{texmfsysvar}; \\\
34    %{_bindir}/mtxrun --generate &> /dev/null; \\\
35    echo "done." ) && %__rm -f /var/run/texlive/run-mtxrun;
36%define exec_fmtutil    [ -e /var/run/texlive/run-fmtutil ] && ( \\\
37    [ -x %{_bindir}/fmtutil-sys ] && \\\
38    echo -n "    "; echo -n "Running fmtutil-sys... "; \\\
39    %{_bindir}/fmtutil-sys --all &> /dev/null; \\\
40    echo "done." ) && %__rm -f /var/run/texlive/run-fmtutil;
41%define exec_updmap     [ -e /var/run/texlive/run-updmap ] && ( \\\
42    [ -x %{_bindir}/updmap-sys ] && \\\
43    echo -n "    "; echo -n "Running updmap-sys... "; \\\
44    %{_bindir}/updmap-sys --nohash --quiet &> /dev/null; \\\
45    echo "done." ) && %__rm -f /var/run/texlive/run-updmap;
46
47Summary: TeX Live: Graphics and font utilities
48Summary(ja): TeX Live: Graphics and font utilities
49Name: texlive-collection-fontutils
50Version: 2012
51Release: 1%{?_dist_release}
52License: GPL+, Artistic, Freely redistributable without restriction, LPPL, GPLv2+, Public Domain
53Group: Applications/Publishing
54URL:http://www.tug.org/texlive/
55
56Requires: texlive = %{version}
57Requires: texlive-collection-basic = %{version}
58Requires: lcdf-typetools
59Requires: psutils
60Requires: t1utils
61
62Requires(post):         texlive = %{version}
63Requires(postun):       texlive = %{version}
64#BuildRequires:         texlive-sources = %{version}
65
66BuildArch:      noarch
67Buildroot:      %{_tmppath}/%{name}-%{version}-root
68
69Vendor:         Project Vine
70Distribution:   Vine Linux
71Packager:       munepi
72
73%description
74The TeX Live software distribution offers a complete TeX system for a
75variety of Unix, Macintosh, Windows and other platforms. It
76encompasses programs for editing, typesetting, previewing and printing
77of TeX documents in many different languages, and a large collection
78of TeX macros and font libraries.
79
80The distribution includes extensive general documentation about TeX,
81as well as the documentation for the included software packages.
82
83This package is a collection of Graphics and font utilities:
84Programs for conversion between font formats, testing fonts,
85virtual fonts, .gf and .pk manipulation, mft, fontinst, etc.
86Manipulating OpenType, TrueType, PostScript Type 1, and
87PostScript and other images.
88
89This package contains the following CTAN packages:
90accfonts: Utilities to derive new fonts from existing ones.
91afm2pl:
92dosepsbin: Deal with DOS binary EPS files.
93epstopdf:
94fontware:
95lcdftypetools: A bundle of outline font manipulation tools.
96ps2pkm: Generate a PK font from an Adobe Type 1 font.
97pstools: Produce Encapsulated PostScript from PostScript.
98psutils: PostScript utilities.
99dvipsconfig: Collection of dvips PostScript headers.
100fontinst: Help with installing fonts for TeX and LaTeX.
101fontools: Tools to simplify using fonts (especially TT/OTF ones).
102mf2pt1: Produce PostScript Type 1 fonts from Metafont source.
103t1utils: Simple Type 1 font manipulation programs.
104ttfutils:
105
106%description -l ja
107TeX Live ソフトウェアディストリビューションは、
108さまざまな Unix, Macintosh, Windows、および
109他のプラットホームに対して完全な TeX システムを提供します。
110多くの異なった言語を含む TeX ドキュメントの
111編集、組版、閲覧、印刷するためのプログラム、
112そして、TeX マクロやフォントライブラリの大きなコレクションを
113同梱しています。
114
115このディストリビューションは
116同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
117TeX に関するたくさんの一般的なドキュメントを含んでいます。
118
119このパッケージは以下のようなパッケージ集です。
120Graphics and font utilities:
121Programs for conversion between font formats, testing fonts,
122virtual fonts, .gf and .pk manipulation, mft, fontinst, etc.
123Manipulating OpenType, TrueType, PostScript Type 1, and
124PostScript and other images.
125
126このパッケージは以下の CTAN パッケージを含んでいます:
127accfonts: Utilities to derive new fonts from existing ones.
128afm2pl:
129dosepsbin: Deal with DOS binary EPS files.
130epstopdf:
131fontware:
132lcdftypetools: A bundle of outline font manipulation tools.
133ps2pkm: Generate a PK font from an Adobe Type 1 font.
134pstools: Produce Encapsulated PostScript from PostScript.
135psutils: PostScript utilities.
136dvipsconfig: Collection of dvips PostScript headers.
137fontinst: Help with installing fonts for TeX and LaTeX.
138fontools: Tools to simplify using fonts (especially TT/OTF ones).
139mf2pt1: Produce PostScript Type 1 fonts from Metafont source.
140t1utils: Simple Type 1 font manipulation programs.
141ttfutils:
142
143%package doc
144Summary: TeX Live: Documentation files of %{name}
145Group: Applications/Publishing
146Requires: %{name} = %{version}-%{release}
147
148%description doc
149This package contains documentation files of %{name}.
150
151%prep
152
153%build
154
155%install
156[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
157
158PREF=%{buildroot}%{tex_destdir}
159
160manifest=(
161texmf-dist/doc/fonts/accfonts/CHANGES
162texmf-dist/doc/fonts/accfonts/COPYING
163texmf-dist/doc/fonts/accfonts/README
164texmf-dist/scripts/accfonts/mkt1font
165texmf-dist/scripts/accfonts/vpl2ovp
166texmf-dist/scripts/accfonts/vpl2vpl
167texmf-dist/tex/latex/accfonts/CSX.def
168texmf-dist/tex/latex/accfonts/ISO-Latin1.def
169texmf-dist/tex/latex/accfonts/ISO-Latin2.def
170texmf-dist/tex/latex/accfonts/IndUni_Omega.def
171texmf-dist/tex/latex/accfonts/Norman.def
172texmf-dist/doc/support/dosepsbin/Makefile.in
173texmf-dist/doc/support/dosepsbin/README
174texmf-dist/doc/support/dosepsbin/clean-case.pl
175texmf-dist/doc/support/dosepsbin/dosepsbin.html
176texmf-dist/doc/support/dosepsbin/dosepsbin.ltx
177texmf-dist/doc/support/dosepsbin/dosepsbin.pdf
178texmf-dist/doc/support/dosepsbin/dosepsbin.txt
179texmf-dist/doc/support/dosepsbin/version.pl
180texmf-dist/source/support/dosepsbin/configure
181texmf-dist/source/support/dosepsbin/configure.ac
182texmf-dist/source/support/dosepsbin/install-sh
183texmf-dist/scripts/dosepsbin/dosepsbin.pl
184texmf-dist/doc/support/epstopdf/README
185texmf-dist/scripts/epstopdf/epstopdf.pl
186texmf-dist/dvips/dvipsconfig/README
187texmf-dist/dvips/dvipsconfig/addpsctrl
188texmf-dist/dvips/dvipsconfig/config.a3
189texmf-dist/dvips/dvipsconfig/config.a4
190texmf-dist/dvips/dvipsconfig/config.a4grid
191texmf-dist/dvips/dvipsconfig/config.duplong
192texmf-dist/dvips/dvipsconfig/config.dupshort
193texmf-dist/dvips/dvipsconfig/config.envelope
194texmf-dist/dvips/dvipsconfig/config.inv
195texmf-dist/dvips/dvipsconfig/config.manualfeed
196texmf-dist/dvips/dvipsconfig/config.mmgrid
197texmf-dist/dvips/dvipsconfig/config.psgrid
198texmf-dist/dvips/dvipsconfig/config.screen100
199texmf-dist/dvips/dvipsconfig/config.screen100_0
200texmf-dist/dvips/dvipsconfig/config.screen110
201texmf-dist/dvips/dvipsconfig/config.screen120
202texmf-dist/dvips/dvipsconfig/config.screen130
203texmf-dist/dvips/dvipsconfig/config.screen140
204texmf-dist/dvips/dvipsconfig/config.screen150
205texmf-dist/dvips/dvipsconfig/config.screen35
206texmf-dist/dvips/dvipsconfig/config.screen50
207texmf-dist/dvips/dvipsconfig/config.screen70
208texmf-dist/dvips/dvipsconfig/config.screen80
209texmf-dist/dvips/dvipsconfig/config.screen85
210texmf-dist/dvips/dvipsconfig/config.screen90
211texmf-dist/dvips/dvipsconfig/config.simplex
212texmf-dist/dvips/dvipsconfig/config.tek550paper
213texmf-dist/dvips/dvipsconfig/config.tek550transparency
214texmf-dist/dvips/dvipsconfig/config.tray1
215texmf-dist/dvips/dvipsconfig/config.tray2
216texmf-dist/dvips/dvipsconfig/config.tray3
217texmf-dist/dvips/dvipsconfig/config.usledger
218texmf-dist/dvips/dvipsconfig/config.usletter
219texmf-dist/doc/fonts/fontinst/README
220texmf-dist/doc/fonts/fontinst/encspecs/encspecs.tex
221texmf-dist/doc/fonts/fontinst/encspecs/omxdraft.etx
222texmf-dist/doc/fonts/fontinst/encspecs/ot1draft.etx
223texmf-dist/doc/fonts/fontinst/encspecs/t1draft.etx
224texmf-dist/doc/fonts/fontinst/examples/basic/basicex.tex
225texmf-dist/doc/fonts/fontinst/examples/basic/basicex2.tex
226texmf-dist/doc/fonts/fontinst/examples/eurofont/Makefile
227texmf-dist/doc/fonts/fontinst/examples/eurofont/eurofont.map
228texmf-dist/doc/fonts/fontinst/examples/eurofont/eurofont.tex
229texmf-dist/doc/fonts/fontinst/examples/mathptm/Makefile
230texmf-dist/doc/fonts/fontinst/examples/mathptm/fontptcm.tex
231texmf-dist/doc/fonts/fontinst/examples/mathptm/mathtest.tex
232texmf-dist/doc/fonts/fontinst/examples/mathptm/resetsy.mtx
233texmf-dist/doc/fonts/fontinst/examples/mathptm/unsetmu.mtx
234texmf-dist/doc/fonts/fontinst/examples/mathptm/zrhax.mtx
235texmf-dist/doc/fonts/fontinst/examples/mathptm/zrmhax.mtx
236texmf-dist/doc/fonts/fontinst/examples/mathptm/zrmkern.mtx
237texmf-dist/doc/fonts/fontinst/examples/mathptm/zrvhax.mtx
238texmf-dist/doc/fonts/fontinst/examples/mathptm/zryhax.mtx
239texmf-dist/doc/fonts/fontinst/examples/mathptmx/Makefile
240texmf-dist/doc/fonts/fontinst/examples/mathptmx/fontptcmx.tex
241texmf-dist/doc/fonts/fontinst/examples/mathptmx/mathptmx.sty
242texmf-dist/doc/fonts/fontinst/examples/mathptmx/mathtestx.tex
243texmf-dist/doc/fonts/fontinst/examples/mathptmx/resetsy.mtx
244texmf-dist/doc/fonts/fontinst/examples/mathptmx/unsetmu.mtx
245texmf-dist/doc/fonts/fontinst/examples/mathptmx/zrhax.mtx
246texmf-dist/doc/fonts/fontinst/examples/mathptmx/zrmhax.mtx
247texmf-dist/doc/fonts/fontinst/examples/mathptmx/zrmkernx.mtx
248texmf-dist/doc/fonts/fontinst/examples/mathptmx/zrvhax.mtx
249texmf-dist/doc/fonts/fontinst/examples/mathptmx/zryhax.mtx
250texmf-dist/doc/fonts/fontinst/examples/mathptmx/zrykernx.mtx
251texmf-dist/doc/fonts/fontinst/manual/fontinst.pdf
252texmf-dist/doc/fonts/fontinst/manual/fontinst.tex
253texmf-dist/doc/fonts/fontinst/manual/intro98.pdf
254texmf-dist/doc/fonts/fontinst/manual/intro98.tex
255texmf-dist/doc/fonts/fontinst/manual/roadmap.eps
256texmf-dist/doc/fonts/fontinst/talks/et99-font-tables.pdf
257texmf-dist/doc/fonts/fontinst/talks/et99-font-tutorial.pdf
258texmf-dist/doc/fonts/fontinst/test/cc-pl.enc
259texmf-dist/doc/fonts/fontinst/test/comparemetrics.sty
260texmf-dist/doc/fonts/fontinst/test/comparepls.tex
261texmf-dist/doc/fonts/fontinst/test/fadrr.mtx
262texmf-dist/doc/fonts/fontinst/test/multislot-test.tex
263texmf-dist/doc/fonts/fontinst/test/multislot.etx
264texmf-dist/doc/fonts/fontinst/test/omsdraft.etx
265texmf-dist/doc/fonts/fontinst/test/testsc.tex
266texmf-dist/doc/fonts/fontinst/test/v1901test.mtx
267texmf-dist/doc/fonts/fontinst/test/v1901test.tex
268texmf-dist/doc/fonts/fontinst/test/v1902test.tex
269texmf-dist/doc/fonts/fontinst/test/v1905test.tex
270texmf-dist/doc/fonts/fontinst/test/v1906test.etx
271texmf-dist/doc/fonts/fontinst/test/v1906test.mtx
272texmf-dist/doc/fonts/fontinst/test/v1906test.tex
273texmf-dist/doc/fonts/fontinst/test/v1913test.tex
274texmf-dist/doc/fonts/fontinst/test/v1914test.tex
275texmf-dist/doc/fonts/fontinst/test/v1914testmap.tex
276texmf-dist/doc/fonts/fontinst/test/v1914testshow.tex
277texmf-dist/doc/fonts/fontinst/test/v1915test.tex
278texmf-dist/doc/fonts/fontinst/test/v1915testmap.tex
279texmf-dist/doc/fonts/fontinst/test/v1916test.mtx
280texmf-dist/doc/fonts/fontinst/test/v1916test.tex
281texmf-dist/doc/fonts/fontinst/test/v1916test2.tex
282texmf-dist/doc/fonts/fontinst/test/v1923test.tex
283texmf-dist/doc/fonts/fontinst/test/v1927test.tex
284texmf-dist/doc/fonts/fontinst/test/v1928test.tex
285texmf-dist/doc/fonts/fontinst/test/v1928test2.tex
286texmf-dist/doc/fonts/fontinst/test/v1930test.tex
287texmf-dist/doc/fonts/fontinst/test/v1931test0.tex
288texmf-dist/doc/fonts/fontinst/test/v1931test1.tex
289texmf-dist/doc/fonts/fontinst/test/v1931test2.tex
290texmf-dist/source/fontinst/base/CHANGES
291texmf-dist/source/fontinst/base/fibasics.dtx
292texmf-dist/source/fontinst/base/ficommon.dtx
293texmf-dist/source/fontinst/base/ficonv.dtx
294texmf-dist/source/fontinst/base/filtfam.dtx
295texmf-dist/source/fontinst/base/fimain.dtx
296texmf-dist/source/fontinst/base/fimapgen.dtx
297texmf-dist/source/fontinst/base/fisource.dvi
298texmf-dist/source/fontinst/base/fisource.ist
299texmf-dist/source/fontinst/base/fisource.sty
300texmf-dist/source/fontinst/base/fisource.tex
301texmf-dist/source/fontinst/base/fitrig.dtx
302texmf-dist/source/fontinst/base/fontinst.ins
303texmf-dist/tex/fontinst/base/bbox.sty
304texmf-dist/tex/fontinst/base/cfntinst.sty
305texmf-dist/tex/fontinst/base/finstmsc.sty
306texmf-dist/tex/fontinst/base/fontinst.ini
307texmf-dist/tex/fontinst/base/fontinst.sty
308texmf-dist/tex/fontinst/base/multislot.sty
309texmf-dist/tex/fontinst/base/xfntinst.sty
310texmf-dist/tex/fontinst/latinetx/8r.etx
311texmf-dist/tex/fontinst/latinetx/8y.etx
312texmf-dist/tex/fontinst/latinetx/ot1.etx
313texmf-dist/tex/fontinst/latinetx/ot1c.etx
314texmf-dist/tex/fontinst/latinetx/ot1cj.etx
315texmf-dist/tex/fontinst/latinetx/ot1ctt.etx
316texmf-dist/tex/fontinst/latinetx/ot1i.etx
317texmf-dist/tex/fontinst/latinetx/ot1ij.etx
318texmf-dist/tex/fontinst/latinetx/ot1itt.etx
319texmf-dist/tex/fontinst/latinetx/ot1j.etx
320texmf-dist/tex/fontinst/latinetx/ot1tt.etx
321texmf-dist/tex/fontinst/latinetx/t1.etx
322texmf-dist/tex/fontinst/latinetx/t1c.etx
323texmf-dist/tex/fontinst/latinetx/t1cj.etx
324texmf-dist/tex/fontinst/latinetx/t1i.etx
325texmf-dist/tex/fontinst/latinetx/t1ij.etx
326texmf-dist/tex/fontinst/latinetx/t1j.etx
327texmf-dist/tex/fontinst/latinetx/txtfdmns.etx
328texmf-dist/tex/fontinst/latinmtx/8r.mtx
329texmf-dist/tex/fontinst/latinmtx/8y.mtx
330texmf-dist/tex/fontinst/latinmtx/latin.mtx
331texmf-dist/tex/fontinst/latinmtx/latinsc.mtx
332texmf-dist/tex/fontinst/latinmtx/llbuild.mtx
333texmf-dist/tex/fontinst/latinmtx/lsbuild.mtx
334texmf-dist/tex/fontinst/latinmtx/lsfake.mtx
335texmf-dist/tex/fontinst/latinmtx/lsmisc.mtx
336texmf-dist/tex/fontinst/latinmtx/ltcmds.mtx
337texmf-dist/tex/fontinst/latinmtx/ltpunct.mtx
338texmf-dist/tex/fontinst/latinmtx/lubuild.mtx
339texmf-dist/tex/fontinst/latinmtx/newlatin.mtx
340texmf-dist/tex/fontinst/latinmtx/resetsc.mtx
341texmf-dist/tex/fontinst/latinmtx/unsetalf.mtx
342texmf-dist/tex/fontinst/mathetx/euex.etx
343texmf-dist/tex/fontinst/mathetx/eufrak.etx
344texmf-dist/tex/fontinst/mathetx/eurm.etx
345texmf-dist/tex/fontinst/mathetx/euscr.etx
346texmf-dist/tex/fontinst/mathetx/msam.etx
347texmf-dist/tex/fontinst/mathetx/msbm.etx
348texmf-dist/tex/fontinst/mathetx/oml.etx
349texmf-dist/tex/fontinst/mathetx/oms.etx
350texmf-dist/tex/fontinst/mathetx/omx.etx
351texmf-dist/tex/fontinst/mathetx/rsfs.etx
352texmf-dist/tex/fontinst/mathmtx/mathex.mtx
353texmf-dist/tex/fontinst/mathmtx/mathit.mtx
354texmf-dist/tex/fontinst/mathmtx/mathsy.mtx
355texmf-dist/tex/fontinst/misc/csc2x.tex
356texmf-dist/tex/fontinst/misc/csckrn2x.tex
357texmf-dist/tex/fontinst/misc/glyphbox.mtx
358texmf-dist/tex/fontinst/misc/glyphoff.mtx
359texmf-dist/tex/fontinst/misc/glyphon.mtx
360texmf-dist/tex/fontinst/misc/kernoff.mtx
361texmf-dist/tex/fontinst/misc/kernon.mtx
362texmf-dist/tex/fontinst/misc/osf2x.tex
363texmf-dist/tex/fontinst/smbletx/digit2.etx
364texmf-dist/tex/fontinst/smbletx/ts1.etx
365texmf-dist/tex/fontinst/smbletx/ts1i.etx
366texmf-dist/tex/fontinst/smbletx/ts1ij.etx
367texmf-dist/tex/fontinst/smbletx/ts1j.etx
368texmf-dist/tex/fontinst/smblmtx/resetosf.mtx
369texmf-dist/tex/fontinst/smblmtx/textcomp.mtx
370texmf-dist/tex/fontinst/smblmtx/unsetnum.mtx
371texmf-dist/tex/latex/fontinst/fontdoc.sty
372texmf-dist/doc/support/fontools/GPLv2.txt
373texmf-dist/doc/support/fontools/README
374texmf-dist/fonts/enc/dvips/fontools/fontools_ly1.enc
375texmf-dist/fonts/enc/dvips/fontools/fontools_ot1.enc
376texmf-dist/fonts/enc/dvips/fontools/fontools_t1.enc
377texmf-dist/fonts/enc/dvips/fontools/fontools_ts1.enc
378texmf-dist/scripts/fontools/afm2afm
379texmf-dist/scripts/fontools/autoinst
380texmf-dist/scripts/fontools/ot2kpx
381texmf-dist/doc/support/mf2pt1/ChangeLog
382texmf-dist/doc/support/mf2pt1/README
383texmf-dist/doc/support/mf2pt1/mf2pt1.pdf
384texmf-dist/doc/support/mf2pt1/mf2pt1.texi
385texmf-dist/metapost/mf2pt1/mf2pt1.mp
386texmf-dist/scripts/mf2pt1/mf2pt1.pl
387texmf-dist/fonts/sfd/ttf2pk/Big5.sfd
388texmf-dist/fonts/sfd/ttf2pk/EUC.sfd
389texmf-dist/fonts/sfd/ttf2pk/HKSCS.sfd
390texmf-dist/fonts/sfd/ttf2pk/KS-HLaTeX.sfd
391texmf-dist/fonts/sfd/ttf2pk/SJIS.sfd
392texmf-dist/fonts/sfd/ttf2pk/UBg5plus.sfd
393texmf-dist/fonts/sfd/ttf2pk/UBig5.sfd
394texmf-dist/fonts/sfd/ttf2pk/UGB.sfd
395texmf-dist/fonts/sfd/ttf2pk/UGBK.sfd
396texmf-dist/fonts/sfd/ttf2pk/UJIS.sfd
397texmf-dist/fonts/sfd/ttf2pk/UKS-HLaTeX.sfd
398texmf-dist/fonts/sfd/ttf2pk/UKS.sfd
399texmf-dist/fonts/sfd/ttf2pk/Unicode.sfd
400)
401
402%__mkdir_p ${PREF}/texmf-dist
403for i in "${manifest[@]}"; do
404    %__install -m $(stat -c %a %{texlive_src}/$i) -p -D %{texlive_src}/$i ${PREF}/$i
405done
406## make symlinks of core script utils
407mk_symlinks=(
408texlive-collection-bibtexextra,/usr/bin/bibexport,/usr/share/texmf-dist/scripts/bibexport/bibexport.sh
409texlive-collection-bibtexextra,/usr/bin/listbib,/usr/share/texmf-dist/scripts/listbib/listbib
410texlive-collection-bibtexextra,/usr/bin/urlbst,/usr/share/texmf-dist/scripts/urlbst/urlbst
411texlive-collection-binextra,/usr/bin/arlatex,/usr/share/texmf-dist/scripts/bundledoc/arlatex
412texlive-collection-binextra,/usr/bin/bundledoc,/usr/share/texmf-dist/scripts/bundledoc/bundledoc
413texlive-collection-binextra,/usr/bin/ctanify,/usr/share/texmf-dist/scripts/ctanify/ctanify
414texlive-collection-binextra,/usr/bin/ctanupload,/usr/share/texmf-dist/scripts/ctanupload/ctanupload.pl
415texlive-collection-binextra,/usr/bin/de-macro,/usr/share/texmf-dist/scripts/de-macro/de-macro
416texlive-collection-binextra,/usr/bin/dviasm,/usr/share/texmf-dist/scripts/dviasm/dviasm.py
417texlive-collection-binextra,/usr/bin/findhyph,/usr/share/texmf-dist/scripts/findhyph/findhyph
418texlive-collection-binextra,/usr/bin/fragmaster,/usr/share/texmf-dist/scripts/fragmaster/fragmaster.pl
419texlive-collection-binextra,/usr/bin/installfont-tl,/usr/share/texmf-dist/scripts/installfont/installfont-tl
420texlive-collection-binextra,/usr/bin/latex2man,/usr/share/texmf-dist/scripts/latex2man/latex2man
421texlive-collection-binextra,/usr/bin/latexdiff,/usr/share/texmf-dist/scripts/latexdiff/latexdiff.pl
422texlive-collection-binextra,/usr/bin/latexdiff-vc,/usr/share/texmf-dist/scripts/latexdiff/latexdiff-vc.pl
423texlive-collection-binextra,/usr/bin/latexfileversion,/usr/share/texmf-dist/scripts/latexfileversion/latexfileversion
424texlive-collection-binextra,/usr/bin/latexmk,/usr/share/texmf-dist/scripts/latexmk/latexmk.pl
425texlive-collection-binextra,/usr/bin/latexrevise,/usr/share/texmf-dist/scripts/latexdiff/latexrevise.pl
426texlive-collection-binextra,/usr/bin/listings-ext.sh,/usr/share/texmf-dist/scripts/listings-ext/listings-ext.sh
427texlive-collection-binextra,/usr/bin/match_parens,/usr/share/texmf-dist/scripts/match_parens/match_parens
428texlive-collection-binextra,/usr/bin/mkjobtexmf,/usr/share/texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl
429texlive-collection-binextra,/usr/bin/pdf180,/usr/share/texmf-dist/scripts/pdfjam/pdf180
430texlive-collection-binextra,/usr/bin/pdf270,/usr/share/texmf-dist/scripts/pdfjam/pdf270
431texlive-collection-binextra,/usr/bin/pdf90,/usr/share/texmf-dist/scripts/pdfjam/pdf90
432texlive-collection-binextra,/usr/bin/pdfbook,/usr/share/texmf-dist/scripts/pdfjam/pdfbook
433texlive-collection-binextra,/usr/bin/pdfcrop,/usr/share/texmf-dist/scripts/pdfcrop/pdfcrop.pl
434texlive-collection-binextra,/usr/bin/pdfflip,/usr/share/texmf-dist/scripts/pdfjam/pdfflip
435texlive-collection-binextra,/usr/bin/pdfjam,/usr/share/texmf-dist/scripts/pdfjam/pdfjam
436texlive-collection-binextra,/usr/bin/pdfjam-pocketmod,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-pocketmod
437texlive-collection-binextra,/usr/bin/pdfjam-slides3up,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-slides3up
438texlive-collection-binextra,/usr/bin/pdfjam-slides6up,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-slides6up
439texlive-collection-binextra,/usr/bin/pdfjoin,/usr/share/texmf-dist/scripts/pdfjam/pdfjoin
440texlive-collection-binextra,/usr/bin/pdfnup,/usr/share/texmf-dist/scripts/pdfjam/pdfnup
441texlive-collection-binextra,/usr/bin/pdfpun,/usr/share/texmf-dist/scripts/pdfjam/pdfpun
442texlive-collection-binextra,/usr/bin/pkfix,/usr/share/texmf-dist/scripts/pkfix/pkfix.pl
443texlive-collection-binextra,/usr/bin/pkfix-helper,/usr/share/texmf-dist/scripts/pkfix-helper/pkfix-helper
444texlive-collection-binextra,/usr/bin/purifyeps,/usr/share/texmf-dist/scripts/purifyeps/purifyeps
445texlive-collection-binextra,/usr/bin/sty2dtx,/usr/share/texmf-dist/scripts/sty2dtx/sty2dtx.pl
446texlive-collection-binextra,/usr/bin/texcount,/usr/share/texmf-dist/scripts/texcount/texcount.pl
447texlive-collection-binextra,/usr/bin/texdef,/usr/share/texmf-dist/scripts/texdef/texdef.pl
448texlive-collection-binextra,/usr/bin/texdiff,/usr/share/texmf-dist/scripts/texdiff/texdiff
449texlive-collection-binextra,/usr/bin/texdirflatten,/usr/share/texmf-dist/scripts/texdirflatten/texdirflatten
450texlive-collection-binextra,/usr/bin/texliveonfly,/usr/share/texmf-dist/scripts/texliveonfly/texliveonfly.py
451texlive-collection-binextra,/usr/bin/texloganalyser,/usr/share/texmf-dist/scripts/texloganalyser/texloganalyser
452texlive-collection-binextra,/usr/bin/typeoutfileinfo,/usr/share/texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh
453texlive-collection-fontutils,/usr/bin/afm2afm,/usr/share/texmf-dist/scripts/fontools/afm2afm
454texlive-collection-fontutils,/usr/bin/autoinst,/usr/share/texmf-dist/scripts/fontools/autoinst
455texlive-collection-fontutils,/usr/bin/dosepsbin,/usr/share/texmf-dist/scripts/dosepsbin/dosepsbin.pl
456texlive-collection-fontutils,/usr/bin/epstopdf,/usr/share/texmf-dist/scripts/epstopdf/epstopdf.pl
457texlive-collection-fontutils,/usr/bin/mf2pt1,/usr/share/texmf-dist/scripts/mf2pt1/mf2pt1.pl
458texlive-collection-fontutils,/usr/bin/mkt1font,/usr/share/texmf-dist/scripts/accfonts/mkt1font
459texlive-collection-fontutils,/usr/bin/ot2kpx,/usr/share/texmf-dist/scripts/fontools/ot2kpx
460texlive-collection-fontutils,/usr/bin/vpl2ovp,/usr/share/texmf-dist/scripts/accfonts/vpl2ovp
461texlive-collection-fontutils,/usr/bin/vpl2vpl,/usr/share/texmf-dist/scripts/accfonts/vpl2vpl
462texlive-collection-htmlxml,/usr/bin/ht,/usr/share/texmf-dist/scripts/tex4ht/ht.sh
463texlive-collection-htmlxml,/usr/bin/htcontext,/usr/share/texmf-dist/scripts/tex4ht/htcontext.sh
464texlive-collection-htmlxml,/usr/bin/htlatex,/usr/share/texmf-dist/scripts/tex4ht/htlatex.sh
465texlive-collection-htmlxml,/usr/bin/htmex,/usr/share/texmf-dist/scripts/tex4ht/htmex.sh
466texlive-collection-htmlxml,/usr/bin/httex,/usr/share/texmf-dist/scripts/tex4ht/httex.sh
467texlive-collection-htmlxml,/usr/bin/httexi,/usr/share/texmf-dist/scripts/tex4ht/httexi.sh
468texlive-collection-htmlxml,/usr/bin/htxelatex,/usr/share/texmf-dist/scripts/tex4ht/htxelatex.sh
469texlive-collection-htmlxml,/usr/bin/htxetex,/usr/share/texmf-dist/scripts/tex4ht/htxetex.sh
470texlive-collection-htmlxml,/usr/bin/mk4ht,/usr/share/texmf-dist/scripts/tex4ht/mk4ht.pl
471texlive-collection-langcjk,/usr/bin/convbkmk,/usr/share/texmf-dist/scripts/uptex/convbkmk.rb
472texlive-collection-langcjk,/usr/bin/updmap-setup-kanji,/usr/share/texmf-dist/scripts/jfontmaps/updmap-setup-kanji.pl
473texlive-collection-langgreek,/usr/bin/mkgrkindex,/usr/share/texmf-dist/scripts/mkgrkindex/mkgrkindex
474texlive-collection-langindic,/usr/bin/ebong,/usr/share/texmf-dist/scripts/ebong/ebong.py
475texlive-collection-latex,/usr/bin/mptopdf,/usr/share/texmf-dist/scripts/context/perl/mptopdf.pl
476texlive-collection-latex,/usr/bin/pdfatfi,/usr/share/texmf-dist/scripts/oberdiek/pdfatfi.pl
477texlive-collection-latexextra,/usr/bin/authorindex,/usr/share/texmf-dist/scripts/authorindex/authorindex
478texlive-collection-latexextra,/usr/bin/exceltex,/usr/share/texmf-dist/scripts/exceltex/exceltex
479texlive-collection-latexextra,/usr/bin/makeglossaries,/usr/share/texmf-dist/scripts/glossaries/makeglossaries
480texlive-collection-latexextra,/usr/bin/pdfannotextractor,/usr/share/texmf-dist/scripts/pax/pdfannotextractor.pl
481texlive-collection-latexextra,/usr/bin/perltex,/usr/share/texmf-dist/scripts/perltex/perltex.pl
482texlive-collection-latexextra,/usr/bin/ps4pdf,/usr/share/texmf-dist/scripts/pst-pdf/ps4pdf
483texlive-collection-latexextra,/usr/bin/splitindex,/usr/share/texmf-dist/scripts/splitindex/perl/splitindex.pl
484texlive-collection-latexextra,/usr/bin/svn-multi,/usr/share/texmf-dist/scripts/svn-multi/svn-multi.pl
485texlive-collection-latexextra,/usr/bin/vpe,/usr/share/texmf-dist/scripts/vpe/vpe.pl
486texlive-collection-latexrecommended,/usr/bin/thumbpdf,/usr/share/texmf-dist/scripts/thumbpdf/thumbpdf.pl
487texlive-collection-luatex,/usr/bin/checkcites,/usr/share/texmf-dist/scripts/checkcites/checkcites.lua
488texlive-collection-luatex,/usr/bin/mkluatexfontdb,/usr/share/texmf-dist/scripts/luaotfload/mkluatexfontdb.lua
489texlive-collection-music,/usr/bin/m-tx,/usr/share/texmf-dist/scripts/m-tx/m-tx.lua
490texlive-collection-music,/usr/bin/musixflx,/usr/share/texmf-dist/scripts/musixtex/musixflx.lua
491texlive-collection-music,/usr/bin/musixtex,/usr/share/texmf-dist/scripts/musixtex/musixtex.lua
492texlive-collection-music,/usr/bin/pmx2pdf,/usr/share/texmf-dist/scripts/pmx/pmx2pdf.lua
493texlive-collection-pictures,/usr/bin/cachepic,/usr/share/texmf-dist/scripts/cachepic/cachepic.tlu
494texlive-collection-pictures,/usr/bin/epspdf,/usr/share/texmf-dist/scripts/epspdf/epspdf.rb
495texlive-collection-pictures,/usr/bin/epspdftk,/usr/share/texmf-dist/scripts/epspdf/epspdftk.tcl
496texlive-collection-pictures,/usr/bin/fig4latex,/usr/share/texmf-dist/scripts/fig4latex/fig4latex
497texlive-collection-pictures,/usr/bin/mathspic,/usr/share/texmf-dist/scripts/mathspic/mathspic.pl
498texlive-collection-pstricks,/usr/bin/pedigree,/usr/share/texmf-dist/scripts/pedigree-perl/pedigree.pl
499texlive-collection-pstricks,/usr/bin/pst2pdf,/usr/share/texmf-dist/scripts/pst2pdf/pst2pdf
500texlive-collection-science,/usr/bin/ulqda,/usr/share/texmf-dist/scripts/ulqda/ulqda.pl
501)
502%__mkdir_p %{buildroot}%{_bindir}
503pushd %{buildroot}%{_bindir}
504    for i in "${mk_symlinks[@]}"; do
505        tlc=$(/bin/echo $i | cut -f 1 -d",")
506        lnk=$(/bin/echo $i | cut -f 2 -d"," | %__sed -e "s|/usr/bin/||")
507        rlnk=$(/bin/echo $i | cut -f 3 -d"," | %__sed -e "s|/usr/|../|")
508
509        [ "%{name}" = "$tlc" ] || continue
510        [ -f $rlnk ] || exit 1
511        %__ln_s $rlnk $lnk || exit 1
512    done
513popd
514## Files list
515find %{buildroot} -type f -or -type l | \
516    %__sed -e "s|%{buildroot}||g" > filelist.full
517
518find %{buildroot}%{texmf}-dist -type d | \
519    %__sed -e "s|^%{buildroot}|%dir |" \
520           -e "s|$|/|"             >> filelist.full
521
522## subpackages
523grep "/texmf-dist/doc/" filelist.full > filelist.doc
524cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
525%__mv -f filelist.tmp filelist.full
526
527%clean
528%__rm -rf %{buildroot}
529
530%post
531%touch_run texhash
532%touch_run mtxrun
533
534exit 0
535
536
537%postun
538if [ "$1" = 0 ]; then
539    %touch_run texhash
540
541fi
542
543exit 0
544
545%posttrans
546%{exec_texhash}
547%{exec_mtxrun}
548%{exec_updmap}
549%{exec_fmtutil}
550exit 0
551
552
553%files -f filelist.full
554%defattr(-,root,root,-)
555
556%files -f filelist.doc doc
557%defattr(-,root,root,-)
558
559%changelog
560* Fri Nov 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
561- generated by tlpdb2rpmspec 2012-1: tlpdb2rpmspec collection-fontutils
562
563* Sat Dec  3 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
564- generated by tlpdb2rpmspec 2011-2: tlpdb2rpmspec collection-fontutils
565- set external dependencies (texlive-collection-binextra,
566  texlive-collection-fontutils)
567
568* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
569- generated by tlpdb2rpmspec 2011-1: tlpdb2rpmspec collection-fontutils
570
571* Mon Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
572- generated by tlpdb2rpmspec 2009-4: tlpdb2rpmspec collection-fontutils
573- make symlinks of core script utils (texlive-collection-binextra,
574  texlive-collection-context, texlive-collection-fontutils,
575  texlive-collection-langgreek, texlive-collection-langindic,
576  texlive-collection-latex, texlive-collection-latexextra,
577  texlive-collection-latexrecommended, texlive-collection-pictures,
578  texlive-collection-pstricks, texlive-collection-science)
579
580* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
581- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-fontutils
582- improved %%post
583
584* Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
585- generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-fontutils
586- removed arch dependent binaries (texlive-collection-latexextra)
587- fixed perl path
588- improved updmap process in %%post and %%postun
589
590* Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
591- generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-fontutils
Note: See TracBrowser for help on using the repository browser.