source: projects/specs/trunk/t/texlive-collection-latex/texlive-collection-latex-vl.spec @ 9950

Revision 9950, 14.3 KB checked in by munepi, 8 years ago (diff)

synced tlnet to 20160110 (TeX Live 2016/dev)

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-3:
3## tlpdb2rpmspec collection-latex
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: LaTeX fundamental packages
10Summary(ja): TeX Live: LaTeX fundamental packages
11Name: texlive-collection-latex
12Version: 2015
13Release: 3%{?_dist_release}
14License: LPPL, LPPL 1.3, Public Domain
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: ae.doc.tar.xz
19Source1: ae.source.tar.xz
20Source2: ae.tar.xz
21Source3: amscls.doc.tar.xz
22Source4: amscls.source.tar.xz
23Source5: amscls.tar.xz
24Source6: amsmath.doc.tar.xz
25Source7: amsmath.source.tar.xz
26Source8: amsmath.tar.xz
27Source9: babel.doc.tar.xz
28Source10: babel.source.tar.xz
29Source11: babel.tar.xz
30Source12: babel-english.doc.tar.xz
31Source13: babel-english.source.tar.xz
32Source14: babel-english.tar.xz
33Source15: babelbib.doc.tar.xz
34Source16: babelbib.tar.xz
35Source17: carlisle.doc.tar.xz
36Source18: carlisle.source.tar.xz
37Source19: carlisle.tar.xz
38Source20: colortbl.doc.tar.xz
39Source21: colortbl.source.tar.xz
40Source22: colortbl.tar.xz
41Source23: fancyhdr.doc.tar.xz
42Source24: fancyhdr.tar.xz
43Source25: fix2col.doc.tar.xz
44Source26: fix2col.source.tar.xz
45Source27: fix2col.tar.xz
46Source28: geometry.doc.tar.xz
47Source29: geometry.source.tar.xz
48Source30: geometry.tar.xz
49Source31: graphics.doc.tar.xz
50Source32: graphics.source.tar.xz
51Source33: graphics.tar.xz
52Source34: hyperref.doc.tar.xz
53Source35: hyperref.source.tar.xz
54Source36: hyperref.tar.xz
55Source37: latex.doc.tar.xz
56Source38: latex.source.tar.xz
57Source39: latex.tar.xz
58Source40: latex-bin.doc.tar.xz
59Source41: latex-bin.tar.xz
60Source42: latex-fonts.doc.tar.xz
61Source43: latex-fonts.tar.xz
62Source44: latexconfig.tar.xz
63Source45: ltxmisc.tar.xz
64Source46: mfnfss.doc.tar.xz
65Source47: mfnfss.source.tar.xz
66Source48: mfnfss.tar.xz
67Source49: mptopdf.doc.tar.xz
68Source50: mptopdf.tar.xz
69Source51: natbib.doc.tar.xz
70Source52: natbib.source.tar.xz
71Source53: natbib.tar.xz
72Source54: oberdiek.doc.tar.xz
73Source55: oberdiek.source.tar.xz
74Source56: oberdiek.tar.xz
75Source57: pdftex-def.tar.xz
76Source58: pslatex.source.tar.xz
77Source59: pslatex.tar.xz
78Source60: psnfss.doc.tar.xz
79Source61: psnfss.source.tar.xz
80Source62: psnfss.tar.xz
81Source63: pspicture.doc.tar.xz
82Source64: pspicture.source.tar.xz
83Source65: pspicture.tar.xz
84Source66: tools.doc.tar.xz
85Source67: tools.source.tar.xz
86Source68: tools.tar.xz
87Source69: url.doc.tar.xz
88Source70: url.tar.xz
89
90Requires: texlive = %{version}
91Requires: texlive-collection-basic = %{version}
92
93Requires(post):         texlive = %{version}
94Requires(postun):       texlive = %{version}
95
96BuildArch:      noarch
97Buildroot:      %{_tmppath}/%{name}-%{version}-root
98
99Vendor:         Project Vine
100Distribution:   Vine Linux
101Packager:       munepi
102
103%description
104The TeX Live software distribution offers a complete TeX system for a
105variety of Unix, Macintosh, Windows and other platforms. It
106encompasses programs for editing, typesetting, previewing and printing
107of TeX documents in many different languages, and a large collection
108of TeX macros and font libraries.
109
110The distribution includes extensive general documentation about TeX,
111as well as the documentation for the included software packages.
112
113This package is a collection of LaTeX fundamental packages:
114These packages are either mandated by the core LaTeX team, or
115very widely used and strongly recommended in practice.
116
117This package contains the following CTAN packages:
118ae: Virtual fonts for T1 encoded CMR-fonts.
119amscls: AMS document classes for LaTeX.
120amsmath: AMS mathematical facilities for LaTeX.
121babel: Multilingual support for Plain TeX or LaTeX
122babel-english: Babel support for English.
123babelbib: Multilingual bibliographies.
124carlisle: David Carlisle's small packages.
125colortbl: Add colour to LaTeX tables.
126fancyhdr: Extensive control of page headers and footers in LaTeX2e.
127fix2col: Fix miscellaneous two column mode features
128geometry: Flexible and complete interface to document dimensions.
129graphics: Standard LaTeX graphics.
130hyperref: Extensive support for hypertext in LaTeX.
131latex: A TeX macro package that defines LaTeX
132latex-bin: LaTeX executables and man pages.
133latex-fonts: A collection of fonts used in LaTeX distributions.
134latexconfig:
135ltxmisc: Miscellaneous LaTeX packages, etc.
136mfnfss: Packages to typeset oldgerman and pandora fonts in LaTeX.
137mptopdf: mpost to PDF, native MetaPost graphics inclusion
138natbib: Flexible bibliography support.
139oberdiek: A bundle of packages submitted by Heiko Oberdiek.
140pdftex-def: Colour and Graphics support for PDFTeX.
141pslatex: Use PostScript fonts by default.
142psnfss: Font support for common PostScript fonts.
143pspicture: PostScript picture support.
144tools: The LaTeX standard tools bundle
145url: Verbatim with URL-sensitive line breaks.
146
147%description -l ja
148TeX Live ソフトウェアディストリビューションは、
149さまざまな Unix, Macintosh, Windows、および
150他のプラットホームに対して完全な TeX システムを提供します。
151多くの異なった言語を含む TeX ドキュメントの
152編集、組版、閲覧、印刷するためのプログラム、
153そして、TeX マクロやフォントライブラリの大きなコレクションを
154同梱しています。
155
156このディストリビューションは
157同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
158TeX に関するたくさんの一般的なドキュメントを含んでいます。
159
160このパッケージは以下のようなパッケージ集です。
161LaTeX fundamental packages:
162These packages are either mandated by the core LaTeX team, or
163very widely used and strongly recommended in practice.
164
165このパッケージは以下の CTAN パッケージを含んでいます:
166ae: Virtual fonts for T1 encoded CMR-fonts.
167amscls: AMS document classes for LaTeX.
168amsmath: AMS mathematical facilities for LaTeX.
169babel: Multilingual support for Plain TeX or LaTeX
170babel-english: Babel support for English.
171babelbib: Multilingual bibliographies.
172carlisle: David Carlisle's small packages.
173colortbl: Add colour to LaTeX tables.
174fancyhdr: Extensive control of page headers and footers in LaTeX2e.
175fix2col: Fix miscellaneous two column mode features
176geometry: Flexible and complete interface to document dimensions.
177graphics: Standard LaTeX graphics.
178hyperref: Extensive support for hypertext in LaTeX.
179latex: A TeX macro package that defines LaTeX
180latex-bin: LaTeX executables and man pages.
181latex-fonts: A collection of fonts used in LaTeX distributions.
182latexconfig:
183ltxmisc: Miscellaneous LaTeX packages, etc.
184mfnfss: Packages to typeset oldgerman and pandora fonts in LaTeX.
185mptopdf: mpost to PDF, native MetaPost graphics inclusion
186natbib: Flexible bibliography support.
187oberdiek: A bundle of packages submitted by Heiko Oberdiek.
188pdftex-def: Colour and Graphics support for PDFTeX.
189pslatex: Use PostScript fonts by default.
190psnfss: Font support for common PostScript fonts.
191pspicture: PostScript picture support.
192tools: The LaTeX standard tools bundle
193url: Verbatim with URL-sensitive line breaks.
194
195%package doc
196Summary: TeX Live: Documentation files of %{name}
197Group: Applications/Publishing
198Requires: %{name} = %{version}-%{release}
199
200%description doc
201This 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
304x=(
305scripts/context/stubs/unix/mtxrun
306scripts/ptex2pdf/ptex2pdf.lua
307scripts/texlive/fmtutil.pl
308scripts/texlive/texconfig-dialog.sh
309scripts/texlive/texconfig-sys.sh
310scripts/texlive/texconfig.sh
311scripts/texlive/texlinks.sh
312scripts/texlive/tlmgr.pl
313scripts/texlive/updmap.pl
314texconfig/tcfmgr
315web2c/fmtutil.cnf
316web2c/mktex.opt
317web2c/mktexdir
318web2c/mktexdir.opt
319web2c/mktexnam
320web2c/mktexnam.opt
321web2c/mktexupd
322web2c/texmf.cnf
323web2c/updmap-hdr.cfg
324web2c/updmap.cfg
325install-tl
326)
327if [ -d %{buildroot}%{_tl_texmfdist} ]; then
328pushd %{buildroot}%{_tl_texmfdist}
329%__rm -f ${x[@]} ||:
330popd
331fi
332
333## Files list
334find %{buildroot} -type f -or -type l | \
335    %__sed -e "s|%{buildroot}||g" > filelist.full
336
337find %{buildroot}%{_tl_texmfdist} -type d | \
338    %__sed -e "s|^%{buildroot}|%dir |" \
339           -e "s|$|/|"             >> filelist.full
340
341## subpackages
342grep "/texmf-dist/doc/" filelist.full > filelist.doc
343cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
344%__mv -f filelist.tmp filelist.full
345
346%clean
347%__rm -rf %{buildroot}
348
349%post
350%_tl_touch_run texhash
351%_tl_touch_run mtxrun
352
353[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
354
355    %_tl_enable_map Map charter.map
356    %_tl_enable_map Map fpls.map
357    %_tl_enable_map Map pazo.map
358    %_tl_enable_map Map utopia.map
359
360%_tl_touch_run fmtutil
361
362exit 0
363
364
365%postun
366if [ "$1" = 0 ]; then
367    %_tl_touch_run texhash
368
369    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
370
371    %_tl_disable_map charter.map
372    %_tl_disable_map fpls.map
373    %_tl_disable_map pazo.map
374    %_tl_disable_map utopia.map
375
376fi
377
378exit 0
379
380%posttrans
381%{_tl_exec_texhash}
382%{_tl_exec_mtxrun}
383%{_tl_exec_updmap}
384%{_tl_exec_fmtutil}
385exit 0
386
387
388%files -f filelist.full
389%defattr(-,root,root,-)
390
391%files -f filelist.doc doc
392%defattr(-,root,root,-)
393
394%changelog
395* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
396- TeX Live 2016/dev
397- synced tlnet to 20160110 (TeX Live 2016/dev)
398
399* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
400- TeX Live 2015/pretest
401- synced tlnet to 20150522 (TeX Live 2015/pretest)
402
403* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
404- TeX Live 2015/pretest
405- synced tlnet to 20150426 (TeX Live 2015/pretest)
406
407* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
408- synced tlnet to 20150401
409
410* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
411- synced tlnet to 20141028
412
413* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
414- synced tlnet to 20140706
415
416* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
417- upgraded to TeX Live 2014
418
419* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
420- synced tlnet to 20140406
421
422* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
423- synced tlnet to 20131218
424
425* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
426- synced tlnet to 20131101
427
428* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
429- synced tlnet to 20131002
430
431* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
432- synced tlnet to 20130919
433
434* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
435- upgraded to TeX Live 2013
436  - used tlnet archives
437  - synced tlnet to 20130823
438- added macros.texlive
439
440* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
441- updated to TeX Live 2012
442
443* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
444- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
445  - set external dependencies (texlive-collection-binextra,
446    texlive-collection-fontutils)
447
448* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
449- updated to TeX Live 2011
450- merged texlive-vtlpkg-2009-osx.patch from OSXWS
451- added %doc README (%files)
452
453* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
454- applied texlive-vtlpkg-2009-vine.patch
455  - remove arch dependent binaries
456- updated tlpdb2rpmspec.sh.in:
457  - improved tlpdb4a()
458  - make symlinks of core script utils (texlive-collection-binextra,
459    texlive-collection-context, texlive-collection-fontutils,
460    texlive-collection-langgreek, texlive-collection-langindic,
461    texlive-collection-latex, texlive-collection-latexextra,
462    texlive-collection-latexrecommended, texlive-collection-pictures,
463    texlive-collection-pstricks, texlive-collection-science)
464
465* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
466- updated tlpdb2rpmspec.sh.in:
467  - improved %post
468
469* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
470- updated tlpdb2rpmspec.sh.in:
471  - removed arch dependent binaries (texlive-collection-latexextra)
472  - improved updmap process in %post and %postun
473  - fixed perl path
474
475* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
476- initial build
Note: See TracBrowser for help on using the repository browser.