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

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

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

RevLine 
[1533]1## -*- coding: utf-8-unix -*-
[9955]2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-4:
[1974]3## tlpdb2rpmspec collection-langpolish
[1533]4
[5207]5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
[1533]9Summary: TeX Live: Polish
10Summary(ja): TeX Live: Polish
11Name: texlive-collection-langpolish
[9529]12Version: 2015
[9955]13Release: 4%{?_dist_release}
[8476]14License: LPPL 1.3, Public Domain, Knuth, LPPL, LPPL 1.2
[1533]15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
[7770]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
[7855]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
[7770]53
[1533]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:
[7770]79Support for Polish.
[1533]80
81This package contains the following CTAN packages:
[8476]82babel-polish: Babel support for Polish.
[1533]83cc-pl: Polish extension of Computer Concrete fonts.
[8476]84gustlib:
[1533]85gustprog:
[7770]86hyphen-polish: Polish hyphenation patterns.
87lshort-polish: Introduction to LaTeX in Polish.
[9950]88mex: Polish formats for TeX
[1533]89mwcls: Polish-oriented document classes.
[9529]90pl: Polish extension of Computer Modern fonts.
[1533]91polski: Typeset Polish documents with LaTeX and Polish fonts.
[7148]92przechlewski-book: Examples from Przechlewski's LaTeX book.
[1533]93qpxqtx:
94tap: TeX macros for typesetting complex tables.
[7770]95tex-virtual-academy-pl:
96texlive-pl: TeX Live manual (Polish)
[8476]97utf8mex: Tools to produce formats that read Polish language input.
[1533]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:
[7770]114Support for Polish.
[1533]115
116このパッケージは以下の CTAN パッケージを含んでいます:
[8476]117babel-polish: Babel support for Polish.
[1533]118cc-pl: Polish extension of Computer Concrete fonts.
[8476]119gustlib:
[1533]120gustprog:
[7770]121hyphen-polish: Polish hyphenation patterns.
122lshort-polish: Introduction to LaTeX in Polish.
[9950]123mex: Polish formats for TeX
[1533]124mwcls: Polish-oriented document classes.
[9529]125pl: Polish extension of Computer Modern fonts.
[1533]126polski: Typeset Polish documents with LaTeX and Polish fonts.
[7148]127przechlewski-book: Examples from Przechlewski's LaTeX book.
[1533]128qpxqtx:
129tap: TeX macros for typesetting complex tables.
[7770]130tex-virtual-academy-pl:
131texlive-pl: TeX Live manual (Polish)
[8476]132utf8mex: Tools to produce formats that read Polish language input.
[1533]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
[7770]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}
[1533]178
179%build
180
181%install
182[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
183
[7770]184%__mkdir_p %{buildroot}%{_datadir}
[1533]185
[7770]186## move texmf-dist to /usr/share/texmf-dist
187[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
[1533]188
[7770]189## move texmf to /usr/share/texmf
190[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
[1533]191
[7770]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=(
[9955]208dvipdfmx/dvipdfmx.cfg
[9576]209scripts/context/stubs/unix/mtxrun
210scripts/ptex2pdf/ptex2pdf.lua
211scripts/texlive/fmtutil.pl
[9529]212scripts/texlive/texconfig-dialog.sh
213scripts/texlive/texconfig-sys.sh
214scripts/texlive/texconfig.sh
215scripts/texlive/texlinks.sh
216scripts/texlive/tlmgr.pl
[9576]217scripts/texlive/updmap.pl
[9529]218texconfig/tcfmgr
[9576]219web2c/fmtutil.cnf
[9529]220web2c/mktex.opt
221web2c/mktexdir
222web2c/mktexdir.opt
223web2c/mktexnam
224web2c/mktexnam.opt
225web2c/mktexupd
226web2c/texmf.cnf
227web2c/updmap-hdr.cfg
228web2c/updmap.cfg
[9576]229install-tl
[9955]230#
231scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
232scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
233scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
234scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
235scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
236scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
237scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
238scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
239scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
240scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
241scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
242scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
243scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
244scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
245scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
246scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
247scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
248scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
249scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
250scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
251scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
252scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
[7770]253)
254if [ -d %{buildroot}%{_tl_texmfdist} ]; then
255pushd %{buildroot}%{_tl_texmfdist}
256%__rm -f ${x[@]} ||:
[5207]257popd
[7770]258fi
259
[1533]260## Files list
261find %{buildroot} -type f -or -type l | \
262    %__sed -e "s|%{buildroot}||g" > filelist.full
263
[7770]264find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]265    %__sed -e "s|^%{buildroot}|%dir |" \
266           -e "s|$|/|"             >> filelist.full
267
268## subpackages
269grep "/texmf-dist/doc/" filelist.full > filelist.doc
270cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
271%__mv -f filelist.tmp filelist.full
272
273%clean
274%__rm -rf %{buildroot}
275
276%post
[7770]277%_tl_touch_run texhash
278%_tl_touch_run mtxrun
[1533]279
[7770]280[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]281
[7770]282    %_tl_enable_map MixedMap ccpl.map
283    %_tl_enable_map MixedMap plother.map
284    %_tl_enable_map MixedMap pltext.map
[2505]285
[7770]286%_tl_touch_run fmtutil
[2505]287
[1533]288exit 0
289
290
291%postun
292if [ "$1" = 0 ]; then
[7770]293    %_tl_touch_run texhash
[1533]294
[7770]295    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]296
[7770]297    %_tl_disable_map ccpl.map
298    %_tl_disable_map plother.map
299    %_tl_disable_map pltext.map
[1533]300
301fi
302
303exit 0
304
[7148]305%posttrans
[7770]306%{_tl_exec_texhash}
307%{_tl_exec_mtxrun}
308%{_tl_exec_updmap}
309%{_tl_exec_fmtutil}
[7148]310exit 0
311
312
[1533]313%files -f filelist.full
[5207]314%defattr(-,root,root,-)
[1533]315
316%files -f filelist.doc doc
[5207]317%defattr(-,root,root,-)
[1533]318
319%changelog
[9955]320* Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
321- remove duplicated files from texlive-collection-*
322- synced tlnet to 20160113 (TeX Live 2015)
323
[9950]324* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
325- TeX Live 2016/dev
326- synced tlnet to 20160110 (TeX Live 2016/dev)
327
[9576]328* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
329- TeX Live 2015/pretest
330- synced tlnet to 20150522 (TeX Live 2015/pretest)
[9034]331
[9576]332* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
333- TeX Live 2015/pretest
334- synced tlnet to 20150426 (TeX Live 2015/pretest)
335
336* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
337- synced tlnet to 20150401
338
339* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
340- synced tlnet to 20141028
341
342* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
343- synced tlnet to 20140706
344
345* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
346- upgraded to TeX Live 2014
347
348* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
349- synced tlnet to 20140406
350
351* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
352- synced tlnet to 20131218
353
354* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
355- synced tlnet to 20131101
356
357* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
358- synced tlnet to 20131002
359
360* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
361- synced tlnet to 20130919
362
363* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
364- upgraded to TeX Live 2013
365  - used tlnet archives
366  - synced tlnet to 20130823
367- added macros.texlive
368
369* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
370- updated to TeX Live 2012
371
372* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
373- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
374  - set external dependencies (texlive-collection-binextra,
375    texlive-collection-fontutils)
376
377* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
378- updated to TeX Live 2011
379- merged texlive-vtlpkg-2009-osx.patch from OSXWS
380- added %doc README (%files)
381
382* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
383- applied texlive-vtlpkg-2009-vine.patch
384  - remove arch dependent binaries
385- updated tlpdb2rpmspec.sh.in:
386  - improved tlpdb4a()
387  - make symlinks of core script utils (texlive-collection-binextra,
388    texlive-collection-context, texlive-collection-fontutils,
389    texlive-collection-langgreek, texlive-collection-langindic,
390    texlive-collection-latex, texlive-collection-latexextra,
391    texlive-collection-latexrecommended, texlive-collection-pictures,
392    texlive-collection-pstricks, texlive-collection-science)
393
394* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
395- updated tlpdb2rpmspec.sh.in:
396  - improved %post
397
398* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
399- updated tlpdb2rpmspec.sh.in:
400  - removed arch dependent binaries (texlive-collection-latexextra)
401  - improved updmap process in %post and %postun
402  - fixed perl path
403
404* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
405- initial build
Note: See TracBrowser for help on using the repository browser.