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

Revision 8049, 8.2 KB checked in by munepi, 10 years ago (diff)

TLNET 20131218

RevLine 
[1533]1## -*- coding: utf-8-unix -*-
[8049]2## NOTE: This spec file is generated by tlpdb2rpmspec 2013-5:
[1974]3## tlpdb2rpmspec collection-fontutils
[1533]4
[5207]5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
[7148]9Summary: TeX Live: Graphics and font utilities
10Summary(ja): TeX Live: Graphics and font utilities
[1533]11Name: texlive-collection-fontutils
[7770]12Version: 2013
[8049]13Release: 5%{?_dist_release}
[7148]14License: GPL+, Artistic, Freely redistributable without restriction, LPPL, GPLv2+, Public Domain
[1533]15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
[7770]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
[1533]49Requires: texlive = %{version}
50Requires: texlive-collection-basic = %{version}
[5250]51Requires: lcdf-typetools
52Requires: psutils
53Requires: t1utils
[1533]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
[7148]75This package is a collection of Graphics and font utilities:
[1533]76Programs for conversion between font formats, testing fonts,
77virtual fonts, .gf and .pk manipulation, mft, fontinst, etc.
[7770]78Manipulating OpenType, TrueType, Type 1,and for manipulation of
79PostScript and other image formats.
[1533]80
81This package contains the following CTAN packages:
82accfonts: Utilities to derive new fonts from existing ones.
83afm2pl:
[7148]84dosepsbin: Deal with DOS binary EPS files.
[7770]85epstopdf: Convert EPS to 'encapsulated' PDF using GhostScript.
[1533]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).
[7148]94mf2pt1: Produce PostScript Type 1 fonts from Metafont source.
[1533]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このパッケージは以下のようなパッケージ集です。
[7148]112Graphics and font utilities:
[1533]113Programs for conversion between font formats, testing fonts,
114virtual fonts, .gf and .pk manipulation, mft, fontinst, etc.
[7770]115Manipulating OpenType, TrueType, Type 1,and for manipulation of
116PostScript and other image formats.
[1533]117
118このパッケージは以下の CTAN パッケージを含んでいます:
119accfonts: Utilities to derive new fonts from existing ones.
120afm2pl:
[7148]121dosepsbin: Deal with DOS binary EPS files.
[7770]122epstopdf: Convert EPS to 'encapsulated' PDF using GhostScript.
[1533]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).
[7148]131mf2pt1: Produce PostScript Type 1 fonts from Metafont source.
[1533]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
[7770]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}
[1533]174
175%build
176
177%install
178[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
179
[7770]180%__mkdir_p %{buildroot}%{_datadir}
[1533]181
[7770]182## move texmf-dist to /usr/share/texmf-dist
183[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
[1533]184
[7770]185## move texmf to /usr/share/texmf
186[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
[1533]187
[7770]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=(
[7855]204scripts/fontools/autoinst
205scripts/texlive/tlmgr.pl
[7951]206scripts/texlive/updmap.pl
[7770]207texconfig/tcfmgr
208texconfig/tcfmgr.map
209web2c/fmtutil.cnf
210web2c/mktex.opt
211web2c/mktexdir
212web2c/mktexdir.opt
213web2c/mktexnam
214web2c/mktexnam.opt
215web2c/mktexupd
216web2c/texmf.cnf
217web2c/updmap.cfg
218web2c/updmap-hdr.cfg
219doc/chktex/ChkTeX.pdf
220install-tl
221)
222if [ -d %{buildroot}%{_tl_texmfdist} ]; then
223pushd %{buildroot}%{_tl_texmfdist}
224%__rm -f ${x[@]} ||:
[3944]225popd
[7770]226fi
227
[1533]228## Files list
229find %{buildroot} -type f -or -type l | \
230    %__sed -e "s|%{buildroot}||g" > filelist.full
231
[7770]232find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]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
[7770]245%_tl_touch_run texhash
246%_tl_touch_run mtxrun
[1533]247
248exit 0
249
250
251%postun
252if [ "$1" = 0 ]; then
[7770]253    %_tl_touch_run texhash
[1533]254
255fi
256
257exit 0
258
[7148]259%posttrans
[7770]260%{_tl_exec_texhash}
261%{_tl_exec_mtxrun}
262%{_tl_exec_updmap}
263%{_tl_exec_fmtutil}
[7148]264exit 0
265
266
[1533]267%files -f filelist.full
[5207]268%defattr(-,root,root,-)
[1533]269
270%files -f filelist.doc doc
[5207]271%defattr(-,root,root,-)
[1533]272
273%changelog
[8049]274* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
275- TLNET 20131218
276
[7951]277* Fri Nov  1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
278- TLNET 20131101
279
[7855]280* Wed Oct  2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
281- TLNET 20131002
282
[7810]283* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
284- TLNET 20130919
285
[7770]286* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
287- TLNET 20130823
Note: See TracBrowser for help on using the repository browser.