source: projects/specs/trunk/t/texlive-collection-langspanish/texlive-collection-langspanish-vl.spec @ 11118

Revision 11118, 12.8 KB checked in by munepi, 7 years ago (diff)

TeX Live 2017

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2017-2:
3## tlpdb2rpmspec collection-langspanish
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: Spanish
10Summary(ja): TeX Live: Spanish
11Name: texlive-collection-langspanish
12Version: 2017
13Release: 2%{?_dist_release}
14License: LPPL 1.3, LPPL, Public Domain, Freely redistributable without restriction
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: babel-catalan.doc.tar.xz
19Source1: babel-catalan.source.tar.xz
20Source2: babel-catalan.tar.xz
21Source3: babel-galician.doc.tar.xz
22Source4: babel-galician.source.tar.xz
23Source5: babel-galician.tar.xz
24Source6: babel-spanglish.doc.tar.xz
25Source7: babel-spanglish.tar.xz
26Source8: babel-spanish.doc.tar.xz
27Source9: babel-spanish.source.tar.xz
28Source10: babel-spanish.tar.xz
29Source11: es-tex-faq.doc.tar.xz
30Source12: es-tex-faq.tar.xz
31Source13: hyphen-catalan.tar.xz
32Source14: hyphen-galician.source.tar.xz
33Source15: hyphen-galician.tar.xz
34Source16: hyphen-spanish.doc.tar.xz
35Source17: hyphen-spanish.source.tar.xz
36Source18: hyphen-spanish.tar.xz
37Source19: l2tabu-spanish.doc.tar.xz
38Source20: l2tabu-spanish.tar.xz
39Source21: latex2e-help-texinfo-spanish.doc.tar.xz
40Source22: latex2e-help-texinfo-spanish.tar.xz
41Source23: latexcheat-esmx.doc.tar.xz
42Source24: latexcheat-esmx.tar.xz
43Source25: lshort-spanish.doc.tar.xz
44Source26: lshort-spanish.tar.xz
45Source27: spanish-mx.doc.tar.xz
46Source28: spanish-mx.tar.xz
47Source29: texlive-es.doc.tar.xz
48Source30: texlive-es.tar.xz
49
50Requires: texlive = %{version}
51Requires: texlive-collection-basic = %{version}
52
53Requires(post):         texlive = %{version}
54Requires(postun):       texlive = %{version}
55
56BuildArch:      noarch
57Buildroot:      %{_tmppath}/%{name}-%{version}-root
58
59Vendor:         Project Vine
60Distribution:   Vine Linux
61Packager:       munepi
62
63%description
64The TeX Live software distribution offers a complete TeX system for a
65variety of Unix, Macintosh, Windows and other platforms. It
66encompasses programs for editing, typesetting, previewing and printing
67of TeX documents in many different languages, and a large collection
68of TeX macros and font libraries.
69
70The distribution includes extensive general documentation about TeX,
71as well as the documentation for the included software packages.
72
73This package is a collection of Spanish:
74Support for Spanish.
75
76This package contains the following CTAN packages:
77babel-catalan: Babel contributed support for Catalan
78babel-galician: Babel/Polyglossia support for Galician
79babel-spanglish: Simplified Spanish support for Babel
80babel-spanish: Babel support for Spanish
81es-tex-faq: CervanTeX (Spanish TeX Group) FAQ
82hyphen-catalan: Catalan hyphenation patterns.
83hyphen-galician: Galician hyphenation patterns.
84hyphen-spanish: Spanish hyphenation patterns.
85l2tabu-spanish: Spanish translation of "Obsolete packages and commands"
86latex2e-help-texinfo-spanish:
87latexcheat-esmx: A LaTeX cheat sheet, in Spanish
88lshort-spanish: Short introduction to LaTeX, Spanish translation
89spanish-mx: Typeset Spanish as in Mexico
90texlive-es: TeX Live manual (Spanish)
91
92%description -l ja
93TeX Live ソフトウェアディストリビューションは、
94さまざまな Unix, Macintosh, Windows、および
95他のプラットホームに対して完全な TeX システムを提供します。
96多くの異なった言語を含む TeX ドキュメントの
97編集、組版、閲覧、印刷するためのプログラム、
98そして、TeX マクロやフォントライブラリの大きなコレクションを
99同梱しています。
100
101このディストリビューションは
102同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
103TeX に関するたくさんの一般的なドキュメントを含んでいます。
104
105このパッケージは以下のようなパッケージ集です。
106Spanish:
107Support for Spanish.
108
109このパッケージは以下の CTAN パッケージを含んでいます:
110babel-catalan: Babel contributed support for Catalan
111babel-galician: Babel/Polyglossia support for Galician
112babel-spanglish: Simplified Spanish support for Babel
113babel-spanish: Babel support for Spanish
114es-tex-faq: CervanTeX (Spanish TeX Group) FAQ
115hyphen-catalan: Catalan hyphenation patterns.
116hyphen-galician: Galician hyphenation patterns.
117hyphen-spanish: Spanish hyphenation patterns.
118l2tabu-spanish: Spanish translation of "Obsolete packages and commands"
119latex2e-help-texinfo-spanish:
120latexcheat-esmx: A LaTeX cheat sheet, in Spanish
121lshort-spanish: Short introduction to LaTeX, Spanish translation
122spanish-mx: Typeset Spanish as in Mexico
123texlive-es: TeX Live manual (Spanish)
124
125%package doc
126Summary: TeX Live: Documentation files of %{name}
127Group: Applications/Publishing
128Requires: %{name} = %{version}-%{release}
129
130%description doc
131This package contains documentation files of %{name}.
132
133%prep
134%setup -c -n %{name}-%{version}
135%__tar -xvf %{SOURCE1}
136%__tar -xvf %{SOURCE2}
137%__tar -xvf %{SOURCE3}
138%__tar -xvf %{SOURCE4}
139%__tar -xvf %{SOURCE5}
140%__tar -xvf %{SOURCE6}
141%__tar -xvf %{SOURCE7}
142%__tar -xvf %{SOURCE8}
143%__tar -xvf %{SOURCE9}
144%__tar -xvf %{SOURCE10}
145%__tar -xvf %{SOURCE11}
146%__tar -xvf %{SOURCE12}
147%__tar -xvf %{SOURCE13}
148%__tar -xvf %{SOURCE14}
149%__tar -xvf %{SOURCE15}
150%__tar -xvf %{SOURCE16}
151%__tar -xvf %{SOURCE17}
152%__tar -xvf %{SOURCE18}
153%__tar -xvf %{SOURCE19}
154%__tar -xvf %{SOURCE20}
155%__tar -xvf %{SOURCE21}
156%__tar -xvf %{SOURCE22}
157%__tar -xvf %{SOURCE23}
158%__tar -xvf %{SOURCE24}
159%__tar -xvf %{SOURCE25}
160%__tar -xvf %{SOURCE26}
161%__tar -xvf %{SOURCE27}
162%__tar -xvf %{SOURCE28}
163%__tar -xvf %{SOURCE29}
164%__tar -xvf %{SOURCE30}
165
166%build
167
168%install
169[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
170
171%__mkdir_p %{buildroot}%{_datadir}
172
173## move texmf-dist to /usr/share/texmf-dist
174[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
175
176## move texmf to /usr/share/texmf
177[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
178
179## move tlpkg to /usr/share/tlpkg
180[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
181
182## move all non-arch binaries to /usr/bin
183[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
184
185## move others into /usr/share/texmf-dist
186%__mkdir_p %{buildroot}%{_tl_texmfdist}
187%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
188%__rm -rf * ||:
189
190
191## remove duplicated files between texlive and texlive-collection-*
192## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
193## remove unpacked files
194x=(
195dvipdfmx/dvipdfmx.cfg
196scripts/context/stubs/unix/mtxrun
197scripts/latexmk/latexmk.pl
198scripts/ptex2pdf/ptex2pdf.lua
199scripts/texlive/fmtutil.pl
200scripts/texlive/texconfig-dialog.sh
201scripts/texlive/texconfig-sys.sh
202scripts/texlive/texconfig.sh
203scripts/texlive/texlinks.sh
204scripts/texlive/tlmgr.pl
205scripts/texlive/updmap.pl
206texconfig/tcfmgr
207web2c/fmtutil.cnf
208web2c/mktex.opt
209web2c/mktexdir
210web2c/mktexdir.opt
211web2c/mktexnam
212web2c/mktexnam.opt
213web2c/mktexupd
214web2c/texmf.cnf
215web2c/updmap-hdr.cfg
216web2c/updmap.cfg
217install-tl
218#
219scripts/cjk-gs-integrate/cjk-gs-integrate.pl
220scripts/epspdf/epspdf.tlu
221scripts/epspdf/epspdftk.tcl
222scripts/glossaries/makeglossaries
223scripts/jfontmaps/kanji-config-updmap.pl
224scripts/jfontmaps/kanji-fontmap-creator.pl
225scripts/kotex-utils/jamo-normalize.pl
226scripts/kotex-utils/komkindex.pl
227scripts/crossrefware/ltx2crossrefxml.pl
228scripts/rubik/rubikrotation.pl
229scripts/musixtex/musixtex.lua
230scripts/pmxchords/pmxchords.lua
231scripts/ctanify/ctanify
232scripts/dtxgen/dtxgen
233scripts/findhyph/findhyph
234scripts/latexpand/latexpand
235scripts/ltxfileinfo/ltxfileinfo
236scripts/latexdiff/latexdiff-vc.pl
237scripts/latexdiff/latexdiff.pl
238scripts/texfot/texfot.pl
239scripts/fontools/autoinst
240scripts/luaotfload/luaotfload-tool.lua
241scripts/oberdiek/pdfatfi.pl
242fonts/map/glyphlist/glyphlist.txt ## texlive-collection-basic-2017-1vl7.noarch
243scripts/tex4ht/xhlatex.sh ## texlive-collection-plaingeneric-2017-1vl7.noarch
244scripts/latexindent/latexindent.pl ## texlive-collection-binextra-2017-1vl7.noarch
245scripts/texosquery/texosquery-jre5.sh ## texlive-collection-binextra-2017-1vl7.noarch
246scripts/texosquery/texosquery-jre8.sh ## texlive-collection-binextra-2017-1vl7.noarch
247scripts/texosquery/texosquery.sh ## texlive-collection-binextra-2017-1vl7.noarch
248)
249if [ -d %{buildroot}%{_tl_texmfdist} ]; then
250pushd %{buildroot}%{_tl_texmfdist}
251%__rm -f ${x[@]} ||:
252popd
253fi
254
255## Files list
256find %{buildroot} -type f -or -type l | \
257    %__sed -e "s|%{buildroot}||g" > filelist.full
258
259find %{buildroot}%{_tl_texmfdist} -type d | \
260    %__sed -e "s|^%{buildroot}|%dir |" \
261           -e "s|$|/|"             >> filelist.full
262
263## subpackages
264grep "/texmf-dist/doc/" filelist.full > filelist.doc
265cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
266%__mv -f filelist.tmp filelist.full
267
268%clean
269%__rm -rf %{buildroot}
270
271%post
272%_tl_touch_run texhash
273%_tl_touch_run mtxrun
274
275%_tl_touch_run fmtutil
276
277exit 0
278
279
280%postun
281if [ "$1" = 0 ]; then
282    %_tl_touch_run texhash
283
284fi
285
286exit 0
287
288%posttrans
289%{_tl_exec_texhash}
290%{_tl_exec_mtxrun}
291%{_tl_exec_updmap}
292%{_tl_exec_fmtutil}
293exit 0
294
295
296%files -f filelist.full
297%defattr(-,root,root,-)
298
299%files -f filelist.doc doc
300%defattr(-,root,root,-)
301
302%changelog
303* Sun Jun 18 2017 Munehiro Yamamoto <munepi@vinelinux.org> 2017-2
304- synced tlnet to 20170616 (TeX Live 2017)
305
306* Thu Jun 08 2017 Munehiro Yamamoto <munepi@vinelinux.org> 2017-1
307- synced tlnet to 20170607 (TeX Live 2017)
308
309* Tue Aug 23 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-5
310- synced tlnet to 20160823 (TeX Live 2016)
311
312* Tue Jun 07 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-4
313- synced tlnet to 20160607 (TeX Live 2016)
314
315* Sat May 14 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-3
316- synced tlnet to 20160514 (TeX Live 2016/pretest)
317
318* Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-2
319- synced tlnet to 20160510 (TeX Live 2016/pretest)
320
321* Thu Apr 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-1
322- TeX Live 2016/pretest
323- synced tlnet to 20160428 (TeX Live 2016/pretest)
324
325* Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
326- remove duplicated files from texlive-collection-*
327- synced tlnet to 20160113 (TeX Live 2015)
328
329* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
330- TeX Live 2016/dev
331- synced tlnet to 20160110 (TeX Live 2016/dev)
332
333* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
334- TeX Live 2015/pretest
335- synced tlnet to 20150522 (TeX Live 2015/pretest)
336
337* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
338- TeX Live 2015/pretest
339- synced tlnet to 20150426 (TeX Live 2015/pretest)
340
341* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
342- synced tlnet to 20150401
343
344* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
345- synced tlnet to 20141028
346
347* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
348- synced tlnet to 20140706
349
350* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
351- upgraded to TeX Live 2014
352
353* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
354- synced tlnet to 20140406
355
356* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
357- synced tlnet to 20131218
358
359* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
360- synced tlnet to 20131101
361
362* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
363- synced tlnet to 20131002
364
365* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
366- synced tlnet to 20130919
367
368* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
369- upgraded to TeX Live 2013
370  - used tlnet archives
371  - synced tlnet to 20130823
372- added macros.texlive
373
374* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
375- updated to TeX Live 2012
376
377* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
378- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
379  - set external dependencies (texlive-collection-binextra,
380    texlive-collection-fontutils)
381
382* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
383- updated to TeX Live 2011
384- merged texlive-vtlpkg-2009-osx.patch from OSXWS
385- added %doc README (%files)
386
387* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
388- applied texlive-vtlpkg-2009-vine.patch
389  - remove arch dependent binaries
390- updated tlpdb2rpmspec.sh.in:
391  - improved tlpdb4a()
392  - make symlinks of core script utils (texlive-collection-binextra,
393    texlive-collection-context, texlive-collection-fontutils,
394    texlive-collection-langgreek, texlive-collection-langindic,
395    texlive-collection-latex, texlive-collection-latexextra,
396    texlive-collection-latexrecommended, texlive-collection-pictures,
397    texlive-collection-pstricks, texlive-collection-science)
398
399* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
400- updated tlpdb2rpmspec.sh.in:
401  - improved %post
402
403* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
404- updated tlpdb2rpmspec.sh.in:
405  - removed arch dependent binaries (texlive-collection-latexextra)
406  - improved updmap process in %post and %postun
407  - fixed perl path
408
409* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
410- initial build
Note: See TracBrowser for help on using the repository browser.