source: projects/specs/trunk/t/texlive-collection-genericextra/texlive-collection-genericextra-vl.spec @ 8476

Revision 8476, 13.6 KB checked in by munepi, 10 years ago (diff)

TeX Live 2014

RevLine 
[1533]1## -*- coding: utf-8-unix -*-
[8476]2## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1:
[1974]3## tlpdb2rpmspec collection-genericextra
[1533]4
[5207]5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
[7770]9Summary: TeX Live: Generic additional packages
10Summary(ja): TeX Live: Generic additional packages
[1533]11Name: texlive-collection-genericextra
[8476]12Version: 2014
13Release: 1%{?_dist_release}
14License: Public Domain, Freely redistributable without restriction, LPPL, LPPL 1.3, GPL+, Knuth
[1533]15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
[7770]18Source0: abbr.doc.tar.xz
19Source1: abbr.tar.xz
20Source2: abstyles.doc.tar.xz
21Source3: abstyles.tar.xz
22Source4: barr.doc.tar.xz
23Source5: barr.tar.xz
24Source6: bitelist.doc.tar.xz
25Source7: bitelist.source.tar.xz
26Source8: bitelist.tar.xz
27Source9: borceux.doc.tar.xz
28Source10: borceux.tar.xz
29Source11: c-pascal.doc.tar.xz
30Source12: c-pascal.tar.xz
31Source13: catcodes.doc.tar.xz
32Source14: catcodes.source.tar.xz
33Source15: catcodes.tar.xz
34Source16: chronosys.doc.tar.xz
35Source17: chronosys.tar.xz
36Source18: colorsep.tar.xz
37Source19: dinat.doc.tar.xz
38Source20: dinat.tar.xz
39Source21: dirtree.doc.tar.xz
40Source22: dirtree.source.tar.xz
41Source23: dirtree.tar.xz
[8476]42Source24: docbytex.doc.tar.xz
43Source25: docbytex.tar.xz
44Source26: dowith.doc.tar.xz
45Source27: dowith.source.tar.xz
46Source28: dowith.tar.xz
47Source29: eijkhout.tar.xz
48Source30: encxvlna.doc.tar.xz
49Source31: encxvlna.tar.xz
50Source32: epigram.tar.xz
51Source33: fenixpar.doc.tar.xz
52Source34: fenixpar.tar.xz
53Source35: fltpoint.doc.tar.xz
54Source36: fltpoint.source.tar.xz
55Source37: fltpoint.tar.xz
56Source38: fntproof.doc.tar.xz
57Source39: fntproof.tar.xz
58Source40: gates.doc.tar.xz
59Source41: gates.tar.xz
60Source42: ifetex.doc.tar.xz
61Source43: ifetex.source.tar.xz
62Source44: ifetex.tar.xz
63Source45: iftex.doc.tar.xz
64Source46: iftex.tar.xz
65Source47: insbox.doc.tar.xz
66Source48: insbox.tar.xz
67Source49: lambda-lists.doc.tar.xz
68Source50: lambda-lists.tar.xz
69Source51: langcode.doc.tar.xz
70Source52: langcode.source.tar.xz
71Source53: langcode.tar.xz
72Source54: lecturer.doc.tar.xz
73Source55: lecturer.tar.xz
74Source56: librarian.doc.tar.xz
75Source57: librarian.tar.xz
76Source58: mathdots.doc.tar.xz
77Source59: mathdots.source.tar.xz
78Source60: mathdots.tar.xz
79Source61: metatex.doc.tar.xz
80Source62: metatex.tar.xz
81Source63: midnight.doc.tar.xz
82Source64: midnight.tar.xz
83Source65: navigator.doc.tar.xz
84Source66: navigator.tar.xz
85Source67: ofs.doc.tar.xz
86Source68: ofs.tar.xz
87Source69: pdf-trans.doc.tar.xz
88Source70: pdf-trans.tar.xz
89Source71: plainpkg.doc.tar.xz
90Source72: plainpkg.source.tar.xz
91Source73: plainpkg.tar.xz
92Source74: schemata.doc.tar.xz
93Source75: schemata.source.tar.xz
94Source76: schemata.tar.xz
95Source77: shade.doc.tar.xz
96Source78: shade.tar.xz
97Source79: systeme.doc.tar.xz
98Source80: systeme.tar.xz
99Source81: tabto-generic.tar.xz
100Source82: texapi.doc.tar.xz
101Source83: texapi.tar.xz
102Source84: upca.doc.tar.xz
103Source85: upca.tar.xz
104Source86: xlop.doc.tar.xz
105Source87: xlop.source.tar.xz
106Source88: xlop.tar.xz
107Source89: yax.doc.tar.xz
108Source90: yax.tar.xz
[7770]109
[1533]110Requires: texlive = %{version}
111Requires: texlive-collection-basic = %{version}
112
113Requires(post):         texlive = %{version}
114Requires(postun):       texlive = %{version}
115
116BuildArch:      noarch
117Buildroot:      %{_tmppath}/%{name}-%{version}-root
118
119Vendor:         Project Vine
120Distribution:   Vine Linux
121Packager:       munepi
122
123%description
124The TeX Live software distribution offers a complete TeX system for a
125variety of Unix, Macintosh, Windows and other platforms. It
126encompasses programs for editing, typesetting, previewing and printing
127of TeX documents in many different languages, and a large collection
128of TeX macros and font libraries.
129
130The distribution includes extensive general documentation about TeX,
131as well as the documentation for the included software packages.
132
[7770]133This package is a collection of Generic additional packages:
[1533]134Extra packages that work with multiple formats, typically both
135TeX and LaTeX.
136
137This package contains the following CTAN packages:
138abbr: Simple macros supporting abreviations for Plain and LaTeX.
139abstyles: Adaptable BibTeX styles.
140barr: Diagram macros by Michael Barr.
[7148]141bitelist: Split list, in TeX's mouth.
[1533]142borceux: Diagram macros by Francois Borceux.
143c-pascal: Typeset Python, C and Pascal programs.
[7770]144catcodes: Generic handling of TeX category codes.
[7148]145chronosys: Drawing time-line diagrams.
[1533]146colorsep: Color separation.
147dinat: Bibliography style for German texts.
148dirtree: Display trees in the style of windows explorer.
[8476]149docbytex: Creating documentation from source code
[7770]150dowith: Apply a command to a list of items.
[1533]151eijkhout: Victor Eijkhout's packages.
152encxvlna: Insert nonbreakable spaces, using encTeX.
[5207]153epigram: Display short quotations.
[1533]154fenixpar: One-shot changes to token registers such as everypar.
155fltpoint: Simple floating point arithmetic.
[5207]156fntproof: A programmable font test pattern generator.
[7148]157gates: Support for writing modular and customisable code.
158ifetex: Provides ifetex switch.
[5207]159iftex: Am I running under pdfTeX, XeTeX or LuaTeX?
[1533]160insbox: A TeX macro for inserting pictures/boxes into paragraphs.
[7770]161lambda-lists: Lists in TeX's mouth.
[8476]162langcode: Simple language-dependent settings based on language codes.
[5207]163lecturer: On-screen presentations for (almost) all formats.
164librarian: Tools to create bibliographies in TeX.
[1533]165mathdots: Commands to produce dots in math that respect font size.
[8476]166metatex: Incorporate Metafont pictures in TeX source.
[1533]167midnight: A set of useful macro tools.
[5207]168navigator: PDF features across formats and engines.
[1533]169ofs: Macros for managing large font collections.
170pdf-trans: A set of macros for various transformations of TeX boxes.
[8476]171plainpkg: A minimal method for making generic packages.
[7770]172schemata: Print topical diagrams.
[1533]173shade: Shade pieces of text.
[5207]174systeme: Format systems of equations.
[1533]175tabto-generic: "Tab" to a measured position in the line.
[5207]176texapi: Macros to write format-independent packages.
[8476]177upca: Print UPC-A barcodes.
[1533]178xlop: Calculates and displays arithmetic operations.
[5207]179yax: Yet Another Key System.
[1533]180
181%description -l ja
182TeX Live ソフトウェアディストリビューションは、
183さまざまな Unix, Macintosh, Windows、および
184他のプラットホームに対して完全な TeX システムを提供します。
185多くの異なった言語を含む TeX ドキュメントの
186編集、組版、閲覧、印刷するためのプログラム、
187そして、TeX マクロやフォントライブラリの大きなコレクションを
188同梱しています。
189
190このディストリビューションは
191同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
192TeX に関するたくさんの一般的なドキュメントを含んでいます。
193
194このパッケージは以下のようなパッケージ集です。
[7770]195Generic additional packages:
[1533]196Extra packages that work with multiple formats, typically both
197TeX and LaTeX.
198
199このパッケージは以下の CTAN パッケージを含んでいます:
200abbr: Simple macros supporting abreviations for Plain and LaTeX.
201abstyles: Adaptable BibTeX styles.
202barr: Diagram macros by Michael Barr.
[7148]203bitelist: Split list, in TeX's mouth.
[1533]204borceux: Diagram macros by Francois Borceux.
205c-pascal: Typeset Python, C and Pascal programs.
[7770]206catcodes: Generic handling of TeX category codes.
[7148]207chronosys: Drawing time-line diagrams.
[1533]208colorsep: Color separation.
209dinat: Bibliography style for German texts.
210dirtree: Display trees in the style of windows explorer.
[8476]211docbytex: Creating documentation from source code
[7770]212dowith: Apply a command to a list of items.
[1533]213eijkhout: Victor Eijkhout's packages.
214encxvlna: Insert nonbreakable spaces, using encTeX.
[5207]215epigram: Display short quotations.
[1533]216fenixpar: One-shot changes to token registers such as everypar.
217fltpoint: Simple floating point arithmetic.
[5207]218fntproof: A programmable font test pattern generator.
[7148]219gates: Support for writing modular and customisable code.
220ifetex: Provides ifetex switch.
[5207]221iftex: Am I running under pdfTeX, XeTeX or LuaTeX?
[1533]222insbox: A TeX macro for inserting pictures/boxes into paragraphs.
[7770]223lambda-lists: Lists in TeX's mouth.
[8476]224langcode: Simple language-dependent settings based on language codes.
[5207]225lecturer: On-screen presentations for (almost) all formats.
226librarian: Tools to create bibliographies in TeX.
[1533]227mathdots: Commands to produce dots in math that respect font size.
[8476]228metatex: Incorporate Metafont pictures in TeX source.
[1533]229midnight: A set of useful macro tools.
[5207]230navigator: PDF features across formats and engines.
[1533]231ofs: Macros for managing large font collections.
232pdf-trans: A set of macros for various transformations of TeX boxes.
[8476]233plainpkg: A minimal method for making generic packages.
[7770]234schemata: Print topical diagrams.
[1533]235shade: Shade pieces of text.
[5207]236systeme: Format systems of equations.
[1533]237tabto-generic: "Tab" to a measured position in the line.
[5207]238texapi: Macros to write format-independent packages.
[8476]239upca: Print UPC-A barcodes.
[1533]240xlop: Calculates and displays arithmetic operations.
[5207]241yax: Yet Another Key System.
[1533]242
243%package doc
244Summary: TeX Live: Documentation files of %{name}
245Group: Applications/Publishing
246Requires: %{name} = %{version}-%{release}
247
248%description doc
249This package contains documentation files of %{name}.
250
251%prep
[7770]252%setup -c -n %{name}-%{version}
253%__tar -xvf %{SOURCE1}
254%__tar -xvf %{SOURCE2}
255%__tar -xvf %{SOURCE3}
256%__tar -xvf %{SOURCE4}
257%__tar -xvf %{SOURCE5}
258%__tar -xvf %{SOURCE6}
259%__tar -xvf %{SOURCE7}
260%__tar -xvf %{SOURCE8}
261%__tar -xvf %{SOURCE9}
262%__tar -xvf %{SOURCE10}
263%__tar -xvf %{SOURCE11}
264%__tar -xvf %{SOURCE12}
265%__tar -xvf %{SOURCE13}
266%__tar -xvf %{SOURCE14}
267%__tar -xvf %{SOURCE15}
268%__tar -xvf %{SOURCE16}
269%__tar -xvf %{SOURCE17}
270%__tar -xvf %{SOURCE18}
271%__tar -xvf %{SOURCE19}
272%__tar -xvf %{SOURCE20}
273%__tar -xvf %{SOURCE21}
274%__tar -xvf %{SOURCE22}
275%__tar -xvf %{SOURCE23}
276%__tar -xvf %{SOURCE24}
277%__tar -xvf %{SOURCE25}
278%__tar -xvf %{SOURCE26}
279%__tar -xvf %{SOURCE27}
280%__tar -xvf %{SOURCE28}
281%__tar -xvf %{SOURCE29}
282%__tar -xvf %{SOURCE30}
283%__tar -xvf %{SOURCE31}
284%__tar -xvf %{SOURCE32}
285%__tar -xvf %{SOURCE33}
286%__tar -xvf %{SOURCE34}
287%__tar -xvf %{SOURCE35}
288%__tar -xvf %{SOURCE36}
289%__tar -xvf %{SOURCE37}
290%__tar -xvf %{SOURCE38}
291%__tar -xvf %{SOURCE39}
292%__tar -xvf %{SOURCE40}
293%__tar -xvf %{SOURCE41}
294%__tar -xvf %{SOURCE42}
295%__tar -xvf %{SOURCE43}
296%__tar -xvf %{SOURCE44}
297%__tar -xvf %{SOURCE45}
298%__tar -xvf %{SOURCE46}
299%__tar -xvf %{SOURCE47}
300%__tar -xvf %{SOURCE48}
301%__tar -xvf %{SOURCE49}
302%__tar -xvf %{SOURCE50}
303%__tar -xvf %{SOURCE51}
304%__tar -xvf %{SOURCE52}
305%__tar -xvf %{SOURCE53}
306%__tar -xvf %{SOURCE54}
307%__tar -xvf %{SOURCE55}
308%__tar -xvf %{SOURCE56}
309%__tar -xvf %{SOURCE57}
310%__tar -xvf %{SOURCE58}
311%__tar -xvf %{SOURCE59}
312%__tar -xvf %{SOURCE60}
313%__tar -xvf %{SOURCE61}
314%__tar -xvf %{SOURCE62}
315%__tar -xvf %{SOURCE63}
316%__tar -xvf %{SOURCE64}
317%__tar -xvf %{SOURCE65}
318%__tar -xvf %{SOURCE66}
319%__tar -xvf %{SOURCE67}
320%__tar -xvf %{SOURCE68}
321%__tar -xvf %{SOURCE69}
322%__tar -xvf %{SOURCE70}
323%__tar -xvf %{SOURCE71}
324%__tar -xvf %{SOURCE72}
325%__tar -xvf %{SOURCE73}
326%__tar -xvf %{SOURCE74}
327%__tar -xvf %{SOURCE75}
328%__tar -xvf %{SOURCE76}
329%__tar -xvf %{SOURCE77}
330%__tar -xvf %{SOURCE78}
331%__tar -xvf %{SOURCE79}
332%__tar -xvf %{SOURCE80}
333%__tar -xvf %{SOURCE81}
334%__tar -xvf %{SOURCE82}
335%__tar -xvf %{SOURCE83}
336%__tar -xvf %{SOURCE84}
337%__tar -xvf %{SOURCE85}
338%__tar -xvf %{SOURCE86}
339%__tar -xvf %{SOURCE87}
340%__tar -xvf %{SOURCE88}
[8476]341%__tar -xvf %{SOURCE89}
342%__tar -xvf %{SOURCE90}
[1533]343
344%build
345
346%install
347[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
348
[7770]349%__mkdir_p %{buildroot}%{_datadir}
[1533]350
[7770]351## move texmf-dist to /usr/share/texmf-dist
352[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
[1533]353
[7770]354## move texmf to /usr/share/texmf
355[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
[1533]356
[7770]357## move tlpkg to /usr/share/tlpkg
358[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
359
360## move all non-arch binaries to /usr/bin
361[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
362
363## move others into /usr/share/texmf-dist
364%__mkdir_p %{buildroot}%{_tl_texmfdist}
365%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
366%__rm -rf * ||:
367
368
369## remove duplicated files between texlive and texlive-collection-*
370## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
371## remove unpacked files
372x=(
[8476]373# scripts/texlive/tlmgr.pl
374# scripts/texlive/updmap.pl
375# scripts/fontools/autoinst
376# scripts/glossaries/makeglossaries
377# scripts/m-tx/m-tx.lua
378# scripts/musixtex/musixtex.lua
379# scripts/pmx/pmx2pdf.lua
380# scripts/latexmk/latexmk.pl
381# scripts/jfontmaps/kanji-config-updmap.pl
382# scripts/jfontmaps/kanji-fontmap-creator.pl
383# scripts/latexpand/latexpand
384# scripts/epstopdf/epstopdf.pl
385# scripts/convbkmk/convbkmk.rb
386# scripts/jfontmaps/kanji-config-updmap-sys.sh
387# scripts/luaotfload/luaotfload-tool.lua
388# texconfig/tcfmgr
389# texconfig/tcfmgr.map
390# web2c/fmtutil.cnf
391# web2c/mktex.opt
392# web2c/mktexdir
393# web2c/mktexdir.opt
394# web2c/mktexnam
395# web2c/mktexnam.opt
396# web2c/mktexupd
397# web2c/texmf.cnf
398# web2c/updmap.cfg
399# web2c/updmap-hdr.cfg
400# doc/chktex/ChkTeX.pdf
[7770]401install-tl
402)
403if [ -d %{buildroot}%{_tl_texmfdist} ]; then
404pushd %{buildroot}%{_tl_texmfdist}
405%__rm -f ${x[@]} ||:
[5207]406popd
[7770]407fi
408
[1533]409## Files list
410find %{buildroot} -type f -or -type l | \
411    %__sed -e "s|%{buildroot}||g" > filelist.full
412
[7770]413find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]414    %__sed -e "s|^%{buildroot}|%dir |" \
415           -e "s|$|/|"             >> filelist.full
416
417## subpackages
418grep "/texmf-dist/doc/" filelist.full > filelist.doc
419cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
420%__mv -f filelist.tmp filelist.full
421
422%clean
423%__rm -rf %{buildroot}
424
425%post
[7770]426%_tl_touch_run texhash
427%_tl_touch_run mtxrun
[1533]428
429exit 0
430
431
432%postun
433if [ "$1" = 0 ]; then
[7770]434    %_tl_touch_run texhash
[1533]435
436fi
437
438exit 0
439
[7148]440%posttrans
[7770]441%{_tl_exec_texhash}
442%{_tl_exec_mtxrun}
443%{_tl_exec_updmap}
444%{_tl_exec_fmtutil}
[7148]445exit 0
446
447
[1533]448%files -f filelist.full
[5207]449%defattr(-,root,root,-)
[1533]450
451%files -f filelist.doc doc
[5207]452%defattr(-,root,root,-)
[1533]453
454%changelog
[8476]455* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
456- TLNET 20140524
Note: See TracBrowser for help on using the repository browser.