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

Revision 8476, 8.4 KB checked in by munepi, 10 years ago (diff)

TeX Live 2014

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1:
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: 2014
13Release: 1%{?_dist_release}
14License: GPL+, Artistic, Freely redistributable without restriction, LPPL, GPLv2+, Public Domain
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: ps2pkm.doc.tar.xz
32Source14: ps2pkm.tar.xz
33Source15: pstools.doc.tar.xz
34Source16: pstools.tar.xz
35Source17: psutils.doc.tar.xz
36Source18: psutils.tar.xz
37Source19: dvipsconfig.tar.xz
38Source20: fontinst.doc.tar.xz
39Source21: fontinst.source.tar.xz
40Source22: fontinst.tar.xz
41Source23: fontools.doc.tar.xz
42Source24: fontools.tar.xz
43Source25: mf2pt1.doc.tar.xz
44Source26: mf2pt1.tar.xz
45Source27: t1utils.doc.tar.xz
46Source28: t1utils.tar.xz
47Source29: ttfutils.doc.tar.xz
48Source30: ttfutils.tar.xz
49
50Requires: texlive = %{version}
51Requires: texlive-collection-basic = %{version}
52Requires: lcdf-typetools
53Requires: psutils
54Requires: t1utils
55
56Requires(post):         texlive = %{version}
57Requires(postun):       texlive = %{version}
58
59BuildArch:      noarch
60Buildroot:      %{_tmppath}/%{name}-%{version}-root
61
62Vendor:         Project Vine
63Distribution:   Vine Linux
64Packager:       munepi
65
66%description
67The TeX Live software distribution offers a complete TeX system for a
68variety of Unix, Macintosh, Windows and other platforms. It
69encompasses programs for editing, typesetting, previewing and printing
70of TeX documents in many different languages, and a large collection
71of TeX macros and font libraries.
72
73The distribution includes extensive general documentation about TeX,
74as well as the documentation for the included software packages.
75
76This package is a collection of Graphics and font utilities:
77Programs for conversion between font formats, testing fonts,
78virtual fonts, .gf and .pk manipulation, mft, fontinst, etc.
79Manipulating OpenType, TrueType, Type 1,and for manipulation of
80PostScript and other image formats.
81
82This package contains the following CTAN packages:
83accfonts: Utilities to derive new fonts from existing ones.
84afm2pl:
85dosepsbin: Deal with DOS binary EPS files.
86epstopdf: Convert EPS to 'encapsulated' PDF using GhostScript.
87fontware:
88lcdftypetools: A bundle of outline font manipulation tools.
89ps2pkm: Generate a PK font from an Adobe Type 1 font.
90pstools: Produce Encapsulated PostScript from PostScript.
91psutils: PostScript utilities.
92dvipsconfig: Collection of dvips PostScript headers.
93fontinst: Help with installing fonts for TeX and LaTeX.
94fontools: Tools to simplify using fonts (especially TT/OTF ones).
95mf2pt1: Produce PostScript Type 1 fonts from Metafont source.
96t1utils: Simple Type 1 font manipulation programs.
97ttfutils:
98
99%description -l ja
100TeX Live ソフトウェアディストリビューションは、
101さまざまな Unix, Macintosh, Windows、および
102他のプラットホームに対して完全な TeX システムを提供します。
103多くの異なった言語を含む TeX ドキュメントの
104編集、組版、閲覧、印刷するためのプログラム、
105そして、TeX マクロやフォントライブラリの大きなコレクションを
106同梱しています。
107
108このディストリビューションは
109同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
110TeX に関するたくさんの一般的なドキュメントを含んでいます。
111
112このパッケージは以下のようなパッケージ集です。
113Graphics and font utilities:
114Programs for conversion between font formats, testing fonts,
115virtual fonts, .gf and .pk manipulation, mft, fontinst, etc.
116Manipulating OpenType, TrueType, Type 1,and for manipulation of
117PostScript and other image formats.
118
119このパッケージは以下の CTAN パッケージを含んでいます:
120accfonts: Utilities to derive new fonts from existing ones.
121afm2pl:
122dosepsbin: Deal with DOS binary EPS files.
123epstopdf: Convert EPS to 'encapsulated' PDF using GhostScript.
124fontware:
125lcdftypetools: A bundle of outline font manipulation tools.
126ps2pkm: Generate a PK font from an Adobe Type 1 font.
127pstools: Produce Encapsulated PostScript from PostScript.
128psutils: PostScript utilities.
129dvipsconfig: Collection of dvips PostScript headers.
130fontinst: Help with installing fonts for TeX and LaTeX.
131fontools: Tools to simplify using fonts (especially TT/OTF ones).
132mf2pt1: Produce PostScript Type 1 fonts from Metafont source.
133t1utils: Simple Type 1 font manipulation programs.
134ttfutils:
135
136%package doc
137Summary: TeX Live: Documentation files of %{name}
138Group: Applications/Publishing
139Requires: %{name} = %{version}-%{release}
140
141%description doc
142This package contains documentation files of %{name}.
143
144%prep
145%setup -c -n %{name}-%{version}
146%__tar -xvf %{SOURCE1}
147%__tar -xvf %{SOURCE2}
148%__tar -xvf %{SOURCE3}
149%__tar -xvf %{SOURCE4}
150%__tar -xvf %{SOURCE5}
151%__tar -xvf %{SOURCE6}
152%__tar -xvf %{SOURCE7}
153%__tar -xvf %{SOURCE8}
154%__tar -xvf %{SOURCE9}
155%__tar -xvf %{SOURCE10}
156%__tar -xvf %{SOURCE11}
157%__tar -xvf %{SOURCE12}
158%__tar -xvf %{SOURCE13}
159%__tar -xvf %{SOURCE14}
160%__tar -xvf %{SOURCE15}
161%__tar -xvf %{SOURCE16}
162%__tar -xvf %{SOURCE17}
163%__tar -xvf %{SOURCE18}
164%__tar -xvf %{SOURCE19}
165%__tar -xvf %{SOURCE20}
166%__tar -xvf %{SOURCE21}
167%__tar -xvf %{SOURCE22}
168%__tar -xvf %{SOURCE23}
169%__tar -xvf %{SOURCE24}
170%__tar -xvf %{SOURCE25}
171%__tar -xvf %{SOURCE26}
172%__tar -xvf %{SOURCE27}
173%__tar -xvf %{SOURCE28}
174%__tar -xvf %{SOURCE29}
175%__tar -xvf %{SOURCE30}
176
177%build
178
179%install
180[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
181
182%__mkdir_p %{buildroot}%{_datadir}
183
184## move texmf-dist to /usr/share/texmf-dist
185[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
186
187## move texmf to /usr/share/texmf
188[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
189
190## move tlpkg to /usr/share/tlpkg
191[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
192
193## move all non-arch binaries to /usr/bin
194[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
195
196## move others into /usr/share/texmf-dist
197%__mkdir_p %{buildroot}%{_tl_texmfdist}
198%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
199%__rm -rf * ||:
200
201
202## remove duplicated files between texlive and texlive-collection-*
203## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
204## remove unpacked files
205x=(
206# scripts/texlive/tlmgr.pl
207# scripts/texlive/updmap.pl
208# scripts/fontools/autoinst
209# scripts/glossaries/makeglossaries
210# scripts/m-tx/m-tx.lua
211# scripts/musixtex/musixtex.lua
212# scripts/pmx/pmx2pdf.lua
213# scripts/latexmk/latexmk.pl
214# scripts/jfontmaps/kanji-config-updmap.pl
215# scripts/jfontmaps/kanji-fontmap-creator.pl
216# scripts/latexpand/latexpand
217# scripts/epstopdf/epstopdf.pl
218# scripts/convbkmk/convbkmk.rb
219# scripts/jfontmaps/kanji-config-updmap-sys.sh
220# scripts/luaotfload/luaotfload-tool.lua
221# texconfig/tcfmgr
222# texconfig/tcfmgr.map
223# web2c/fmtutil.cnf
224# web2c/mktex.opt
225# web2c/mktexdir
226# web2c/mktexdir.opt
227# web2c/mktexnam
228# web2c/mktexnam.opt
229# web2c/mktexupd
230# web2c/texmf.cnf
231# web2c/updmap.cfg
232# web2c/updmap-hdr.cfg
233# doc/chktex/ChkTeX.pdf
234install-tl
235)
236if [ -d %{buildroot}%{_tl_texmfdist} ]; then
237pushd %{buildroot}%{_tl_texmfdist}
238%__rm -f ${x[@]} ||:
239popd
240fi
241
242## Files list
243find %{buildroot} -type f -or -type l | \
244    %__sed -e "s|%{buildroot}||g" > filelist.full
245
246find %{buildroot}%{_tl_texmfdist} -type d | \
247    %__sed -e "s|^%{buildroot}|%dir |" \
248           -e "s|$|/|"             >> filelist.full
249
250## subpackages
251grep "/texmf-dist/doc/" filelist.full > filelist.doc
252cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
253%__mv -f filelist.tmp filelist.full
254
255%clean
256%__rm -rf %{buildroot}
257
258%post
259%_tl_touch_run texhash
260%_tl_touch_run mtxrun
261
262exit 0
263
264
265%postun
266if [ "$1" = 0 ]; then
267    %_tl_touch_run texhash
268
269fi
270
271exit 0
272
273%posttrans
274%{_tl_exec_texhash}
275%{_tl_exec_mtxrun}
276%{_tl_exec_updmap}
277%{_tl_exec_fmtutil}
278exit 0
279
280
281%files -f filelist.full
282%defattr(-,root,root,-)
283
284%files -f filelist.doc doc
285%defattr(-,root,root,-)
286
287%changelog
288* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
289- TLNET 20140524
Note: See TracBrowser for help on using the repository browser.