[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[8744] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-2: |
---|
[1974] | 3 | ## tlpdb2rpmspec collection-genericextra |
---|
[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: Generic additional packages |
---|
| 10 | Summary(ja): TeX Live: Generic additional packages |
---|
[1533] | 11 | Name: texlive-collection-genericextra |
---|
[8476] | 12 | Version: 2014 |
---|
[8744] | 13 | Release: 2%{?_dist_release} |
---|
| 14 | License: Public Domain, Freely redistributable without restriction, LPPL 1.3, LPPL, GPL+, Knuth |
---|
[1533] | 15 | Group: Applications/Publishing |
---|
| 16 | URL:http://www.tug.org/texlive/ |
---|
| 17 | |
---|
[7770] | 18 | Source0: abbr.doc.tar.xz |
---|
| 19 | Source1: abbr.tar.xz |
---|
| 20 | Source2: abstyles.doc.tar.xz |
---|
| 21 | Source3: abstyles.tar.xz |
---|
[8744] | 22 | Source4: bagpipe.doc.tar.xz |
---|
| 23 | Source5: bagpipe.tar.xz |
---|
| 24 | Source6: barr.doc.tar.xz |
---|
| 25 | Source7: barr.tar.xz |
---|
| 26 | Source8: bitelist.doc.tar.xz |
---|
| 27 | Source9: bitelist.source.tar.xz |
---|
| 28 | Source10: bitelist.tar.xz |
---|
| 29 | Source11: borceux.doc.tar.xz |
---|
| 30 | Source12: borceux.tar.xz |
---|
| 31 | Source13: c-pascal.doc.tar.xz |
---|
| 32 | Source14: c-pascal.tar.xz |
---|
| 33 | Source15: catcodes.doc.tar.xz |
---|
| 34 | Source16: catcodes.source.tar.xz |
---|
| 35 | Source17: catcodes.tar.xz |
---|
| 36 | Source18: chronosys.doc.tar.xz |
---|
| 37 | Source19: chronosys.tar.xz |
---|
| 38 | Source20: colorsep.tar.xz |
---|
| 39 | Source21: dinat.doc.tar.xz |
---|
| 40 | Source22: dinat.tar.xz |
---|
| 41 | Source23: dirtree.doc.tar.xz |
---|
| 42 | Source24: dirtree.source.tar.xz |
---|
| 43 | Source25: dirtree.tar.xz |
---|
| 44 | Source26: docbytex.doc.tar.xz |
---|
| 45 | Source27: docbytex.tar.xz |
---|
| 46 | Source28: dowith.doc.tar.xz |
---|
| 47 | Source29: dowith.source.tar.xz |
---|
| 48 | Source30: dowith.tar.xz |
---|
| 49 | Source31: eijkhout.tar.xz |
---|
| 50 | Source32: encxvlna.doc.tar.xz |
---|
| 51 | Source33: encxvlna.tar.xz |
---|
| 52 | Source34: epigram.tar.xz |
---|
| 53 | Source35: fenixpar.doc.tar.xz |
---|
| 54 | Source36: fenixpar.tar.xz |
---|
| 55 | Source37: fltpoint.doc.tar.xz |
---|
| 56 | Source38: fltpoint.source.tar.xz |
---|
| 57 | Source39: fltpoint.tar.xz |
---|
| 58 | Source40: fntproof.doc.tar.xz |
---|
| 59 | Source41: fntproof.tar.xz |
---|
| 60 | Source42: gates.doc.tar.xz |
---|
| 61 | Source43: gates.tar.xz |
---|
| 62 | Source44: ifetex.doc.tar.xz |
---|
| 63 | Source45: ifetex.source.tar.xz |
---|
| 64 | Source46: ifetex.tar.xz |
---|
| 65 | Source47: iftex.doc.tar.xz |
---|
| 66 | Source48: iftex.tar.xz |
---|
| 67 | Source49: insbox.doc.tar.xz |
---|
| 68 | Source50: insbox.tar.xz |
---|
| 69 | Source51: lambda-lists.doc.tar.xz |
---|
| 70 | Source52: lambda-lists.tar.xz |
---|
| 71 | Source53: langcode.doc.tar.xz |
---|
| 72 | Source54: langcode.source.tar.xz |
---|
| 73 | Source55: langcode.tar.xz |
---|
| 74 | Source56: lecturer.doc.tar.xz |
---|
| 75 | Source57: lecturer.tar.xz |
---|
| 76 | Source58: librarian.doc.tar.xz |
---|
| 77 | Source59: librarian.tar.xz |
---|
| 78 | Source60: mathdots.doc.tar.xz |
---|
| 79 | Source61: mathdots.source.tar.xz |
---|
| 80 | Source62: mathdots.tar.xz |
---|
| 81 | Source63: metatex.doc.tar.xz |
---|
| 82 | Source64: metatex.tar.xz |
---|
| 83 | Source65: midnight.doc.tar.xz |
---|
| 84 | Source66: midnight.tar.xz |
---|
| 85 | Source67: navigator.doc.tar.xz |
---|
| 86 | Source68: navigator.tar.xz |
---|
| 87 | Source69: ofs.doc.tar.xz |
---|
| 88 | Source70: ofs.tar.xz |
---|
| 89 | Source71: pdf-trans.doc.tar.xz |
---|
| 90 | Source72: pdf-trans.tar.xz |
---|
| 91 | Source73: plainpkg.doc.tar.xz |
---|
| 92 | Source74: plainpkg.source.tar.xz |
---|
| 93 | Source75: plainpkg.tar.xz |
---|
| 94 | Source76: schemata.doc.tar.xz |
---|
| 95 | Source77: schemata.source.tar.xz |
---|
| 96 | Source78: schemata.tar.xz |
---|
| 97 | Source79: shade.doc.tar.xz |
---|
| 98 | Source80: shade.tar.xz |
---|
| 99 | Source81: systeme.doc.tar.xz |
---|
| 100 | Source82: systeme.tar.xz |
---|
| 101 | Source83: tabto-generic.tar.xz |
---|
| 102 | Source84: texapi.doc.tar.xz |
---|
| 103 | Source85: texapi.tar.xz |
---|
| 104 | Source86: upca.doc.tar.xz |
---|
| 105 | Source87: upca.tar.xz |
---|
| 106 | Source88: xlop.doc.tar.xz |
---|
| 107 | Source89: xlop.source.tar.xz |
---|
| 108 | Source90: xlop.tar.xz |
---|
| 109 | Source91: yax.doc.tar.xz |
---|
| 110 | Source92: yax.tar.xz |
---|
[7770] | 111 | |
---|
[1533] | 112 | Requires: texlive = %{version} |
---|
| 113 | Requires: texlive-collection-basic = %{version} |
---|
| 114 | |
---|
| 115 | Requires(post): texlive = %{version} |
---|
| 116 | Requires(postun): texlive = %{version} |
---|
| 117 | |
---|
| 118 | BuildArch: noarch |
---|
| 119 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 120 | |
---|
| 121 | Vendor: Project Vine |
---|
| 122 | Distribution: Vine Linux |
---|
| 123 | Packager: munepi |
---|
| 124 | |
---|
| 125 | %description |
---|
| 126 | The TeX Live software distribution offers a complete TeX system for a |
---|
| 127 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
| 128 | encompasses programs for editing, typesetting, previewing and printing |
---|
| 129 | of TeX documents in many different languages, and a large collection |
---|
| 130 | of TeX macros and font libraries. |
---|
| 131 | |
---|
| 132 | The distribution includes extensive general documentation about TeX, |
---|
| 133 | as well as the documentation for the included software packages. |
---|
| 134 | |
---|
[7770] | 135 | This package is a collection of Generic additional packages: |
---|
[1533] | 136 | Extra packages that work with multiple formats, typically both |
---|
| 137 | TeX and LaTeX. |
---|
| 138 | |
---|
| 139 | This package contains the following CTAN packages: |
---|
| 140 | abbr: Simple macros supporting abreviations for Plain and LaTeX. |
---|
| 141 | abstyles: Adaptable BibTeX styles. |
---|
[8744] | 142 | bagpipe: Support for typesetting bagpipe music. |
---|
[1533] | 143 | barr: Diagram macros by Michael Barr. |
---|
[7148] | 144 | bitelist: Split list, in TeX's mouth. |
---|
[1533] | 145 | borceux: Diagram macros by Francois Borceux. |
---|
| 146 | c-pascal: Typeset Python, C and Pascal programs. |
---|
[7770] | 147 | catcodes: Generic handling of TeX category codes. |
---|
[7148] | 148 | chronosys: Drawing time-line diagrams. |
---|
[1533] | 149 | colorsep: Color separation. |
---|
| 150 | dinat: Bibliography style for German texts. |
---|
| 151 | dirtree: Display trees in the style of windows explorer. |
---|
[8476] | 152 | docbytex: Creating documentation from source code |
---|
[7770] | 153 | dowith: Apply a command to a list of items. |
---|
[1533] | 154 | eijkhout: Victor Eijkhout's packages. |
---|
| 155 | encxvlna: Insert nonbreakable spaces, using encTeX. |
---|
[5207] | 156 | epigram: Display short quotations. |
---|
[1533] | 157 | fenixpar: One-shot changes to token registers such as everypar. |
---|
| 158 | fltpoint: Simple floating point arithmetic. |
---|
[5207] | 159 | fntproof: A programmable font test pattern generator. |
---|
[7148] | 160 | gates: Support for writing modular and customisable code. |
---|
| 161 | ifetex: Provides ifetex switch. |
---|
[5207] | 162 | iftex: Am I running under pdfTeX, XeTeX or LuaTeX? |
---|
[8744] | 163 | insbox: Insert pictures/boxes into paragraphs. |
---|
[7770] | 164 | lambda-lists: Lists in TeX's mouth. |
---|
[8476] | 165 | langcode: Simple language-dependent settings based on language codes. |
---|
[5207] | 166 | lecturer: On-screen presentations for (almost) all formats. |
---|
| 167 | librarian: Tools to create bibliographies in TeX. |
---|
[1533] | 168 | mathdots: Commands to produce dots in math that respect font size. |
---|
[8476] | 169 | metatex: Incorporate Metafont pictures in TeX source. |
---|
[1533] | 170 | midnight: A set of useful macro tools. |
---|
[5207] | 171 | navigator: PDF features across formats and engines. |
---|
[1533] | 172 | ofs: Macros for managing large font collections. |
---|
| 173 | pdf-trans: A set of macros for various transformations of TeX boxes. |
---|
[8476] | 174 | plainpkg: A minimal method for making generic packages. |
---|
[7770] | 175 | schemata: Print topical diagrams. |
---|
[1533] | 176 | shade: Shade pieces of text. |
---|
[5207] | 177 | systeme: Format systems of equations. |
---|
[1533] | 178 | tabto-generic: "Tab" to a measured position in the line. |
---|
[5207] | 179 | texapi: Macros to write format-independent packages. |
---|
[8476] | 180 | upca: Print UPC-A barcodes. |
---|
[1533] | 181 | xlop: Calculates and displays arithmetic operations. |
---|
[5207] | 182 | yax: Yet Another Key System. |
---|
[1533] | 183 | |
---|
| 184 | %description -l ja |
---|
| 185 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 186 | さまざまな Unix, Macintosh, Windows、および |
---|
| 187 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 188 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 189 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 190 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 191 | 同梱しています。 |
---|
| 192 | |
---|
| 193 | このディストリビューションは |
---|
| 194 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 195 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 196 | |
---|
| 197 | このパッケージは以下のようなパッケージ集です。 |
---|
[7770] | 198 | Generic additional packages: |
---|
[1533] | 199 | Extra packages that work with multiple formats, typically both |
---|
| 200 | TeX and LaTeX. |
---|
| 201 | |
---|
| 202 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
| 203 | abbr: Simple macros supporting abreviations for Plain and LaTeX. |
---|
| 204 | abstyles: Adaptable BibTeX styles. |
---|
[8744] | 205 | bagpipe: Support for typesetting bagpipe music. |
---|
[1533] | 206 | barr: Diagram macros by Michael Barr. |
---|
[7148] | 207 | bitelist: Split list, in TeX's mouth. |
---|
[1533] | 208 | borceux: Diagram macros by Francois Borceux. |
---|
| 209 | c-pascal: Typeset Python, C and Pascal programs. |
---|
[7770] | 210 | catcodes: Generic handling of TeX category codes. |
---|
[7148] | 211 | chronosys: Drawing time-line diagrams. |
---|
[1533] | 212 | colorsep: Color separation. |
---|
| 213 | dinat: Bibliography style for German texts. |
---|
| 214 | dirtree: Display trees in the style of windows explorer. |
---|
[8476] | 215 | docbytex: Creating documentation from source code |
---|
[7770] | 216 | dowith: Apply a command to a list of items. |
---|
[1533] | 217 | eijkhout: Victor Eijkhout's packages. |
---|
| 218 | encxvlna: Insert nonbreakable spaces, using encTeX. |
---|
[5207] | 219 | epigram: Display short quotations. |
---|
[1533] | 220 | fenixpar: One-shot changes to token registers such as everypar. |
---|
| 221 | fltpoint: Simple floating point arithmetic. |
---|
[5207] | 222 | fntproof: A programmable font test pattern generator. |
---|
[7148] | 223 | gates: Support for writing modular and customisable code. |
---|
| 224 | ifetex: Provides ifetex switch. |
---|
[5207] | 225 | iftex: Am I running under pdfTeX, XeTeX or LuaTeX? |
---|
[8744] | 226 | insbox: Insert pictures/boxes into paragraphs. |
---|
[7770] | 227 | lambda-lists: Lists in TeX's mouth. |
---|
[8476] | 228 | langcode: Simple language-dependent settings based on language codes. |
---|
[5207] | 229 | lecturer: On-screen presentations for (almost) all formats. |
---|
| 230 | librarian: Tools to create bibliographies in TeX. |
---|
[1533] | 231 | mathdots: Commands to produce dots in math that respect font size. |
---|
[8476] | 232 | metatex: Incorporate Metafont pictures in TeX source. |
---|
[1533] | 233 | midnight: A set of useful macro tools. |
---|
[5207] | 234 | navigator: PDF features across formats and engines. |
---|
[1533] | 235 | ofs: Macros for managing large font collections. |
---|
| 236 | pdf-trans: A set of macros for various transformations of TeX boxes. |
---|
[8476] | 237 | plainpkg: A minimal method for making generic packages. |
---|
[7770] | 238 | schemata: Print topical diagrams. |
---|
[1533] | 239 | shade: Shade pieces of text. |
---|
[5207] | 240 | systeme: Format systems of equations. |
---|
[1533] | 241 | tabto-generic: "Tab" to a measured position in the line. |
---|
[5207] | 242 | texapi: Macros to write format-independent packages. |
---|
[8476] | 243 | upca: Print UPC-A barcodes. |
---|
[1533] | 244 | xlop: Calculates and displays arithmetic operations. |
---|
[5207] | 245 | yax: Yet Another Key System. |
---|
[1533] | 246 | |
---|
| 247 | %package doc |
---|
| 248 | Summary: TeX Live: Documentation files of %{name} |
---|
| 249 | Group: Applications/Publishing |
---|
| 250 | Requires: %{name} = %{version}-%{release} |
---|
| 251 | |
---|
| 252 | %description doc |
---|
| 253 | This package contains documentation files of %{name}. |
---|
| 254 | |
---|
| 255 | %prep |
---|
[7770] | 256 | %setup -c -n %{name}-%{version} |
---|
| 257 | %__tar -xvf %{SOURCE1} |
---|
| 258 | %__tar -xvf %{SOURCE2} |
---|
| 259 | %__tar -xvf %{SOURCE3} |
---|
| 260 | %__tar -xvf %{SOURCE4} |
---|
| 261 | %__tar -xvf %{SOURCE5} |
---|
| 262 | %__tar -xvf %{SOURCE6} |
---|
| 263 | %__tar -xvf %{SOURCE7} |
---|
| 264 | %__tar -xvf %{SOURCE8} |
---|
| 265 | %__tar -xvf %{SOURCE9} |
---|
| 266 | %__tar -xvf %{SOURCE10} |
---|
| 267 | %__tar -xvf %{SOURCE11} |
---|
| 268 | %__tar -xvf %{SOURCE12} |
---|
| 269 | %__tar -xvf %{SOURCE13} |
---|
| 270 | %__tar -xvf %{SOURCE14} |
---|
| 271 | %__tar -xvf %{SOURCE15} |
---|
| 272 | %__tar -xvf %{SOURCE16} |
---|
| 273 | %__tar -xvf %{SOURCE17} |
---|
| 274 | %__tar -xvf %{SOURCE18} |
---|
| 275 | %__tar -xvf %{SOURCE19} |
---|
| 276 | %__tar -xvf %{SOURCE20} |
---|
| 277 | %__tar -xvf %{SOURCE21} |
---|
| 278 | %__tar -xvf %{SOURCE22} |
---|
| 279 | %__tar -xvf %{SOURCE23} |
---|
| 280 | %__tar -xvf %{SOURCE24} |
---|
| 281 | %__tar -xvf %{SOURCE25} |
---|
| 282 | %__tar -xvf %{SOURCE26} |
---|
| 283 | %__tar -xvf %{SOURCE27} |
---|
| 284 | %__tar -xvf %{SOURCE28} |
---|
| 285 | %__tar -xvf %{SOURCE29} |
---|
| 286 | %__tar -xvf %{SOURCE30} |
---|
| 287 | %__tar -xvf %{SOURCE31} |
---|
| 288 | %__tar -xvf %{SOURCE32} |
---|
| 289 | %__tar -xvf %{SOURCE33} |
---|
| 290 | %__tar -xvf %{SOURCE34} |
---|
| 291 | %__tar -xvf %{SOURCE35} |
---|
| 292 | %__tar -xvf %{SOURCE36} |
---|
| 293 | %__tar -xvf %{SOURCE37} |
---|
| 294 | %__tar -xvf %{SOURCE38} |
---|
| 295 | %__tar -xvf %{SOURCE39} |
---|
| 296 | %__tar -xvf %{SOURCE40} |
---|
| 297 | %__tar -xvf %{SOURCE41} |
---|
| 298 | %__tar -xvf %{SOURCE42} |
---|
| 299 | %__tar -xvf %{SOURCE43} |
---|
| 300 | %__tar -xvf %{SOURCE44} |
---|
| 301 | %__tar -xvf %{SOURCE45} |
---|
| 302 | %__tar -xvf %{SOURCE46} |
---|
| 303 | %__tar -xvf %{SOURCE47} |
---|
| 304 | %__tar -xvf %{SOURCE48} |
---|
| 305 | %__tar -xvf %{SOURCE49} |
---|
| 306 | %__tar -xvf %{SOURCE50} |
---|
| 307 | %__tar -xvf %{SOURCE51} |
---|
| 308 | %__tar -xvf %{SOURCE52} |
---|
| 309 | %__tar -xvf %{SOURCE53} |
---|
| 310 | %__tar -xvf %{SOURCE54} |
---|
| 311 | %__tar -xvf %{SOURCE55} |
---|
| 312 | %__tar -xvf %{SOURCE56} |
---|
| 313 | %__tar -xvf %{SOURCE57} |
---|
| 314 | %__tar -xvf %{SOURCE58} |
---|
| 315 | %__tar -xvf %{SOURCE59} |
---|
| 316 | %__tar -xvf %{SOURCE60} |
---|
| 317 | %__tar -xvf %{SOURCE61} |
---|
| 318 | %__tar -xvf %{SOURCE62} |
---|
| 319 | %__tar -xvf %{SOURCE63} |
---|
| 320 | %__tar -xvf %{SOURCE64} |
---|
| 321 | %__tar -xvf %{SOURCE65} |
---|
| 322 | %__tar -xvf %{SOURCE66} |
---|
| 323 | %__tar -xvf %{SOURCE67} |
---|
| 324 | %__tar -xvf %{SOURCE68} |
---|
| 325 | %__tar -xvf %{SOURCE69} |
---|
| 326 | %__tar -xvf %{SOURCE70} |
---|
| 327 | %__tar -xvf %{SOURCE71} |
---|
| 328 | %__tar -xvf %{SOURCE72} |
---|
| 329 | %__tar -xvf %{SOURCE73} |
---|
| 330 | %__tar -xvf %{SOURCE74} |
---|
| 331 | %__tar -xvf %{SOURCE75} |
---|
| 332 | %__tar -xvf %{SOURCE76} |
---|
| 333 | %__tar -xvf %{SOURCE77} |
---|
| 334 | %__tar -xvf %{SOURCE78} |
---|
| 335 | %__tar -xvf %{SOURCE79} |
---|
| 336 | %__tar -xvf %{SOURCE80} |
---|
| 337 | %__tar -xvf %{SOURCE81} |
---|
| 338 | %__tar -xvf %{SOURCE82} |
---|
| 339 | %__tar -xvf %{SOURCE83} |
---|
| 340 | %__tar -xvf %{SOURCE84} |
---|
| 341 | %__tar -xvf %{SOURCE85} |
---|
| 342 | %__tar -xvf %{SOURCE86} |
---|
| 343 | %__tar -xvf %{SOURCE87} |
---|
| 344 | %__tar -xvf %{SOURCE88} |
---|
[8476] | 345 | %__tar -xvf %{SOURCE89} |
---|
| 346 | %__tar -xvf %{SOURCE90} |
---|
[8744] | 347 | %__tar -xvf %{SOURCE91} |
---|
| 348 | %__tar -xvf %{SOURCE92} |
---|
[1533] | 349 | |
---|
| 350 | %build |
---|
| 351 | |
---|
| 352 | %install |
---|
| 353 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
| 354 | |
---|
[7770] | 355 | %__mkdir_p %{buildroot}%{_datadir} |
---|
[1533] | 356 | |
---|
[7770] | 357 | ## move texmf-dist to /usr/share/texmf-dist |
---|
| 358 | [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||: |
---|
[1533] | 359 | |
---|
[7770] | 360 | ## move texmf to /usr/share/texmf |
---|
| 361 | [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||: |
---|
[1533] | 362 | |
---|
[7770] | 363 | ## move tlpkg to /usr/share/tlpkg |
---|
| 364 | [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||: |
---|
| 365 | |
---|
| 366 | ## move all non-arch binaries to /usr/bin |
---|
| 367 | [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||: |
---|
| 368 | |
---|
| 369 | ## move others into /usr/share/texmf-dist |
---|
| 370 | %__mkdir_p %{buildroot}%{_tl_texmfdist} |
---|
| 371 | %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||: |
---|
| 372 | %__rm -rf * ||: |
---|
| 373 | |
---|
| 374 | |
---|
| 375 | ## remove duplicated files between texlive and texlive-collection-* |
---|
| 376 | ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive |
---|
| 377 | ## remove unpacked files |
---|
| 378 | x=( |
---|
[8744] | 379 | scripts/texlive/fmtutil.sh |
---|
| 380 | texconfig/tcfmgr |
---|
| 381 | web2c/texmf.cnf |
---|
| 382 | web2c/updmap-hdr.cfg |
---|
| 383 | web2c/updmap.cfg |
---|
[7770] | 384 | install-tl |
---|
| 385 | ) |
---|
| 386 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
| 387 | pushd %{buildroot}%{_tl_texmfdist} |
---|
| 388 | %__rm -f ${x[@]} ||: |
---|
[5207] | 389 | popd |
---|
[7770] | 390 | fi |
---|
| 391 | |
---|
[1533] | 392 | ## Files list |
---|
| 393 | find %{buildroot} -type f -or -type l | \ |
---|
| 394 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 395 | |
---|
[7770] | 396 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
[1533] | 397 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 398 | -e "s|$|/|" >> filelist.full |
---|
| 399 | |
---|
| 400 | ## subpackages |
---|
| 401 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 402 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 403 | %__mv -f filelist.tmp filelist.full |
---|
| 404 | |
---|
| 405 | %clean |
---|
| 406 | %__rm -rf %{buildroot} |
---|
| 407 | |
---|
| 408 | %post |
---|
[7770] | 409 | %_tl_touch_run texhash |
---|
| 410 | %_tl_touch_run mtxrun |
---|
[1533] | 411 | |
---|
| 412 | exit 0 |
---|
| 413 | |
---|
| 414 | |
---|
| 415 | %postun |
---|
| 416 | if [ "$1" = 0 ]; then |
---|
[7770] | 417 | %_tl_touch_run texhash |
---|
[1533] | 418 | |
---|
| 419 | fi |
---|
| 420 | |
---|
| 421 | exit 0 |
---|
| 422 | |
---|
[7148] | 423 | %posttrans |
---|
[7770] | 424 | %{_tl_exec_texhash} |
---|
| 425 | %{_tl_exec_mtxrun} |
---|
| 426 | %{_tl_exec_updmap} |
---|
| 427 | %{_tl_exec_fmtutil} |
---|
[7148] | 428 | exit 0 |
---|
| 429 | |
---|
| 430 | |
---|
[1533] | 431 | %files -f filelist.full |
---|
[5207] | 432 | %defattr(-,root,root,-) |
---|
[1533] | 433 | |
---|
| 434 | %files -f filelist.doc doc |
---|
[5207] | 435 | %defattr(-,root,root,-) |
---|
[1533] | 436 | |
---|
| 437 | %changelog |
---|
[8744] | 438 | * Sun Jul 6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2 |
---|
| 439 | - synced tlnet to 20140706 |
---|
| 440 | |
---|
[8476] | 441 | * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1 |
---|
[8744] | 442 | - synced tlnet to 20140524 |
---|