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

Revision 9529, 8.8 KB checked in by munepi, 9 years ago (diff)

TeX Live 2015/pretest

RevLine 
[1533]1## -*- coding: utf-8-unix -*-
[9529]2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-1:
[1974]3## tlpdb2rpmspec collection-plainextra
[1533]4
[5207]5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
[7770]9Summary: TeX Live: Plain TeX packages
10Summary(ja): TeX Live: Plain TeX packages
[1533]11Name: texlive-collection-plainextra
[9529]12Version: 2015
13Release: 1%{?_dist_release}
14License: Public Domain, Freely redistributable without restriction, LPPL, GPL+
[1533]15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
[9529]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: graphics-pln.doc.tar.xz
30Source12: graphics-pln.source.tar.xz
31Source13: graphics-pln.tar.xz
32Source14: hyplain.doc.tar.xz
33Source15: hyplain.tar.xz
34Source16: js-misc.doc.tar.xz
35Source17: js-misc.tar.xz
36Source18: mkpattern.doc.tar.xz
37Source19: mkpattern.tar.xz
38Source20: newsletr.doc.tar.xz
39Source21: newsletr.tar.xz
40Source22: pitex.doc.tar.xz
41Source23: pitex.tar.xz
42Source24: placeins-plain.tar.xz
43Source25: plipsum.doc.tar.xz
44Source26: plipsum.tar.xz
45Source27: plnfss.doc.tar.xz
46Source28: plnfss.tar.xz
47Source29: plstmary.doc.tar.xz
48Source30: plstmary.tar.xz
49Source31: present.doc.tar.xz
50Source32: present.tar.xz
51Source33: resumemac.doc.tar.xz
52Source34: resumemac.tar.xz
53Source35: texinfo.tar.xz
54Source36: timetable.tar.xz
55Source37: treetex.doc.tar.xz
56Source38: treetex.tar.xz
57Source39: varisize.doc.tar.xz
58Source40: varisize.tar.xz
59Source41: xii.doc.tar.xz
60Source42: xii.tar.xz
[7770]61
[1533]62Requires: texlive = %{version}
63Requires: texlive-collection-basic = %{version}
64
65Requires(post):         texlive = %{version}
66Requires(postun):       texlive = %{version}
67
68BuildArch:      noarch
69Buildroot:      %{_tmppath}/%{name}-%{version}-root
70
71Vendor:         Project Vine
72Distribution:   Vine Linux
73Packager:       munepi
74
75%description
76The TeX Live software distribution offers a complete TeX system for a
77variety of Unix, Macintosh, Windows and other platforms. It
78encompasses programs for editing, typesetting, previewing and printing
79of TeX documents in many different languages, and a large collection
80of TeX macros and font libraries.
81
82The distribution includes extensive general documentation about TeX,
83as well as the documentation for the included software packages.
84
[7770]85This package is a collection of Plain TeX packages:
[1533]86Add-on packages and macros that work with plain TeX.
87
88This package contains the following CTAN packages:
[9529]89epsf-dvipdfmx: Plain TeX file for using epsf.tex with (x)dvipdfmx.
[1533]90figflow: Flow text around a figure.
91fixpdfmag: Fix magnification in PDFTeX.
[8476]92font-change: Macros to change text and mathematics fonts in plain TeX.
[1533]93fontch: Changing fonts, sizes and encodings in Plain TeX.
[7148]94getoptk: Define macros with sophisticated options.
[5207]95graphics-pln: LaTeX-style graphics for Plain TeX users.
[1533]96hyplain: Basic support for multiple languages in Plain TeX.
[5207]97js-misc: Miscellaneous macros from Joachim Schrod.
[1533]98mkpattern: A utility for making hyphenation patterns.
99newsletr: Macros for making newsletters with Plain TeX.
[5207]100pitex: Documentation macros.
[1533]101placeins-plain: Insertions that keep their place.
[7770]102plipsum: 'Lorem ipsum' for Plain TeX developers.
[1533]103plnfss: Font selection for Plain TeX.
[7770]104plstmary: St. Mary's Road font support for plain TeX.
[5207]105present: Presentations with Plain TeX.
[1533]106resumemac: Plain TeX macros for resumes.
[7770]107texinfo: Texinfo documentation system.
[1533]108timetable: Generate timetables.
109treetex: Draw trees.
110varisize: Change font size in Plain TeX.
[7810]111xii: Christmas silliness.
[1533]112
113%description -l ja
114TeX Live ソフトウェアディストリビューションは、
115さまざまな Unix, Macintosh, Windows、および
116他のプラットホームに対して完全な TeX システムを提供します。
117多くの異なった言語を含む TeX ドキュメントの
118編集、組版、閲覧、印刷するためのプログラム、
119そして、TeX マクロやフォントライブラリの大きなコレクションを
120同梱しています。
121
122このディストリビューションは
123同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
124TeX に関するたくさんの一般的なドキュメントを含んでいます。
125
126このパッケージは以下のようなパッケージ集です。
[7770]127Plain TeX packages:
[1533]128Add-on packages and macros that work with plain TeX.
129
130このパッケージは以下の CTAN パッケージを含んでいます:
[9529]131epsf-dvipdfmx: Plain TeX file for using epsf.tex with (x)dvipdfmx.
[1533]132figflow: Flow text around a figure.
133fixpdfmag: Fix magnification in PDFTeX.
[8476]134font-change: Macros to change text and mathematics fonts in plain TeX.
[1533]135fontch: Changing fonts, sizes and encodings in Plain TeX.
[7148]136getoptk: Define macros with sophisticated options.
[5207]137graphics-pln: LaTeX-style graphics for Plain TeX users.
[1533]138hyplain: Basic support for multiple languages in Plain TeX.
[5207]139js-misc: Miscellaneous macros from Joachim Schrod.
[1533]140mkpattern: A utility for making hyphenation patterns.
141newsletr: Macros for making newsletters with Plain TeX.
[5207]142pitex: Documentation macros.
[1533]143placeins-plain: Insertions that keep their place.
[7770]144plipsum: 'Lorem ipsum' for Plain TeX developers.
[1533]145plnfss: Font selection for Plain TeX.
[7770]146plstmary: St. Mary's Road font support for plain TeX.
[5207]147present: Presentations with Plain TeX.
[1533]148resumemac: Plain TeX macros for resumes.
[7770]149texinfo: Texinfo documentation system.
[1533]150timetable: Generate timetables.
151treetex: Draw trees.
152varisize: Change font size in Plain TeX.
[7810]153xii: Christmas silliness.
[1533]154
155%package doc
156Summary: TeX Live: Documentation files of %{name}
157Group: Applications/Publishing
158Requires: %{name} = %{version}-%{release}
159
160%description doc
161This package contains documentation files of %{name}.
162
163%prep
[7770]164%setup -c -n %{name}-%{version}
165%__tar -xvf %{SOURCE1}
166%__tar -xvf %{SOURCE2}
167%__tar -xvf %{SOURCE3}
168%__tar -xvf %{SOURCE4}
169%__tar -xvf %{SOURCE5}
170%__tar -xvf %{SOURCE6}
171%__tar -xvf %{SOURCE7}
172%__tar -xvf %{SOURCE8}
173%__tar -xvf %{SOURCE9}
174%__tar -xvf %{SOURCE10}
175%__tar -xvf %{SOURCE11}
176%__tar -xvf %{SOURCE12}
177%__tar -xvf %{SOURCE13}
178%__tar -xvf %{SOURCE14}
179%__tar -xvf %{SOURCE15}
180%__tar -xvf %{SOURCE16}
181%__tar -xvf %{SOURCE17}
182%__tar -xvf %{SOURCE18}
183%__tar -xvf %{SOURCE19}
184%__tar -xvf %{SOURCE20}
185%__tar -xvf %{SOURCE21}
186%__tar -xvf %{SOURCE22}
187%__tar -xvf %{SOURCE23}
188%__tar -xvf %{SOURCE24}
189%__tar -xvf %{SOURCE25}
190%__tar -xvf %{SOURCE26}
191%__tar -xvf %{SOURCE27}
192%__tar -xvf %{SOURCE28}
193%__tar -xvf %{SOURCE29}
194%__tar -xvf %{SOURCE30}
195%__tar -xvf %{SOURCE31}
196%__tar -xvf %{SOURCE32}
197%__tar -xvf %{SOURCE33}
198%__tar -xvf %{SOURCE34}
199%__tar -xvf %{SOURCE35}
200%__tar -xvf %{SOURCE36}
201%__tar -xvf %{SOURCE37}
202%__tar -xvf %{SOURCE38}
[7810]203%__tar -xvf %{SOURCE39}
204%__tar -xvf %{SOURCE40}
[9529]205%__tar -xvf %{SOURCE41}
206%__tar -xvf %{SOURCE42}
[1533]207
208%build
209
210%install
211[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
212
[7770]213%__mkdir_p %{buildroot}%{_datadir}
[1533]214
[7770]215## move texmf-dist to /usr/share/texmf-dist
216[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
[1533]217
[7770]218## move texmf to /usr/share/texmf
219[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
[1533]220
[7770]221## move tlpkg to /usr/share/tlpkg
222[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
223
224## move all non-arch binaries to /usr/bin
225[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
226
227## move others into /usr/share/texmf-dist
228%__mkdir_p %{buildroot}%{_tl_texmfdist}
229%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
230%__rm -rf * ||:
231
232
233## remove duplicated files between texlive and texlive-collection-*
234## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
235## remove unpacked files
236x=(
[9529]237scripts/texlive/texconfig-dialog.sh
238scripts/texlive/texconfig-sys.sh
239scripts/texlive/texconfig.sh
240scripts/texlive/texlinks.sh
241scripts/texlive/tlmgr.pl
242texconfig/tcfmgr
243web2c/mktex.opt
244web2c/mktexdir
245web2c/mktexdir.opt
246web2c/mktexnam
247web2c/mktexnam.opt
248web2c/mktexupd
249web2c/texmf.cnf
250web2c/updmap-hdr.cfg
251web2c/updmap.cfg
[7770]252)
253if [ -d %{buildroot}%{_tl_texmfdist} ]; then
254pushd %{buildroot}%{_tl_texmfdist}
255%__rm -f ${x[@]} ||:
[5207]256popd
[7770]257fi
258
[1533]259## Files list
260find %{buildroot} -type f -or -type l | \
261    %__sed -e "s|%{buildroot}||g" > filelist.full
262
[7770]263find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]264    %__sed -e "s|^%{buildroot}|%dir |" \
265           -e "s|$|/|"             >> filelist.full
266
267## subpackages
268grep "/texmf-dist/doc/" filelist.full > filelist.doc
269cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
270%__mv -f filelist.tmp filelist.full
271
272%clean
273%__rm -rf %{buildroot}
274
275%post
[7770]276%_tl_touch_run texhash
277%_tl_touch_run mtxrun
[1533]278
279exit 0
280
281
282%postun
283if [ "$1" = 0 ]; then
[7770]284    %_tl_touch_run texhash
[1533]285
286fi
287
288exit 0
289
[7148]290%posttrans
[7770]291%{_tl_exec_texhash}
292%{_tl_exec_mtxrun}
293%{_tl_exec_updmap}
294%{_tl_exec_fmtutil}
[7148]295exit 0
296
297
[1533]298%files -f filelist.full
[5207]299%defattr(-,root,root,-)
[1533]300
301%files -f filelist.doc doc
[5207]302%defattr(-,root,root,-)
[1533]303
304%changelog
[9034]305
Note: See TracBrowser for help on using the repository browser.