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

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