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

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