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

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

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

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