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

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