1 | ## -*- coding: utf-8-unix -*- |
---|
2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-3: |
---|
3 | ## tlpdb2rpmspec collection-latex |
---|
4 | |
---|
5 | %global _use_internal_dependency_generator 0 |
---|
6 | %global __find_provides %{nil} |
---|
7 | %global __find_requires %{nil} |
---|
8 | |
---|
9 | Summary: TeX Live: LaTeX fundamental packages |
---|
10 | Summary(ja): TeX Live: LaTeX fundamental packages |
---|
11 | Name: texlive-collection-latex |
---|
12 | Version: 2014 |
---|
13 | Release: 3%{?_dist_release} |
---|
14 | License: LPPL, LPPL 1.3, Public Domain |
---|
15 | Group: Applications/Publishing |
---|
16 | URL:http://www.tug.org/texlive/ |
---|
17 | |
---|
18 | Source0: ae.doc.tar.xz |
---|
19 | Source1: ae.source.tar.xz |
---|
20 | Source2: ae.tar.xz |
---|
21 | Source3: amscls.doc.tar.xz |
---|
22 | Source4: amscls.source.tar.xz |
---|
23 | Source5: amscls.tar.xz |
---|
24 | Source6: amsmath.doc.tar.xz |
---|
25 | Source7: amsmath.source.tar.xz |
---|
26 | Source8: amsmath.tar.xz |
---|
27 | Source9: babel.doc.tar.xz |
---|
28 | Source10: babel.source.tar.xz |
---|
29 | Source11: babel.tar.xz |
---|
30 | Source12: babel-english.doc.tar.xz |
---|
31 | Source13: babel-english.source.tar.xz |
---|
32 | Source14: babel-english.tar.xz |
---|
33 | Source15: babelbib.doc.tar.xz |
---|
34 | Source16: babelbib.tar.xz |
---|
35 | Source17: carlisle.doc.tar.xz |
---|
36 | Source18: carlisle.source.tar.xz |
---|
37 | Source19: carlisle.tar.xz |
---|
38 | Source20: colortbl.doc.tar.xz |
---|
39 | Source21: colortbl.source.tar.xz |
---|
40 | Source22: colortbl.tar.xz |
---|
41 | Source23: fancyhdr.doc.tar.xz |
---|
42 | Source24: fancyhdr.tar.xz |
---|
43 | Source25: fix2col.doc.tar.xz |
---|
44 | Source26: fix2col.source.tar.xz |
---|
45 | Source27: fix2col.tar.xz |
---|
46 | Source28: geometry.doc.tar.xz |
---|
47 | Source29: geometry.source.tar.xz |
---|
48 | Source30: geometry.tar.xz |
---|
49 | Source31: graphics.doc.tar.xz |
---|
50 | Source32: graphics.source.tar.xz |
---|
51 | Source33: graphics.tar.xz |
---|
52 | Source34: hyperref.doc.tar.xz |
---|
53 | Source35: hyperref.source.tar.xz |
---|
54 | Source36: hyperref.tar.xz |
---|
55 | Source37: latex.doc.tar.xz |
---|
56 | Source38: latex.source.tar.xz |
---|
57 | Source39: latex.tar.xz |
---|
58 | Source40: latex-bin.doc.tar.xz |
---|
59 | Source41: latex-bin.tar.xz |
---|
60 | Source42: latex-fonts.doc.tar.xz |
---|
61 | Source43: latex-fonts.tar.xz |
---|
62 | Source44: latexconfig.tar.xz |
---|
63 | Source45: ltxmisc.tar.xz |
---|
64 | Source46: mfnfss.doc.tar.xz |
---|
65 | Source47: mfnfss.source.tar.xz |
---|
66 | Source48: mfnfss.tar.xz |
---|
67 | Source49: mptopdf.doc.tar.xz |
---|
68 | Source50: mptopdf.tar.xz |
---|
69 | Source51: natbib.doc.tar.xz |
---|
70 | Source52: natbib.source.tar.xz |
---|
71 | Source53: natbib.tar.xz |
---|
72 | Source54: oberdiek.doc.tar.xz |
---|
73 | Source55: oberdiek.source.tar.xz |
---|
74 | Source56: oberdiek.tar.xz |
---|
75 | Source57: pdftex-def.tar.xz |
---|
76 | Source58: pslatex.source.tar.xz |
---|
77 | Source59: pslatex.tar.xz |
---|
78 | Source60: psnfss.doc.tar.xz |
---|
79 | Source61: psnfss.source.tar.xz |
---|
80 | Source62: psnfss.tar.xz |
---|
81 | Source63: pspicture.doc.tar.xz |
---|
82 | Source64: pspicture.source.tar.xz |
---|
83 | Source65: pspicture.tar.xz |
---|
84 | Source66: tools.doc.tar.xz |
---|
85 | Source67: tools.source.tar.xz |
---|
86 | Source68: tools.tar.xz |
---|
87 | Source69: url.doc.tar.xz |
---|
88 | Source70: url.tar.xz |
---|
89 | |
---|
90 | Requires: texlive = %{version} |
---|
91 | Requires: texlive-collection-basic = %{version} |
---|
92 | |
---|
93 | Requires(post): texlive = %{version} |
---|
94 | Requires(postun): texlive = %{version} |
---|
95 | |
---|
96 | BuildArch: noarch |
---|
97 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
98 | |
---|
99 | Vendor: Project Vine |
---|
100 | Distribution: Vine Linux |
---|
101 | Packager: munepi |
---|
102 | |
---|
103 | %description |
---|
104 | The TeX Live software distribution offers a complete TeX system for a |
---|
105 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
106 | encompasses programs for editing, typesetting, previewing and printing |
---|
107 | of TeX documents in many different languages, and a large collection |
---|
108 | of TeX macros and font libraries. |
---|
109 | |
---|
110 | The distribution includes extensive general documentation about TeX, |
---|
111 | as well as the documentation for the included software packages. |
---|
112 | |
---|
113 | This package is a collection of LaTeX fundamental packages: |
---|
114 | These packages are either mandated by the core LaTeX team, or |
---|
115 | very widely used and strongly recommended in practice. |
---|
116 | |
---|
117 | This package contains the following CTAN packages: |
---|
118 | ae: Virtual fonts for T1 encoded CMR-fonts. |
---|
119 | amscls: AMS document classes for LaTeX. |
---|
120 | amsmath: AMS mathematical facilities for LaTeX. |
---|
121 | babel: Multilingual support for Plain TeX or LaTeX. |
---|
122 | babel-english: Babel support for English. |
---|
123 | babelbib: Multilingual bibliographies. |
---|
124 | carlisle: David Carlisle's small packages. |
---|
125 | colortbl: Add colour to LaTeX tables. |
---|
126 | fancyhdr: Extensive control of page headers and footers in LaTeX2e. |
---|
127 | fix2col: Fix miscellaneous two column mode features. |
---|
128 | geometry: Flexible and complete interface to document dimensions. |
---|
129 | graphics: Standard LaTeX graphics. |
---|
130 | hyperref: Extensive support for hypertext in LaTeX. |
---|
131 | latex: A TeX macro package that defines LaTeX. |
---|
132 | latex-bin: LaTeX executables and man pages. |
---|
133 | latex-fonts: A collection of fonts used in LaTeX distributions. |
---|
134 | latexconfig: |
---|
135 | ltxmisc: Miscellaneous LaTeX packages, etc. |
---|
136 | mfnfss: Packages to typeset oldgerman and pandora fonts in LaTeX. |
---|
137 | mptopdf: mpost to PDF, native MetaPost graphics inclusion |
---|
138 | natbib: Flexible bibliography support. |
---|
139 | oberdiek: A bundle of packages submitted by Heiko Oberdiek. |
---|
140 | pdftex-def: Colour and Graphics support for PDFTeX. |
---|
141 | pslatex: Use PostScript fonts by default. |
---|
142 | psnfss: Font support for common PostScript fonts. |
---|
143 | pspicture: PostScript picture support. |
---|
144 | tools: The LaTeX standard tools bundle. |
---|
145 | url: Verbatim with URL-sensitive line breaks. |
---|
146 | |
---|
147 | %description -l ja |
---|
148 | TeX Live ソフトウェアディストリビューションは、 |
---|
149 | さまざまな Unix, Macintosh, Windows、および |
---|
150 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
151 | 多くの異なった言語を含む TeX ドキュメントの |
---|
152 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
153 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
154 | 同梱しています。 |
---|
155 | |
---|
156 | このディストリビューションは |
---|
157 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
158 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
159 | |
---|
160 | このパッケージは以下のようなパッケージ集です。 |
---|
161 | LaTeX fundamental packages: |
---|
162 | These packages are either mandated by the core LaTeX team, or |
---|
163 | very widely used and strongly recommended in practice. |
---|
164 | |
---|
165 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
166 | ae: Virtual fonts for T1 encoded CMR-fonts. |
---|
167 | amscls: AMS document classes for LaTeX. |
---|
168 | amsmath: AMS mathematical facilities for LaTeX. |
---|
169 | babel: Multilingual support for Plain TeX or LaTeX. |
---|
170 | babel-english: Babel support for English. |
---|
171 | babelbib: Multilingual bibliographies. |
---|
172 | carlisle: David Carlisle's small packages. |
---|
173 | colortbl: Add colour to LaTeX tables. |
---|
174 | fancyhdr: Extensive control of page headers and footers in LaTeX2e. |
---|
175 | fix2col: Fix miscellaneous two column mode features. |
---|
176 | geometry: Flexible and complete interface to document dimensions. |
---|
177 | graphics: Standard LaTeX graphics. |
---|
178 | hyperref: Extensive support for hypertext in LaTeX. |
---|
179 | latex: A TeX macro package that defines LaTeX. |
---|
180 | latex-bin: LaTeX executables and man pages. |
---|
181 | latex-fonts: A collection of fonts used in LaTeX distributions. |
---|
182 | latexconfig: |
---|
183 | ltxmisc: Miscellaneous LaTeX packages, etc. |
---|
184 | mfnfss: Packages to typeset oldgerman and pandora fonts in LaTeX. |
---|
185 | mptopdf: mpost to PDF, native MetaPost graphics inclusion |
---|
186 | natbib: Flexible bibliography support. |
---|
187 | oberdiek: A bundle of packages submitted by Heiko Oberdiek. |
---|
188 | pdftex-def: Colour and Graphics support for PDFTeX. |
---|
189 | pslatex: Use PostScript fonts by default. |
---|
190 | psnfss: Font support for common PostScript fonts. |
---|
191 | pspicture: PostScript picture support. |
---|
192 | tools: The LaTeX standard tools bundle. |
---|
193 | url: Verbatim with URL-sensitive line breaks. |
---|
194 | |
---|
195 | %package doc |
---|
196 | Summary: TeX Live: Documentation files of %{name} |
---|
197 | Group: Applications/Publishing |
---|
198 | Requires: %{name} = %{version}-%{release} |
---|
199 | |
---|
200 | %description doc |
---|
201 | This package contains documentation files of %{name}. |
---|
202 | |
---|
203 | %prep |
---|
204 | %setup -c -n %{name}-%{version} |
---|
205 | %__tar -xvf %{SOURCE1} |
---|
206 | %__tar -xvf %{SOURCE2} |
---|
207 | %__tar -xvf %{SOURCE3} |
---|
208 | %__tar -xvf %{SOURCE4} |
---|
209 | %__tar -xvf %{SOURCE5} |
---|
210 | %__tar -xvf %{SOURCE6} |
---|
211 | %__tar -xvf %{SOURCE7} |
---|
212 | %__tar -xvf %{SOURCE8} |
---|
213 | %__tar -xvf %{SOURCE9} |
---|
214 | %__tar -xvf %{SOURCE10} |
---|
215 | %__tar -xvf %{SOURCE11} |
---|
216 | %__tar -xvf %{SOURCE12} |
---|
217 | %__tar -xvf %{SOURCE13} |
---|
218 | %__tar -xvf %{SOURCE14} |
---|
219 | %__tar -xvf %{SOURCE15} |
---|
220 | %__tar -xvf %{SOURCE16} |
---|
221 | %__tar -xvf %{SOURCE17} |
---|
222 | %__tar -xvf %{SOURCE18} |
---|
223 | %__tar -xvf %{SOURCE19} |
---|
224 | %__tar -xvf %{SOURCE20} |
---|
225 | %__tar -xvf %{SOURCE21} |
---|
226 | %__tar -xvf %{SOURCE22} |
---|
227 | %__tar -xvf %{SOURCE23} |
---|
228 | %__tar -xvf %{SOURCE24} |
---|
229 | %__tar -xvf %{SOURCE25} |
---|
230 | %__tar -xvf %{SOURCE26} |
---|
231 | %__tar -xvf %{SOURCE27} |
---|
232 | %__tar -xvf %{SOURCE28} |
---|
233 | %__tar -xvf %{SOURCE29} |
---|
234 | %__tar -xvf %{SOURCE30} |
---|
235 | %__tar -xvf %{SOURCE31} |
---|
236 | %__tar -xvf %{SOURCE32} |
---|
237 | %__tar -xvf %{SOURCE33} |
---|
238 | %__tar -xvf %{SOURCE34} |
---|
239 | %__tar -xvf %{SOURCE35} |
---|
240 | %__tar -xvf %{SOURCE36} |
---|
241 | %__tar -xvf %{SOURCE37} |
---|
242 | %__tar -xvf %{SOURCE38} |
---|
243 | %__tar -xvf %{SOURCE39} |
---|
244 | %__tar -xvf %{SOURCE40} |
---|
245 | %__tar -xvf %{SOURCE41} |
---|
246 | %__tar -xvf %{SOURCE42} |
---|
247 | %__tar -xvf %{SOURCE43} |
---|
248 | %__tar -xvf %{SOURCE44} |
---|
249 | %__tar -xvf %{SOURCE45} |
---|
250 | %__tar -xvf %{SOURCE46} |
---|
251 | %__tar -xvf %{SOURCE47} |
---|
252 | %__tar -xvf %{SOURCE48} |
---|
253 | %__tar -xvf %{SOURCE49} |
---|
254 | %__tar -xvf %{SOURCE50} |
---|
255 | %__tar -xvf %{SOURCE51} |
---|
256 | %__tar -xvf %{SOURCE52} |
---|
257 | %__tar -xvf %{SOURCE53} |
---|
258 | %__tar -xvf %{SOURCE54} |
---|
259 | %__tar -xvf %{SOURCE55} |
---|
260 | %__tar -xvf %{SOURCE56} |
---|
261 | %__tar -xvf %{SOURCE57} |
---|
262 | %__tar -xvf %{SOURCE58} |
---|
263 | %__tar -xvf %{SOURCE59} |
---|
264 | %__tar -xvf %{SOURCE60} |
---|
265 | %__tar -xvf %{SOURCE61} |
---|
266 | %__tar -xvf %{SOURCE62} |
---|
267 | %__tar -xvf %{SOURCE63} |
---|
268 | %__tar -xvf %{SOURCE64} |
---|
269 | %__tar -xvf %{SOURCE65} |
---|
270 | %__tar -xvf %{SOURCE66} |
---|
271 | %__tar -xvf %{SOURCE67} |
---|
272 | %__tar -xvf %{SOURCE68} |
---|
273 | %__tar -xvf %{SOURCE69} |
---|
274 | %__tar -xvf %{SOURCE70} |
---|
275 | |
---|
276 | %build |
---|
277 | |
---|
278 | %install |
---|
279 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
280 | |
---|
281 | %__mkdir_p %{buildroot}%{_datadir} |
---|
282 | |
---|
283 | ## move texmf-dist to /usr/share/texmf-dist |
---|
284 | [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||: |
---|
285 | |
---|
286 | ## move texmf to /usr/share/texmf |
---|
287 | [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||: |
---|
288 | |
---|
289 | ## move tlpkg to /usr/share/tlpkg |
---|
290 | [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||: |
---|
291 | |
---|
292 | ## move all non-arch binaries to /usr/bin |
---|
293 | [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||: |
---|
294 | |
---|
295 | ## move others into /usr/share/texmf-dist |
---|
296 | %__mkdir_p %{buildroot}%{_tl_texmfdist} |
---|
297 | %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||: |
---|
298 | %__rm -rf * ||: |
---|
299 | |
---|
300 | |
---|
301 | ## remove duplicated files between texlive and texlive-collection-* |
---|
302 | ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive |
---|
303 | ## remove unpacked files |
---|
304 | x=( |
---|
305 | scripts/epstopdf/epstopdf.pl |
---|
306 | scripts/texlive/fmtutil.sh |
---|
307 | texconfig/tcfmgr |
---|
308 | web2c/texmf.cnf |
---|
309 | web2c/updmap-hdr.cfg |
---|
310 | web2c/updmap.cfg |
---|
311 | install-tl |
---|
312 | ) |
---|
313 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
314 | pushd %{buildroot}%{_tl_texmfdist} |
---|
315 | %__rm -f ${x[@]} ||: |
---|
316 | popd |
---|
317 | fi |
---|
318 | |
---|
319 | ## Files list |
---|
320 | find %{buildroot} -type f -or -type l | \ |
---|
321 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
322 | |
---|
323 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
324 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
325 | -e "s|$|/|" >> filelist.full |
---|
326 | |
---|
327 | ## subpackages |
---|
328 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
329 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
330 | %__mv -f filelist.tmp filelist.full |
---|
331 | |
---|
332 | %clean |
---|
333 | %__rm -rf %{buildroot} |
---|
334 | |
---|
335 | %post |
---|
336 | %_tl_touch_run texhash |
---|
337 | %_tl_touch_run mtxrun |
---|
338 | |
---|
339 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
340 | |
---|
341 | %_tl_enable_map Map charter.map |
---|
342 | %_tl_enable_map Map fpls.map |
---|
343 | %_tl_enable_map Map pazo.map |
---|
344 | %_tl_enable_map Map utopia.map |
---|
345 | |
---|
346 | %_tl_touch_run fmtutil |
---|
347 | |
---|
348 | exit 0 |
---|
349 | |
---|
350 | |
---|
351 | %postun |
---|
352 | if [ "$1" = 0 ]; then |
---|
353 | %_tl_touch_run texhash |
---|
354 | |
---|
355 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
356 | |
---|
357 | %_tl_disable_map charter.map |
---|
358 | %_tl_disable_map fpls.map |
---|
359 | %_tl_disable_map pazo.map |
---|
360 | %_tl_disable_map utopia.map |
---|
361 | |
---|
362 | fi |
---|
363 | |
---|
364 | exit 0 |
---|
365 | |
---|
366 | %posttrans |
---|
367 | %{_tl_exec_texhash} |
---|
368 | %{_tl_exec_mtxrun} |
---|
369 | %{_tl_exec_updmap} |
---|
370 | %{_tl_exec_fmtutil} |
---|
371 | exit 0 |
---|
372 | |
---|
373 | |
---|
374 | %files -f filelist.full |
---|
375 | %defattr(-,root,root,-) |
---|
376 | |
---|
377 | %files -f filelist.doc doc |
---|
378 | %defattr(-,root,root,-) |
---|
379 | |
---|
380 | %changelog |
---|
381 | * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3 |
---|
382 | - synced tlnet to 20141028 |
---|
383 | |
---|
384 | * Sun Jul 6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2 |
---|
385 | - synced tlnet to 20140706 |
---|
386 | |
---|
387 | * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1 |
---|
388 | - synced tlnet to 20140524 |
---|