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

Revision 9955, 12.3 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-langcjk
[1533]4
[5207]5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
[8476]9Summary: TeX Live: Chinese/Japanese/Korean (base)
10Summary(ja): TeX Live: Chinese/Japanese/Korean (base)
[1533]11Name: texlive-collection-langcjk
[9529]12Version: 2015
[9955]13Release: 4%{?_dist_release}
[9576]14License: BSD, GPLv3+, GPL+, LPPL, LPPL 1.3, Freely redistributable without restriction
[1533]15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
[7770]18Source0: adobemapping.tar.xz
[8476]19Source1: c90.doc.tar.xz
20Source2: c90.source.tar.xz
21Source3: c90.tar.xz
[9576]22Source4: cjk-gs-integrate.doc.tar.xz
23Source5: cjk-gs-integrate.tar.xz
24Source6: cjk.doc.tar.xz
25Source7: cjk.source.tar.xz
26Source8: cjk.tar.xz
27Source9: cjkpunct.doc.tar.xz
28Source10: cjkpunct.source.tar.xz
29Source11: cjkpunct.tar.xz
30Source12: cjkutils.doc.tar.xz
31Source13: cjkutils.tar.xz
32Source14: dnp.tar.xz
33Source15: garuda-c90.source.tar.xz
34Source16: garuda-c90.tar.xz
35Source17: norasi-c90.source.tar.xz
36Source18: norasi-c90.tar.xz
37Source19: xcjk2uni.doc.tar.xz
38Source20: xcjk2uni.source.tar.xz
39Source21: xcjk2uni.tar.xz
40Source22: zxjafont.doc.tar.xz
41Source23: zxjafont.tar.xz
[7770]42
[1533]43Requires: texlive = %{version}
44Requires: texlive-collection-basic = %{version}
45
46Requires(post):         texlive = %{version}
47Requires(postun):       texlive = %{version}
48
49BuildArch:      noarch
50Buildroot:      %{_tmppath}/%{name}-%{version}-root
51
52Vendor:         Project Vine
53Distribution:   Vine Linux
54Packager:       munepi
55
56%description
57The TeX Live software distribution offers a complete TeX system for a
58variety of Unix, Macintosh, Windows and other platforms. It
59encompasses programs for editing, typesetting, previewing and printing
60of TeX documents in many different languages, and a large collection
61of TeX macros and font libraries.
62
63The distribution includes extensive general documentation about TeX,
64as well as the documentation for the included software packages.
65
[8476]66This package is a collection of Chinese/Japanese/Korean (base):
67Packages supporting a combination of Chinese, Japanese, Korean,
68including macros, fonts, documentation.  Also Thai in the c90
69encoding, since there is some overlap in those fonts; standard
70Thai support is in collection-langother.  Additional packages
71for CJK are in their individual language collections.
[1533]72
73This package contains the following CTAN packages:
[5207]74adobemapping: Adobe cmap and pdfmapping files
[1533]75c90:
[9576]76cjk-gs-integrate: Tools to integrate CJK fonts into Ghostscript
[1533]77cjk: CJK language support.
78cjkpunct: Adjust locations and kerning of CJK punctuation marks.
79cjkutils:
80dnp:
[7770]81garuda-c90: TeX support (from CJK) for the garuda font
82norasi-c90: TeX support (from CJK) for the norasi font
83xcjk2uni: Convert CJK characters to Unicode, in pdfTeX.
84zxjafont: Set up Japanese font families for XeLaTeX.
[1533]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このパッケージは以下のようなパッケージ集です。
[8476]100Chinese/Japanese/Korean (base):
101Packages supporting a combination of Chinese, Japanese, Korean,
102including macros, fonts, documentation.  Also Thai in the c90
103encoding, since there is some overlap in those fonts; standard
104Thai support is in collection-langother.  Additional packages
105for CJK are in their individual language collections.
[1533]106
107このパッケージは以下の CTAN パッケージを含んでいます:
[5207]108adobemapping: Adobe cmap and pdfmapping files
[1533]109c90:
[9576]110cjk-gs-integrate: Tools to integrate CJK fonts into Ghostscript
[1533]111cjk: CJK language support.
112cjkpunct: Adjust locations and kerning of CJK punctuation marks.
113cjkutils:
114dnp:
[7770]115garuda-c90: TeX support (from CJK) for the garuda font
116norasi-c90: TeX support (from CJK) for the norasi font
117xcjk2uni: Convert CJK characters to Unicode, in pdfTeX.
118zxjafont: Set up Japanese font families for XeLaTeX.
[1533]119
120%package doc
121Summary: TeX Live: Documentation files of %{name}
122Group: Applications/Publishing
123Requires: %{name} = %{version}-%{release}
124
125%description doc
126This package contains documentation files of %{name}.
127
128%prep
[7770]129%setup -c -n %{name}-%{version}
130%__tar -xvf %{SOURCE1}
131%__tar -xvf %{SOURCE2}
132%__tar -xvf %{SOURCE3}
133%__tar -xvf %{SOURCE4}
134%__tar -xvf %{SOURCE5}
135%__tar -xvf %{SOURCE6}
136%__tar -xvf %{SOURCE7}
137%__tar -xvf %{SOURCE8}
138%__tar -xvf %{SOURCE9}
139%__tar -xvf %{SOURCE10}
140%__tar -xvf %{SOURCE11}
141%__tar -xvf %{SOURCE12}
142%__tar -xvf %{SOURCE13}
143%__tar -xvf %{SOURCE14}
144%__tar -xvf %{SOURCE15}
145%__tar -xvf %{SOURCE16}
146%__tar -xvf %{SOURCE17}
147%__tar -xvf %{SOURCE18}
148%__tar -xvf %{SOURCE19}
149%__tar -xvf %{SOURCE20}
150%__tar -xvf %{SOURCE21}
[9576]151%__tar -xvf %{SOURCE22}
152%__tar -xvf %{SOURCE23}
[1533]153
154%build
155
156%install
157[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
158
[7770]159%__mkdir_p %{buildroot}%{_datadir}
[1533]160
[7770]161## move texmf-dist to /usr/share/texmf-dist
162[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
[1533]163
[7770]164## move texmf to /usr/share/texmf
165[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
[1533]166
[7770]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=(
[9955]183dvipdfmx/dvipdfmx.cfg
[9576]184scripts/context/stubs/unix/mtxrun
185scripts/ptex2pdf/ptex2pdf.lua
186scripts/texlive/fmtutil.pl
[9529]187scripts/texlive/texconfig-dialog.sh
188scripts/texlive/texconfig-sys.sh
189scripts/texlive/texconfig.sh
190scripts/texlive/texlinks.sh
191scripts/texlive/tlmgr.pl
[9576]192scripts/texlive/updmap.pl
[9529]193texconfig/tcfmgr
[9576]194web2c/fmtutil.cnf
[9529]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
[9576]204install-tl
[9955]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
[7770]228)
229if [ -d %{buildroot}%{_tl_texmfdist} ]; then
230pushd %{buildroot}%{_tl_texmfdist}
231%__rm -f ${x[@]} ||:
[5207]232popd
[7770]233fi
234
[1533]235## Files list
236find %{buildroot} -type f -or -type l | \
237    %__sed -e "s|%{buildroot}||g" > filelist.full
238
[7770]239find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]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
[7770]252%_tl_touch_run texhash
253%_tl_touch_run mtxrun
[1533]254
[7770]255[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]256
[7770]257    %_tl_enable_map Map garuda-c90.map
258    %_tl_enable_map Map norasi-c90.map
[2505]259
[1533]260exit 0
261
262
263%postun
264if [ "$1" = 0 ]; then
[7770]265    %_tl_touch_run texhash
[1533]266
[7770]267    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]268
[7770]269    %_tl_disable_map garuda-c90.map
270    %_tl_disable_map norasi-c90.map
[1533]271
272fi
273
274exit 0
275
[7148]276%posttrans
[7770]277%{_tl_exec_texhash}
278%{_tl_exec_mtxrun}
279%{_tl_exec_updmap}
280%{_tl_exec_fmtutil}
[7148]281exit 0
282
283
[1533]284%files -f filelist.full
[5207]285%defattr(-,root,root,-)
[1533]286
287%files -f filelist.doc doc
[5207]288%defattr(-,root,root,-)
[1533]289
290%changelog
[9955]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
[9950]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
[9576]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)
[9034]302
[9576]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.