source: projects/specs/trunk/t/texlive-collection-langkorean/texlive-collection-langkorean-vl.spec @ 10360

Revision 10360, 11.8 KB checked in by munepi, 8 years ago (diff)

updated to TeX Live 2016

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