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

Revision 7770, 9.5 KB checked in by munepi, 11 years ago (diff)

dropped all obsolete texlive-collection packages of TeX Live 2012

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2013-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: 2013
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.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=(
204texconfig/tcfmgr
205texconfig/tcfmgr.map
206web2c/fmtutil.cnf
207web2c/mktex.opt
208web2c/mktexdir
209web2c/mktexdir.opt
210web2c/mktexnam
211web2c/mktexnam.opt
212web2c/mktexupd
213web2c/texmf.cnf
214web2c/updmap.cfg
215web2c/updmap-hdr.cfg
216doc/chktex/ChkTeX.pdf
217install-tl
218)
219if [ -d %{buildroot}%{_tl_texmfdist} ]; then
220pushd %{buildroot}%{_tl_texmfdist}
221%__rm -f ${x[@]} ||:
222popd
223fi
224
225## Files list
226find %{buildroot} -type f -or -type l | \
227    %__sed -e "s|%{buildroot}||g" > filelist.full
228
229find %{buildroot}%{_tl_texmfdist} -type d | \
230    %__sed -e "s|^%{buildroot}|%dir |" \
231           -e "s|$|/|"             >> filelist.full
232
233## subpackages
234grep "/texmf-dist/doc/" filelist.full > filelist.doc
235cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
236%__mv -f filelist.tmp filelist.full
237
238%clean
239%__rm -rf %{buildroot}
240
241%post
242%_tl_touch_run texhash
243%_tl_touch_run mtxrun
244
245exit 0
246
247
248%postun
249if [ "$1" = 0 ]; then
250    %_tl_touch_run texhash
251
252fi
253
254exit 0
255
256%posttrans
257%{_tl_exec_texhash}
258%{_tl_exec_mtxrun}
259%{_tl_exec_updmap}
260%{_tl_exec_fmtutil}
261exit 0
262
263
264%files -f filelist.full
265%defattr(-,root,root,-)
266
267%files -f filelist.doc doc
268%defattr(-,root,root,-)
269
270%changelog
271* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
272- generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-fontutils
273- TLNET 20130823
274
275* Fri Nov 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
276- generated by tlpdb2rpmspec 2012-1: tlpdb2rpmspec collection-fontutils
277
278* Sat Dec  3 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
279- generated by tlpdb2rpmspec 2011-2: tlpdb2rpmspec collection-fontutils
280- set external dependencies (texlive-collection-binextra,
281  texlive-collection-fontutils)
282
283* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
284- generated by tlpdb2rpmspec 2011-1: tlpdb2rpmspec collection-fontutils
285
286* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
287- generated by tlpdb2rpmspec 2009-4: tlpdb2rpmspec collection-fontutils
288- make symlinks of core script utils (texlive-collection-binextra,
289  texlive-collection-context, texlive-collection-fontutils,
290  texlive-collection-langgreek, texlive-collection-langindic,
291  texlive-collection-latex, texlive-collection-latexextra,
292  texlive-collection-latexrecommended, texlive-collection-pictures,
293  texlive-collection-pstricks, texlive-collection-science)
294
295* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
296- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-fontutils
297- improved %%post
298
299* Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
300- generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-fontutils
301- removed arch dependent binaries (texlive-collection-latexextra)
302- fixed perl path
303- improved updmap process in %%post and %%postun
304
305* Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
306- generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-fontutils
Note: See TracBrowser for help on using the repository browser.