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

Revision 9955, 13.0 KB checked in by munepi, 8 years ago (diff)

reverted to texlive-20150521-source (TeX Live 2015)
remove duplicated files from texlive-collection-*

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-4:
3## tlpdb2rpmspec collection-fontutils
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: Graphics and font utilities
10Summary(ja): TeX Live: Graphics and font utilities
11Name: texlive-collection-fontutils
12Version: 2015
13Release: 4%{?_dist_release}
14License: GPL+, Artistic, Freely redistributable without restriction, Public Domain, LPPL, GPLv2+
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: accfonts.doc.tar.xz
19Source1: accfonts.tar.xz
20Source2: afm2pl.doc.tar.xz
21Source3: afm2pl.tar.xz
22Source4: dosepsbin.doc.tar.xz
23Source5: dosepsbin.source.tar.xz
24Source6: dosepsbin.tar.xz
25Source7: epstopdf.doc.tar.xz
26Source8: epstopdf.tar.xz
27Source9: fontware.doc.tar.xz
28Source10: fontware.tar.xz
29Source11: lcdftypetools.doc.tar.xz
30Source12: lcdftypetools.tar.xz
31Source13: metatype1.source.tar.xz
32Source14: metatype1.tar.xz
33Source15: ps2pk.doc.tar.xz
34Source16: ps2pk.tar.xz
35Source17: pstools.doc.tar.xz
36Source18: pstools.tar.xz
37Source19: psutils.doc.tar.xz
38Source20: psutils.tar.xz
39Source21: dvipsconfig.tar.xz
40Source22: fontinst.doc.tar.xz
41Source23: fontinst.source.tar.xz
42Source24: fontinst.tar.xz
43Source25: fontools.doc.tar.xz
44Source26: fontools.tar.xz
45Source27: mf2pt1.doc.tar.xz
46Source28: mf2pt1.tar.xz
47Source29: t1utils.doc.tar.xz
48Source30: t1utils.tar.xz
49Source31: ttfutils.doc.tar.xz
50Source32: ttfutils.tar.xz
51
52Requires: texlive = %{version}
53Requires: texlive-collection-basic = %{version}
54Requires: lcdf-typetools
55Requires: psutils
56Requires: t1utils
57
58Requires(post):         texlive = %{version}
59Requires(postun):       texlive = %{version}
60
61BuildArch:      noarch
62Buildroot:      %{_tmppath}/%{name}-%{version}-root
63
64Vendor:         Project Vine
65Distribution:   Vine Linux
66Packager:       munepi
67
68%description
69The TeX Live software distribution offers a complete TeX system for a
70variety of Unix, Macintosh, Windows and other platforms. It
71encompasses programs for editing, typesetting, previewing and printing
72of TeX documents in many different languages, and a large collection
73of TeX macros and font libraries.
74
75The distribution includes extensive general documentation about TeX,
76as well as the documentation for the included software packages.
77
78This package is a collection of Graphics and font utilities:
79Programs for conversion between font formats, testing fonts,
80virtual fonts, .gf and .pk manipulation, mft, fontinst, etc.
81Manipulating OpenType, TrueType, Type 1,and for manipulation of
82PostScript and other image formats.
83
84This package contains the following CTAN packages:
85accfonts: Utilities to derive new fonts from existing ones.
86afm2pl:
87dosepsbin: Deal with DOS binary EPS files.
88epstopdf: Convert EPS to 'encapsulated' PDF using Ghostscript.
89fontware:
90lcdftypetools: A bundle of outline font manipulation tools.
91metatype1: Generate Type 1 fonts from MetaPost.
92ps2pk: Generate a PK font from an Adobe Type 1 font.
93pstools: Produce Encapsulated PostScript from PostScript.
94psutils: PostScript utilities.
95dvipsconfig: Collection of dvips PostScript headers.
96fontinst: Help with installing fonts for TeX and LaTeX.
97fontools: Tools to simplify using fonts (especially TT/OTF ones)
98mf2pt1: Produce PostScript Type 1 fonts from Metafont source.
99t1utils: Simple Type 1 font manipulation programs.
100ttfutils:
101
102%description -l ja
103TeX Live ソフトウェアディストリビューションは、
104さまざまな Unix, Macintosh, Windows、および
105他のプラットホームに対して完全な TeX システムを提供します。
106多くの異なった言語を含む TeX ドキュメントの
107編集、組版、閲覧、印刷するためのプログラム、
108そして、TeX マクロやフォントライブラリの大きなコレクションを
109同梱しています。
110
111このディストリビューションは
112同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
113TeX に関するたくさんの一般的なドキュメントを含んでいます。
114
115このパッケージは以下のようなパッケージ集です。
116Graphics and font utilities:
117Programs for conversion between font formats, testing fonts,
118virtual fonts, .gf and .pk manipulation, mft, fontinst, etc.
119Manipulating OpenType, TrueType, Type 1,and for manipulation of
120PostScript and other image formats.
121
122このパッケージは以下の CTAN パッケージを含んでいます:
123accfonts: Utilities to derive new fonts from existing ones.
124afm2pl:
125dosepsbin: Deal with DOS binary EPS files.
126epstopdf: Convert EPS to 'encapsulated' PDF using Ghostscript.
127fontware:
128lcdftypetools: A bundle of outline font manipulation tools.
129metatype1: Generate Type 1 fonts from MetaPost.
130ps2pk: Generate a PK font from an Adobe Type 1 font.
131pstools: Produce Encapsulated PostScript from PostScript.
132psutils: PostScript utilities.
133dvipsconfig: Collection of dvips PostScript headers.
134fontinst: Help with installing fonts for TeX and LaTeX.
135fontools: Tools to simplify using fonts (especially TT/OTF ones)
136mf2pt1: Produce PostScript Type 1 fonts from Metafont source.
137t1utils: Simple Type 1 font manipulation programs.
138ttfutils:
139
140%package doc
141Summary: TeX Live: Documentation files of %{name}
142Group: Applications/Publishing
143Requires: %{name} = %{version}-%{release}
144
145%description doc
146This package contains documentation files of %{name}.
147
148%prep
149%setup -c -n %{name}-%{version}
150%__tar -xvf %{SOURCE1}
151%__tar -xvf %{SOURCE2}
152%__tar -xvf %{SOURCE3}
153%__tar -xvf %{SOURCE4}
154%__tar -xvf %{SOURCE5}
155%__tar -xvf %{SOURCE6}
156%__tar -xvf %{SOURCE7}
157%__tar -xvf %{SOURCE8}
158%__tar -xvf %{SOURCE9}
159%__tar -xvf %{SOURCE10}
160%__tar -xvf %{SOURCE11}
161%__tar -xvf %{SOURCE12}
162%__tar -xvf %{SOURCE13}
163%__tar -xvf %{SOURCE14}
164%__tar -xvf %{SOURCE15}
165%__tar -xvf %{SOURCE16}
166%__tar -xvf %{SOURCE17}
167%__tar -xvf %{SOURCE18}
168%__tar -xvf %{SOURCE19}
169%__tar -xvf %{SOURCE20}
170%__tar -xvf %{SOURCE21}
171%__tar -xvf %{SOURCE22}
172%__tar -xvf %{SOURCE23}
173%__tar -xvf %{SOURCE24}
174%__tar -xvf %{SOURCE25}
175%__tar -xvf %{SOURCE26}
176%__tar -xvf %{SOURCE27}
177%__tar -xvf %{SOURCE28}
178%__tar -xvf %{SOURCE29}
179%__tar -xvf %{SOURCE30}
180%__tar -xvf %{SOURCE31}
181%__tar -xvf %{SOURCE32}
182
183%build
184
185%install
186[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
187
188%__mkdir_p %{buildroot}%{_datadir}
189
190## move texmf-dist to /usr/share/texmf-dist
191[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
192
193## move texmf to /usr/share/texmf
194[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
195
196## move tlpkg to /usr/share/tlpkg
197[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
198
199## move all non-arch binaries to /usr/bin
200[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
201
202## move others into /usr/share/texmf-dist
203%__mkdir_p %{buildroot}%{_tl_texmfdist}
204%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
205%__rm -rf * ||:
206
207
208## remove duplicated files between texlive and texlive-collection-*
209## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
210## remove unpacked files
211x=(
212dvipdfmx/dvipdfmx.cfg
213scripts/context/stubs/unix/mtxrun
214scripts/ptex2pdf/ptex2pdf.lua
215scripts/texlive/fmtutil.pl
216scripts/texlive/texconfig-dialog.sh
217scripts/texlive/texconfig-sys.sh
218scripts/texlive/texconfig.sh
219scripts/texlive/texlinks.sh
220scripts/texlive/tlmgr.pl
221scripts/texlive/updmap.pl
222texconfig/tcfmgr
223web2c/fmtutil.cnf
224web2c/mktex.opt
225web2c/mktexdir
226web2c/mktexdir.opt
227web2c/mktexnam
228web2c/mktexnam.opt
229web2c/mktexupd
230web2c/texmf.cnf
231web2c/updmap-hdr.cfg
232web2c/updmap.cfg
233install-tl
234#
235scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
236scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
237scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
238scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
239scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
240scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
241scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
242scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
243scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
244scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
245scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
246scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
247scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
248scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
249scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
250scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
251scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
252scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
253scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
254scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
255scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
256scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
257)
258if [ -d %{buildroot}%{_tl_texmfdist} ]; then
259pushd %{buildroot}%{_tl_texmfdist}
260%__rm -f ${x[@]} ||:
261popd
262fi
263
264## Files list
265find %{buildroot} -type f -or -type l | \
266    %__sed -e "s|%{buildroot}||g" > filelist.full
267
268find %{buildroot}%{_tl_texmfdist} -type d | \
269    %__sed -e "s|^%{buildroot}|%dir |" \
270           -e "s|$|/|"             >> filelist.full
271
272## subpackages
273grep "/texmf-dist/doc/" filelist.full > filelist.doc
274cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
275%__mv -f filelist.tmp filelist.full
276
277%clean
278%__rm -rf %{buildroot}
279
280%post
281%_tl_touch_run texhash
282%_tl_touch_run mtxrun
283
284exit 0
285
286
287%postun
288if [ "$1" = 0 ]; then
289    %_tl_touch_run texhash
290
291fi
292
293exit 0
294
295%posttrans
296%{_tl_exec_texhash}
297%{_tl_exec_mtxrun}
298%{_tl_exec_updmap}
299%{_tl_exec_fmtutil}
300exit 0
301
302
303%files -f filelist.full
304%defattr(-,root,root,-)
305
306%files -f filelist.doc doc
307%defattr(-,root,root,-)
308
309%changelog
310* Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
311- remove duplicated files from texlive-collection-*
312- synced tlnet to 20160113 (TeX Live 2015)
313
314* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
315- TeX Live 2016/dev
316- synced tlnet to 20160110 (TeX Live 2016/dev)
317
318* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
319- TeX Live 2015/pretest
320- synced tlnet to 20150522 (TeX Live 2015/pretest)
321
322* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
323- TeX Live 2015/pretest
324- synced tlnet to 20150426 (TeX Live 2015/pretest)
325
326* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
327- synced tlnet to 20150401
328
329* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
330- synced tlnet to 20141028
331
332* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
333- synced tlnet to 20140706
334
335* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
336- upgraded to TeX Live 2014
337
338* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
339- synced tlnet to 20140406
340
341* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
342- synced tlnet to 20131218
343
344* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
345- synced tlnet to 20131101
346
347* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
348- synced tlnet to 20131002
349
350* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
351- synced tlnet to 20130919
352
353* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
354- upgraded to TeX Live 2013
355  - used tlnet archives
356  - synced tlnet to 20130823
357- added macros.texlive
358
359* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
360- updated to TeX Live 2012
361
362* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
363- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
364  - set external dependencies (texlive-collection-binextra,
365    texlive-collection-fontutils)
366
367* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
368- updated to TeX Live 2011
369- merged texlive-vtlpkg-2009-osx.patch from OSXWS
370- added %doc README (%files)
371
372* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
373- applied texlive-vtlpkg-2009-vine.patch
374  - remove arch dependent binaries
375- updated tlpdb2rpmspec.sh.in:
376  - improved tlpdb4a()
377  - make symlinks of core script utils (texlive-collection-binextra,
378    texlive-collection-context, texlive-collection-fontutils,
379    texlive-collection-langgreek, texlive-collection-langindic,
380    texlive-collection-latex, texlive-collection-latexextra,
381    texlive-collection-latexrecommended, texlive-collection-pictures,
382    texlive-collection-pstricks, texlive-collection-science)
383
384* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
385- updated tlpdb2rpmspec.sh.in:
386  - improved %post
387
388* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
389- updated tlpdb2rpmspec.sh.in:
390  - removed arch dependent binaries (texlive-collection-latexextra)
391  - improved updmap process in %post and %postun
392  - fixed perl path
393
394* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
395- initial build
Note: See TracBrowser for help on using the repository browser.