source: projects/specs/trunk/t/texlive-collection-science/texlive-collection-science-vl.spec @ 9529

Revision 9529, 20.5 KB checked in by munepi, 9 years ago (diff)

TeX Live 2015/pretest

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-1:
3## tlpdb2rpmspec collection-science
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: Natural and computer sciences
10Summary(ja): TeX Live: Natural and computer sciences
11Name: texlive-collection-science
12Version: 2015
13Release: 1%{?_dist_release}
14License: LPPL, LPPL 1.3, LGPLv2+, GPL+, Public Domain, LPPL 1.2, Freely redistributable without restriction
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: SIstyle.doc.tar.xz
19Source1: SIstyle.source.tar.xz
20Source2: SIstyle.tar.xz
21Source3: SIunits.doc.tar.xz
22Source4: SIunits.source.tar.xz
23Source5: SIunits.tar.xz
24Source6: alg.doc.tar.xz
25Source7: alg.source.tar.xz
26Source8: alg.tar.xz
27Source9: algorithm2e.doc.tar.xz
28Source10: algorithm2e.tar.xz
29Source11: algorithmicx.doc.tar.xz
30Source12: algorithmicx.tar.xz
31Source13: algorithms.doc.tar.xz
32Source14: algorithms.source.tar.xz
33Source15: algorithms.tar.xz
34Source16: biocon.doc.tar.xz
35Source17: biocon.tar.xz
36Source18: bohr.doc.tar.xz
37Source19: bohr.tar.xz
38Source20: bpchem.doc.tar.xz
39Source21: bpchem.source.tar.xz
40Source22: bpchem.tar.xz
41Source23: bytefield.doc.tar.xz
42Source24: bytefield.source.tar.xz
43Source25: bytefield.tar.xz
44Source26: chemarrow.doc.tar.xz
45Source27: chemarrow.source.tar.xz
46Source28: chemarrow.tar.xz
47Source29: chemcompounds.doc.tar.xz
48Source30: chemcompounds.source.tar.xz
49Source31: chemcompounds.tar.xz
50Source32: chemcono.doc.tar.xz
51Source33: chemcono.tar.xz
52Source34: chemexec.doc.tar.xz
53Source35: chemexec.tar.xz
54Source36: chemformula.doc.tar.xz
55Source37: chemformula.tar.xz
56Source38: chemgreek.doc.tar.xz
57Source39: chemgreek.tar.xz
58Source40: chemmacros.doc.tar.xz
59Source41: chemmacros.tar.xz
60Source42: chemnum.doc.tar.xz
61Source43: chemnum.tar.xz
62Source44: chemschemex.doc.tar.xz
63Source45: chemschemex.source.tar.xz
64Source46: chemschemex.tar.xz
65Source47: chemstyle.doc.tar.xz
66Source48: chemstyle.source.tar.xz
67Source49: chemstyle.tar.xz
68Source50: clrscode.doc.tar.xz
69Source51: clrscode.tar.xz
70Source52: clrscode3e.doc.tar.xz
71Source53: clrscode3e.tar.xz
72Source54: complexity.doc.tar.xz
73Source55: complexity.tar.xz
74Source56: computational-complexity.doc.tar.xz
75Source57: computational-complexity.source.tar.xz
76Source58: computational-complexity.tar.xz
77Source59: cryptocode.doc.tar.xz
78Source60: cryptocode.tar.xz
79Source61: digiconfigs.doc.tar.xz
80Source62: digiconfigs.tar.xz
81Source63: drawstack.doc.tar.xz
82Source64: drawstack.tar.xz
83Source65: dyntree.doc.tar.xz
84Source66: dyntree.source.tar.xz
85Source67: dyntree.tar.xz
86Source68: eltex.doc.tar.xz
87Source69: eltex.tar.xz
88Source70: endiagram.doc.tar.xz
89Source71: endiagram.tar.xz
90Source72: engtlc.doc.tar.xz
91Source73: engtlc.tar.xz
92Source74: fouridx.doc.tar.xz
93Source75: fouridx.source.tar.xz
94Source76: fouridx.tar.xz
95Source77: functan.doc.tar.xz
96Source78: functan.source.tar.xz
97Source79: functan.tar.xz
98Source80: galois.doc.tar.xz
99Source81: galois.source.tar.xz
100Source82: galois.tar.xz
101Source83: gastex.doc.tar.xz
102Source84: gastex.tar.xz
103Source85: gene-logic.doc.tar.xz
104Source86: gene-logic.tar.xz
105Source87: ghsystem.doc.tar.xz
106Source88: ghsystem.tar.xz
107Source89: gu.doc.tar.xz
108Source90: gu.tar.xz
109Source91: hep.doc.tar.xz
110Source92: hep.tar.xz
111Source93: hepnames.doc.tar.xz
112Source94: hepnames.tar.xz
113Source95: hepparticles.doc.tar.xz
114Source96: hepparticles.tar.xz
115Source97: hepthesis.doc.tar.xz
116Source98: hepthesis.tar.xz
117Source99: hepunits.doc.tar.xz
118Source100: hepunits.tar.xz
119Source101: karnaugh.doc.tar.xz
120Source102: karnaugh.tar.xz
121Source103: karnaughmap.doc.tar.xz
122Source104: karnaughmap.source.tar.xz
123Source105: karnaughmap.tar.xz
124Source106: matlab-prettifier.doc.tar.xz
125Source107: matlab-prettifier.source.tar.xz
126Source108: matlab-prettifier.tar.xz
127Source109: mhchem.doc.tar.xz
128Source110: mhchem.tar.xz
129Source111: miller.doc.tar.xz
130Source112: miller.source.tar.xz
131Source113: miller.tar.xz
132Source114: mychemistry.doc.tar.xz
133Source115: mychemistry.tar.xz
134Source116: nuc.doc.tar.xz
135Source117: nuc.tar.xz
136Source118: objectz.doc.tar.xz
137Source119: objectz.source.tar.xz
138Source120: objectz.tar.xz
139Source121: physics.doc.tar.xz
140Source122: physics.tar.xz
141Source123: pseudocode.doc.tar.xz
142Source124: pseudocode.tar.xz
143Source125: pygmentex.doc.tar.xz
144Source126: pygmentex.tar.xz
145Source127: sasnrdisplay.doc.tar.xz
146Source128: sasnrdisplay.tar.xz
147Source129: sciposter.doc.tar.xz
148Source130: sciposter.tar.xz
149Source131: sclang-prettifier.doc.tar.xz
150Source132: sclang-prettifier.source.tar.xz
151Source133: sclang-prettifier.tar.xz
152Source134: sfg.doc.tar.xz
153Source135: sfg.tar.xz
154Source136: siunitx.doc.tar.xz
155Source137: siunitx.source.tar.xz
156Source138: siunitx.tar.xz
157Source139: steinmetz.doc.tar.xz
158Source140: steinmetz.source.tar.xz
159Source141: steinmetz.tar.xz
160Source142: struktex.doc.tar.xz
161Source143: struktex.source.tar.xz
162Source144: struktex.tar.xz
163Source145: substances.doc.tar.xz
164Source146: substances.tar.xz
165Source147: t-angles.doc.tar.xz
166Source148: t-angles.tar.xz
167Source149: textopo.doc.tar.xz
168Source150: textopo.source.tar.xz
169Source151: textopo.tar.xz
170Source152: ulqda.doc.tar.xz
171Source153: ulqda.source.tar.xz
172Source154: ulqda.tar.xz
173Source155: unitsdef.doc.tar.xz
174Source156: unitsdef.source.tar.xz
175Source157: unitsdef.tar.xz
176Source158: xymtex.doc.tar.xz
177Source159: xymtex.source.tar.xz
178Source160: xymtex.tar.xz
179Source161: youngtab.doc.tar.xz
180Source162: youngtab.source.tar.xz
181Source163: youngtab.tar.xz
182
183Requires: texlive = %{version}
184Requires: texlive-collection-latex = %{version}
185
186Requires(post):         texlive = %{version}
187Requires(postun):       texlive = %{version}
188
189BuildArch:      noarch
190Buildroot:      %{_tmppath}/%{name}-%{version}-root
191
192Vendor:         Project Vine
193Distribution:   Vine Linux
194Packager:       munepi
195
196%description
197The TeX Live software distribution offers a complete TeX system for a
198variety of Unix, Macintosh, Windows and other platforms. It
199encompasses programs for editing, typesetting, previewing and printing
200of TeX documents in many different languages, and a large collection
201of TeX macros and font libraries.
202
203The distribution includes extensive general documentation about TeX,
204as well as the documentation for the included software packages.
205
206This package is a collection of Natural and computer sciences:
207
208
209This package contains the following CTAN packages:
210SIstyle: Package to typeset SI units, numbers and angles.
211SIunits: International System of Units.
212alg: LaTeX environments for typesetting algorithms.
213algorithm2e: Floating algorithm environment with algorithmic keywords.
214algorithmicx: The algorithmic style you always wanted.
215algorithms: A suite of tools for typesetting algorithms in pseudo-code.
216biocon: Typesetting biological species names
217bohr: Simple atom representation according to the Bohr model.
218bpchem: Typeset chemical names, formulae, etc.
219bytefield: Create illustrations for network protocol specifications.
220chemarrow: Arrows for use in chemistry.
221chemcompounds: Simple consecutive numbering of chemical compounds.
222chemcono: Support for compound numbers in chemistry documents.
223chemexec: Creating (chemical) exercise sheets.
224chemformula: Command for typesetting chemical formulas and reactions.
225chemgreek: Upright Greek letters in chemistry.
226chemmacros: A collection of macros to support typesetting chemistry documents.
227chemnum: A method of numbering chemical compounds.
228chemschemex: Typeset and cross-reference chemical schemes based on TikZ code.
229chemstyle: Writing chemistry with style.
230clrscode: Typesets pseudocode as in Introduction to Algorithms.
231clrscode3e: Typesets pseudocode as in Introduction to Algorithms.
232complexity: Computational complexity class names.
233computational-complexity: Class for the journal Computational Complexity.
234cryptocode: Typesetting pseudocode, protocols, game-based proofs and black-box reductions in cryptography.
235digiconfigs: Writing "configurations"
236drawstack: Draw execution stacks.
237dyntree: Construct Dynkin tree diagrams.
238eltex: Simple circuit diagrams in LaTeX picture mode.
239endiagram: Easy creation of potential energy curve diagrams.
240engtlc: Support for users in Telecommunications Engineering.
241fouridx: Left sub- and superscripts in maths mode.
242functan: Macros for functional analysis and PDE theory
243galois: Typeset Galois connections.
244gastex: Graphs and Automata Simplified in TeX.
245gene-logic: Typeset logic formulae, etc.
246ghsystem: Globally harmonised system of chemical (etc) naming.
247gu: Typeset crystallographic group-subgroup-schemes.
248hep: A "convenience wrapper" for High Energy Physics packages.
249hepnames: Pre-defined high energy particle names.
250hepparticles: Macros for typesetting high energy physics particle names.
251hepthesis: A class for academic reports, especially PhD theses.
252hepunits: A set of units useful in high energy physics applications.
253karnaugh: Typeset Karnaugh-Veitch-maps.
254karnaughmap: Typeset Karnaugh maps.
255matlab-prettifier: Pretty-print Matlab source code.
256mhchem: Typeset chemical formulae/equations and Risk and Safety phrases.
257miller: Typeset miller indices.
258mychemistry: Create reaction schemes with LaTeX and ChemFig.
259nuc: Notation for nuclear isotopes.
260objectz: Macros for typesetting Object Z.
261physics: Macros supporting the Mathematics of Physics.
262pseudocode: LaTeX environment for specifying algorithms in a natural way.
263pygmentex: Use Pygments to format code listings in documents.
264sasnrdisplay: Typeset SAS or R code or output.
265sciposter: Make posters of ISO A3 size and larger.
266sclang-prettifier: Prettyprinting SuperCollider source code
267sfg: Draw signal flow graphs.
268siunitx: A comprehensive (SI) units package.
269steinmetz: Print Steinmetz notation.
270struktex: Draw Nassi-Schneidermann charts
271substances: A database of chemicals.
272t-angles: Draw tangles, trees, Hopf algebra operations and other pictures.
273textopo: Annotated membrane protein topology plots.
274ulqda: Support of Qualitative Data Analysis.
275unitsdef: Typesetting units in LaTeX.
276xymtex: Typesetting chemical structures.
277youngtab: Typeset Young-Tableaux.
278
279%description -l ja
280TeX Live ソフトウェアディストリビューションは、
281さまざまな Unix, Macintosh, Windows、および
282他のプラットホームに対して完全な TeX システムを提供します。
283多くの異なった言語を含む TeX ドキュメントの
284編集、組版、閲覧、印刷するためのプログラム、
285そして、TeX マクロやフォントライブラリの大きなコレクションを
286同梱しています。
287
288このディストリビューションは
289同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
290TeX に関するたくさんの一般的なドキュメントを含んでいます。
291
292このパッケージは以下のようなパッケージ集です。
293Natural and computer sciences:
294
295
296このパッケージは以下の CTAN パッケージを含んでいます:
297SIstyle: Package to typeset SI units, numbers and angles.
298SIunits: International System of Units.
299alg: LaTeX environments for typesetting algorithms.
300algorithm2e: Floating algorithm environment with algorithmic keywords.
301algorithmicx: The algorithmic style you always wanted.
302algorithms: A suite of tools for typesetting algorithms in pseudo-code.
303biocon: Typesetting biological species names
304bohr: Simple atom representation according to the Bohr model.
305bpchem: Typeset chemical names, formulae, etc.
306bytefield: Create illustrations for network protocol specifications.
307chemarrow: Arrows for use in chemistry.
308chemcompounds: Simple consecutive numbering of chemical compounds.
309chemcono: Support for compound numbers in chemistry documents.
310chemexec: Creating (chemical) exercise sheets.
311chemformula: Command for typesetting chemical formulas and reactions.
312chemgreek: Upright Greek letters in chemistry.
313chemmacros: A collection of macros to support typesetting chemistry documents.
314chemnum: A method of numbering chemical compounds.
315chemschemex: Typeset and cross-reference chemical schemes based on TikZ code.
316chemstyle: Writing chemistry with style.
317clrscode: Typesets pseudocode as in Introduction to Algorithms.
318clrscode3e: Typesets pseudocode as in Introduction to Algorithms.
319complexity: Computational complexity class names.
320computational-complexity: Class for the journal Computational Complexity.
321cryptocode: Typesetting pseudocode, protocols, game-based proofs and black-box reductions in cryptography.
322digiconfigs: Writing "configurations"
323drawstack: Draw execution stacks.
324dyntree: Construct Dynkin tree diagrams.
325eltex: Simple circuit diagrams in LaTeX picture mode.
326endiagram: Easy creation of potential energy curve diagrams.
327engtlc: Support for users in Telecommunications Engineering.
328fouridx: Left sub- and superscripts in maths mode.
329functan: Macros for functional analysis and PDE theory
330galois: Typeset Galois connections.
331gastex: Graphs and Automata Simplified in TeX.
332gene-logic: Typeset logic formulae, etc.
333ghsystem: Globally harmonised system of chemical (etc) naming.
334gu: Typeset crystallographic group-subgroup-schemes.
335hep: A "convenience wrapper" for High Energy Physics packages.
336hepnames: Pre-defined high energy particle names.
337hepparticles: Macros for typesetting high energy physics particle names.
338hepthesis: A class for academic reports, especially PhD theses.
339hepunits: A set of units useful in high energy physics applications.
340karnaugh: Typeset Karnaugh-Veitch-maps.
341karnaughmap: Typeset Karnaugh maps.
342matlab-prettifier: Pretty-print Matlab source code.
343mhchem: Typeset chemical formulae/equations and Risk and Safety phrases.
344miller: Typeset miller indices.
345mychemistry: Create reaction schemes with LaTeX and ChemFig.
346nuc: Notation for nuclear isotopes.
347objectz: Macros for typesetting Object Z.
348physics: Macros supporting the Mathematics of Physics.
349pseudocode: LaTeX environment for specifying algorithms in a natural way.
350pygmentex: Use Pygments to format code listings in documents.
351sasnrdisplay: Typeset SAS or R code or output.
352sciposter: Make posters of ISO A3 size and larger.
353sclang-prettifier: Prettyprinting SuperCollider source code
354sfg: Draw signal flow graphs.
355siunitx: A comprehensive (SI) units package.
356steinmetz: Print Steinmetz notation.
357struktex: Draw Nassi-Schneidermann charts
358substances: A database of chemicals.
359t-angles: Draw tangles, trees, Hopf algebra operations and other pictures.
360textopo: Annotated membrane protein topology plots.
361ulqda: Support of Qualitative Data Analysis.
362unitsdef: Typesetting units in LaTeX.
363xymtex: Typesetting chemical structures.
364youngtab: Typeset Young-Tableaux.
365
366%package doc
367Summary: TeX Live: Documentation files of %{name}
368Group: Applications/Publishing
369Requires: %{name} = %{version}-%{release}
370
371%description doc
372This package contains documentation files of %{name}.
373
374%prep
375%setup -c -n %{name}-%{version}
376%__tar -xvf %{SOURCE1}
377%__tar -xvf %{SOURCE2}
378%__tar -xvf %{SOURCE3}
379%__tar -xvf %{SOURCE4}
380%__tar -xvf %{SOURCE5}
381%__tar -xvf %{SOURCE6}
382%__tar -xvf %{SOURCE7}
383%__tar -xvf %{SOURCE8}
384%__tar -xvf %{SOURCE9}
385%__tar -xvf %{SOURCE10}
386%__tar -xvf %{SOURCE11}
387%__tar -xvf %{SOURCE12}
388%__tar -xvf %{SOURCE13}
389%__tar -xvf %{SOURCE14}
390%__tar -xvf %{SOURCE15}
391%__tar -xvf %{SOURCE16}
392%__tar -xvf %{SOURCE17}
393%__tar -xvf %{SOURCE18}
394%__tar -xvf %{SOURCE19}
395%__tar -xvf %{SOURCE20}
396%__tar -xvf %{SOURCE21}
397%__tar -xvf %{SOURCE22}
398%__tar -xvf %{SOURCE23}
399%__tar -xvf %{SOURCE24}
400%__tar -xvf %{SOURCE25}
401%__tar -xvf %{SOURCE26}
402%__tar -xvf %{SOURCE27}
403%__tar -xvf %{SOURCE28}
404%__tar -xvf %{SOURCE29}
405%__tar -xvf %{SOURCE30}
406%__tar -xvf %{SOURCE31}
407%__tar -xvf %{SOURCE32}
408%__tar -xvf %{SOURCE33}
409%__tar -xvf %{SOURCE34}
410%__tar -xvf %{SOURCE35}
411%__tar -xvf %{SOURCE36}
412%__tar -xvf %{SOURCE37}
413%__tar -xvf %{SOURCE38}
414%__tar -xvf %{SOURCE39}
415%__tar -xvf %{SOURCE40}
416%__tar -xvf %{SOURCE41}
417%__tar -xvf %{SOURCE42}
418%__tar -xvf %{SOURCE43}
419%__tar -xvf %{SOURCE44}
420%__tar -xvf %{SOURCE45}
421%__tar -xvf %{SOURCE46}
422%__tar -xvf %{SOURCE47}
423%__tar -xvf %{SOURCE48}
424%__tar -xvf %{SOURCE49}
425%__tar -xvf %{SOURCE50}
426%__tar -xvf %{SOURCE51}
427%__tar -xvf %{SOURCE52}
428%__tar -xvf %{SOURCE53}
429%__tar -xvf %{SOURCE54}
430%__tar -xvf %{SOURCE55}
431%__tar -xvf %{SOURCE56}
432%__tar -xvf %{SOURCE57}
433%__tar -xvf %{SOURCE58}
434%__tar -xvf %{SOURCE59}
435%__tar -xvf %{SOURCE60}
436%__tar -xvf %{SOURCE61}
437%__tar -xvf %{SOURCE62}
438%__tar -xvf %{SOURCE63}
439%__tar -xvf %{SOURCE64}
440%__tar -xvf %{SOURCE65}
441%__tar -xvf %{SOURCE66}
442%__tar -xvf %{SOURCE67}
443%__tar -xvf %{SOURCE68}
444%__tar -xvf %{SOURCE69}
445%__tar -xvf %{SOURCE70}
446%__tar -xvf %{SOURCE71}
447%__tar -xvf %{SOURCE72}
448%__tar -xvf %{SOURCE73}
449%__tar -xvf %{SOURCE74}
450%__tar -xvf %{SOURCE75}
451%__tar -xvf %{SOURCE76}
452%__tar -xvf %{SOURCE77}
453%__tar -xvf %{SOURCE78}
454%__tar -xvf %{SOURCE79}
455%__tar -xvf %{SOURCE80}
456%__tar -xvf %{SOURCE81}
457%__tar -xvf %{SOURCE82}
458%__tar -xvf %{SOURCE83}
459%__tar -xvf %{SOURCE84}
460%__tar -xvf %{SOURCE85}
461%__tar -xvf %{SOURCE86}
462%__tar -xvf %{SOURCE87}
463%__tar -xvf %{SOURCE88}
464%__tar -xvf %{SOURCE89}
465%__tar -xvf %{SOURCE90}
466%__tar -xvf %{SOURCE91}
467%__tar -xvf %{SOURCE92}
468%__tar -xvf %{SOURCE93}
469%__tar -xvf %{SOURCE94}
470%__tar -xvf %{SOURCE95}
471%__tar -xvf %{SOURCE96}
472%__tar -xvf %{SOURCE97}
473%__tar -xvf %{SOURCE98}
474%__tar -xvf %{SOURCE99}
475%__tar -xvf %{SOURCE100}
476%__tar -xvf %{SOURCE101}
477%__tar -xvf %{SOURCE102}
478%__tar -xvf %{SOURCE103}
479%__tar -xvf %{SOURCE104}
480%__tar -xvf %{SOURCE105}
481%__tar -xvf %{SOURCE106}
482%__tar -xvf %{SOURCE107}
483%__tar -xvf %{SOURCE108}
484%__tar -xvf %{SOURCE109}
485%__tar -xvf %{SOURCE110}
486%__tar -xvf %{SOURCE111}
487%__tar -xvf %{SOURCE112}
488%__tar -xvf %{SOURCE113}
489%__tar -xvf %{SOURCE114}
490%__tar -xvf %{SOURCE115}
491%__tar -xvf %{SOURCE116}
492%__tar -xvf %{SOURCE117}
493%__tar -xvf %{SOURCE118}
494%__tar -xvf %{SOURCE119}
495%__tar -xvf %{SOURCE120}
496%__tar -xvf %{SOURCE121}
497%__tar -xvf %{SOURCE122}
498%__tar -xvf %{SOURCE123}
499%__tar -xvf %{SOURCE124}
500%__tar -xvf %{SOURCE125}
501%__tar -xvf %{SOURCE126}
502%__tar -xvf %{SOURCE127}
503%__tar -xvf %{SOURCE128}
504%__tar -xvf %{SOURCE129}
505%__tar -xvf %{SOURCE130}
506%__tar -xvf %{SOURCE131}
507%__tar -xvf %{SOURCE132}
508%__tar -xvf %{SOURCE133}
509%__tar -xvf %{SOURCE134}
510%__tar -xvf %{SOURCE135}
511%__tar -xvf %{SOURCE136}
512%__tar -xvf %{SOURCE137}
513%__tar -xvf %{SOURCE138}
514%__tar -xvf %{SOURCE139}
515%__tar -xvf %{SOURCE140}
516%__tar -xvf %{SOURCE141}
517%__tar -xvf %{SOURCE142}
518%__tar -xvf %{SOURCE143}
519%__tar -xvf %{SOURCE144}
520%__tar -xvf %{SOURCE145}
521%__tar -xvf %{SOURCE146}
522%__tar -xvf %{SOURCE147}
523%__tar -xvf %{SOURCE148}
524%__tar -xvf %{SOURCE149}
525%__tar -xvf %{SOURCE150}
526%__tar -xvf %{SOURCE151}
527%__tar -xvf %{SOURCE152}
528%__tar -xvf %{SOURCE153}
529%__tar -xvf %{SOURCE154}
530%__tar -xvf %{SOURCE155}
531%__tar -xvf %{SOURCE156}
532%__tar -xvf %{SOURCE157}
533%__tar -xvf %{SOURCE158}
534%__tar -xvf %{SOURCE159}
535%__tar -xvf %{SOURCE160}
536%__tar -xvf %{SOURCE161}
537%__tar -xvf %{SOURCE162}
538%__tar -xvf %{SOURCE163}
539
540%build
541
542%install
543[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
544
545%__mkdir_p %{buildroot}%{_datadir}
546
547## move texmf-dist to /usr/share/texmf-dist
548[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
549
550## move texmf to /usr/share/texmf
551[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
552
553## move tlpkg to /usr/share/tlpkg
554[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
555
556## move all non-arch binaries to /usr/bin
557[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
558
559## move others into /usr/share/texmf-dist
560%__mkdir_p %{buildroot}%{_tl_texmfdist}
561%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
562%__rm -rf * ||:
563
564
565## remove duplicated files between texlive and texlive-collection-*
566## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
567## remove unpacked files
568x=(
569scripts/texlive/texconfig-dialog.sh
570scripts/texlive/texconfig-sys.sh
571scripts/texlive/texconfig.sh
572scripts/texlive/texlinks.sh
573scripts/texlive/tlmgr.pl
574texconfig/tcfmgr
575web2c/mktex.opt
576web2c/mktexdir
577web2c/mktexdir.opt
578web2c/mktexnam
579web2c/mktexnam.opt
580web2c/mktexupd
581web2c/texmf.cnf
582web2c/updmap-hdr.cfg
583web2c/updmap.cfg
584)
585if [ -d %{buildroot}%{_tl_texmfdist} ]; then
586pushd %{buildroot}%{_tl_texmfdist}
587%__rm -f ${x[@]} ||:
588popd
589fi
590
591## Files list
592find %{buildroot} -type f -or -type l | \
593    %__sed -e "s|%{buildroot}||g" > filelist.full
594
595find %{buildroot}%{_tl_texmfdist} -type d | \
596    %__sed -e "s|^%{buildroot}|%dir |" \
597           -e "s|$|/|"             >> filelist.full
598
599## subpackages
600grep "/texmf-dist/doc/" filelist.full > filelist.doc
601cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
602%__mv -f filelist.tmp filelist.full
603
604%clean
605%__rm -rf %{buildroot}
606
607%post
608%_tl_touch_run texhash
609%_tl_touch_run mtxrun
610
611[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
612
613    %_tl_enable_map Map chemarrow.map
614
615exit 0
616
617
618%postun
619if [ "$1" = 0 ]; then
620    %_tl_touch_run texhash
621
622    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
623
624    %_tl_disable_map chemarrow.map
625
626fi
627
628exit 0
629
630%posttrans
631%{_tl_exec_texhash}
632%{_tl_exec_mtxrun}
633%{_tl_exec_updmap}
634%{_tl_exec_fmtutil}
635exit 0
636
637
638%files -f filelist.full
639%defattr(-,root,root,-)
640
641%files -f filelist.doc doc
642%defattr(-,root,root,-)
643
644%changelog
645
Note: See TracBrowser for help on using the repository browser.