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

Revision 9955, 13.9 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-plainextra
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: Plain TeX packages
10Summary(ja): TeX Live: Plain TeX packages
11Name: texlive-collection-plainextra
12Version: 2015
13Release: 4%{?_dist_release}
14License: Public Domain, Freely redistributable without restriction, LPPL, GPLv3+, GPL+
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: epsf-dvipdfmx.doc.tar.xz
19Source1: epsf-dvipdfmx.tar.xz
20Source2: figflow.doc.tar.xz
21Source3: figflow.tar.xz
22Source4: fixpdfmag.tar.xz
23Source5: font-change.doc.tar.xz
24Source6: font-change.tar.xz
25Source7: fontch.doc.tar.xz
26Source8: fontch.tar.xz
27Source9: getoptk.doc.tar.xz
28Source10: getoptk.tar.xz
29Source11: gfnotation.doc.tar.xz
30Source12: gfnotation.tar.xz
31Source13: graphics-pln.doc.tar.xz
32Source14: graphics-pln.source.tar.xz
33Source15: graphics-pln.tar.xz
34Source16: hyplain.doc.tar.xz
35Source17: hyplain.tar.xz
36Source18: js-misc.doc.tar.xz
37Source19: js-misc.tar.xz
38Source20: mkpattern.doc.tar.xz
39Source21: mkpattern.tar.xz
40Source22: newsletr.doc.tar.xz
41Source23: newsletr.tar.xz
42Source24: pitex.doc.tar.xz
43Source25: pitex.tar.xz
44Source26: placeins-plain.tar.xz
45Source27: plipsum.doc.tar.xz
46Source28: plipsum.tar.xz
47Source29: plnfss.doc.tar.xz
48Source30: plnfss.tar.xz
49Source31: plstmary.doc.tar.xz
50Source32: plstmary.tar.xz
51Source33: present.doc.tar.xz
52Source34: present.tar.xz
53Source35: resumemac.doc.tar.xz
54Source36: resumemac.tar.xz
55Source37: texinfo.tar.xz
56Source38: timetable.tar.xz
57Source39: treetex.doc.tar.xz
58Source40: treetex.tar.xz
59Source41: varisize.doc.tar.xz
60Source42: varisize.tar.xz
61Source43: xii.doc.tar.xz
62Source44: xii.tar.xz
63
64Requires: texlive = %{version}
65Requires: texlive-collection-basic = %{version}
66
67Requires(post):         texlive = %{version}
68Requires(postun):       texlive = %{version}
69
70BuildArch:      noarch
71Buildroot:      %{_tmppath}/%{name}-%{version}-root
72
73Vendor:         Project Vine
74Distribution:   Vine Linux
75Packager:       munepi
76
77%description
78The TeX Live software distribution offers a complete TeX system for a
79variety of Unix, Macintosh, Windows and other platforms. It
80encompasses programs for editing, typesetting, previewing and printing
81of TeX documents in many different languages, and a large collection
82of TeX macros and font libraries.
83
84The distribution includes extensive general documentation about TeX,
85as well as the documentation for the included software packages.
86
87This package is a collection of Plain TeX packages:
88Add-on packages and macros that work with plain TeX.
89
90This package contains the following CTAN packages:
91epsf-dvipdfmx: Plain TeX file for using epsf.tex with (x)dvipdfmx.
92figflow: Flow text around a figure.
93fixpdfmag: Fix magnification in PDFTeX.
94font-change: Macros to change text and mathematics fonts in plain TeX
95fontch: Changing fonts, sizes and encodings in Plain TeX.
96getoptk: Define macros with sophisticated options.
97gfnotation: Typeset Gottlob Frege's notation in plain TeX
98graphics-pln: LaTeX-style graphics for Plain TeX users.
99hyplain: Basic support for multiple languages in Plain TeX.
100js-misc: Miscellaneous macros from Joachim Schrod.
101mkpattern: A utility for making hyphenation patterns.
102newsletr: Macros for making newsletters with Plain TeX.
103pitex: Documentation macros.
104placeins-plain: Insertions that keep their place.
105plipsum: 'Lorem ipsum' for Plain TeX developers.
106plnfss: Font selection for Plain TeX.
107plstmary: St. Mary's Road font support for plain TeX.
108present: Presentations with Plain TeX.
109resumemac: Plain TeX macros for resumes.
110texinfo: Texinfo documentation system
111timetable: Generate timetables.
112treetex: Draw trees.
113varisize: Change font size in Plain TeX.
114xii: Christmas silliness.
115
116%description -l ja
117TeX Live ソフトウェアディストリビューションは、
118さまざまな Unix, Macintosh, Windows、および
119他のプラットホームに対して完全な TeX システムを提供します。
120多くの異なった言語を含む TeX ドキュメントの
121編集、組版、閲覧、印刷するためのプログラム、
122そして、TeX マクロやフォントライブラリの大きなコレクションを
123同梱しています。
124
125このディストリビューションは
126同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
127TeX に関するたくさんの一般的なドキュメントを含んでいます。
128
129このパッケージは以下のようなパッケージ集です。
130Plain TeX packages:
131Add-on packages and macros that work with plain TeX.
132
133このパッケージは以下の CTAN パッケージを含んでいます:
134epsf-dvipdfmx: Plain TeX file for using epsf.tex with (x)dvipdfmx.
135figflow: Flow text around a figure.
136fixpdfmag: Fix magnification in PDFTeX.
137font-change: Macros to change text and mathematics fonts in plain TeX
138fontch: Changing fonts, sizes and encodings in Plain TeX.
139getoptk: Define macros with sophisticated options.
140gfnotation: Typeset Gottlob Frege's notation in plain TeX
141graphics-pln: LaTeX-style graphics for Plain TeX users.
142hyplain: Basic support for multiple languages in Plain TeX.
143js-misc: Miscellaneous macros from Joachim Schrod.
144mkpattern: A utility for making hyphenation patterns.
145newsletr: Macros for making newsletters with Plain TeX.
146pitex: Documentation macros.
147placeins-plain: Insertions that keep their place.
148plipsum: 'Lorem ipsum' for Plain TeX developers.
149plnfss: Font selection for Plain TeX.
150plstmary: St. Mary's Road font support for plain TeX.
151present: Presentations with Plain TeX.
152resumemac: Plain TeX macros for resumes.
153texinfo: Texinfo documentation system
154timetable: Generate timetables.
155treetex: Draw trees.
156varisize: Change font size in Plain TeX.
157xii: Christmas silliness.
158
159%package doc
160Summary: TeX Live: Documentation files of %{name}
161Group: Applications/Publishing
162Requires: %{name} = %{version}-%{release}
163
164%description doc
165This package contains documentation files of %{name}.
166
167%prep
168%setup -c -n %{name}-%{version}
169%__tar -xvf %{SOURCE1}
170%__tar -xvf %{SOURCE2}
171%__tar -xvf %{SOURCE3}
172%__tar -xvf %{SOURCE4}
173%__tar -xvf %{SOURCE5}
174%__tar -xvf %{SOURCE6}
175%__tar -xvf %{SOURCE7}
176%__tar -xvf %{SOURCE8}
177%__tar -xvf %{SOURCE9}
178%__tar -xvf %{SOURCE10}
179%__tar -xvf %{SOURCE11}
180%__tar -xvf %{SOURCE12}
181%__tar -xvf %{SOURCE13}
182%__tar -xvf %{SOURCE14}
183%__tar -xvf %{SOURCE15}
184%__tar -xvf %{SOURCE16}
185%__tar -xvf %{SOURCE17}
186%__tar -xvf %{SOURCE18}
187%__tar -xvf %{SOURCE19}
188%__tar -xvf %{SOURCE20}
189%__tar -xvf %{SOURCE21}
190%__tar -xvf %{SOURCE22}
191%__tar -xvf %{SOURCE23}
192%__tar -xvf %{SOURCE24}
193%__tar -xvf %{SOURCE25}
194%__tar -xvf %{SOURCE26}
195%__tar -xvf %{SOURCE27}
196%__tar -xvf %{SOURCE28}
197%__tar -xvf %{SOURCE29}
198%__tar -xvf %{SOURCE30}
199%__tar -xvf %{SOURCE31}
200%__tar -xvf %{SOURCE32}
201%__tar -xvf %{SOURCE33}
202%__tar -xvf %{SOURCE34}
203%__tar -xvf %{SOURCE35}
204%__tar -xvf %{SOURCE36}
205%__tar -xvf %{SOURCE37}
206%__tar -xvf %{SOURCE38}
207%__tar -xvf %{SOURCE39}
208%__tar -xvf %{SOURCE40}
209%__tar -xvf %{SOURCE41}
210%__tar -xvf %{SOURCE42}
211%__tar -xvf %{SOURCE43}
212%__tar -xvf %{SOURCE44}
213
214%build
215
216%install
217[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
218
219%__mkdir_p %{buildroot}%{_datadir}
220
221## move texmf-dist to /usr/share/texmf-dist
222[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
223
224## move texmf to /usr/share/texmf
225[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
226
227## move tlpkg to /usr/share/tlpkg
228[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
229
230## move all non-arch binaries to /usr/bin
231[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
232
233## move others into /usr/share/texmf-dist
234%__mkdir_p %{buildroot}%{_tl_texmfdist}
235%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
236%__rm -rf * ||:
237
238
239## remove duplicated files between texlive and texlive-collection-*
240## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
241## remove unpacked files
242x=(
243dvipdfmx/dvipdfmx.cfg
244scripts/context/stubs/unix/mtxrun
245scripts/ptex2pdf/ptex2pdf.lua
246scripts/texlive/fmtutil.pl
247scripts/texlive/texconfig-dialog.sh
248scripts/texlive/texconfig-sys.sh
249scripts/texlive/texconfig.sh
250scripts/texlive/texlinks.sh
251scripts/texlive/tlmgr.pl
252scripts/texlive/updmap.pl
253texconfig/tcfmgr
254web2c/fmtutil.cnf
255web2c/mktex.opt
256web2c/mktexdir
257web2c/mktexdir.opt
258web2c/mktexnam
259web2c/mktexnam.opt
260web2c/mktexupd
261web2c/texmf.cnf
262web2c/updmap-hdr.cfg
263web2c/updmap.cfg
264install-tl
265#
266scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
267scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
268scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
269scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
270scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
271scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
272scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
273scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
274scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
275scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
276scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
277scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
278scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
279scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
280scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
281scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
282scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
283scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
284scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
285scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
286scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
287scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
288)
289if [ -d %{buildroot}%{_tl_texmfdist} ]; then
290pushd %{buildroot}%{_tl_texmfdist}
291%__rm -f ${x[@]} ||:
292popd
293fi
294
295## Files list
296find %{buildroot} -type f -or -type l | \
297    %__sed -e "s|%{buildroot}||g" > filelist.full
298
299find %{buildroot}%{_tl_texmfdist} -type d | \
300    %__sed -e "s|^%{buildroot}|%dir |" \
301           -e "s|$|/|"             >> filelist.full
302
303## subpackages
304grep "/texmf-dist/doc/" filelist.full > filelist.doc
305cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
306%__mv -f filelist.tmp filelist.full
307
308%clean
309%__rm -rf %{buildroot}
310
311%post
312%_tl_touch_run texhash
313%_tl_touch_run mtxrun
314
315exit 0
316
317
318%postun
319if [ "$1" = 0 ]; then
320    %_tl_touch_run texhash
321
322fi
323
324exit 0
325
326%posttrans
327%{_tl_exec_texhash}
328%{_tl_exec_mtxrun}
329%{_tl_exec_updmap}
330%{_tl_exec_fmtutil}
331exit 0
332
333
334%files -f filelist.full
335%defattr(-,root,root,-)
336
337%files -f filelist.doc doc
338%defattr(-,root,root,-)
339
340%changelog
341* Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
342- remove duplicated files from texlive-collection-*
343- synced tlnet to 20160113 (TeX Live 2015)
344
345* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
346- TeX Live 2016/dev
347- synced tlnet to 20160110 (TeX Live 2016/dev)
348
349* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
350- TeX Live 2015/pretest
351- synced tlnet to 20150522 (TeX Live 2015/pretest)
352
353* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
354- TeX Live 2015/pretest
355- synced tlnet to 20150426 (TeX Live 2015/pretest)
356
357* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
358- synced tlnet to 20150401
359
360* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
361- synced tlnet to 20141028
362
363* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
364- synced tlnet to 20140706
365
366* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
367- upgraded to TeX Live 2014
368
369* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
370- synced tlnet to 20140406
371
372* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
373- synced tlnet to 20131218
374
375* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
376- synced tlnet to 20131101
377
378* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
379- synced tlnet to 20131002
380
381* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
382- synced tlnet to 20130919
383
384* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
385- upgraded to TeX Live 2013
386  - used tlnet archives
387  - synced tlnet to 20130823
388- added macros.texlive
389
390* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
391- updated to TeX Live 2012
392
393* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
394- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
395  - set external dependencies (texlive-collection-binextra,
396    texlive-collection-fontutils)
397
398* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
399- updated to TeX Live 2011
400- merged texlive-vtlpkg-2009-osx.patch from OSXWS
401- added %doc README (%files)
402
403* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
404- applied texlive-vtlpkg-2009-vine.patch
405  - remove arch dependent binaries
406- updated tlpdb2rpmspec.sh.in:
407  - improved tlpdb4a()
408  - make symlinks of core script utils (texlive-collection-binextra,
409    texlive-collection-context, texlive-collection-fontutils,
410    texlive-collection-langgreek, texlive-collection-langindic,
411    texlive-collection-latex, texlive-collection-latexextra,
412    texlive-collection-latexrecommended, texlive-collection-pictures,
413    texlive-collection-pstricks, texlive-collection-science)
414
415* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
416- updated tlpdb2rpmspec.sh.in:
417  - improved %post
418
419* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
420- updated tlpdb2rpmspec.sh.in:
421  - removed arch dependent binaries (texlive-collection-latexextra)
422  - improved updmap process in %post and %postun
423  - fixed perl path
424
425* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
426- initial build
Note: See TracBrowser for help on using the repository browser.