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

Revision 9034, 11.4 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-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: 3%{?_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=(
293scripts/epstopdf/epstopdf.pl
294scripts/texlive/fmtutil.sh
295texconfig/tcfmgr
296web2c/texmf.cnf
297web2c/updmap-hdr.cfg
298web2c/updmap.cfg
299install-tl
300)
301if [ -d %{buildroot}%{_tl_texmfdist} ]; then
302pushd %{buildroot}%{_tl_texmfdist}
303%__rm -f ${x[@]} ||:
304popd
305fi
306
307## Files list
308find %{buildroot} -type f -or -type l | \
309    %__sed -e "s|%{buildroot}||g" > filelist.full
310
311find %{buildroot}%{_tl_texmfdist} -type d | \
312    %__sed -e "s|^%{buildroot}|%dir |" \
313           -e "s|$|/|"             >> filelist.full
314
315## subpackages
316grep "/texmf-dist/doc/" filelist.full > filelist.doc
317cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
318%__mv -f filelist.tmp filelist.full
319
320%clean
321%__rm -rf %{buildroot}
322
323%post
324%_tl_touch_run texhash
325%_tl_touch_run mtxrun
326
327[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
328
329    %_tl_enable_map Map tabvar.map
330
331%_tl_touch_run fmtutil
332
333exit 0
334
335
336%postun
337if [ "$1" = 0 ]; then
338    %_tl_touch_run texhash
339
340    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
341
342    %_tl_disable_map tabvar.map
343
344fi
345
346exit 0
347
348%posttrans
349%{_tl_exec_texhash}
350%{_tl_exec_mtxrun}
351%{_tl_exec_updmap}
352%{_tl_exec_fmtutil}
353exit 0
354
355
356%files -f filelist.full
357%defattr(-,root,root,-)
358
359%files -f filelist.doc doc
360%defattr(-,root,root,-)
361
362%changelog
363* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
364- synced tlnet to 20141028
365
366* Sun Jul  6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
367- synced tlnet to 20140706
368
369* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
370- synced tlnet to 20140524
Note: See TracBrowser for help on using the repository browser.