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

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

TeX Live 2014

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1:
3## tlpdb2rpmspec collection-langfrench
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: French
10Summary(ja): TeX Live: French
11Name: texlive-collection-langfrench
12Version: 2014
13Release: 1%{?_dist_release}
14License: LPPL, LPPL 1.3, LPPL 1.2, GPL+, Freely redistributable without restriction, Public Domain, GFDL
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: aeguill.doc.tar.xz
19Source1: aeguill.tar.xz
20Source2: apprends-latex.doc.tar.xz
21Source3: apprends-latex.tar.xz
22Source4: babel-basque.doc.tar.xz
23Source5: babel-basque.source.tar.xz
24Source6: babel-basque.tar.xz
25Source7: babel-french.doc.tar.xz
26Source8: babel-french.source.tar.xz
27Source9: babel-french.tar.xz
28Source10: basque-book.doc.tar.xz
29Source11: basque-book.source.tar.xz
30Source12: basque-book.tar.xz
31Source13: basque-date.doc.tar.xz
32Source14: basque-date.source.tar.xz
33Source15: basque-date.tar.xz
34Source16: bib-fr.doc.tar.xz
35Source17: bib-fr.tar.xz
36Source18: bibleref-french.doc.tar.xz
37Source19: bibleref-french.source.tar.xz
38Source20: bibleref-french.tar.xz
39Source21: booktabs-fr.doc.tar.xz
40Source22: booktabs-fr.tar.xz
41Source23: droit-fr.doc.tar.xz
42Source24: droit-fr.tar.xz
43Source25: epslatex-fr.doc.tar.xz
44Source26: epslatex-fr.tar.xz
45Source27: facture.doc.tar.xz
46Source28: facture.source.tar.xz
47Source29: facture.tar.xz
48Source30: frenchle.doc.tar.xz
49Source31: frenchle.tar.xz
50Source32: frletter.doc.tar.xz
51Source33: frletter.tar.xz
52Source34: hyphen-basque.tar.xz
53Source35: hyphen-french.tar.xz
54Source36: impatient-fr.doc.tar.xz
55Source37: impatient-fr.tar.xz
56Source38: impnattypo.doc.tar.xz
57Source39: impnattypo.source.tar.xz
58Source40: impnattypo.tar.xz
59Source41: l2tabu-french.doc.tar.xz
60Source42: l2tabu-french.tar.xz
61Source43: lshort-french.doc.tar.xz
62Source44: lshort-french.tar.xz
63Source45: mafr.doc.tar.xz
64Source46: mafr.tar.xz
65Source47: tabvar.doc.tar.xz
66Source48: tabvar.source.tar.xz
67Source49: tabvar.tar.xz
68Source50: tdsfrmath.doc.tar.xz
69Source51: tdsfrmath.source.tar.xz
70Source52: tdsfrmath.tar.xz
71Source53: texlive-fr.doc.tar.xz
72Source54: texlive-fr.tar.xz
73Source55: translation-array-fr.doc.tar.xz
74Source56: translation-array-fr.tar.xz
75Source57: translation-dcolumn-fr.doc.tar.xz
76Source58: translation-dcolumn-fr.tar.xz
77Source59: translation-natbib-fr.doc.tar.xz
78Source60: translation-natbib-fr.tar.xz
79Source61: translation-tabbing-fr.doc.tar.xz
80Source62: translation-tabbing-fr.tar.xz
81Source63: variations.doc.tar.xz
82Source64: variations.tar.xz
83
84Requires: texlive = %{version}
85Requires: texlive-collection-basic = %{version}
86
87Requires(post):         texlive = %{version}
88Requires(postun):       texlive = %{version}
89
90BuildArch:      noarch
91Buildroot:      %{_tmppath}/%{name}-%{version}-root
92
93Vendor:         Project Vine
94Distribution:   Vine Linux
95Packager:       munepi
96
97%description
98The TeX Live software distribution offers a complete TeX system for a
99variety of Unix, Macintosh, Windows and other platforms. It
100encompasses programs for editing, typesetting, previewing and printing
101of TeX documents in many different languages, and a large collection
102of TeX macros and font libraries.
103
104The distribution includes extensive general documentation about TeX,
105as well as the documentation for the included software packages.
106
107This package is a collection of French:
108Support for French and Basque.
109
110This package contains the following CTAN packages:
111aeguill: Add several kinds of guillemets to the ae fonts.
112apprends-latex: Apprends LaTeX!
113babel-basque: Babel contributed support for Basque.
114babel-french: Babel contributed support for French.
115basque-book: Class for book-type documents written in Basque.
116basque-date: Print the date in Basque.
117bib-fr: French translation of classical BibTeX styles
118bibleref-french: French translations for bibleref.
119booktabs-fr: French translation of booktabs documentation.
120droit-fr: Document class and bibliographic style for French law.
121epslatex-fr: French version of "graphics in LaTeX".
122facture: Generate an invoice.
123frenchle: French macros, usable stand-alone or with Babel.
124frletter: Typeset letters in the French style.
125hyphen-basque: Basque hyphenation patterns.
126hyphen-french: French hyphenation patterns.
127impatient-fr: Free edition of the book "TeX for the Impatient"
128impnattypo: Support typography of l'Imprimerie Nationale FranASSaise.
129l2tabu-french: French translation of l2tabu.
130lshort-french: Short introduction to LaTeX, French translation.
131mafr: Mathematics in accord with French usage.
132tabvar: Typesetting tables showing variations of functions.
133tdsfrmath: Macros for French teachers of mathematics.
134texlive-fr: TeX Live manual (French)
135translation-array-fr: French translation of the documentation of array.
136translation-dcolumn-fr: French translation of the documentation of dcolumn.
137translation-natbib-fr: French translation of the documentation of natbib.
138translation-tabbing-fr: French translation of the documentation of Tabbing.
139variations: Typeset tables of variations of functions.
140
141%description -l ja
142TeX Live ソフトウェアディストリビューションは、
143さまざまな Unix, Macintosh, Windows、および
144他のプラットホームに対して完全な TeX システムを提供します。
145多くの異なった言語を含む TeX ドキュメントの
146編集、組版、閲覧、印刷するためのプログラム、
147そして、TeX マクロやフォントライブラリの大きなコレクションを
148同梱しています。
149
150このディストリビューションは
151同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
152TeX に関するたくさんの一般的なドキュメントを含んでいます。
153
154このパッケージは以下のようなパッケージ集です。
155French:
156Support for French and Basque.
157
158このパッケージは以下の CTAN パッケージを含んでいます:
159aeguill: Add several kinds of guillemets to the ae fonts.
160apprends-latex: Apprends LaTeX!
161babel-basque: Babel contributed support for Basque.
162babel-french: Babel contributed support for French.
163basque-book: Class for book-type documents written in Basque.
164basque-date: Print the date in Basque.
165bib-fr: French translation of classical BibTeX styles
166bibleref-french: French translations for bibleref.
167booktabs-fr: French translation of booktabs documentation.
168droit-fr: Document class and bibliographic style for French law.
169epslatex-fr: French version of "graphics in LaTeX".
170facture: Generate an invoice.
171frenchle: French macros, usable stand-alone or with Babel.
172frletter: Typeset letters in the French style.
173hyphen-basque: Basque hyphenation patterns.
174hyphen-french: French hyphenation patterns.
175impatient-fr: Free edition of the book "TeX for the Impatient"
176impnattypo: Support typography of l'Imprimerie Nationale FranASSaise.
177l2tabu-french: French translation of l2tabu.
178lshort-french: Short introduction to LaTeX, French translation.
179mafr: Mathematics in accord with French usage.
180tabvar: Typesetting tables showing variations of functions.
181tdsfrmath: Macros for French teachers of mathematics.
182texlive-fr: TeX Live manual (French)
183translation-array-fr: French translation of the documentation of array.
184translation-dcolumn-fr: French translation of the documentation of dcolumn.
185translation-natbib-fr: French translation of the documentation of natbib.
186translation-tabbing-fr: French translation of the documentation of Tabbing.
187variations: Typeset tables of variations of functions.
188
189%package doc
190Summary: TeX Live: Documentation files of %{name}
191Group: Applications/Publishing
192Requires: %{name} = %{version}-%{release}
193
194%description doc
195This package contains documentation files of %{name}.
196
197%prep
198%setup -c -n %{name}-%{version}
199%__tar -xvf %{SOURCE1}
200%__tar -xvf %{SOURCE2}
201%__tar -xvf %{SOURCE3}
202%__tar -xvf %{SOURCE4}
203%__tar -xvf %{SOURCE5}
204%__tar -xvf %{SOURCE6}
205%__tar -xvf %{SOURCE7}
206%__tar -xvf %{SOURCE8}
207%__tar -xvf %{SOURCE9}
208%__tar -xvf %{SOURCE10}
209%__tar -xvf %{SOURCE11}
210%__tar -xvf %{SOURCE12}
211%__tar -xvf %{SOURCE13}
212%__tar -xvf %{SOURCE14}
213%__tar -xvf %{SOURCE15}
214%__tar -xvf %{SOURCE16}
215%__tar -xvf %{SOURCE17}
216%__tar -xvf %{SOURCE18}
217%__tar -xvf %{SOURCE19}
218%__tar -xvf %{SOURCE20}
219%__tar -xvf %{SOURCE21}
220%__tar -xvf %{SOURCE22}
221%__tar -xvf %{SOURCE23}
222%__tar -xvf %{SOURCE24}
223%__tar -xvf %{SOURCE25}
224%__tar -xvf %{SOURCE26}
225%__tar -xvf %{SOURCE27}
226%__tar -xvf %{SOURCE28}
227%__tar -xvf %{SOURCE29}
228%__tar -xvf %{SOURCE30}
229%__tar -xvf %{SOURCE31}
230%__tar -xvf %{SOURCE32}
231%__tar -xvf %{SOURCE33}
232%__tar -xvf %{SOURCE34}
233%__tar -xvf %{SOURCE35}
234%__tar -xvf %{SOURCE36}
235%__tar -xvf %{SOURCE37}
236%__tar -xvf %{SOURCE38}
237%__tar -xvf %{SOURCE39}
238%__tar -xvf %{SOURCE40}
239%__tar -xvf %{SOURCE41}
240%__tar -xvf %{SOURCE42}
241%__tar -xvf %{SOURCE43}
242%__tar -xvf %{SOURCE44}
243%__tar -xvf %{SOURCE45}
244%__tar -xvf %{SOURCE46}
245%__tar -xvf %{SOURCE47}
246%__tar -xvf %{SOURCE48}
247%__tar -xvf %{SOURCE49}
248%__tar -xvf %{SOURCE50}
249%__tar -xvf %{SOURCE51}
250%__tar -xvf %{SOURCE52}
251%__tar -xvf %{SOURCE53}
252%__tar -xvf %{SOURCE54}
253%__tar -xvf %{SOURCE55}
254%__tar -xvf %{SOURCE56}
255%__tar -xvf %{SOURCE57}
256%__tar -xvf %{SOURCE58}
257%__tar -xvf %{SOURCE59}
258%__tar -xvf %{SOURCE60}
259%__tar -xvf %{SOURCE61}
260%__tar -xvf %{SOURCE62}
261%__tar -xvf %{SOURCE63}
262%__tar -xvf %{SOURCE64}
263
264%build
265
266%install
267[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
268
269%__mkdir_p %{buildroot}%{_datadir}
270
271## move texmf-dist to /usr/share/texmf-dist
272[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
273
274## move texmf to /usr/share/texmf
275[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
276
277## move tlpkg to /usr/share/tlpkg
278[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
279
280## move all non-arch binaries to /usr/bin
281[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
282
283## move others into /usr/share/texmf-dist
284%__mkdir_p %{buildroot}%{_tl_texmfdist}
285%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
286%__rm -rf * ||:
287
288
289## remove duplicated files between texlive and texlive-collection-*
290## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
291## remove unpacked files
292x=(
293# scripts/texlive/tlmgr.pl
294# scripts/texlive/updmap.pl
295# scripts/fontools/autoinst
296# scripts/glossaries/makeglossaries
297# scripts/m-tx/m-tx.lua
298# scripts/musixtex/musixtex.lua
299# scripts/pmx/pmx2pdf.lua
300# scripts/latexmk/latexmk.pl
301# scripts/jfontmaps/kanji-config-updmap.pl
302# scripts/jfontmaps/kanji-fontmap-creator.pl
303# scripts/latexpand/latexpand
304# scripts/epstopdf/epstopdf.pl
305# scripts/convbkmk/convbkmk.rb
306# scripts/jfontmaps/kanji-config-updmap-sys.sh
307# scripts/luaotfload/luaotfload-tool.lua
308# texconfig/tcfmgr
309# texconfig/tcfmgr.map
310# web2c/fmtutil.cnf
311# web2c/mktex.opt
312# web2c/mktexdir
313# web2c/mktexdir.opt
314# web2c/mktexnam
315# web2c/mktexnam.opt
316# web2c/mktexupd
317# web2c/texmf.cnf
318# web2c/updmap.cfg
319# web2c/updmap-hdr.cfg
320# doc/chktex/ChkTeX.pdf
321install-tl
322)
323if [ -d %{buildroot}%{_tl_texmfdist} ]; then
324pushd %{buildroot}%{_tl_texmfdist}
325%__rm -f ${x[@]} ||:
326popd
327fi
328
329## Files list
330find %{buildroot} -type f -or -type l | \
331    %__sed -e "s|%{buildroot}||g" > filelist.full
332
333find %{buildroot}%{_tl_texmfdist} -type d | \
334    %__sed -e "s|^%{buildroot}|%dir |" \
335           -e "s|$|/|"             >> filelist.full
336
337## subpackages
338grep "/texmf-dist/doc/" filelist.full > filelist.doc
339cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
340%__mv -f filelist.tmp filelist.full
341
342%clean
343%__rm -rf %{buildroot}
344
345%post
346%_tl_touch_run texhash
347%_tl_touch_run mtxrun
348
349[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
350
351    %_tl_enable_map Map tabvar.map
352
353%_tl_touch_run fmtutil
354
355exit 0
356
357
358%postun
359if [ "$1" = 0 ]; then
360    %_tl_touch_run texhash
361
362    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
363
364    %_tl_disable_map tabvar.map
365
366fi
367
368exit 0
369
370%posttrans
371%{_tl_exec_texhash}
372%{_tl_exec_mtxrun}
373%{_tl_exec_updmap}
374%{_tl_exec_fmtutil}
375exit 0
376
377
378%files -f filelist.full
379%defattr(-,root,root,-)
380
381%files -f filelist.doc doc
382%defattr(-,root,root,-)
383
384%changelog
385* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
386- TLNET 20140524
Note: See TracBrowser for help on using the repository browser.