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

Revision 9576, 10.3 KB checked in by munepi, 9 years ago (diff)

synced tlnet to 20150522

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-2:
3## tlpdb2rpmspec collection-langcjk
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: Chinese/Japanese/Korean (base)
10Summary(ja): TeX Live: Chinese/Japanese/Korean (base)
11Name: texlive-collection-langcjk
12Version: 2015
13Release: 2%{?_dist_release}
14License: BSD, GPLv3+, GPL+, LPPL, LPPL 1.3, Freely redistributable without restriction
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: adobemapping.tar.xz
19Source1: c90.doc.tar.xz
20Source2: c90.source.tar.xz
21Source3: c90.tar.xz
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
42
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
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.
72
73This package contains the following CTAN packages:
74adobemapping: Adobe cmap and pdfmapping files
75c90:
76cjk-gs-integrate: Tools to integrate CJK fonts into Ghostscript
77cjk: CJK language support.
78cjkpunct: Adjust locations and kerning of CJK punctuation marks.
79cjkutils:
80dnp:
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.
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このパッケージは以下のようなパッケージ集です。
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.
106
107このパッケージは以下の CTAN パッケージを含んでいます:
108adobemapping: Adobe cmap and pdfmapping files
109c90:
110cjk-gs-integrate: Tools to integrate CJK fonts into Ghostscript
111cjk: CJK language support.
112cjkpunct: Adjust locations and kerning of CJK punctuation marks.
113cjkutils:
114dnp:
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.
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
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}
151%__tar -xvf %{SOURCE22}
152%__tar -xvf %{SOURCE23}
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[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
232
233    %_tl_enable_map Map garuda-c90.map
234    %_tl_enable_map Map norasi-c90.map
235
236exit 0
237
238
239%postun
240if [ "$1" = 0 ]; then
241    %_tl_touch_run texhash
242
243    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
244
245    %_tl_disable_map garuda-c90.map
246    %_tl_disable_map norasi-c90.map
247
248fi
249
250exit 0
251
252%posttrans
253%{_tl_exec_texhash}
254%{_tl_exec_mtxrun}
255%{_tl_exec_updmap}
256%{_tl_exec_fmtutil}
257exit 0
258
259
260%files -f filelist.full
261%defattr(-,root,root,-)
262
263%files -f filelist.doc doc
264%defattr(-,root,root,-)
265
266%changelog
267* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
268- TeX Live 2015/pretest
269- synced tlnet to 20150522 (TeX Live 2015/pretest)
270
271* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
272- TeX Live 2015/pretest
273- synced tlnet to 20150426 (TeX Live 2015/pretest)
274
275* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
276- synced tlnet to 20150401
277
278* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
279- synced tlnet to 20141028
280
281* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
282- synced tlnet to 20140706
283
284* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
285- upgraded to TeX Live 2014
286
287* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
288- synced tlnet to 20140406
289
290* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
291- synced tlnet to 20131218
292
293* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
294- synced tlnet to 20131101
295
296* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
297- synced tlnet to 20131002
298
299* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
300- synced tlnet to 20130919
301
302* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
303- upgraded to TeX Live 2013
304  - used tlnet archives
305  - synced tlnet to 20130823
306- added macros.texlive
307
308* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
309- updated to TeX Live 2012
310
311* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
312- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
313  - set external dependencies (texlive-collection-binextra,
314    texlive-collection-fontutils)
315
316* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
317- updated to TeX Live 2011
318- merged texlive-vtlpkg-2009-osx.patch from OSXWS
319- added %doc README (%files)
320
321* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
322- applied texlive-vtlpkg-2009-vine.patch
323  - remove arch dependent binaries
324- updated tlpdb2rpmspec.sh.in:
325  - improved tlpdb4a()
326  - make symlinks of core script utils (texlive-collection-binextra,
327    texlive-collection-context, texlive-collection-fontutils,
328    texlive-collection-langgreek, texlive-collection-langindic,
329    texlive-collection-latex, texlive-collection-latexextra,
330    texlive-collection-latexrecommended, texlive-collection-pictures,
331    texlive-collection-pstricks, texlive-collection-science)
332
333* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
334- updated tlpdb2rpmspec.sh.in:
335  - improved %post
336
337* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
338- updated tlpdb2rpmspec.sh.in:
339  - removed arch dependent binaries (texlive-collection-latexextra)
340  - improved updmap process in %post and %postun
341  - fixed perl path
342
343* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
344- initial build
Note: See TracBrowser for help on using the repository browser.