1 | ## -*- coding: utf-8-unix -*- |
---|
2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: |
---|
3 | ## tlpdb2rpmspec collection-formatsextra |
---|
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: Extra formats |
---|
28 | Summary(ja): TeX Live: Extra formats |
---|
29 | Name: texlive-collection-formatsextra |
---|
30 | Version: 2009 |
---|
31 | Release: 3%{?_dist_release} |
---|
32 | License: GPL+, LPPL, Freely redistributable without restriction, Knuth, No Info, Public Domain |
---|
33 | Group: Applications/Publishing |
---|
34 | URL:http://www.tug.org/texlive/ |
---|
35 | |
---|
36 | Requires: texlive = %{version} |
---|
37 | Requires: texlive-collection-basic = %{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 Extra formats: |
---|
61 | A collection of TeX `formats', ie large-scale macro packages |
---|
62 | designed to be dumped into .fmt file |
---|
63 | |
---|
64 | This package contains the following CTAN packages: |
---|
65 | alatex: Abstract LaTeX. |
---|
66 | edmac: Typeset scholarly edition. |
---|
67 | eplain: Extended plain tex macros. |
---|
68 | mltex: The MLTeX system. |
---|
69 | physe: The PHYSE format. |
---|
70 | phyzzx: A TeX format for physicists. |
---|
71 | psizzl: A TeX format for physics papers. |
---|
72 | startex: An XML-inspired format for student use. |
---|
73 | texsis: Plain TeX macros for Physicists. |
---|
74 | ytex: Macro package developed at MIT. |
---|
75 | |
---|
76 | %description -l ja |
---|
77 | TeX Live ソフトウェアディストリビューションは、 |
---|
78 | さまざまな Unix, Macintosh, Windows、および |
---|
79 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
80 | 多くの異なった言語を含む TeX ドキュメントの |
---|
81 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
82 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
83 | 同梱しています。 |
---|
84 | |
---|
85 | このディストリビューションは |
---|
86 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
87 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
88 | |
---|
89 | このパッケージは以下のようなパッケージ集です。 |
---|
90 | Extra formats: |
---|
91 | A collection of TeX `formats', ie large-scale macro packages |
---|
92 | designed to be dumped into .fmt file |
---|
93 | |
---|
94 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
95 | alatex: Abstract LaTeX. |
---|
96 | edmac: Typeset scholarly edition. |
---|
97 | eplain: Extended plain tex macros. |
---|
98 | mltex: The MLTeX system. |
---|
99 | physe: The PHYSE format. |
---|
100 | phyzzx: A TeX format for physicists. |
---|
101 | psizzl: A TeX format for physics papers. |
---|
102 | startex: An XML-inspired format for student use. |
---|
103 | texsis: Plain TeX macros for Physicists. |
---|
104 | ytex: Macro package developed at MIT. |
---|
105 | |
---|
106 | %package doc |
---|
107 | Summary: TeX Live: Documentation files of %{name} |
---|
108 | Group: Applications/Publishing |
---|
109 | Requires: %{name} = %{version}-%{release} |
---|
110 | |
---|
111 | %description doc |
---|
112 | This package contains documentation files of %{name}. |
---|
113 | |
---|
114 | %prep |
---|
115 | |
---|
116 | %build |
---|
117 | |
---|
118 | %install |
---|
119 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
120 | |
---|
121 | PREF=%{buildroot}%{tex_destdir} |
---|
122 | |
---|
123 | manifest=( |
---|
124 | texmf-dist/doc/otherformats/alatex/base/alatex.tex |
---|
125 | texmf-dist/source/alatex/base/0areadme.txt |
---|
126 | texmf-dist/source/alatex/base/COPYING |
---|
127 | texmf-dist/source/alatex/base/Makefile |
---|
128 | texmf-dist/source/alatex/base/README |
---|
129 | texmf-dist/source/alatex/base/VERSION-1.0 |
---|
130 | texmf-dist/source/alatex/base/abugs.txt |
---|
131 | texmf-dist/source/alatex/base/ainstall.txt |
---|
132 | texmf-dist/source/alatex/base/alatex.dtx |
---|
133 | texmf-dist/source/alatex/base/alatex.ltx |
---|
134 | texmf-dist/source/alatex/base/amanifst.txt |
---|
135 | texmf-dist/source/alatex/base/aunpack.ins |
---|
136 | texmf-dist/source/alatex/base/aunpcked.txt |
---|
137 | texmf-dist/source/alatex/base/testdist.dtx |
---|
138 | texmf-dist/tex/alatex/base/metaclas.cfg |
---|
139 | texmf-dist/doc/latex/edmac/COPYRIGHT |
---|
140 | texmf-dist/doc/latex/edmac/braonain.tex |
---|
141 | texmf-dist/doc/latex/edmac/copying |
---|
142 | texmf-dist/doc/latex/edmac/ed-nfss.txt |
---|
143 | texmf-dist/doc/latex/edmac/edmac.doc |
---|
144 | texmf-dist/doc/latex/edmac/edstanza.doc |
---|
145 | texmf-dist/doc/latex/edmac/edszadoc.tex |
---|
146 | texmf-dist/doc/latex/edmac/features.tex |
---|
147 | texmf-dist/doc/latex/edmac/readme |
---|
148 | texmf-dist/source/latex/edmac/edmac.drv |
---|
149 | texmf-dist/tex/generic/edmac/edmac.tex |
---|
150 | texmf-dist/tex/generic/edmac/edmacfss.sty |
---|
151 | texmf-dist/tex/generic/edmac/edstanza.tex |
---|
152 | texmf-dist/tex/generic/edmac/tabmac.tex |
---|
153 | texmf-dist/doc/eplain/AUTHORS |
---|
154 | texmf-dist/doc/eplain/COPYING |
---|
155 | texmf-dist/doc/eplain/ChangeLog |
---|
156 | texmf-dist/doc/eplain/INSTALL |
---|
157 | texmf-dist/doc/eplain/NEWS |
---|
158 | texmf-dist/doc/eplain/PROJECTS |
---|
159 | texmf-dist/doc/eplain/README |
---|
160 | texmf-dist/doc/eplain/README.TOP |
---|
161 | texmf-dist/doc/eplain/demo/Makefile |
---|
162 | texmf-dist/doc/eplain/demo/lscommnt.tex |
---|
163 | texmf-dist/doc/eplain/demo/xhyper.tex |
---|
164 | texmf-dist/doc/eplain/doc/eplain.html |
---|
165 | texmf-dist/doc/eplain/doc/eplain.pdf |
---|
166 | texmf-dist/doc/eplain/doc/lscommnt.jpg |
---|
167 | texmf-dist/doc/eplain/doc/xhyper.jpg |
---|
168 | texmf-dist/doc/eplain/util/idxuniq |
---|
169 | texmf-dist/doc/eplain/util/trimsee |
---|
170 | texmf-dist/source/eplain/eplain-source-3.3.zip |
---|
171 | texmf-dist/source/eplain/xeplain.tex |
---|
172 | texmf-dist/tex/eplain/arrow.tex |
---|
173 | texmf-dist/tex/eplain/btxmac.tex |
---|
174 | texmf-dist/tex/eplain/eplain.aux |
---|
175 | texmf-dist/tex/eplain/eplain.ini |
---|
176 | texmf-dist/tex/eplain/eplain.tex |
---|
177 | texmf-dist/doc/latex/mltex/README |
---|
178 | texmf-dist/doc/latex/mltex/mltex.txt |
---|
179 | texmf-dist/doc/latex/mltex/testmlft.dvi |
---|
180 | texmf-dist/doc/latex/mltex/testmlft.tex |
---|
181 | texmf-dist/doc/latex/mltex/testmlsw.dvi |
---|
182 | texmf-dist/doc/latex/mltex/testmlsw.tex |
---|
183 | texmf-dist/tex/latex/mltex/lo1enc.def |
---|
184 | texmf-dist/tex/latex/mltex/mlltxchg.def |
---|
185 | texmf-dist/tex/latex/mltex/mltex.sty |
---|
186 | texmf-dist/tex/mltex/config/mltex.ini |
---|
187 | texmf-dist/tex/physe/base/physe.tex |
---|
188 | texmf-dist/tex/physe/base/physupdt.tex |
---|
189 | texmf-dist/tex/physe/config/physe.ini |
---|
190 | texmf-dist/doc/otherformats/phyzzx/base/phyzdoc.dvi |
---|
191 | texmf-dist/doc/otherformats/phyzzx/base/phyzdoc.tex |
---|
192 | texmf-dist/tex/phyzzx/base/myphyx.tex |
---|
193 | texmf-dist/tex/phyzzx/base/phyzzx.fonts |
---|
194 | texmf-dist/tex/phyzzx/base/phyzzx.local |
---|
195 | texmf-dist/tex/phyzzx/base/phyzzx.plus |
---|
196 | texmf-dist/tex/phyzzx/base/phyzzx.tex |
---|
197 | texmf-dist/tex/phyzzx/config/phyzzx.ini |
---|
198 | texmf-dist/doc/otherformats/psizzl/base/psizzl.commands |
---|
199 | texmf-dist/doc/otherformats/psizzl/base/psizzl.doc |
---|
200 | texmf-dist/source/psizzl/base/aaaread.me |
---|
201 | texmf-dist/tex/psizzl/base/chapters.Psizzl |
---|
202 | texmf-dist/tex/psizzl/base/citation.Psizzl |
---|
203 | texmf-dist/tex/psizzl/base/fontdefs.Psizzl |
---|
204 | texmf-dist/tex/psizzl/base/index.Psizzl |
---|
205 | texmf-dist/tex/psizzl/base/institut.Psizzl |
---|
206 | texmf-dist/tex/psizzl/base/letter.Psizzl |
---|
207 | texmf-dist/tex/psizzl/base/lists.Psizzl |
---|
208 | texmf-dist/tex/psizzl/base/macros.Psizzl |
---|
209 | texmf-dist/tex/psizzl/base/memo.Psizzl |
---|
210 | texmf-dist/tex/psizzl/base/mypsizzl.tex |
---|
211 | texmf-dist/tex/psizzl/base/options.Psizzl |
---|
212 | texmf-dist/tex/psizzl/base/output.Psizzl |
---|
213 | texmf-dist/tex/psizzl/base/picture.Psizzl |
---|
214 | texmf-dist/tex/psizzl/base/psizzl.tex |
---|
215 | texmf-dist/tex/psizzl/base/publicat.Psizzl |
---|
216 | texmf-dist/tex/psizzl/base/symbols.Psizzl |
---|
217 | texmf-dist/tex/psizzl/base/thesis.Psizzl |
---|
218 | texmf-dist/tex/psizzl/config/psizzl.ini |
---|
219 | texmf-dist/doc/otherformats/startex/base/guide.pdf |
---|
220 | texmf-dist/doc/otherformats/startex/base/ideas.pdf |
---|
221 | texmf-dist/doc/otherformats/startex/base/startex.pdf |
---|
222 | texmf-dist/source/startex/base/INSTALL |
---|
223 | texmf-dist/source/startex/base/README |
---|
224 | texmf-dist/source/startex/base/startex.bib |
---|
225 | texmf-dist/source/startex/base/startex.dtx |
---|
226 | texmf-dist/source/startex/base/startex.ins |
---|
227 | texmf-dist/makeindex/startex/stxglo.ist |
---|
228 | texmf-dist/makeindex/startex/stxind.ist |
---|
229 | texmf-dist/tex/startex/base/a4-article.stx |
---|
230 | texmf-dist/tex/startex/base/article.stx |
---|
231 | texmf-dist/tex/startex/base/ifi-article.stx |
---|
232 | texmf-dist/tex/startex/base/ifi-artikkel.stx |
---|
233 | texmf-dist/tex/startex/base/startex.lan |
---|
234 | texmf-dist/tex/startex/base/startex.tex |
---|
235 | texmf-dist/doc/otherformats/texsis/base/COPYING |
---|
236 | texmf-dist/doc/otherformats/texsis/base/Example.tex |
---|
237 | texmf-dist/doc/otherformats/texsis/base/Fonts.tex |
---|
238 | texmf-dist/doc/otherformats/texsis/base/INSTALL |
---|
239 | texmf-dist/doc/otherformats/texsis/base/Install.tex |
---|
240 | texmf-dist/doc/otherformats/texsis/base/MANIFEST |
---|
241 | texmf-dist/doc/otherformats/texsis/base/Manual.fgl |
---|
242 | texmf-dist/doc/otherformats/texsis/base/Manual.ref |
---|
243 | texmf-dist/doc/otherformats/texsis/base/Manual.tbl |
---|
244 | texmf-dist/doc/otherformats/texsis/base/Manual.tex |
---|
245 | texmf-dist/doc/otherformats/texsis/base/NEWS |
---|
246 | texmf-dist/doc/otherformats/texsis/base/README |
---|
247 | texmf-dist/doc/otherformats/texsis/base/TXSapxF.doc |
---|
248 | texmf-dist/doc/otherformats/texsis/base/TXScover.doc |
---|
249 | texmf-dist/doc/otherformats/texsis/base/TXSdcol.doc |
---|
250 | texmf-dist/doc/otherformats/texsis/base/TXSdoc.doc |
---|
251 | texmf-dist/doc/otherformats/texsis/base/TXSdoc0.doc |
---|
252 | texmf-dist/doc/otherformats/texsis/base/TXSdocM.doc |
---|
253 | texmf-dist/doc/otherformats/texsis/base/TXSend.doc |
---|
254 | texmf-dist/doc/otherformats/texsis/base/TXSenvmt.doc |
---|
255 | texmf-dist/doc/otherformats/texsis/base/TXSeqns.doc |
---|
256 | texmf-dist/doc/otherformats/texsis/base/TXSfigs.doc |
---|
257 | texmf-dist/doc/otherformats/texsis/base/TXSfmts.doc |
---|
258 | texmf-dist/doc/otherformats/texsis/base/TXSfonts.doc |
---|
259 | texmf-dist/doc/otherformats/texsis/base/TXSinstl.doc |
---|
260 | texmf-dist/doc/otherformats/texsis/base/TXSintro.doc |
---|
261 | texmf-dist/doc/otherformats/texsis/base/TXSletr.doc |
---|
262 | texmf-dist/doc/otherformats/texsis/base/TXSmisc.doc |
---|
263 | texmf-dist/doc/otherformats/texsis/base/TXSprns.doc |
---|
264 | texmf-dist/doc/otherformats/texsis/base/TXSrefs.doc |
---|
265 | texmf-dist/doc/otherformats/texsis/base/TXSrevs.doc |
---|
266 | texmf-dist/doc/otherformats/texsis/base/TXSruled.doc |
---|
267 | texmf-dist/doc/otherformats/texsis/base/TXSsects.doc |
---|
268 | texmf-dist/doc/otherformats/texsis/base/TXSsite.000 |
---|
269 | texmf-dist/doc/otherformats/texsis/base/TXSsymb.doc |
---|
270 | texmf-dist/doc/otherformats/texsis/base/TXStags.doc |
---|
271 | texmf-dist/doc/otherformats/texsis/base/index.tex |
---|
272 | texmf-dist/doc/otherformats/texsis/base/letr |
---|
273 | texmf-dist/doc/otherformats/texsis/base/penguin.eps |
---|
274 | texmf-dist/doc/otherformats/texsis/base/penguin2.eps |
---|
275 | texmf-dist/doc/otherformats/texsis/base/texsis.1 |
---|
276 | texmf-dist/doc/otherformats/texsis/base/texsis.el |
---|
277 | texmf-dist/doc/otherformats/texsis/base/texsis.lsm |
---|
278 | texmf-dist/bibtex/bst/texsis/texsis.bst |
---|
279 | texmf-dist/tex/texsis/base/AIP.txs |
---|
280 | texmf-dist/tex/texsis/base/CVformat.txs |
---|
281 | texmf-dist/tex/texsis/base/Elsevier.txs |
---|
282 | texmf-dist/tex/texsis/base/Exam.txs |
---|
283 | texmf-dist/tex/texsis/base/Formletr.txs |
---|
284 | texmf-dist/tex/texsis/base/IEEE.txs |
---|
285 | texmf-dist/tex/texsis/base/PhysRev.txs |
---|
286 | texmf-dist/tex/texsis/base/Spanish.txs |
---|
287 | texmf-dist/tex/texsis/base/Swedish.txs |
---|
288 | texmf-dist/tex/texsis/base/TXSconts.tex |
---|
289 | texmf-dist/tex/texsis/base/TXSdcol.tex |
---|
290 | texmf-dist/tex/texsis/base/TXSenvmt.tex |
---|
291 | texmf-dist/tex/texsis/base/TXSeqns.tex |
---|
292 | texmf-dist/tex/texsis/base/TXSfigs.tex |
---|
293 | texmf-dist/tex/texsis/base/TXSfmts.tex |
---|
294 | texmf-dist/tex/texsis/base/TXSfonts.tex |
---|
295 | texmf-dist/tex/texsis/base/TXShead.tex |
---|
296 | texmf-dist/tex/texsis/base/TXSinit.tex |
---|
297 | texmf-dist/tex/texsis/base/TXSletr.tex |
---|
298 | texmf-dist/tex/texsis/base/TXSmacs.tex |
---|
299 | texmf-dist/tex/texsis/base/TXSmemo.tex |
---|
300 | texmf-dist/tex/texsis/base/TXSprns.tex |
---|
301 | texmf-dist/tex/texsis/base/TXSrefs.tex |
---|
302 | texmf-dist/tex/texsis/base/TXSruled.tex |
---|
303 | texmf-dist/tex/texsis/base/TXSsects.tex |
---|
304 | texmf-dist/tex/texsis/base/TXSsite.tex |
---|
305 | texmf-dist/tex/texsis/base/TXSsymb.tex |
---|
306 | texmf-dist/tex/texsis/base/TXStags.tex |
---|
307 | texmf-dist/tex/texsis/base/TXStitle.tex |
---|
308 | texmf-dist/tex/texsis/base/Tablebod.txs |
---|
309 | texmf-dist/tex/texsis/base/WorldSci.txs |
---|
310 | texmf-dist/tex/texsis/base/color.txs |
---|
311 | texmf-dist/tex/texsis/base/nuclproc.txs |
---|
312 | texmf-dist/tex/texsis/base/printfont.txs |
---|
313 | texmf-dist/tex/texsis/base/spine.txs |
---|
314 | texmf-dist/tex/texsis/base/texsis.tex |
---|
315 | texmf-dist/tex/texsis/base/thesis.txs |
---|
316 | texmf-dist/tex/texsis/base/twin.txs |
---|
317 | texmf-dist/tex/texsis/config/texsis.ini |
---|
318 | texmf-dist/tex/ytex/base/ybase.mac |
---|
319 | texmf-dist/tex/ytex/base/yfonts.mac |
---|
320 | texmf-dist/tex/ytex/base/ylog.mac |
---|
321 | texmf-dist/tex/ytex/base/ysite.mac |
---|
322 | texmf-dist/tex/ytex/base/ytex-cm.tex |
---|
323 | texmf-dist/tex/ytex/base/ytex.ieee |
---|
324 | texmf-dist/tex/ytex/base/ytex.mac |
---|
325 | texmf-dist/tex/ytex/base/ytex.mail |
---|
326 | texmf-dist/tex/ytex/base/yusage.lst |
---|
327 | texmf-dist/tex/ytex/base/yusage.tex |
---|
328 | texmf-dist/tex/ytex/base/yuser.mac |
---|
329 | ) |
---|
330 | |
---|
331 | %__mkdir_p ${PREF}/texmf-dist |
---|
332 | for i in "${manifest[@]}"; do |
---|
333 | %__install -D %{texlive_src}/$i ${PREF}/$i |
---|
334 | done |
---|
335 | |
---|
336 | ## info |
---|
337 | %__rm -f %{buildroot}%{_infodir}/dir |
---|
338 | %__gzip -9nf %{buildroot}%{_infodir}/*info* ||: |
---|
339 | |
---|
340 | ## man |
---|
341 | ## man t1* files are provided by t1utils |
---|
342 | for i in t1ascii t1asm t1binary t1disasm t1mac t1unmac; do |
---|
343 | %__rm %{buildroot}%{_mandir}/man*/${i}.* ||: |
---|
344 | done |
---|
345 | |
---|
346 | ## man some files are provided by psutils |
---|
347 | for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps getafm includeres psbook psmerge psnup psresize psselect pstops; do |
---|
348 | %__rm %{buildroot}%{_mandir}/man*/${i}.* ||: |
---|
349 | done |
---|
350 | |
---|
351 | ## fix perl path |
---|
352 | for i in source/metapost/expressg/expressg.dtx \ |
---|
353 | doc/metapost/expressg/n2mpsprl.prl \ |
---|
354 | doc/latex/songbook/contrib/crd2sb/crd2sb; do |
---|
355 | [ -f %{build_texmf}-dist/${i} ] && \ |
---|
356 | %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i} |
---|
357 | done |
---|
358 | |
---|
359 | ## remove asymptote directries, which provides asymptote package |
---|
360 | find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf |
---|
361 | # find %{buildroot} -name "Makefile" | xargs %__rm -f |
---|
362 | |
---|
363 | # ## remove xindy |
---|
364 | # find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf |
---|
365 | |
---|
366 | # ## remove tex4ht |
---|
367 | # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf |
---|
368 | |
---|
369 | ## remove arch dependent binaries |
---|
370 | %__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386 |
---|
371 | |
---|
372 | ## remove unpackaging files |
---|
373 | find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f |
---|
374 | find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f |
---|
375 | |
---|
376 | ## Files list |
---|
377 | find %{buildroot} -type f -or -type l | \ |
---|
378 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
379 | |
---|
380 | find %{buildroot}%{texmf}-dist -type d | \ |
---|
381 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
382 | -e "s|$|/|" >> filelist.full |
---|
383 | |
---|
384 | ## subpackages |
---|
385 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
386 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
387 | %__mv -f filelist.tmp filelist.full |
---|
388 | |
---|
389 | %clean |
---|
390 | %__rm -rf %{buildroot} |
---|
391 | |
---|
392 | %post |
---|
393 | %{exec_texhash} |
---|
394 | |
---|
395 | rpm -q --quiet texlive-common || exit 0 |
---|
396 | |
---|
397 | echo -n " " |
---|
398 | echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done." |
---|
399 | |
---|
400 | exit 0 |
---|
401 | |
---|
402 | |
---|
403 | %postun |
---|
404 | if [ "$1" = 0 ]; then |
---|
405 | %{exec_texhash} |
---|
406 | |
---|
407 | fi |
---|
408 | |
---|
409 | exit 0 |
---|
410 | |
---|
411 | %files -f filelist.full |
---|
412 | %defattr(-,root,root) |
---|
413 | |
---|
414 | %files -f filelist.doc doc |
---|
415 | %defattr(-,root,root) |
---|
416 | |
---|
417 | %changelog |
---|
418 | * Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3 |
---|
419 | - generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-formatsextra |
---|
420 | - improved %%post |
---|
421 | |
---|
422 | * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2 |
---|
423 | - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-formatsextra |
---|
424 | - removed arch dependent binaries (texlive-collection-latexextra) |
---|
425 | - fixed perl path |
---|
426 | - improved updmap process in %%post and %%postun |
---|
427 | |
---|
428 | * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1 |
---|
429 | - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-formatsextra |
---|