[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[2505] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: |
---|
[1974] | 3 | ## tlpdb2rpmspec collection-binextra |
---|
[1533] | 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} |
---|
[2505] | 22 | %define __perl_provides %{nil} |
---|
| 23 | %define __perl_requires %{nil} |
---|
[1533] | 24 | |
---|
| 25 | Autoreq: 0 |
---|
| 26 | |
---|
| 27 | Summary: TeX Live: TeX auxiliary programs |
---|
| 28 | Summary(ja): TeX Live: TeX auxiliary programs |
---|
| 29 | Name: texlive-collection-binextra |
---|
| 30 | Version: 2009 |
---|
[2505] | 31 | Release: 3%{?_dist_release} |
---|
[1533] | 32 | License: GPL+, LGPLv2+, Knuth, Freely redistributable without restriction, Public Domain, No Info, LPPL, Artistic |
---|
| 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 TeX auxiliary programs: |
---|
| 61 | Various useful, but non-essential, support programs. Includes |
---|
| 62 | programs and macros for DVI file manipulation, literate |
---|
| 63 | programming, patgen, and the TeX Works Editor. |
---|
| 64 | |
---|
| 65 | This package contains the following CTAN packages: |
---|
| 66 | a2ping: Advanced PS, PDF, EPS converter. |
---|
| 67 | asymptote: 2D and 3D TeX-Aware Vector Graphics Language. |
---|
| 68 | bibtex8: A fully 8-bit adaptation of BibTeX 0.99. |
---|
| 69 | ctie: |
---|
| 70 | cweb: A Web system in C. |
---|
| 71 | detex: Strip TeX from a source file. |
---|
| 72 | dtl: Tools to dis-assemble and re-assemble DVI files. |
---|
| 73 | dvi2tty: Produce ASCII from DVI. |
---|
| 74 | dviasm: A utility for editing DVI files. |
---|
| 75 | dvicopy: Copy DVI files, flattening VFs. |
---|
| 76 | dvidvi: Convert one DVI file into another. |
---|
| 77 | dviljk: DVI to Laserjet output. |
---|
| 78 | dvipng: A fast DVI to PNG/GIF converter. |
---|
| 79 | dvipos: |
---|
| 80 | findhyph: Find hyphenated words in a document. |
---|
| 81 | fragmaster: Using psfrag with PDFLaTeX. |
---|
| 82 | getnonfreefonts: |
---|
| 83 | hyphenex: Generate a hyphenation exceptions file. |
---|
| 84 | lacheck: LaTeX checker. |
---|
| 85 | latex2man: Translate LaTeX-based manual pages into Unix man format. |
---|
| 86 | latexmk: Fully automated LaTeX document generation routine. |
---|
| 87 | listings-ext: Automated input of source. |
---|
| 88 | mkind-english: |
---|
| 89 | mkjobtexmf: Generate a texmf tree for a particular job. |
---|
| 90 | patgen: |
---|
| 91 | pdfcrop: Crop PDF graphics. |
---|
| 92 | pdftools: PDF-related utilities, including PostScript-to-PDF conversion |
---|
| 93 | pkfix: Replace pk fonts in PostScript with Type 1 fonts. |
---|
| 94 | pkfix-helper: Make PostScript files accessible to pkfix. |
---|
| 95 | purifyeps: Make EPS work with both LaTeX/dvips and pdfLaTeX. |
---|
| 96 | seetexk: Utiities for manipulating DVI files. |
---|
| 97 | synctex: |
---|
| 98 | texcount: Count words in a LaTeX document. |
---|
| 99 | texdiff: Compare documents and produce tagged merge. |
---|
| 100 | texdirflatten: Collect files related to a LaTeX job in a single directory. |
---|
| 101 | texdoc: Documentation access for TeX distributions. |
---|
| 102 | texloganalyser: Analyse TeX logs. |
---|
| 103 | texware: Utility programs for use with TeX. |
---|
| 104 | tie: Allow multiple web change files. |
---|
| 105 | tpic2pdftex: Use tpic commands in PDFTeX. |
---|
| 106 | web: original web programs tangle and weave |
---|
| 107 | xindy: A general-purpose index processor. |
---|
| 108 | |
---|
| 109 | %description -l ja |
---|
| 110 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 111 | さまざまな Unix, Macintosh, Windows、および |
---|
| 112 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 113 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 114 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 115 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 116 | 同梱しています。 |
---|
| 117 | |
---|
| 118 | このディストリビューションは |
---|
| 119 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 120 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 121 | |
---|
| 122 | このパッケージは以下のようなパッケージ集です。 |
---|
| 123 | TeX auxiliary programs: |
---|
| 124 | Various useful, but non-essential, support programs. Includes |
---|
| 125 | programs and macros for DVI file manipulation, literate |
---|
| 126 | programming, patgen, and the TeX Works Editor. |
---|
| 127 | |
---|
| 128 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
| 129 | a2ping: Advanced PS, PDF, EPS converter. |
---|
| 130 | asymptote: 2D and 3D TeX-Aware Vector Graphics Language. |
---|
| 131 | bibtex8: A fully 8-bit adaptation of BibTeX 0.99. |
---|
| 132 | ctie: |
---|
| 133 | cweb: A Web system in C. |
---|
| 134 | detex: Strip TeX from a source file. |
---|
| 135 | dtl: Tools to dis-assemble and re-assemble DVI files. |
---|
| 136 | dvi2tty: Produce ASCII from DVI. |
---|
| 137 | dviasm: A utility for editing DVI files. |
---|
| 138 | dvicopy: Copy DVI files, flattening VFs. |
---|
| 139 | dvidvi: Convert one DVI file into another. |
---|
| 140 | dviljk: DVI to Laserjet output. |
---|
| 141 | dvipng: A fast DVI to PNG/GIF converter. |
---|
| 142 | dvipos: |
---|
| 143 | findhyph: Find hyphenated words in a document. |
---|
| 144 | fragmaster: Using psfrag with PDFLaTeX. |
---|
| 145 | getnonfreefonts: |
---|
| 146 | hyphenex: Generate a hyphenation exceptions file. |
---|
| 147 | lacheck: LaTeX checker. |
---|
| 148 | latex2man: Translate LaTeX-based manual pages into Unix man format. |
---|
| 149 | latexmk: Fully automated LaTeX document generation routine. |
---|
| 150 | listings-ext: Automated input of source. |
---|
| 151 | mkind-english: |
---|
| 152 | mkjobtexmf: Generate a texmf tree for a particular job. |
---|
| 153 | patgen: |
---|
| 154 | pdfcrop: Crop PDF graphics. |
---|
| 155 | pdftools: PDF-related utilities, including PostScript-to-PDF conversion |
---|
| 156 | pkfix: Replace pk fonts in PostScript with Type 1 fonts. |
---|
| 157 | pkfix-helper: Make PostScript files accessible to pkfix. |
---|
| 158 | purifyeps: Make EPS work with both LaTeX/dvips and pdfLaTeX. |
---|
| 159 | seetexk: Utiities for manipulating DVI files. |
---|
| 160 | synctex: |
---|
| 161 | texcount: Count words in a LaTeX document. |
---|
| 162 | texdiff: Compare documents and produce tagged merge. |
---|
| 163 | texdirflatten: Collect files related to a LaTeX job in a single directory. |
---|
| 164 | texdoc: Documentation access for TeX distributions. |
---|
| 165 | texloganalyser: Analyse TeX logs. |
---|
| 166 | texware: Utility programs for use with TeX. |
---|
| 167 | tie: Allow multiple web change files. |
---|
| 168 | tpic2pdftex: Use tpic commands in PDFTeX. |
---|
| 169 | web: original web programs tangle and weave |
---|
| 170 | xindy: A general-purpose index processor. |
---|
| 171 | |
---|
| 172 | %package doc |
---|
| 173 | Summary: TeX Live: Documentation files of %{name} |
---|
| 174 | Group: Applications/Publishing |
---|
| 175 | Requires: %{name} = %{version}-%{release} |
---|
| 176 | |
---|
| 177 | %description doc |
---|
| 178 | This package contains documentation files of %{name}. |
---|
| 179 | |
---|
| 180 | %prep |
---|
| 181 | |
---|
| 182 | %build |
---|
| 183 | |
---|
| 184 | %install |
---|
| 185 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
| 186 | |
---|
| 187 | PREF=%{buildroot}%{tex_destdir} |
---|
| 188 | |
---|
| 189 | manifest=( |
---|
| 190 | texmf-dist/bibtex/csf/base/88591lat.csf |
---|
| 191 | texmf-dist/bibtex/csf/base/88591sca.csf |
---|
| 192 | texmf-dist/bibtex/csf/base/README.TEXLIVE |
---|
| 193 | texmf-dist/bibtex/csf/base/ascii.csf |
---|
| 194 | texmf-dist/bibtex/csf/base/cp437lat.csf |
---|
| 195 | texmf-dist/bibtex/csf/base/cp850lat.csf |
---|
| 196 | texmf-dist/bibtex/csf/base/cp850sca.csf |
---|
| 197 | texmf-dist/bibtex/csf/base/cp866rus.csf |
---|
| 198 | texmf-dist/bibtex/csf/base/csfile.txt |
---|
| 199 | texmf-dist/bibtex/csf/polish-csf/88592pl.csf |
---|
| 200 | texmf-dist/bibtex/csf/polish-csf/cp1250pl.csf |
---|
| 201 | texmf-dist/bibtex/csf/polish-csf/cp852pl.csf |
---|
| 202 | texmf-dist/bibtex/csf/polish-csf/iso8859-7.csf |
---|
| 203 | texmf-dist/doc/plain/cweb/cwebman.dvi |
---|
| 204 | texmf-dist/tex/plain/cweb/cwebmac.tex |
---|
| 205 | texmf-dist/tex/plain/cweb/pdfXcwebmac.tex |
---|
| 206 | texmf-dist/tex/plain/cweb/pdfcwebmac.tex |
---|
| 207 | texmf-dist/tex/plain/cweb/pdfdcwebmac.tex |
---|
| 208 | texmf-dist/tex/plain/cweb/pdffcwebmac.tex |
---|
| 209 | texmf-dist/tex/plain/cweb/pdficwebmac.tex |
---|
| 210 | texmf-dist/tex/plain/cweb/pdfwebmac.tex |
---|
| 211 | texmf-dist/scripts/dviasm/dviasm.py |
---|
| 212 | texmf-dist/doc/support/findhyph/Makefile |
---|
| 213 | texmf-dist/doc/support/findhyph/README |
---|
| 214 | texmf-dist/doc/support/findhyph/findhyph.bat |
---|
| 215 | texmf-dist/doc/support/findhyph/findhyph.txt |
---|
| 216 | texmf-dist/scripts/findhyph/findhyph |
---|
| 217 | texmf-dist/doc/support/fragmaster/AUTHORS |
---|
| 218 | texmf-dist/doc/support/fragmaster/COPYING |
---|
| 219 | texmf-dist/doc/support/fragmaster/CREDITS |
---|
| 220 | texmf-dist/doc/support/fragmaster/README |
---|
| 221 | texmf-dist/doc/support/fragmaster/README.de |
---|
| 222 | texmf-dist/doc/support/fragmaster/example/document.pdf |
---|
| 223 | texmf-dist/doc/support/fragmaster/example/document.ps |
---|
| 224 | texmf-dist/doc/support/fragmaster/example/document.tex |
---|
| 225 | texmf-dist/doc/support/fragmaster/example/parabel.eps |
---|
| 226 | texmf-dist/doc/support/fragmaster/example/parabel.pdf |
---|
| 227 | texmf-dist/doc/support/fragmaster/example/parabel_fm |
---|
| 228 | texmf-dist/doc/support/fragmaster/example/parabel_fm.eps |
---|
| 229 | texmf-dist/doc/support/fragmaster/example/parabel_fm.gp |
---|
| 230 | texmf-dist/doc/support/fragmaster/example/parabel_fm.pdf |
---|
| 231 | texmf-dist/scripts/fragmaster/fragmaster.pl |
---|
| 232 | texmf-dist/source/generic/hyphenex/GNUmakefile |
---|
| 233 | texmf-dist/source/generic/hyphenex/README |
---|
| 234 | texmf-dist/source/generic/hyphenex/hyphenex.pl |
---|
| 235 | texmf-dist/source/generic/hyphenex/hyphenex.sh |
---|
| 236 | texmf-dist/source/generic/hyphenex/tb0hyf.tex |
---|
| 237 | texmf-dist/source/generic/hyphenex/test.tex |
---|
| 238 | texmf-dist/tex/generic/hyphenex/ushyphex.tex |
---|
| 239 | texmf-dist/doc/support/latex2man/CHANGES |
---|
| 240 | texmf-dist/doc/support/latex2man/INSTALL |
---|
| 241 | texmf-dist/doc/support/latex2man/Makefile |
---|
| 242 | texmf-dist/doc/support/latex2man/README |
---|
| 243 | texmf-dist/doc/support/latex2man/THIS-IS-VERSION-1.23 |
---|
| 244 | texmf-dist/doc/support/latex2man/latex2man.1 |
---|
| 245 | texmf-dist/doc/support/latex2man/latex2man.html |
---|
| 246 | texmf-dist/doc/support/latex2man/latex2man.pdf |
---|
| 247 | texmf-dist/doc/support/latex2man/latex2man.tex |
---|
| 248 | texmf-dist/doc/support/latex2man/latex2man.texi |
---|
| 249 | texmf-dist/doc/support/latex2man/latex2man.trans |
---|
| 250 | texmf-dist/doc/support/latex2man/latex2man.txt |
---|
| 251 | texmf-dist/scripts/latex2man/latex2man |
---|
| 252 | texmf-dist/tex/latex/latex2man/latex2man.cfg |
---|
| 253 | texmf-dist/tex/latex/latex2man/latex2man.sty |
---|
| 254 | texmf-dist/doc/support/latexmk/CHANGES |
---|
| 255 | texmf-dist/doc/support/latexmk/COPYING |
---|
| 256 | texmf-dist/doc/support/latexmk/INSTALL |
---|
| 257 | texmf-dist/doc/support/latexmk/README |
---|
| 258 | texmf-dist/doc/support/latexmk/example_rcfiles/README |
---|
| 259 | texmf-dist/doc/support/latexmk/example_rcfiles/pdflatexmkrc |
---|
| 260 | texmf-dist/doc/support/latexmk/extra-scripts/README1 |
---|
| 261 | texmf-dist/doc/support/latexmk/extra-scripts/dvipdfm_call |
---|
| 262 | texmf-dist/doc/support/latexmk/extra-scripts/dvipdfm_call.bat |
---|
| 263 | texmf-dist/doc/support/latexmk/extra-scripts/dvipdfmx_call |
---|
| 264 | texmf-dist/doc/support/latexmk/extra-scripts/dvipdfmx_call.bat |
---|
| 265 | texmf-dist/doc/support/latexmk/extra-scripts/kickxdvi |
---|
| 266 | texmf-dist/doc/support/latexmk/extra-scripts/l1 |
---|
| 267 | texmf-dist/doc/support/latexmk/extra-scripts/l2 |
---|
| 268 | texmf-dist/doc/support/latexmk/extra-scripts/pst2pdf_for_latexmk |
---|
| 269 | texmf-dist/doc/support/latexmk/extra-scripts/pst2pdf_for_latexmk_README.txt |
---|
| 270 | texmf-dist/doc/support/latexmk/extra-scripts/startacroread |
---|
| 271 | texmf-dist/doc/support/latexmk/latexmk.1 |
---|
| 272 | texmf-dist/doc/support/latexmk/latexmk.bat |
---|
| 273 | texmf-dist/doc/support/latexmk/latexmk.pdf |
---|
| 274 | texmf-dist/doc/support/latexmk/latexmk.txt |
---|
| 275 | texmf-dist/scripts/latexmk/latexmk.pl |
---|
| 276 | texmf-dist/doc/latex/listings-ext/README |
---|
| 277 | texmf-dist/doc/latex/listings-ext/THIS_IS_VERSION_v48 |
---|
| 278 | texmf-dist/doc/latex/listings-ext/getversion.tex |
---|
| 279 | texmf-dist/doc/latex/listings-ext/hyperref.cfg |
---|
| 280 | texmf-dist/doc/latex/listings-ext/listings-ext.bib |
---|
| 281 | texmf-dist/doc/latex/listings-ext/listings-ext.el |
---|
| 282 | texmf-dist/doc/latex/listings-ext/listings-ext.makemake |
---|
| 283 | texmf-dist/doc/latex/listings-ext/listings-ext.mk |
---|
| 284 | texmf-dist/doc/latex/listings-ext/listings-ext.pdf |
---|
| 285 | texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_a.java |
---|
| 286 | texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_b.java |
---|
| 287 | texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_c.java |
---|
| 288 | texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_d.java |
---|
| 289 | texmf-dist/doc/latex/listings-ext/listings-ext_test_a.tex |
---|
| 290 | texmf-dist/doc/latex/listings-ext/listings-ext_test_d.tex |
---|
| 291 | texmf-dist/doc/latex/listings-ext/listings.cfg |
---|
| 292 | texmf-dist/source/latex/listings-ext/listings-ext.dtx |
---|
| 293 | texmf-dist/source/latex/listings-ext/listings-ext.ins |
---|
| 294 | texmf-dist/scripts/listings-ext/listings-ext.sh |
---|
| 295 | texmf-dist/tex/latex/listings-ext/listings-ext.sty |
---|
| 296 | texmf-dist/makeindex/mkind-english/digit.ist |
---|
| 297 | texmf-dist/makeindex/mkind-english/letter.ist |
---|
| 298 | texmf-dist/makeindex/mkind-english/special.ist |
---|
| 299 | texmf-dist/doc/generic/mkjobtexmf/README |
---|
| 300 | texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.html |
---|
| 301 | texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.ltx |
---|
| 302 | texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.man |
---|
| 303 | texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.pdf |
---|
| 304 | texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.txt |
---|
| 305 | texmf-dist/source/generic/mkjobtexmf/Makefile.in |
---|
| 306 | texmf-dist/source/generic/mkjobtexmf/configure |
---|
| 307 | texmf-dist/source/generic/mkjobtexmf/configure.ac |
---|
| 308 | texmf-dist/source/generic/mkjobtexmf/install-sh |
---|
| 309 | texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl |
---|
| 310 | texmf-dist/doc/support/patgen/patgen2.tutorial |
---|
| 311 | texmf-dist/doc/support/pdfcrop/README |
---|
| 312 | texmf-dist/scripts/pdfcrop/pdfcrop.pl |
---|
| 313 | texmf-dist/doc/support/pkfix/README |
---|
| 314 | texmf-dist/scripts/pkfix/pkfix.pl |
---|
| 315 | texmf-dist/doc/support/pkfix-helper/README |
---|
| 316 | texmf-dist/doc/support/pkfix-helper/encoding-samples.pdf |
---|
| 317 | texmf-dist/doc/support/pkfix-helper/encoding-samples.tex |
---|
| 318 | texmf-dist/scripts/pkfix-helper/pkfix-helper |
---|
| 319 | texmf-dist/doc/support/purifyeps/README |
---|
| 320 | texmf-dist/scripts/purifyeps/purifyeps |
---|
| 321 | texmf-dist/doc/support/texcount/QuickReference.pdf |
---|
| 322 | texmf-dist/doc/support/texcount/QuickReference.tex |
---|
| 323 | texmf-dist/doc/support/texcount/README |
---|
| 324 | texmf-dist/doc/support/texcount/TeXcount.pdf |
---|
| 325 | texmf-dist/doc/support/texcount/TeXcount.tex |
---|
| 326 | texmf-dist/doc/support/texcount/macros.tex |
---|
| 327 | texmf-dist/scripts/texcount/texcount.pl |
---|
| 328 | texmf-dist/doc/support/texdiff/README |
---|
| 329 | texmf-dist/scripts/texdiff/texdiff |
---|
| 330 | texmf-dist/scripts/texdirflatten/texdirflatten |
---|
| 331 | texmf-dist/doc/support/texloganalyser/README |
---|
| 332 | texmf-dist/scripts/texloganalyser/texloganalyser |
---|
| 333 | ) |
---|
| 334 | |
---|
| 335 | %__mkdir_p ${PREF}/texmf-dist |
---|
| 336 | for i in "${manifest[@]}"; do |
---|
| 337 | %__install -D %{texlive_src}/$i ${PREF}/$i |
---|
| 338 | done |
---|
| 339 | |
---|
| 340 | ## info |
---|
| 341 | %__rm -f %{buildroot}%{_infodir}/dir |
---|
| 342 | %__gzip -9nf %{buildroot}%{_infodir}/*info* ||: |
---|
| 343 | |
---|
| 344 | ## man |
---|
| 345 | ## man t1* files are provided by t1utils |
---|
| 346 | for i in t1ascii t1asm t1binary t1disasm t1mac t1unmac; do |
---|
| 347 | %__rm %{buildroot}%{_mandir}/man*/${i}.* ||: |
---|
| 348 | done |
---|
| 349 | |
---|
| 350 | ## man some files are provided by psutils |
---|
| 351 | for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps getafm includeres psbook psmerge psnup psresize psselect pstops; do |
---|
| 352 | %__rm %{buildroot}%{_mandir}/man*/${i}.* ||: |
---|
| 353 | done |
---|
| 354 | |
---|
[1974] | 355 | ## fix perl path |
---|
[2505] | 356 | for i in source/metapost/expressg/expressg.dtx \ |
---|
| 357 | doc/metapost/expressg/n2mpsprl.prl \ |
---|
| 358 | doc/latex/songbook/contrib/crd2sb/crd2sb; do |
---|
| 359 | [ -f %{build_texmf}-dist/${i} ] && \ |
---|
| 360 | %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i} |
---|
[1974] | 361 | done |
---|
| 362 | |
---|
[1533] | 363 | ## remove asymptote directries, which provides asymptote package |
---|
| 364 | find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf |
---|
| 365 | # find %{buildroot} -name "Makefile" | xargs %__rm -f |
---|
| 366 | |
---|
| 367 | # ## remove xindy |
---|
| 368 | # find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf |
---|
| 369 | |
---|
| 370 | # ## remove tex4ht |
---|
| 371 | # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf |
---|
| 372 | |
---|
[1974] | 373 | ## remove arch dependent binaries |
---|
| 374 | %__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386 |
---|
| 375 | |
---|
[1533] | 376 | ## remove unpackaging files |
---|
| 377 | find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f |
---|
| 378 | find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f |
---|
| 379 | |
---|
| 380 | ## Files list |
---|
| 381 | find %{buildroot} -type f -or -type l | \ |
---|
| 382 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 383 | |
---|
| 384 | find %{buildroot}%{texmf}-dist -type d | \ |
---|
| 385 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 386 | -e "s|$|/|" >> filelist.full |
---|
| 387 | |
---|
| 388 | ## subpackages |
---|
| 389 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 390 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 391 | %__mv -f filelist.tmp filelist.full |
---|
| 392 | |
---|
| 393 | %clean |
---|
| 394 | %__rm -rf %{buildroot} |
---|
| 395 | |
---|
| 396 | %post |
---|
| 397 | %{exec_texhash} |
---|
| 398 | |
---|
| 399 | exit 0 |
---|
| 400 | |
---|
| 401 | |
---|
| 402 | %postun |
---|
| 403 | if [ "$1" = 0 ]; then |
---|
| 404 | %{exec_texhash} |
---|
| 405 | |
---|
| 406 | fi |
---|
| 407 | |
---|
| 408 | exit 0 |
---|
| 409 | |
---|
| 410 | %files -f filelist.full |
---|
| 411 | %defattr(-,root,root) |
---|
| 412 | |
---|
| 413 | %files -f filelist.doc doc |
---|
| 414 | %defattr(-,root,root) |
---|
| 415 | |
---|
| 416 | %changelog |
---|
[2505] | 417 | * Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3 |
---|
| 418 | - generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-binextra |
---|
| 419 | - improved %%post |
---|
| 420 | |
---|
[1974] | 421 | * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2 |
---|
| 422 | - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-binextra |
---|
| 423 | - removed arch dependent binaries (texlive-collection-latexextra) |
---|
| 424 | - fixed perl path |
---|
| 425 | - improved updmap process in %%post and %%postun |
---|
| 426 | |
---|
[1533] | 427 | * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1 |
---|
| 428 | - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-binextra |
---|