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

Revision 8744, 13.2 KB checked in by munepi, 10 years ago (diff)

synced tlnet to 20140706

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