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

Revision 9576, 11.0 KB checked in by munepi, 9 years ago (diff)

synced tlnet to 20150522

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-2:
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: 2%{?_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=(
212scripts/context/stubs/unix/mtxrun
213scripts/ptex2pdf/ptex2pdf.lua
214scripts/texlive/fmtutil.pl
215scripts/texlive/texconfig-dialog.sh
216scripts/texlive/texconfig-sys.sh
217scripts/texlive/texconfig.sh
218scripts/texlive/texlinks.sh
219scripts/texlive/tlmgr.pl
220scripts/texlive/updmap.pl
221texconfig/tcfmgr
222web2c/fmtutil.cnf
223web2c/mktex.opt
224web2c/mktexdir
225web2c/mktexdir.opt
226web2c/mktexnam
227web2c/mktexnam.opt
228web2c/mktexupd
229web2c/texmf.cnf
230web2c/updmap-hdr.cfg
231web2c/updmap.cfg
232install-tl
233)
234if [ -d %{buildroot}%{_tl_texmfdist} ]; then
235pushd %{buildroot}%{_tl_texmfdist}
236%__rm -f ${x[@]} ||:
237popd
238fi
239
240## Files list
241find %{buildroot} -type f -or -type l | \
242    %__sed -e "s|%{buildroot}||g" > filelist.full
243
244find %{buildroot}%{_tl_texmfdist} -type d | \
245    %__sed -e "s|^%{buildroot}|%dir |" \
246           -e "s|$|/|"             >> filelist.full
247
248## subpackages
249grep "/texmf-dist/doc/" filelist.full > filelist.doc
250cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
251%__mv -f filelist.tmp filelist.full
252
253%clean
254%__rm -rf %{buildroot}
255
256%post
257%_tl_touch_run texhash
258%_tl_touch_run mtxrun
259
260exit 0
261
262
263%postun
264if [ "$1" = 0 ]; then
265    %_tl_touch_run texhash
266
267fi
268
269exit 0
270
271%posttrans
272%{_tl_exec_texhash}
273%{_tl_exec_mtxrun}
274%{_tl_exec_updmap}
275%{_tl_exec_fmtutil}
276exit 0
277
278
279%files -f filelist.full
280%defattr(-,root,root,-)
281
282%files -f filelist.doc doc
283%defattr(-,root,root,-)
284
285%changelog
286* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
287- TeX Live 2015/pretest
288- synced tlnet to 20150522 (TeX Live 2015/pretest)
289
290* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
291- TeX Live 2015/pretest
292- synced tlnet to 20150426 (TeX Live 2015/pretest)
293
294* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
295- synced tlnet to 20150401
296
297* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
298- synced tlnet to 20141028
299
300* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
301- synced tlnet to 20140706
302
303* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
304- upgraded to TeX Live 2014
305
306* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
307- synced tlnet to 20140406
308
309* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
310- synced tlnet to 20131218
311
312* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
313- synced tlnet to 20131101
314
315* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
316- synced tlnet to 20131002
317
318* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
319- synced tlnet to 20130919
320
321* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
322- upgraded to TeX Live 2013
323  - used tlnet archives
324  - synced tlnet to 20130823
325- added macros.texlive
326
327* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
328- updated to TeX Live 2012
329
330* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
331- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
332  - set external dependencies (texlive-collection-binextra,
333    texlive-collection-fontutils)
334
335* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
336- updated to TeX Live 2011
337- merged texlive-vtlpkg-2009-osx.patch from OSXWS
338- added %doc README (%files)
339
340* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
341- applied texlive-vtlpkg-2009-vine.patch
342  - remove arch dependent binaries
343- updated tlpdb2rpmspec.sh.in:
344  - improved tlpdb4a()
345  - make symlinks of core script utils (texlive-collection-binextra,
346    texlive-collection-context, texlive-collection-fontutils,
347    texlive-collection-langgreek, texlive-collection-langindic,
348    texlive-collection-latex, texlive-collection-latexextra,
349    texlive-collection-latexrecommended, texlive-collection-pictures,
350    texlive-collection-pstricks, texlive-collection-science)
351
352* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
353- updated tlpdb2rpmspec.sh.in:
354  - improved %post
355
356* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
357- updated tlpdb2rpmspec.sh.in:
358  - removed arch dependent binaries (texlive-collection-latexextra)
359  - improved updmap process in %post and %postun
360  - fixed perl path
361
362* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
363- initial build
Note: See TracBrowser for help on using the repository browser.