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

Revision 7770, 10.0 KB checked in by munepi, 11 years ago (diff)

dropped all obsolete texlive-collection packages of TeX Live 2012

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