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

Revision 9034, 8.6 KB checked in by munepi, 10 years ago (diff)

synced tlnet to 20141028

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