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

Revision 9576, 11.9 KB checked in by munepi, 9 years ago (diff)

synced tlnet to 20150522

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-2:
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: 2%{?_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=(
243scripts/context/stubs/unix/mtxrun
244scripts/ptex2pdf/ptex2pdf.lua
245scripts/texlive/fmtutil.pl
246scripts/texlive/texconfig-dialog.sh
247scripts/texlive/texconfig-sys.sh
248scripts/texlive/texconfig.sh
249scripts/texlive/texlinks.sh
250scripts/texlive/tlmgr.pl
251scripts/texlive/updmap.pl
252texconfig/tcfmgr
253web2c/fmtutil.cnf
254web2c/mktex.opt
255web2c/mktexdir
256web2c/mktexdir.opt
257web2c/mktexnam
258web2c/mktexnam.opt
259web2c/mktexupd
260web2c/texmf.cnf
261web2c/updmap-hdr.cfg
262web2c/updmap.cfg
263install-tl
264)
265if [ -d %{buildroot}%{_tl_texmfdist} ]; then
266pushd %{buildroot}%{_tl_texmfdist}
267%__rm -f ${x[@]} ||:
268popd
269fi
270
271## Files list
272find %{buildroot} -type f -or -type l | \
273    %__sed -e "s|%{buildroot}||g" > filelist.full
274
275find %{buildroot}%{_tl_texmfdist} -type d | \
276    %__sed -e "s|^%{buildroot}|%dir |" \
277           -e "s|$|/|"             >> filelist.full
278
279## subpackages
280grep "/texmf-dist/doc/" filelist.full > filelist.doc
281cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
282%__mv -f filelist.tmp filelist.full
283
284%clean
285%__rm -rf %{buildroot}
286
287%post
288%_tl_touch_run texhash
289%_tl_touch_run mtxrun
290
291exit 0
292
293
294%postun
295if [ "$1" = 0 ]; then
296    %_tl_touch_run texhash
297
298fi
299
300exit 0
301
302%posttrans
303%{_tl_exec_texhash}
304%{_tl_exec_mtxrun}
305%{_tl_exec_updmap}
306%{_tl_exec_fmtutil}
307exit 0
308
309
310%files -f filelist.full
311%defattr(-,root,root,-)
312
313%files -f filelist.doc doc
314%defattr(-,root,root,-)
315
316%changelog
317* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
318- TeX Live 2015/pretest
319- synced tlnet to 20150522 (TeX Live 2015/pretest)
320
321* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
322- TeX Live 2015/pretest
323- synced tlnet to 20150426 (TeX Live 2015/pretest)
324
325* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
326- synced tlnet to 20150401
327
328* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
329- synced tlnet to 20141028
330
331* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
332- synced tlnet to 20140706
333
334* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
335- upgraded to TeX Live 2014
336
337* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
338- synced tlnet to 20140406
339
340* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
341- synced tlnet to 20131218
342
343* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
344- synced tlnet to 20131101
345
346* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
347- synced tlnet to 20131002
348
349* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
350- synced tlnet to 20130919
351
352* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
353- upgraded to TeX Live 2013
354  - used tlnet archives
355  - synced tlnet to 20130823
356- added macros.texlive
357
358* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
359- updated to TeX Live 2012
360
361* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
362- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
363  - set external dependencies (texlive-collection-binextra,
364    texlive-collection-fontutils)
365
366* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
367- updated to TeX Live 2011
368- merged texlive-vtlpkg-2009-osx.patch from OSXWS
369- added %doc README (%files)
370
371* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
372- applied texlive-vtlpkg-2009-vine.patch
373  - remove arch dependent binaries
374- updated tlpdb2rpmspec.sh.in:
375  - improved tlpdb4a()
376  - make symlinks of core script utils (texlive-collection-binextra,
377    texlive-collection-context, texlive-collection-fontutils,
378    texlive-collection-langgreek, texlive-collection-langindic,
379    texlive-collection-latex, texlive-collection-latexextra,
380    texlive-collection-latexrecommended, texlive-collection-pictures,
381    texlive-collection-pstricks, texlive-collection-science)
382
383* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
384- updated tlpdb2rpmspec.sh.in:
385  - improved %post
386
387* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
388- updated tlpdb2rpmspec.sh.in:
389  - removed arch dependent binaries (texlive-collection-latexextra)
390  - improved updmap process in %post and %postun
391  - fixed perl path
392
393* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
394- initial build
Note: See TracBrowser for help on using the repository browser.