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

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