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

Revision 11118, 12.4 KB checked in by munepi, 7 years ago (diff)

TeX Live 2017

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