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

Revision 9955, 12.0 KB checked in by munepi, 8 years ago (diff)

reverted to texlive-20150521-source (TeX Live 2015)
remove duplicated files from texlive-collection-*

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