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

Revision 9950, 10.2 KB checked in by munepi, 8 years ago (diff)

synced tlnet to 20160110 (TeX Live 2016/dev)

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-3:
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: 3%{?_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=(
183scripts/context/stubs/unix/mtxrun
184scripts/ptex2pdf/ptex2pdf.lua
185scripts/texlive/fmtutil.pl
186scripts/texlive/texconfig-dialog.sh
187scripts/texlive/texconfig-sys.sh
188scripts/texlive/texconfig.sh
189scripts/texlive/texlinks.sh
190scripts/texlive/tlmgr.pl
191scripts/texlive/updmap.pl
192texconfig/tcfmgr
193web2c/fmtutil.cnf
194web2c/mktex.opt
195web2c/mktexdir
196web2c/mktexdir.opt
197web2c/mktexnam
198web2c/mktexnam.opt
199web2c/mktexupd
200web2c/texmf.cnf
201web2c/updmap-hdr.cfg
202web2c/updmap.cfg
203install-tl
204)
205if [ -d %{buildroot}%{_tl_texmfdist} ]; then
206pushd %{buildroot}%{_tl_texmfdist}
207%__rm -f ${x[@]} ||:
208popd
209fi
210
211## Files list
212find %{buildroot} -type f -or -type l | \
213    %__sed -e "s|%{buildroot}||g" > filelist.full
214
215find %{buildroot}%{_tl_texmfdist} -type d | \
216    %__sed -e "s|^%{buildroot}|%dir |" \
217           -e "s|$|/|"             >> filelist.full
218
219## subpackages
220grep "/texmf-dist/doc/" filelist.full > filelist.doc
221cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
222%__mv -f filelist.tmp filelist.full
223
224%clean
225%__rm -rf %{buildroot}
226
227%post
228%_tl_touch_run texhash
229%_tl_touch_run mtxrun
230
231%_tl_touch_run fmtutil
232
233exit 0
234
235
236%postun
237if [ "$1" = 0 ]; then
238    %_tl_touch_run texhash
239
240fi
241
242exit 0
243
244%posttrans
245%{_tl_exec_texhash}
246%{_tl_exec_mtxrun}
247%{_tl_exec_updmap}
248%{_tl_exec_fmtutil}
249exit 0
250
251
252%files -f filelist.full
253%defattr(-,root,root,-)
254
255%files -f filelist.doc doc
256%defattr(-,root,root,-)
257
258%changelog
259* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
260- TeX Live 2016/dev
261- synced tlnet to 20160110 (TeX Live 2016/dev)
262
263* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
264- TeX Live 2015/pretest
265- synced tlnet to 20150522 (TeX Live 2015/pretest)
266
267* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
268- TeX Live 2015/pretest
269- synced tlnet to 20150426 (TeX Live 2015/pretest)
270
271* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
272- synced tlnet to 20150401
273
274* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
275- synced tlnet to 20141028
276
277* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
278- synced tlnet to 20140706
279
280* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
281- upgraded to TeX Live 2014
282
283* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
284- synced tlnet to 20140406
285
286* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
287- synced tlnet to 20131218
288
289* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
290- synced tlnet to 20131101
291
292* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
293- synced tlnet to 20131002
294
295* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
296- synced tlnet to 20130919
297
298* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
299- upgraded to TeX Live 2013
300  - used tlnet archives
301  - synced tlnet to 20130823
302- added macros.texlive
303
304* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
305- updated to TeX Live 2012
306
307* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
308- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
309  - set external dependencies (texlive-collection-binextra,
310    texlive-collection-fontutils)
311
312* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
313- updated to TeX Live 2011
314- merged texlive-vtlpkg-2009-osx.patch from OSXWS
315- added %doc README (%files)
316
317* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
318- applied texlive-vtlpkg-2009-vine.patch
319  - remove arch dependent binaries
320- updated tlpdb2rpmspec.sh.in:
321  - improved tlpdb4a()
322  - make symlinks of core script utils (texlive-collection-binextra,
323    texlive-collection-context, texlive-collection-fontutils,
324    texlive-collection-langgreek, texlive-collection-langindic,
325    texlive-collection-latex, texlive-collection-latexextra,
326    texlive-collection-latexrecommended, texlive-collection-pictures,
327    texlive-collection-pstricks, texlive-collection-science)
328
329* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
330- updated tlpdb2rpmspec.sh.in:
331  - improved %post
332
333* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
334- updated tlpdb2rpmspec.sh.in:
335  - removed arch dependent binaries (texlive-collection-latexextra)
336  - improved updmap process in %post and %postun
337  - fixed perl path
338
339* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
340- initial build
Note: See TracBrowser for help on using the repository browser.