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

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