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

Revision 9529, 7.9 KB checked in by munepi, 9 years ago (diff)

TeX Live 2015/pretest

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-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: 2015
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: ps2pk.doc.tar.xz
32Source14: ps2pk.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.
89ps2pk: 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.
126ps2pk: 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=(
206scripts/texlive/texconfig-dialog.sh
207scripts/texlive/texconfig-sys.sh
208scripts/texlive/texconfig.sh
209scripts/texlive/texlinks.sh
210scripts/texlive/tlmgr.pl
211texconfig/tcfmgr
212web2c/mktex.opt
213web2c/mktexdir
214web2c/mktexdir.opt
215web2c/mktexnam
216web2c/mktexnam.opt
217web2c/mktexupd
218web2c/texmf.cnf
219web2c/updmap-hdr.cfg
220web2c/updmap.cfg
221)
222if [ -d %{buildroot}%{_tl_texmfdist} ]; then
223pushd %{buildroot}%{_tl_texmfdist}
224%__rm -f ${x[@]} ||:
225popd
226fi
227
228## Files list
229find %{buildroot} -type f -or -type l | \
230    %__sed -e "s|%{buildroot}||g" > filelist.full
231
232find %{buildroot}%{_tl_texmfdist} -type d | \
233    %__sed -e "s|^%{buildroot}|%dir |" \
234           -e "s|$|/|"             >> filelist.full
235
236## subpackages
237grep "/texmf-dist/doc/" filelist.full > filelist.doc
238cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
239%__mv -f filelist.tmp filelist.full
240
241%clean
242%__rm -rf %{buildroot}
243
244%post
245%_tl_touch_run texhash
246%_tl_touch_run mtxrun
247
248exit 0
249
250
251%postun
252if [ "$1" = 0 ]; then
253    %_tl_touch_run texhash
254
255fi
256
257exit 0
258
259%posttrans
260%{_tl_exec_texhash}
261%{_tl_exec_mtxrun}
262%{_tl_exec_updmap}
263%{_tl_exec_fmtutil}
264exit 0
265
266
267%files -f filelist.full
268%defattr(-,root,root,-)
269
270%files -f filelist.doc doc
271%defattr(-,root,root,-)
272
273%changelog
274
Note: See TracBrowser for help on using the repository browser.