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

Revision 7855, 8.1 KB checked in by munepi, 11 years ago (diff)

update source snapshot, TLNET: 20131002

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