[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[8476] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1: |
---|
[1974] | 3 | ## tlpdb2rpmspec collection-metapost |
---|
[1533] | 4 | |
---|
[5207] | 5 | %global _use_internal_dependency_generator 0 |
---|
| 6 | %global __find_provides %{nil} |
---|
| 7 | %global __find_requires %{nil} |
---|
| 8 | |
---|
[7770] | 9 | Summary: TeX Live: MetaPost and Metafont packages |
---|
| 10 | Summary(ja): TeX Live: MetaPost and Metafont packages |
---|
[1533] | 11 | Name: texlive-collection-metapost |
---|
[8476] | 12 | Version: 2014 |
---|
| 13 | Release: 1%{?_dist_release} |
---|
[7770] | 14 | License: LPPL, Public Domain, GPL+, LPPL 1.3, LGPLv2+, Freely redistributable without restriction |
---|
[1533] | 15 | Group: Applications/Publishing |
---|
| 16 | URL:http://www.tug.org/texlive/ |
---|
| 17 | |
---|
[7770] | 18 | Source0: automata.doc.tar.xz |
---|
| 19 | Source1: automata.tar.xz |
---|
| 20 | Source2: bbcard.doc.tar.xz |
---|
| 21 | Source3: bbcard.tar.xz |
---|
| 22 | Source4: blockdraw_mp.doc.tar.xz |
---|
| 23 | Source5: blockdraw_mp.tar.xz |
---|
| 24 | Source6: bpolynomial.doc.tar.xz |
---|
| 25 | Source7: bpolynomial.tar.xz |
---|
| 26 | Source8: cmarrows.doc.tar.xz |
---|
| 27 | Source9: cmarrows.tar.xz |
---|
| 28 | Source10: drv.doc.tar.xz |
---|
| 29 | Source11: drv.tar.xz |
---|
| 30 | Source12: dviincl.doc.tar.xz |
---|
| 31 | Source13: dviincl.tar.xz |
---|
| 32 | Source14: emp.doc.tar.xz |
---|
| 33 | Source15: emp.source.tar.xz |
---|
| 34 | Source16: emp.tar.xz |
---|
| 35 | Source17: epsincl.doc.tar.xz |
---|
| 36 | Source18: epsincl.tar.xz |
---|
| 37 | Source19: expressg.doc.tar.xz |
---|
| 38 | Source20: expressg.source.tar.xz |
---|
| 39 | Source21: expressg.tar.xz |
---|
| 40 | Source22: exteps.doc.tar.xz |
---|
| 41 | Source23: exteps.tar.xz |
---|
| 42 | Source24: featpost.doc.tar.xz |
---|
| 43 | Source25: featpost.tar.xz |
---|
| 44 | Source26: feynmf.doc.tar.xz |
---|
| 45 | Source27: feynmf.source.tar.xz |
---|
| 46 | Source28: feynmf.tar.xz |
---|
| 47 | Source29: feynmp-auto.doc.tar.xz |
---|
| 48 | Source30: feynmp-auto.source.tar.xz |
---|
| 49 | Source31: feynmp-auto.tar.xz |
---|
| 50 | Source32: garrigues.doc.tar.xz |
---|
| 51 | Source33: garrigues.tar.xz |
---|
| 52 | Source34: gmp.doc.tar.xz |
---|
| 53 | Source35: gmp.source.tar.xz |
---|
| 54 | Source36: gmp.tar.xz |
---|
| 55 | Source37: hatching.doc.tar.xz |
---|
| 56 | Source38: hatching.tar.xz |
---|
| 57 | Source39: latexmp.doc.tar.xz |
---|
| 58 | Source40: latexmp.tar.xz |
---|
| 59 | Source41: metago.doc.tar.xz |
---|
| 60 | Source42: metago.tar.xz |
---|
| 61 | Source43: metaobj.doc.tar.xz |
---|
| 62 | Source44: metaobj.tar.xz |
---|
| 63 | Source45: metaplot.doc.tar.xz |
---|
| 64 | Source46: metaplot.tar.xz |
---|
| 65 | Source47: metapost.doc.tar.xz |
---|
| 66 | Source48: metapost.tar.xz |
---|
| 67 | Source49: metauml.doc.tar.xz |
---|
| 68 | Source50: metauml.tar.xz |
---|
| 69 | Source51: mfpic.doc.tar.xz |
---|
| 70 | Source52: mfpic.source.tar.xz |
---|
| 71 | Source53: mfpic.tar.xz |
---|
| 72 | Source54: mfpic4ode.doc.tar.xz |
---|
| 73 | Source55: mfpic4ode.source.tar.xz |
---|
| 74 | Source56: mfpic4ode.tar.xz |
---|
| 75 | Source57: mp3d.doc.tar.xz |
---|
| 76 | Source58: mp3d.tar.xz |
---|
| 77 | Source59: mpcolornames.doc.tar.xz |
---|
| 78 | Source60: mpcolornames.source.tar.xz |
---|
| 79 | Source61: mpcolornames.tar.xz |
---|
| 80 | Source62: mpattern.doc.tar.xz |
---|
| 81 | Source63: mpattern.tar.xz |
---|
| 82 | Source64: mpgraphics.doc.tar.xz |
---|
| 83 | Source65: mpgraphics.source.tar.xz |
---|
| 84 | Source66: mpgraphics.tar.xz |
---|
| 85 | Source67: piechartmp.doc.tar.xz |
---|
| 86 | Source68: piechartmp.tar.xz |
---|
[8476] | 87 | Source69: repere.doc.tar.xz |
---|
| 88 | Source70: repere.tar.xz |
---|
| 89 | Source71: roex.source.tar.xz |
---|
| 90 | Source72: roex.tar.xz |
---|
| 91 | Source73: slideshow.doc.tar.xz |
---|
| 92 | Source74: slideshow.tar.xz |
---|
| 93 | Source75: splines.doc.tar.xz |
---|
| 94 | Source76: splines.source.tar.xz |
---|
| 95 | Source77: splines.tar.xz |
---|
| 96 | Source78: suanpan.doc.tar.xz |
---|
| 97 | Source79: suanpan.tar.xz |
---|
| 98 | Source80: textpath.doc.tar.xz |
---|
| 99 | Source81: textpath.tar.xz |
---|
| 100 | Source82: threeddice.doc.tar.xz |
---|
| 101 | Source83: threeddice.tar.xz |
---|
[7770] | 102 | |
---|
[1533] | 103 | Requires: texlive = %{version} |
---|
| 104 | Requires: texlive-collection-basic = %{version} |
---|
| 105 | |
---|
| 106 | Requires(post): texlive = %{version} |
---|
| 107 | Requires(postun): texlive = %{version} |
---|
| 108 | |
---|
| 109 | BuildArch: noarch |
---|
| 110 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 111 | |
---|
| 112 | Vendor: Project Vine |
---|
| 113 | Distribution: Vine Linux |
---|
| 114 | Packager: munepi |
---|
| 115 | |
---|
| 116 | %description |
---|
| 117 | The TeX Live software distribution offers a complete TeX system for a |
---|
| 118 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
| 119 | encompasses programs for editing, typesetting, previewing and printing |
---|
| 120 | of TeX documents in many different languages, and a large collection |
---|
| 121 | of TeX macros and font libraries. |
---|
| 122 | |
---|
| 123 | The distribution includes extensive general documentation about TeX, |
---|
| 124 | as well as the documentation for the included software packages. |
---|
| 125 | |
---|
[7770] | 126 | This package is a collection of MetaPost and Metafont packages: |
---|
[1533] | 127 | |
---|
| 128 | |
---|
| 129 | This package contains the following CTAN packages: |
---|
| 130 | automata: Finite state machines, graphs and trees in MetaPost. |
---|
| 131 | bbcard: Bullshit bingo, calendar and baseball-score cards. |
---|
| 132 | blockdraw_mp: Block diagrams and bond graphs, with MetaPost. |
---|
| 133 | bpolynomial: Drawing polynomial functions of up to order 3. |
---|
| 134 | cmarrows: MetaPost arrows and braces in the Computer Modern style. |
---|
| 135 | drv: Derivation trees with MetaPost. |
---|
| 136 | dviincl: Include a DVI page into MetaPost output. |
---|
| 137 | emp: "Encapsulate" MetaPost figures in a document. |
---|
| 138 | epsincl: Include EPS in MetaPost figures. |
---|
| 139 | expressg: Diagrams consisting of boxes, lines, and annotations. |
---|
| 140 | exteps: Include EPS figures in MetaPost. |
---|
| 141 | featpost: MetaPost macros for 3D. |
---|
| 142 | feynmf: Macros and fonts for creating Feynman (and other) diagrams. |
---|
[7770] | 143 | feynmp-auto: Automatic processing of feynmp graphics. |
---|
[1533] | 144 | garrigues: MetaPost macros for the reproduction of Garrigues' Easter nomogram. |
---|
[8476] | 145 | gmp: Enable integration between MetaPost pictures and LaTeX. |
---|
[1533] | 146 | hatching: MetaPost macros for hatching interior of closed paths. |
---|
| 147 | latexmp: Interface for LaTeX-based typesetting in MetaPost |
---|
| 148 | metago: MetaPost output of Go positions. |
---|
| 149 | metaobj: MetaPost package providing high-level objects. |
---|
| 150 | metaplot: Plot-manipulation macros for use in Metapost. |
---|
[5207] | 151 | metapost: A development of Metafont for creating graphics. |
---|
[1533] | 152 | metauml: MetaPost library for typesetting UML diagrams. |
---|
[7770] | 153 | mfpic: Draw Metafont/post pictures from (La)TeX commands. |
---|
[1533] | 154 | mfpic4ode: Macros to draw direction fields and solutions of ODEs. |
---|
| 155 | mp3d: 3D animations. |
---|
[8476] | 156 | mpcolornames: Extend list of predefined colour names for MetaPost. |
---|
[1533] | 157 | mpattern: Patterns in MetaPost. |
---|
[7770] | 158 | mpgraphics: Process and display MetaPost figures inline. |
---|
[1533] | 159 | piechartmp: Draw pie-charts using MetaPost. |
---|
[8476] | 160 | repere: Diagrams for school mathematics |
---|
[1533] | 161 | roex: |
---|
| 162 | slideshow: Generate slideshow with MetaPost. |
---|
| 163 | splines: MetaPost macros for drawing cubic spline interpolants. |
---|
| 164 | suanpan: MetaPost macros for drawing Chinese and Japanese abaci. |
---|
| 165 | textpath: Setting text along a path with MetaPost. |
---|
[5207] | 166 | threeddice: Create images of dice with one, two, or three faces showing, using MetaPost. |
---|
[1533] | 167 | |
---|
| 168 | %description -l ja |
---|
| 169 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 170 | さまざまな Unix, Macintosh, Windows、および |
---|
| 171 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 172 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 173 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 174 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 175 | 同梱しています。 |
---|
| 176 | |
---|
| 177 | このディストリビューションは |
---|
| 178 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 179 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 180 | |
---|
| 181 | このパッケージは以下のようなパッケージ集です。 |
---|
[7770] | 182 | MetaPost and Metafont packages: |
---|
[1533] | 183 | |
---|
| 184 | |
---|
| 185 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
| 186 | automata: Finite state machines, graphs and trees in MetaPost. |
---|
| 187 | bbcard: Bullshit bingo, calendar and baseball-score cards. |
---|
| 188 | blockdraw_mp: Block diagrams and bond graphs, with MetaPost. |
---|
| 189 | bpolynomial: Drawing polynomial functions of up to order 3. |
---|
| 190 | cmarrows: MetaPost arrows and braces in the Computer Modern style. |
---|
| 191 | drv: Derivation trees with MetaPost. |
---|
| 192 | dviincl: Include a DVI page into MetaPost output. |
---|
| 193 | emp: "Encapsulate" MetaPost figures in a document. |
---|
| 194 | epsincl: Include EPS in MetaPost figures. |
---|
| 195 | expressg: Diagrams consisting of boxes, lines, and annotations. |
---|
| 196 | exteps: Include EPS figures in MetaPost. |
---|
| 197 | featpost: MetaPost macros for 3D. |
---|
| 198 | feynmf: Macros and fonts for creating Feynman (and other) diagrams. |
---|
[7770] | 199 | feynmp-auto: Automatic processing of feynmp graphics. |
---|
[1533] | 200 | garrigues: MetaPost macros for the reproduction of Garrigues' Easter nomogram. |
---|
[8476] | 201 | gmp: Enable integration between MetaPost pictures and LaTeX. |
---|
[1533] | 202 | hatching: MetaPost macros for hatching interior of closed paths. |
---|
| 203 | latexmp: Interface for LaTeX-based typesetting in MetaPost |
---|
| 204 | metago: MetaPost output of Go positions. |
---|
| 205 | metaobj: MetaPost package providing high-level objects. |
---|
| 206 | metaplot: Plot-manipulation macros for use in Metapost. |
---|
[5207] | 207 | metapost: A development of Metafont for creating graphics. |
---|
[1533] | 208 | metauml: MetaPost library for typesetting UML diagrams. |
---|
[7770] | 209 | mfpic: Draw Metafont/post pictures from (La)TeX commands. |
---|
[1533] | 210 | mfpic4ode: Macros to draw direction fields and solutions of ODEs. |
---|
| 211 | mp3d: 3D animations. |
---|
[8476] | 212 | mpcolornames: Extend list of predefined colour names for MetaPost. |
---|
[1533] | 213 | mpattern: Patterns in MetaPost. |
---|
[7770] | 214 | mpgraphics: Process and display MetaPost figures inline. |
---|
[1533] | 215 | piechartmp: Draw pie-charts using MetaPost. |
---|
[8476] | 216 | repere: Diagrams for school mathematics |
---|
[1533] | 217 | roex: |
---|
| 218 | slideshow: Generate slideshow with MetaPost. |
---|
| 219 | splines: MetaPost macros for drawing cubic spline interpolants. |
---|
| 220 | suanpan: MetaPost macros for drawing Chinese and Japanese abaci. |
---|
| 221 | textpath: Setting text along a path with MetaPost. |
---|
[5207] | 222 | threeddice: Create images of dice with one, two, or three faces showing, using MetaPost. |
---|
[1533] | 223 | |
---|
| 224 | %package doc |
---|
| 225 | Summary: TeX Live: Documentation files of %{name} |
---|
| 226 | Group: Applications/Publishing |
---|
| 227 | Requires: %{name} = %{version}-%{release} |
---|
| 228 | |
---|
| 229 | %description doc |
---|
| 230 | This package contains documentation files of %{name}. |
---|
| 231 | |
---|
| 232 | %prep |
---|
[7770] | 233 | %setup -c -n %{name}-%{version} |
---|
| 234 | %__tar -xvf %{SOURCE1} |
---|
| 235 | %__tar -xvf %{SOURCE2} |
---|
| 236 | %__tar -xvf %{SOURCE3} |
---|
| 237 | %__tar -xvf %{SOURCE4} |
---|
| 238 | %__tar -xvf %{SOURCE5} |
---|
| 239 | %__tar -xvf %{SOURCE6} |
---|
| 240 | %__tar -xvf %{SOURCE7} |
---|
| 241 | %__tar -xvf %{SOURCE8} |
---|
| 242 | %__tar -xvf %{SOURCE9} |
---|
| 243 | %__tar -xvf %{SOURCE10} |
---|
| 244 | %__tar -xvf %{SOURCE11} |
---|
| 245 | %__tar -xvf %{SOURCE12} |
---|
| 246 | %__tar -xvf %{SOURCE13} |
---|
| 247 | %__tar -xvf %{SOURCE14} |
---|
| 248 | %__tar -xvf %{SOURCE15} |
---|
| 249 | %__tar -xvf %{SOURCE16} |
---|
| 250 | %__tar -xvf %{SOURCE17} |
---|
| 251 | %__tar -xvf %{SOURCE18} |
---|
| 252 | %__tar -xvf %{SOURCE19} |
---|
| 253 | %__tar -xvf %{SOURCE20} |
---|
| 254 | %__tar -xvf %{SOURCE21} |
---|
| 255 | %__tar -xvf %{SOURCE22} |
---|
| 256 | %__tar -xvf %{SOURCE23} |
---|
| 257 | %__tar -xvf %{SOURCE24} |
---|
| 258 | %__tar -xvf %{SOURCE25} |
---|
| 259 | %__tar -xvf %{SOURCE26} |
---|
| 260 | %__tar -xvf %{SOURCE27} |
---|
| 261 | %__tar -xvf %{SOURCE28} |
---|
| 262 | %__tar -xvf %{SOURCE29} |
---|
| 263 | %__tar -xvf %{SOURCE30} |
---|
| 264 | %__tar -xvf %{SOURCE31} |
---|
| 265 | %__tar -xvf %{SOURCE32} |
---|
| 266 | %__tar -xvf %{SOURCE33} |
---|
| 267 | %__tar -xvf %{SOURCE34} |
---|
| 268 | %__tar -xvf %{SOURCE35} |
---|
| 269 | %__tar -xvf %{SOURCE36} |
---|
| 270 | %__tar -xvf %{SOURCE37} |
---|
| 271 | %__tar -xvf %{SOURCE38} |
---|
| 272 | %__tar -xvf %{SOURCE39} |
---|
| 273 | %__tar -xvf %{SOURCE40} |
---|
| 274 | %__tar -xvf %{SOURCE41} |
---|
| 275 | %__tar -xvf %{SOURCE42} |
---|
| 276 | %__tar -xvf %{SOURCE43} |
---|
| 277 | %__tar -xvf %{SOURCE44} |
---|
| 278 | %__tar -xvf %{SOURCE45} |
---|
| 279 | %__tar -xvf %{SOURCE46} |
---|
| 280 | %__tar -xvf %{SOURCE47} |
---|
| 281 | %__tar -xvf %{SOURCE48} |
---|
| 282 | %__tar -xvf %{SOURCE49} |
---|
| 283 | %__tar -xvf %{SOURCE50} |
---|
| 284 | %__tar -xvf %{SOURCE51} |
---|
| 285 | %__tar -xvf %{SOURCE52} |
---|
| 286 | %__tar -xvf %{SOURCE53} |
---|
| 287 | %__tar -xvf %{SOURCE54} |
---|
| 288 | %__tar -xvf %{SOURCE55} |
---|
| 289 | %__tar -xvf %{SOURCE56} |
---|
| 290 | %__tar -xvf %{SOURCE57} |
---|
| 291 | %__tar -xvf %{SOURCE58} |
---|
| 292 | %__tar -xvf %{SOURCE59} |
---|
| 293 | %__tar -xvf %{SOURCE60} |
---|
| 294 | %__tar -xvf %{SOURCE61} |
---|
| 295 | %__tar -xvf %{SOURCE62} |
---|
| 296 | %__tar -xvf %{SOURCE63} |
---|
| 297 | %__tar -xvf %{SOURCE64} |
---|
| 298 | %__tar -xvf %{SOURCE65} |
---|
| 299 | %__tar -xvf %{SOURCE66} |
---|
| 300 | %__tar -xvf %{SOURCE67} |
---|
| 301 | %__tar -xvf %{SOURCE68} |
---|
| 302 | %__tar -xvf %{SOURCE69} |
---|
| 303 | %__tar -xvf %{SOURCE70} |
---|
| 304 | %__tar -xvf %{SOURCE71} |
---|
| 305 | %__tar -xvf %{SOURCE72} |
---|
| 306 | %__tar -xvf %{SOURCE73} |
---|
| 307 | %__tar -xvf %{SOURCE74} |
---|
| 308 | %__tar -xvf %{SOURCE75} |
---|
| 309 | %__tar -xvf %{SOURCE76} |
---|
| 310 | %__tar -xvf %{SOURCE77} |
---|
| 311 | %__tar -xvf %{SOURCE78} |
---|
| 312 | %__tar -xvf %{SOURCE79} |
---|
| 313 | %__tar -xvf %{SOURCE80} |
---|
| 314 | %__tar -xvf %{SOURCE81} |
---|
[8476] | 315 | %__tar -xvf %{SOURCE82} |
---|
| 316 | %__tar -xvf %{SOURCE83} |
---|
[1533] | 317 | |
---|
| 318 | %build |
---|
| 319 | |
---|
| 320 | %install |
---|
| 321 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
| 322 | |
---|
[7770] | 323 | %__mkdir_p %{buildroot}%{_datadir} |
---|
[1533] | 324 | |
---|
[7770] | 325 | ## move texmf-dist to /usr/share/texmf-dist |
---|
| 326 | [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||: |
---|
[1533] | 327 | |
---|
[7770] | 328 | ## move texmf to /usr/share/texmf |
---|
| 329 | [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||: |
---|
[1533] | 330 | |
---|
[7770] | 331 | ## move tlpkg to /usr/share/tlpkg |
---|
| 332 | [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||: |
---|
| 333 | |
---|
| 334 | ## move all non-arch binaries to /usr/bin |
---|
| 335 | [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||: |
---|
| 336 | |
---|
| 337 | ## move others into /usr/share/texmf-dist |
---|
| 338 | %__mkdir_p %{buildroot}%{_tl_texmfdist} |
---|
| 339 | %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||: |
---|
| 340 | %__rm -rf * ||: |
---|
| 341 | |
---|
| 342 | |
---|
| 343 | ## remove duplicated files between texlive and texlive-collection-* |
---|
| 344 | ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive |
---|
| 345 | ## remove unpacked files |
---|
| 346 | x=( |
---|
[8476] | 347 | # scripts/texlive/tlmgr.pl |
---|
| 348 | # scripts/texlive/updmap.pl |
---|
| 349 | # scripts/fontools/autoinst |
---|
| 350 | # scripts/glossaries/makeglossaries |
---|
| 351 | # scripts/m-tx/m-tx.lua |
---|
| 352 | # scripts/musixtex/musixtex.lua |
---|
| 353 | # scripts/pmx/pmx2pdf.lua |
---|
| 354 | # scripts/latexmk/latexmk.pl |
---|
| 355 | # scripts/jfontmaps/kanji-config-updmap.pl |
---|
| 356 | # scripts/jfontmaps/kanji-fontmap-creator.pl |
---|
| 357 | # scripts/latexpand/latexpand |
---|
| 358 | # scripts/epstopdf/epstopdf.pl |
---|
| 359 | # scripts/convbkmk/convbkmk.rb |
---|
| 360 | # scripts/jfontmaps/kanji-config-updmap-sys.sh |
---|
| 361 | # scripts/luaotfload/luaotfload-tool.lua |
---|
| 362 | # texconfig/tcfmgr |
---|
| 363 | # texconfig/tcfmgr.map |
---|
| 364 | # web2c/fmtutil.cnf |
---|
| 365 | # web2c/mktex.opt |
---|
| 366 | # web2c/mktexdir |
---|
| 367 | # web2c/mktexdir.opt |
---|
| 368 | # web2c/mktexnam |
---|
| 369 | # web2c/mktexnam.opt |
---|
| 370 | # web2c/mktexupd |
---|
| 371 | # web2c/texmf.cnf |
---|
| 372 | # web2c/updmap.cfg |
---|
| 373 | # web2c/updmap-hdr.cfg |
---|
| 374 | # doc/chktex/ChkTeX.pdf |
---|
[7770] | 375 | install-tl |
---|
| 376 | ) |
---|
| 377 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
| 378 | pushd %{buildroot}%{_tl_texmfdist} |
---|
| 379 | %__rm -f ${x[@]} ||: |
---|
[5207] | 380 | popd |
---|
[7770] | 381 | fi |
---|
| 382 | |
---|
[1533] | 383 | ## Files list |
---|
| 384 | find %{buildroot} -type f -or -type l | \ |
---|
| 385 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 386 | |
---|
[7770] | 387 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
[1533] | 388 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 389 | -e "s|$|/|" >> filelist.full |
---|
| 390 | |
---|
| 391 | ## subpackages |
---|
| 392 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 393 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 394 | %__mv -f filelist.tmp filelist.full |
---|
| 395 | |
---|
| 396 | %clean |
---|
| 397 | %__rm -rf %{buildroot} |
---|
| 398 | |
---|
| 399 | %post |
---|
[7770] | 400 | %_tl_touch_run texhash |
---|
| 401 | %_tl_touch_run mtxrun |
---|
[1533] | 402 | |
---|
[7770] | 403 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[5207] | 404 | |
---|
[7770] | 405 | %_tl_enable_map Map troff-updmap.map |
---|
[5207] | 406 | |
---|
[1533] | 407 | exit 0 |
---|
| 408 | |
---|
| 409 | |
---|
| 410 | %postun |
---|
| 411 | if [ "$1" = 0 ]; then |
---|
[7770] | 412 | %_tl_touch_run texhash |
---|
[1533] | 413 | |
---|
[7770] | 414 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[5207] | 415 | |
---|
[7770] | 416 | %_tl_disable_map troff-updmap.map |
---|
[5207] | 417 | |
---|
[1533] | 418 | fi |
---|
| 419 | |
---|
| 420 | exit 0 |
---|
| 421 | |
---|
[7148] | 422 | %posttrans |
---|
[7770] | 423 | %{_tl_exec_texhash} |
---|
| 424 | %{_tl_exec_mtxrun} |
---|
| 425 | %{_tl_exec_updmap} |
---|
| 426 | %{_tl_exec_fmtutil} |
---|
[7148] | 427 | exit 0 |
---|
| 428 | |
---|
| 429 | |
---|
[1533] | 430 | %files -f filelist.full |
---|
[5207] | 431 | %defattr(-,root,root,-) |
---|
[1533] | 432 | |
---|
| 433 | %files -f filelist.doc doc |
---|
[5207] | 434 | %defattr(-,root,root,-) |
---|
[1533] | 435 | |
---|
| 436 | %changelog |
---|
[8476] | 437 | * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1 |
---|
| 438 | - TLNET 20140524 |
---|