1 | ## -*- coding: utf-8-unix -*- |
---|
2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: |
---|
3 | ## tlpdb2rpmspec collection-latex3 |
---|
4 | |
---|
5 | %bcond_with firstbuild |
---|
6 | |
---|
7 | %define tex_destdir %{_datadir} |
---|
8 | %define texmf %{tex_destdir}/texmf |
---|
9 | %define texlive_src %{tex_destdir}/texlive-sources |
---|
10 | %define build_tex_destdir %{buildroot}%{tex_destdir} |
---|
11 | %define build_texmf %{buildroot}%{texmf} |
---|
12 | |
---|
13 | %define exec_mktexlsr [ -x %{_bindir}/texconfig-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/texconfig-sys rehash |
---|
14 | %define exec_texhash [ -x %{_bindir}/texhash ] && PATH=%{_bindir}:$PATH %{_bindir}/texhash |
---|
15 | %define exec_updmap [ -x %{_bindir}/updmap-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/updmap-sys --nostop |
---|
16 | %define exec_fmtutil [ -x %{_bindir}/fmtutil-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/fmtutil-sys --all >/dev/null 2>&1 |
---|
17 | %define exec_upddeffont [ -x %{_sbindir}/update-defaultfont ] && %{_sbindir}/update-defaultfont 2> /dev/null |
---|
18 | %define vartexfonts %{_var}/lib/texmf |
---|
19 | |
---|
20 | %define __find_provides %{nil} |
---|
21 | %define __find_requires %{nil} |
---|
22 | %define __perl_provides %{nil} |
---|
23 | %define __perl_requires %{nil} |
---|
24 | |
---|
25 | Autoreq: 0 |
---|
26 | |
---|
27 | Summary: TeX Live: LaTeX3 packages |
---|
28 | Summary(ja): TeX Live: LaTeX3 packages |
---|
29 | Name: texlive-collection-latex3 |
---|
30 | Version: 2009 |
---|
31 | Release: 3%{?_dist_release} |
---|
32 | License: LPPL |
---|
33 | Group: Applications/Publishing |
---|
34 | URL:http://www.tug.org/texlive/ |
---|
35 | |
---|
36 | Requires: texlive = %{version} |
---|
37 | Requires: texlive-collection-latex = %{version} |
---|
38 | |
---|
39 | Requires(post): texlive = %{version} |
---|
40 | Requires(postun): texlive = %{version} |
---|
41 | BuildRequires: texlive-sources = %{version} |
---|
42 | |
---|
43 | BuildArch: noarch |
---|
44 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
45 | |
---|
46 | Vendor: Project Vine |
---|
47 | Distribution: Vine Linux |
---|
48 | Packager: munepi |
---|
49 | |
---|
50 | %description |
---|
51 | The TeX Live software distribution offers a complete TeX system for a |
---|
52 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
53 | encompasses programs for editing, typesetting, previewing and printing |
---|
54 | of TeX documents in many different languages, and a large collection |
---|
55 | of TeX macros and font libraries. |
---|
56 | |
---|
57 | The distribution includes extensive general documentation about TeX, |
---|
58 | as well as the documentation for the included software packages. |
---|
59 | |
---|
60 | This package is a collection of LaTeX3 packages: |
---|
61 | |
---|
62 | |
---|
63 | This package contains the following CTAN packages: |
---|
64 | expl3: Packages showing a proposed LaTeX3 programming convention. |
---|
65 | keys3: |
---|
66 | mh: The MH bundle |
---|
67 | xpackages: High-level LaTeX3 concepts. |
---|
68 | |
---|
69 | %description -l ja |
---|
70 | TeX Live ソフトウェアディストリビューションは、 |
---|
71 | さまざまな Unix, Macintosh, Windows、および |
---|
72 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
73 | 多くの異なった言語を含む TeX ドキュメントの |
---|
74 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
75 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
76 | 同梱しています。 |
---|
77 | |
---|
78 | このディストリビューションは |
---|
79 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
80 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
81 | |
---|
82 | このパッケージは以下のようなパッケージ集です。 |
---|
83 | LaTeX3 packages: |
---|
84 | |
---|
85 | |
---|
86 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
87 | expl3: Packages showing a proposed LaTeX3 programming convention. |
---|
88 | keys3: |
---|
89 | mh: The MH bundle |
---|
90 | xpackages: High-level LaTeX3 concepts. |
---|
91 | |
---|
92 | %package doc |
---|
93 | Summary: TeX Live: Documentation files of %{name} |
---|
94 | Group: Applications/Publishing |
---|
95 | Requires: %{name} = %{version}-%{release} |
---|
96 | |
---|
97 | %description doc |
---|
98 | This package contains documentation files of %{name}. |
---|
99 | |
---|
100 | %prep |
---|
101 | |
---|
102 | %build |
---|
103 | |
---|
104 | %install |
---|
105 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
106 | |
---|
107 | PREF=%{buildroot}%{tex_destdir} |
---|
108 | |
---|
109 | manifest=( |
---|
110 | texmf-dist/doc/latex/expl3/README |
---|
111 | texmf-dist/doc/latex/expl3/expl3.pdf |
---|
112 | texmf-dist/doc/latex/expl3/source3.pdf |
---|
113 | texmf-dist/source/latex/expl3/expl3.dtx |
---|
114 | texmf-dist/source/latex/expl3/l3.ins |
---|
115 | texmf-dist/source/latex/expl3/l3alloc.dtx |
---|
116 | texmf-dist/source/latex/expl3/l3basics.dtx |
---|
117 | texmf-dist/source/latex/expl3/l3box.dtx |
---|
118 | texmf-dist/source/latex/expl3/l3calc.dtx |
---|
119 | texmf-dist/source/latex/expl3/l3chk.dtx |
---|
120 | texmf-dist/source/latex/expl3/l3clist.dtx |
---|
121 | texmf-dist/source/latex/expl3/l3doc.dtx |
---|
122 | texmf-dist/source/latex/expl3/l3expan.dtx |
---|
123 | texmf-dist/source/latex/expl3/l3file.dtx |
---|
124 | texmf-dist/source/latex/expl3/l3final.dtx |
---|
125 | texmf-dist/source/latex/expl3/l3format.ins |
---|
126 | texmf-dist/source/latex/expl3/l3int.dtx |
---|
127 | texmf-dist/source/latex/expl3/l3intexpr.dtx |
---|
128 | texmf-dist/source/latex/expl3/l3io.dtx |
---|
129 | texmf-dist/source/latex/expl3/l3keys.dtx |
---|
130 | texmf-dist/source/latex/expl3/l3keyval.dtx |
---|
131 | texmf-dist/source/latex/expl3/l3msg.dtx |
---|
132 | texmf-dist/source/latex/expl3/l3names.dtx |
---|
133 | texmf-dist/source/latex/expl3/l3num.dtx |
---|
134 | texmf-dist/source/latex/expl3/l3precom.dtx |
---|
135 | texmf-dist/source/latex/expl3/l3prg.dtx |
---|
136 | texmf-dist/source/latex/expl3/l3prop.dtx |
---|
137 | texmf-dist/source/latex/expl3/l3quark.dtx |
---|
138 | texmf-dist/source/latex/expl3/l3seq.dtx |
---|
139 | texmf-dist/source/latex/expl3/l3skip.dtx |
---|
140 | texmf-dist/source/latex/expl3/l3tl.dtx |
---|
141 | texmf-dist/source/latex/expl3/l3token.dtx |
---|
142 | texmf-dist/source/latex/expl3/l3toks.dtx |
---|
143 | texmf-dist/source/latex/expl3/l3vers.dtx |
---|
144 | texmf-dist/source/latex/expl3/l3xref.dtx |
---|
145 | texmf-dist/source/latex/expl3/source3.tex |
---|
146 | texmf-dist/makeindex/expl3/l3doc.ist |
---|
147 | texmf-dist/tex/latex/expl3/expl3.sty |
---|
148 | texmf-dist/tex/latex/expl3/l3basics.sty |
---|
149 | texmf-dist/tex/latex/expl3/l3box.sty |
---|
150 | texmf-dist/tex/latex/expl3/l3calc.sty |
---|
151 | texmf-dist/tex/latex/expl3/l3chk.sty |
---|
152 | texmf-dist/tex/latex/expl3/l3clist.sty |
---|
153 | texmf-dist/tex/latex/expl3/l3doc.cls |
---|
154 | texmf-dist/tex/latex/expl3/l3expan.sty |
---|
155 | texmf-dist/tex/latex/expl3/l3file.sty |
---|
156 | texmf-dist/tex/latex/expl3/l3int.sty |
---|
157 | texmf-dist/tex/latex/expl3/l3intexpr.sty |
---|
158 | texmf-dist/tex/latex/expl3/l3io.sty |
---|
159 | texmf-dist/tex/latex/expl3/l3keys.sty |
---|
160 | texmf-dist/tex/latex/expl3/l3keyval.sty |
---|
161 | texmf-dist/tex/latex/expl3/l3msg.sty |
---|
162 | texmf-dist/tex/latex/expl3/l3names.sty |
---|
163 | texmf-dist/tex/latex/expl3/l3num.sty |
---|
164 | texmf-dist/tex/latex/expl3/l3precom.sty |
---|
165 | texmf-dist/tex/latex/expl3/l3prg.sty |
---|
166 | texmf-dist/tex/latex/expl3/l3prop.sty |
---|
167 | texmf-dist/tex/latex/expl3/l3quark.sty |
---|
168 | texmf-dist/tex/latex/expl3/l3seq.sty |
---|
169 | texmf-dist/tex/latex/expl3/l3skip.sty |
---|
170 | texmf-dist/tex/latex/expl3/l3tl.sty |
---|
171 | texmf-dist/tex/latex/expl3/l3token.sty |
---|
172 | texmf-dist/tex/latex/expl3/l3toks.sty |
---|
173 | texmf-dist/tex/latex/expl3/l3xref.sty |
---|
174 | texmf-dist/doc/latex/keys3/README |
---|
175 | texmf-dist/doc/latex/keys3/keys3-test.tex |
---|
176 | texmf-dist/doc/latex/keys3/keys3.pdf |
---|
177 | texmf-dist/doc/latex/keys3/keys3opts2.pdf |
---|
178 | texmf-dist/source/latex/keys3/keys3.dtx |
---|
179 | texmf-dist/source/latex/keys3/keys3.ins |
---|
180 | texmf-dist/source/latex/keys3/keys3opts2.dtx |
---|
181 | texmf-dist/source/latex/keys3/keys3opts2.ins |
---|
182 | texmf-dist/tex/latex/keys3/keys3.sty |
---|
183 | texmf-dist/tex/latex/keys3/keys3opts2.sty |
---|
184 | texmf-dist/doc/latex/mh/README |
---|
185 | texmf-dist/doc/latex/mh/breqn-technotes.pdf |
---|
186 | texmf-dist/doc/latex/mh/breqn.pdf |
---|
187 | texmf-dist/doc/latex/mh/empheq.pdf |
---|
188 | texmf-dist/doc/latex/mh/flexisym.pdf |
---|
189 | texmf-dist/doc/latex/mh/mathstyle.pdf |
---|
190 | texmf-dist/doc/latex/mh/mathtools.pdf |
---|
191 | texmf-dist/doc/latex/mh/mhsetup.pdf |
---|
192 | texmf-dist/doc/latex/mh/xfrac.pdf |
---|
193 | texmf-dist/source/latex/mh/breqn-technotes.tex |
---|
194 | texmf-dist/source/latex/mh/breqn.dtx |
---|
195 | texmf-dist/source/latex/mh/empheq.dtx |
---|
196 | texmf-dist/source/latex/mh/flexisym.dtx |
---|
197 | texmf-dist/source/latex/mh/mathstyle.dtx |
---|
198 | texmf-dist/source/latex/mh/mathtools.dtx |
---|
199 | texmf-dist/source/latex/mh/mhsetup.dtx |
---|
200 | texmf-dist/source/latex/mh/xfrac.dtx |
---|
201 | texmf-dist/tex/latex/mh/breqn.sty |
---|
202 | texmf-dist/tex/latex/mh/cmbase.sym |
---|
203 | texmf-dist/tex/latex/mh/empheq.sty |
---|
204 | texmf-dist/tex/latex/mh/flexisym.sty |
---|
205 | texmf-dist/tex/latex/mh/mathpazo.sym |
---|
206 | texmf-dist/tex/latex/mh/mathptmx.sym |
---|
207 | texmf-dist/tex/latex/mh/mathstyle.sty |
---|
208 | texmf-dist/tex/latex/mh/mathtools.sty |
---|
209 | texmf-dist/tex/latex/mh/mhsetup.sty |
---|
210 | texmf-dist/tex/latex/mh/msabm.sym |
---|
211 | texmf-dist/tex/latex/mh/xfrac.sty |
---|
212 | texmf-dist/doc/latex/xpackages/README |
---|
213 | texmf-dist/doc/latex/xpackages/xbase/ldcsetup.pdf |
---|
214 | texmf-dist/doc/latex/xpackages/xbase/template.pdf |
---|
215 | texmf-dist/doc/latex/xpackages/xbase/xparse.pdf |
---|
216 | texmf-dist/doc/latex/xpackages/xtras/l3keys2e.pdf |
---|
217 | texmf-dist/source/latex/xpackages/xbase/ldcsetup.dtx |
---|
218 | texmf-dist/source/latex/xpackages/xbase/template-test.tex |
---|
219 | texmf-dist/source/latex/xpackages/xbase/template-test2.tex |
---|
220 | texmf-dist/source/latex/xpackages/xbase/template.dtx |
---|
221 | texmf-dist/source/latex/xpackages/xbase/tprestrict-test.tex |
---|
222 | texmf-dist/source/latex/xpackages/xbase/xbase.ins |
---|
223 | texmf-dist/source/latex/xpackages/xbase/xparse-test.tex |
---|
224 | texmf-dist/source/latex/xpackages/xbase/xparse.dtx |
---|
225 | texmf-dist/source/latex/xpackages/xtras/l3keys2e-demo.tex |
---|
226 | texmf-dist/source/latex/xpackages/xtras/l3keys2e.dtx |
---|
227 | texmf-dist/source/latex/xpackages/xtras/l3keys2e.ins |
---|
228 | texmf-dist/tex/latex/xpackages/xbase/ldcsetup.sty |
---|
229 | texmf-dist/tex/latex/xpackages/xbase/template.sty |
---|
230 | texmf-dist/tex/latex/xpackages/xbase/xparse.sty |
---|
231 | texmf-dist/tex/latex/xpackages/xtras/l3keys2e.sty |
---|
232 | ) |
---|
233 | |
---|
234 | %__mkdir_p ${PREF}/texmf-dist |
---|
235 | for i in "${manifest[@]}"; do |
---|
236 | %__install -D %{texlive_src}/$i ${PREF}/$i |
---|
237 | done |
---|
238 | |
---|
239 | ## info |
---|
240 | %__rm -f %{buildroot}%{_infodir}/dir |
---|
241 | %__gzip -9nf %{buildroot}%{_infodir}/*info* ||: |
---|
242 | |
---|
243 | ## man |
---|
244 | ## man t1* files are provided by t1utils |
---|
245 | for i in t1ascii t1asm t1binary t1disasm t1mac t1unmac; do |
---|
246 | %__rm %{buildroot}%{_mandir}/man*/${i}.* ||: |
---|
247 | done |
---|
248 | |
---|
249 | ## man some files are provided by psutils |
---|
250 | for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps getafm includeres psbook psmerge psnup psresize psselect pstops; do |
---|
251 | %__rm %{buildroot}%{_mandir}/man*/${i}.* ||: |
---|
252 | done |
---|
253 | |
---|
254 | ## fix perl path |
---|
255 | for i in source/metapost/expressg/expressg.dtx \ |
---|
256 | doc/metapost/expressg/n2mpsprl.prl \ |
---|
257 | doc/latex/songbook/contrib/crd2sb/crd2sb; do |
---|
258 | [ -f %{build_texmf}-dist/${i} ] && \ |
---|
259 | %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i} |
---|
260 | done |
---|
261 | |
---|
262 | ## remove asymptote directries, which provides asymptote package |
---|
263 | find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf |
---|
264 | # find %{buildroot} -name "Makefile" | xargs %__rm -f |
---|
265 | |
---|
266 | # ## remove xindy |
---|
267 | # find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf |
---|
268 | |
---|
269 | # ## remove tex4ht |
---|
270 | # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf |
---|
271 | |
---|
272 | ## remove arch dependent binaries |
---|
273 | %__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386 |
---|
274 | |
---|
275 | ## remove unpackaging files |
---|
276 | find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f |
---|
277 | find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f |
---|
278 | |
---|
279 | ## Files list |
---|
280 | find %{buildroot} -type f -or -type l | \ |
---|
281 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
282 | |
---|
283 | find %{buildroot}%{texmf}-dist -type d | \ |
---|
284 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
285 | -e "s|$|/|" >> filelist.full |
---|
286 | |
---|
287 | ## subpackages |
---|
288 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
289 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
290 | %__mv -f filelist.tmp filelist.full |
---|
291 | |
---|
292 | %clean |
---|
293 | %__rm -rf %{buildroot} |
---|
294 | |
---|
295 | %post |
---|
296 | %{exec_texhash} |
---|
297 | |
---|
298 | exit 0 |
---|
299 | |
---|
300 | |
---|
301 | %postun |
---|
302 | if [ "$1" = 0 ]; then |
---|
303 | %{exec_texhash} |
---|
304 | |
---|
305 | fi |
---|
306 | |
---|
307 | exit 0 |
---|
308 | |
---|
309 | %files -f filelist.full |
---|
310 | %defattr(-,root,root) |
---|
311 | |
---|
312 | %files -f filelist.doc doc |
---|
313 | %defattr(-,root,root) |
---|
314 | |
---|
315 | %changelog |
---|
316 | * Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3 |
---|
317 | - generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-latex3 |
---|
318 | - improved %%post |
---|
319 | |
---|
320 | * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2 |
---|
321 | - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-latex3 |
---|
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-latex3 |
---|