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

Revision 9034, 11.3 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-latex
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: LaTeX fundamental packages
10Summary(ja): TeX Live: LaTeX fundamental packages
11Name: texlive-collection-latex
12Version: 2014
13Release: 3%{?_dist_release}
14License: LPPL, LPPL 1.3, Public Domain
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: ae.doc.tar.xz
19Source1: ae.source.tar.xz
20Source2: ae.tar.xz
21Source3: amscls.doc.tar.xz
22Source4: amscls.source.tar.xz
23Source5: amscls.tar.xz
24Source6: amsmath.doc.tar.xz
25Source7: amsmath.source.tar.xz
26Source8: amsmath.tar.xz
27Source9: babel.doc.tar.xz
28Source10: babel.source.tar.xz
29Source11: babel.tar.xz
30Source12: babel-english.doc.tar.xz
31Source13: babel-english.source.tar.xz
32Source14: babel-english.tar.xz
33Source15: babelbib.doc.tar.xz
34Source16: babelbib.tar.xz
35Source17: carlisle.doc.tar.xz
36Source18: carlisle.source.tar.xz
37Source19: carlisle.tar.xz
38Source20: colortbl.doc.tar.xz
39Source21: colortbl.source.tar.xz
40Source22: colortbl.tar.xz
41Source23: fancyhdr.doc.tar.xz
42Source24: fancyhdr.tar.xz
43Source25: fix2col.doc.tar.xz
44Source26: fix2col.source.tar.xz
45Source27: fix2col.tar.xz
46Source28: geometry.doc.tar.xz
47Source29: geometry.source.tar.xz
48Source30: geometry.tar.xz
49Source31: graphics.doc.tar.xz
50Source32: graphics.source.tar.xz
51Source33: graphics.tar.xz
52Source34: hyperref.doc.tar.xz
53Source35: hyperref.source.tar.xz
54Source36: hyperref.tar.xz
55Source37: latex.doc.tar.xz
56Source38: latex.source.tar.xz
57Source39: latex.tar.xz
58Source40: latex-bin.doc.tar.xz
59Source41: latex-bin.tar.xz
60Source42: latex-fonts.doc.tar.xz
61Source43: latex-fonts.tar.xz
62Source44: latexconfig.tar.xz
63Source45: ltxmisc.tar.xz
64Source46: mfnfss.doc.tar.xz
65Source47: mfnfss.source.tar.xz
66Source48: mfnfss.tar.xz
67Source49: mptopdf.doc.tar.xz
68Source50: mptopdf.tar.xz
69Source51: natbib.doc.tar.xz
70Source52: natbib.source.tar.xz
71Source53: natbib.tar.xz
72Source54: oberdiek.doc.tar.xz
73Source55: oberdiek.source.tar.xz
74Source56: oberdiek.tar.xz
75Source57: pdftex-def.tar.xz
76Source58: pslatex.source.tar.xz
77Source59: pslatex.tar.xz
78Source60: psnfss.doc.tar.xz
79Source61: psnfss.source.tar.xz
80Source62: psnfss.tar.xz
81Source63: pspicture.doc.tar.xz
82Source64: pspicture.source.tar.xz
83Source65: pspicture.tar.xz
84Source66: tools.doc.tar.xz
85Source67: tools.source.tar.xz
86Source68: tools.tar.xz
87Source69: url.doc.tar.xz
88Source70: url.tar.xz
89
90Requires: texlive = %{version}
91Requires: texlive-collection-basic = %{version}
92
93Requires(post):         texlive = %{version}
94Requires(postun):       texlive = %{version}
95
96BuildArch:      noarch
97Buildroot:      %{_tmppath}/%{name}-%{version}-root
98
99Vendor:         Project Vine
100Distribution:   Vine Linux
101Packager:       munepi
102
103%description
104The TeX Live software distribution offers a complete TeX system for a
105variety of Unix, Macintosh, Windows and other platforms. It
106encompasses programs for editing, typesetting, previewing and printing
107of TeX documents in many different languages, and a large collection
108of TeX macros and font libraries.
109
110The distribution includes extensive general documentation about TeX,
111as well as the documentation for the included software packages.
112
113This package is a collection of LaTeX fundamental packages:
114These packages are either mandated by the core LaTeX team, or
115very widely used and strongly recommended in practice.
116
117This package contains the following CTAN packages:
118ae: Virtual fonts for T1 encoded CMR-fonts.
119amscls: AMS document classes for LaTeX.
120amsmath: AMS mathematical facilities for LaTeX.
121babel: Multilingual support for Plain TeX or LaTeX.
122babel-english: Babel support for English.
123babelbib: Multilingual bibliographies.
124carlisle: David Carlisle's small packages.
125colortbl: Add colour to LaTeX tables.
126fancyhdr: Extensive control of page headers and footers in LaTeX2e.
127fix2col: Fix miscellaneous two column mode features.
128geometry: Flexible and complete interface to document dimensions.
129graphics: Standard LaTeX graphics.
130hyperref: Extensive support for hypertext in LaTeX.
131latex: A TeX macro package that defines LaTeX.
132latex-bin: LaTeX executables and man pages.
133latex-fonts: A collection of fonts used in LaTeX distributions.
134latexconfig:
135ltxmisc: Miscellaneous LaTeX packages, etc.
136mfnfss: Packages to typeset oldgerman and pandora fonts in LaTeX.
137mptopdf: mpost to PDF, native MetaPost graphics inclusion
138natbib: Flexible bibliography support.
139oberdiek: A bundle of packages submitted by Heiko Oberdiek.
140pdftex-def: Colour and Graphics support for PDFTeX.
141pslatex: Use PostScript fonts by default.
142psnfss: Font support for common PostScript fonts.
143pspicture: PostScript picture support.
144tools: The LaTeX standard tools bundle.
145url: Verbatim with URL-sensitive line breaks.
146
147%description -l ja
148TeX Live ソフトウェアディストリビューションは、
149さまざまな Unix, Macintosh, Windows、および
150他のプラットホームに対して完全な TeX システムを提供します。
151多くの異なった言語を含む TeX ドキュメントの
152編集、組版、閲覧、印刷するためのプログラム、
153そして、TeX マクロやフォントライブラリの大きなコレクションを
154同梱しています。
155
156このディストリビューションは
157同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
158TeX に関するたくさんの一般的なドキュメントを含んでいます。
159
160このパッケージは以下のようなパッケージ集です。
161LaTeX fundamental packages:
162These packages are either mandated by the core LaTeX team, or
163very widely used and strongly recommended in practice.
164
165このパッケージは以下の CTAN パッケージを含んでいます:
166ae: Virtual fonts for T1 encoded CMR-fonts.
167amscls: AMS document classes for LaTeX.
168amsmath: AMS mathematical facilities for LaTeX.
169babel: Multilingual support for Plain TeX or LaTeX.
170babel-english: Babel support for English.
171babelbib: Multilingual bibliographies.
172carlisle: David Carlisle's small packages.
173colortbl: Add colour to LaTeX tables.
174fancyhdr: Extensive control of page headers and footers in LaTeX2e.
175fix2col: Fix miscellaneous two column mode features.
176geometry: Flexible and complete interface to document dimensions.
177graphics: Standard LaTeX graphics.
178hyperref: Extensive support for hypertext in LaTeX.
179latex: A TeX macro package that defines LaTeX.
180latex-bin: LaTeX executables and man pages.
181latex-fonts: A collection of fonts used in LaTeX distributions.
182latexconfig:
183ltxmisc: Miscellaneous LaTeX packages, etc.
184mfnfss: Packages to typeset oldgerman and pandora fonts in LaTeX.
185mptopdf: mpost to PDF, native MetaPost graphics inclusion
186natbib: Flexible bibliography support.
187oberdiek: A bundle of packages submitted by Heiko Oberdiek.
188pdftex-def: Colour and Graphics support for PDFTeX.
189pslatex: Use PostScript fonts by default.
190psnfss: Font support for common PostScript fonts.
191pspicture: PostScript picture support.
192tools: The LaTeX standard tools bundle.
193url: Verbatim with URL-sensitive line breaks.
194
195%package doc
196Summary: TeX Live: Documentation files of %{name}
197Group: Applications/Publishing
198Requires: %{name} = %{version}-%{release}
199
200%description doc
201This package contains documentation files of %{name}.
202
203%prep
204%setup -c -n %{name}-%{version}
205%__tar -xvf %{SOURCE1}
206%__tar -xvf %{SOURCE2}
207%__tar -xvf %{SOURCE3}
208%__tar -xvf %{SOURCE4}
209%__tar -xvf %{SOURCE5}
210%__tar -xvf %{SOURCE6}
211%__tar -xvf %{SOURCE7}
212%__tar -xvf %{SOURCE8}
213%__tar -xvf %{SOURCE9}
214%__tar -xvf %{SOURCE10}
215%__tar -xvf %{SOURCE11}
216%__tar -xvf %{SOURCE12}
217%__tar -xvf %{SOURCE13}
218%__tar -xvf %{SOURCE14}
219%__tar -xvf %{SOURCE15}
220%__tar -xvf %{SOURCE16}
221%__tar -xvf %{SOURCE17}
222%__tar -xvf %{SOURCE18}
223%__tar -xvf %{SOURCE19}
224%__tar -xvf %{SOURCE20}
225%__tar -xvf %{SOURCE21}
226%__tar -xvf %{SOURCE22}
227%__tar -xvf %{SOURCE23}
228%__tar -xvf %{SOURCE24}
229%__tar -xvf %{SOURCE25}
230%__tar -xvf %{SOURCE26}
231%__tar -xvf %{SOURCE27}
232%__tar -xvf %{SOURCE28}
233%__tar -xvf %{SOURCE29}
234%__tar -xvf %{SOURCE30}
235%__tar -xvf %{SOURCE31}
236%__tar -xvf %{SOURCE32}
237%__tar -xvf %{SOURCE33}
238%__tar -xvf %{SOURCE34}
239%__tar -xvf %{SOURCE35}
240%__tar -xvf %{SOURCE36}
241%__tar -xvf %{SOURCE37}
242%__tar -xvf %{SOURCE38}
243%__tar -xvf %{SOURCE39}
244%__tar -xvf %{SOURCE40}
245%__tar -xvf %{SOURCE41}
246%__tar -xvf %{SOURCE42}
247%__tar -xvf %{SOURCE43}
248%__tar -xvf %{SOURCE44}
249%__tar -xvf %{SOURCE45}
250%__tar -xvf %{SOURCE46}
251%__tar -xvf %{SOURCE47}
252%__tar -xvf %{SOURCE48}
253%__tar -xvf %{SOURCE49}
254%__tar -xvf %{SOURCE50}
255%__tar -xvf %{SOURCE51}
256%__tar -xvf %{SOURCE52}
257%__tar -xvf %{SOURCE53}
258%__tar -xvf %{SOURCE54}
259%__tar -xvf %{SOURCE55}
260%__tar -xvf %{SOURCE56}
261%__tar -xvf %{SOURCE57}
262%__tar -xvf %{SOURCE58}
263%__tar -xvf %{SOURCE59}
264%__tar -xvf %{SOURCE60}
265%__tar -xvf %{SOURCE61}
266%__tar -xvf %{SOURCE62}
267%__tar -xvf %{SOURCE63}
268%__tar -xvf %{SOURCE64}
269%__tar -xvf %{SOURCE65}
270%__tar -xvf %{SOURCE66}
271%__tar -xvf %{SOURCE67}
272%__tar -xvf %{SOURCE68}
273%__tar -xvf %{SOURCE69}
274%__tar -xvf %{SOURCE70}
275
276%build
277
278%install
279[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
280
281%__mkdir_p %{buildroot}%{_datadir}
282
283## move texmf-dist to /usr/share/texmf-dist
284[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
285
286## move texmf to /usr/share/texmf
287[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
288
289## move tlpkg to /usr/share/tlpkg
290[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
291
292## move all non-arch binaries to /usr/bin
293[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
294
295## move others into /usr/share/texmf-dist
296%__mkdir_p %{buildroot}%{_tl_texmfdist}
297%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
298%__rm -rf * ||:
299
300
301## remove duplicated files between texlive and texlive-collection-*
302## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
303## remove unpacked files
304x=(
305scripts/epstopdf/epstopdf.pl
306scripts/texlive/fmtutil.sh
307texconfig/tcfmgr
308web2c/texmf.cnf
309web2c/updmap-hdr.cfg
310web2c/updmap.cfg
311install-tl
312)
313if [ -d %{buildroot}%{_tl_texmfdist} ]; then
314pushd %{buildroot}%{_tl_texmfdist}
315%__rm -f ${x[@]} ||:
316popd
317fi
318
319## Files list
320find %{buildroot} -type f -or -type l | \
321    %__sed -e "s|%{buildroot}||g" > filelist.full
322
323find %{buildroot}%{_tl_texmfdist} -type d | \
324    %__sed -e "s|^%{buildroot}|%dir |" \
325           -e "s|$|/|"             >> filelist.full
326
327## subpackages
328grep "/texmf-dist/doc/" filelist.full > filelist.doc
329cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
330%__mv -f filelist.tmp filelist.full
331
332%clean
333%__rm -rf %{buildroot}
334
335%post
336%_tl_touch_run texhash
337%_tl_touch_run mtxrun
338
339[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
340
341    %_tl_enable_map Map charter.map
342    %_tl_enable_map Map fpls.map
343    %_tl_enable_map Map pazo.map
344    %_tl_enable_map Map utopia.map
345
346%_tl_touch_run fmtutil
347
348exit 0
349
350
351%postun
352if [ "$1" = 0 ]; then
353    %_tl_touch_run texhash
354
355    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
356
357    %_tl_disable_map charter.map
358    %_tl_disable_map fpls.map
359    %_tl_disable_map pazo.map
360    %_tl_disable_map utopia.map
361
362fi
363
364exit 0
365
366%posttrans
367%{_tl_exec_texhash}
368%{_tl_exec_mtxrun}
369%{_tl_exec_updmap}
370%{_tl_exec_fmtutil}
371exit 0
372
373
374%files -f filelist.full
375%defattr(-,root,root,-)
376
377%files -f filelist.doc doc
378%defattr(-,root,root,-)
379
380%changelog
381* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
382- synced tlnet to 20141028
383
384* Sun Jul  6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
385- synced tlnet to 20140706
386
387* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
388- synced tlnet to 20140524
Note: See TracBrowser for help on using the repository browser.