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

Revision 9034, 8.0 KB checked in by munepi, 10 years ago (diff)

synced tlnet to 20141028

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