[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[7148] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2012-1: |
---|
[1974] | 3 | ## tlpdb2rpmspec collection-documentation-finnish |
---|
[1533] | 4 | |
---|
[5207] | 5 | %global _use_internal_dependency_generator 0 |
---|
| 6 | %global __find_provides %{nil} |
---|
| 7 | %global __find_requires %{nil} |
---|
| 8 | |
---|
[7148] | 9 | %define aliasttfdir %{texmfsysvar}/fonts/truetype/vine |
---|
| 10 | %define texmfsysconfig %{_sysconfdir}/texmf |
---|
| 11 | %define texmfsysvar %{_var}/lib/texmf |
---|
| 12 | %define vartexfonts %{texmfsysvar}/fonts |
---|
[1533] | 13 | |
---|
| 14 | %define tex_destdir %{_datadir} |
---|
| 15 | %define texmf %{tex_destdir}/texmf |
---|
| 16 | %define texlive_src %{tex_destdir}/texlive-sources |
---|
| 17 | %define build_tex_destdir %{buildroot}%{tex_destdir} |
---|
| 18 | %define build_texmf %{buildroot}%{texmf} |
---|
| 19 | |
---|
[7148] | 20 | ## use some macros for %post, %posttrans |
---|
| 21 | %define touch_run(%1) %{expand:( %__mkdir_p /var/run/texlive; touch /var/run/texlive/run-%1; ) |
---|
| 22 | } |
---|
| 23 | %define exec_upddeffont [ -x %{_sbindir}/update-defaultfont ] && \\\ |
---|
| 24 | %{_sbindir}/update-defaultfont 2> /dev/null |
---|
| 25 | %define exec_texhash [ -e /var/run/texlive/run-texhash ] && ( \\\ |
---|
| 26 | [ -x %{_bindir}/texhash ] && \\\ |
---|
| 27 | echo -n " "; echo -n "Running texhash... "; \\\ |
---|
| 28 | %{_bindir}/texhash 2> /dev/null; \\\ |
---|
| 29 | echo "done." ) && %__rm -f /var/run/texlive/run-texhash; |
---|
| 30 | %define exec_mtxrun [ -e /var/run/texlive/run-mtxrun ] && ( \\\ |
---|
| 31 | [ -x %{_bindir}/mtxrun ] && \\\ |
---|
| 32 | echo -n " "; echo -n "Running mtxrun... "; \\\ |
---|
| 33 | export TEXMF=%{texmf}-dist TEXMFCNF=%{texmf}/web2c TEXMFCACHE=%{texmfsysvar}; \\\ |
---|
| 34 | %{_bindir}/mtxrun --generate &> /dev/null; \\\ |
---|
| 35 | echo "done." ) && %__rm -f /var/run/texlive/run-mtxrun; |
---|
| 36 | %define exec_fmtutil [ -e /var/run/texlive/run-fmtutil ] && ( \\\ |
---|
| 37 | [ -x %{_bindir}/fmtutil-sys ] && \\\ |
---|
| 38 | echo -n " "; echo -n "Running fmtutil-sys... "; \\\ |
---|
| 39 | %{_bindir}/fmtutil-sys --all &> /dev/null; \\\ |
---|
| 40 | echo "done." ) && %__rm -f /var/run/texlive/run-fmtutil; |
---|
| 41 | %define exec_updmap [ -e /var/run/texlive/run-updmap ] && ( \\\ |
---|
| 42 | [ -x %{_bindir}/updmap-sys ] && \\\ |
---|
| 43 | echo -n " "; echo -n "Running updmap-sys... "; \\\ |
---|
| 44 | %{_bindir}/updmap-sys --nohash --quiet &> /dev/null; \\\ |
---|
| 45 | echo "done." ) && %__rm -f /var/run/texlive/run-updmap; |
---|
[1533] | 46 | |
---|
| 47 | Summary: TeX Live: Finnish documentation |
---|
| 48 | Summary(ja): TeX Live: Finnish documentation |
---|
| 49 | Name: texlive-collection-documentation-finnish |
---|
[7148] | 50 | Version: 2012 |
---|
[5207] | 51 | Release: 1%{?_dist_release} |
---|
[1533] | 52 | License: Public Domain |
---|
| 53 | Group: Applications/Publishing |
---|
| 54 | URL:http://www.tug.org/texlive/ |
---|
| 55 | |
---|
| 56 | Requires: texlive = %{version} |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | Requires(post): texlive = %{version} |
---|
| 60 | Requires(postun): texlive = %{version} |
---|
[7148] | 61 | #BuildRequires: texlive-sources = %{version} |
---|
[1533] | 62 | |
---|
| 63 | BuildArch: noarch |
---|
| 64 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 65 | |
---|
| 66 | Vendor: Project Vine |
---|
| 67 | Distribution: Vine Linux |
---|
| 68 | Packager: munepi |
---|
| 69 | |
---|
| 70 | %description |
---|
| 71 | The TeX Live software distribution offers a complete TeX system for a |
---|
| 72 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
| 73 | encompasses programs for editing, typesetting, previewing and printing |
---|
| 74 | of TeX documents in many different languages, and a large collection |
---|
| 75 | of TeX macros and font libraries. |
---|
| 76 | |
---|
| 77 | The distribution includes extensive general documentation about TeX, |
---|
| 78 | as well as the documentation for the included software packages. |
---|
| 79 | |
---|
| 80 | This package is a collection of Finnish documentation: |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | This package contains the following CTAN packages: |
---|
| 84 | lshort-finnish: Finnish introduction to LaTeX. |
---|
| 85 | |
---|
| 86 | %description -l ja |
---|
| 87 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 88 | さまざまな Unix, Macintosh, Windows、および |
---|
| 89 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 90 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 91 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 92 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 93 | 同梱しています。 |
---|
| 94 | |
---|
| 95 | このディストリビューションは |
---|
| 96 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 97 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 98 | |
---|
| 99 | このパッケージは以下のようなパッケージ集です。 |
---|
| 100 | Finnish documentation: |
---|
| 101 | |
---|
| 102 | |
---|
| 103 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
| 104 | lshort-finnish: Finnish introduction to LaTeX. |
---|
| 105 | |
---|
| 106 | %prep |
---|
| 107 | |
---|
| 108 | %build |
---|
| 109 | |
---|
| 110 | %install |
---|
| 111 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
| 112 | |
---|
| 113 | PREF=%{buildroot}%{tex_destdir} |
---|
| 114 | |
---|
| 115 | manifest=( |
---|
| 116 | texmf-dist/doc/latex/lshort-finnish/README |
---|
| 117 | texmf-dist/doc/latex/lshort-finnish/lyhyt2e.pdf |
---|
| 118 | texmf-dist/doc/latex/lshort-finnish/src/asiat.tex |
---|
| 119 | texmf-dist/doc/latex/lshort-finnish/src/erikois.tex |
---|
| 120 | texmf-dist/doc/latex/lshort-finnish/src/esipuhe.tex |
---|
| 121 | texmf-dist/doc/latex/lshort-finnish/src/grafiikka.tex |
---|
| 122 | texmf-dist/doc/latex/lshort-finnish/src/kiitokset.tex |
---|
| 123 | texmf-dist/doc/latex/lshort-finnish/src/kirjallisuus.tex |
---|
| 124 | texmf-dist/doc/latex/lshort-finnish/src/ladonta.tex |
---|
| 125 | texmf-dist/doc/latex/lshort-finnish/src/llyhyt2e.sty |
---|
| 126 | texmf-dist/doc/latex/lshort-finnish/src/lyhyt2e.ind |
---|
| 127 | texmf-dist/doc/latex/lshort-finnish/src/lyhyt2e.tex |
---|
| 128 | texmf-dist/doc/latex/lshort-finnish/src/matikka.tex |
---|
| 129 | texmf-dist/doc/latex/lshort-finnish/src/mylayout.sty |
---|
| 130 | texmf-dist/doc/latex/lshort-finnish/src/otsikko.tex |
---|
| 131 | texmf-dist/doc/latex/lshort-finnish/src/symbolit.tex |
---|
| 132 | texmf-dist/doc/latex/lshort-finnish/src/typeset.tex |
---|
| 133 | texmf-dist/doc/latex/lshort-finnish/src/viritys.tex |
---|
| 134 | ) |
---|
| 135 | |
---|
| 136 | %__mkdir_p ${PREF}/texmf-dist |
---|
| 137 | for i in "${manifest[@]}"; do |
---|
[5207] | 138 | %__install -m $(stat -c %a %{texlive_src}/$i) -p -D %{texlive_src}/$i ${PREF}/$i |
---|
[1533] | 139 | done |
---|
[5207] | 140 | ## make symlinks of core script utils |
---|
| 141 | mk_symlinks=( |
---|
| 142 | texlive-collection-bibtexextra,/usr/bin/bibexport,/usr/share/texmf-dist/scripts/bibexport/bibexport.sh |
---|
[7148] | 143 | texlive-collection-bibtexextra,/usr/bin/listbib,/usr/share/texmf-dist/scripts/listbib/listbib |
---|
| 144 | texlive-collection-bibtexextra,/usr/bin/urlbst,/usr/share/texmf-dist/scripts/urlbst/urlbst |
---|
[5207] | 145 | texlive-collection-binextra,/usr/bin/arlatex,/usr/share/texmf-dist/scripts/bundledoc/arlatex |
---|
| 146 | texlive-collection-binextra,/usr/bin/bundledoc,/usr/share/texmf-dist/scripts/bundledoc/bundledoc |
---|
[7148] | 147 | texlive-collection-binextra,/usr/bin/ctanify,/usr/share/texmf-dist/scripts/ctanify/ctanify |
---|
| 148 | texlive-collection-binextra,/usr/bin/ctanupload,/usr/share/texmf-dist/scripts/ctanupload/ctanupload.pl |
---|
[5207] | 149 | texlive-collection-binextra,/usr/bin/de-macro,/usr/share/texmf-dist/scripts/de-macro/de-macro |
---|
| 150 | texlive-collection-binextra,/usr/bin/dviasm,/usr/share/texmf-dist/scripts/dviasm/dviasm.py |
---|
| 151 | texlive-collection-binextra,/usr/bin/findhyph,/usr/share/texmf-dist/scripts/findhyph/findhyph |
---|
| 152 | texlive-collection-binextra,/usr/bin/fragmaster,/usr/share/texmf-dist/scripts/fragmaster/fragmaster.pl |
---|
| 153 | texlive-collection-binextra,/usr/bin/installfont-tl,/usr/share/texmf-dist/scripts/installfont/installfont-tl |
---|
| 154 | texlive-collection-binextra,/usr/bin/latex2man,/usr/share/texmf-dist/scripts/latex2man/latex2man |
---|
| 155 | texlive-collection-binextra,/usr/bin/latexdiff,/usr/share/texmf-dist/scripts/latexdiff/latexdiff.pl |
---|
| 156 | texlive-collection-binextra,/usr/bin/latexdiff-vc,/usr/share/texmf-dist/scripts/latexdiff/latexdiff-vc.pl |
---|
[7148] | 157 | texlive-collection-binextra,/usr/bin/latexfileversion,/usr/share/texmf-dist/scripts/latexfileversion/latexfileversion |
---|
[5207] | 158 | texlive-collection-binextra,/usr/bin/latexmk,/usr/share/texmf-dist/scripts/latexmk/latexmk.pl |
---|
| 159 | texlive-collection-binextra,/usr/bin/latexrevise,/usr/share/texmf-dist/scripts/latexdiff/latexrevise.pl |
---|
| 160 | texlive-collection-binextra,/usr/bin/listings-ext.sh,/usr/share/texmf-dist/scripts/listings-ext/listings-ext.sh |
---|
[7148] | 161 | texlive-collection-binextra,/usr/bin/match_parens,/usr/share/texmf-dist/scripts/match_parens/match_parens |
---|
[5207] | 162 | texlive-collection-binextra,/usr/bin/mkjobtexmf,/usr/share/texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl |
---|
| 163 | texlive-collection-binextra,/usr/bin/pdf180,/usr/share/texmf-dist/scripts/pdfjam/pdf180 |
---|
| 164 | texlive-collection-binextra,/usr/bin/pdf270,/usr/share/texmf-dist/scripts/pdfjam/pdf270 |
---|
| 165 | texlive-collection-binextra,/usr/bin/pdf90,/usr/share/texmf-dist/scripts/pdfjam/pdf90 |
---|
| 166 | texlive-collection-binextra,/usr/bin/pdfbook,/usr/share/texmf-dist/scripts/pdfjam/pdfbook |
---|
| 167 | texlive-collection-binextra,/usr/bin/pdfcrop,/usr/share/texmf-dist/scripts/pdfcrop/pdfcrop.pl |
---|
| 168 | texlive-collection-binextra,/usr/bin/pdfflip,/usr/share/texmf-dist/scripts/pdfjam/pdfflip |
---|
| 169 | texlive-collection-binextra,/usr/bin/pdfjam,/usr/share/texmf-dist/scripts/pdfjam/pdfjam |
---|
| 170 | texlive-collection-binextra,/usr/bin/pdfjam-pocketmod,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-pocketmod |
---|
| 171 | texlive-collection-binextra,/usr/bin/pdfjam-slides3up,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-slides3up |
---|
| 172 | texlive-collection-binextra,/usr/bin/pdfjam-slides6up,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-slides6up |
---|
| 173 | texlive-collection-binextra,/usr/bin/pdfjoin,/usr/share/texmf-dist/scripts/pdfjam/pdfjoin |
---|
| 174 | texlive-collection-binextra,/usr/bin/pdfnup,/usr/share/texmf-dist/scripts/pdfjam/pdfnup |
---|
| 175 | texlive-collection-binextra,/usr/bin/pdfpun,/usr/share/texmf-dist/scripts/pdfjam/pdfpun |
---|
| 176 | texlive-collection-binextra,/usr/bin/pkfix,/usr/share/texmf-dist/scripts/pkfix/pkfix.pl |
---|
| 177 | texlive-collection-binextra,/usr/bin/pkfix-helper,/usr/share/texmf-dist/scripts/pkfix-helper/pkfix-helper |
---|
| 178 | texlive-collection-binextra,/usr/bin/purifyeps,/usr/share/texmf-dist/scripts/purifyeps/purifyeps |
---|
| 179 | texlive-collection-binextra,/usr/bin/sty2dtx,/usr/share/texmf-dist/scripts/sty2dtx/sty2dtx.pl |
---|
| 180 | texlive-collection-binextra,/usr/bin/texcount,/usr/share/texmf-dist/scripts/texcount/texcount.pl |
---|
| 181 | texlive-collection-binextra,/usr/bin/texdef,/usr/share/texmf-dist/scripts/texdef/texdef.pl |
---|
| 182 | texlive-collection-binextra,/usr/bin/texdiff,/usr/share/texmf-dist/scripts/texdiff/texdiff |
---|
| 183 | texlive-collection-binextra,/usr/bin/texdirflatten,/usr/share/texmf-dist/scripts/texdirflatten/texdirflatten |
---|
[7148] | 184 | texlive-collection-binextra,/usr/bin/texliveonfly,/usr/share/texmf-dist/scripts/texliveonfly/texliveonfly.py |
---|
[5207] | 185 | texlive-collection-binextra,/usr/bin/texloganalyser,/usr/share/texmf-dist/scripts/texloganalyser/texloganalyser |
---|
[7148] | 186 | texlive-collection-binextra,/usr/bin/typeoutfileinfo,/usr/share/texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh |
---|
[5207] | 187 | texlive-collection-fontutils,/usr/bin/afm2afm,/usr/share/texmf-dist/scripts/fontools/afm2afm |
---|
| 188 | texlive-collection-fontutils,/usr/bin/autoinst,/usr/share/texmf-dist/scripts/fontools/autoinst |
---|
[7148] | 189 | texlive-collection-fontutils,/usr/bin/dosepsbin,/usr/share/texmf-dist/scripts/dosepsbin/dosepsbin.pl |
---|
[5207] | 190 | texlive-collection-fontutils,/usr/bin/epstopdf,/usr/share/texmf-dist/scripts/epstopdf/epstopdf.pl |
---|
[7148] | 191 | texlive-collection-fontutils,/usr/bin/mf2pt1,/usr/share/texmf-dist/scripts/mf2pt1/mf2pt1.pl |
---|
[5207] | 192 | texlive-collection-fontutils,/usr/bin/mkt1font,/usr/share/texmf-dist/scripts/accfonts/mkt1font |
---|
| 193 | texlive-collection-fontutils,/usr/bin/ot2kpx,/usr/share/texmf-dist/scripts/fontools/ot2kpx |
---|
| 194 | texlive-collection-fontutils,/usr/bin/vpl2ovp,/usr/share/texmf-dist/scripts/accfonts/vpl2ovp |
---|
| 195 | texlive-collection-fontutils,/usr/bin/vpl2vpl,/usr/share/texmf-dist/scripts/accfonts/vpl2vpl |
---|
| 196 | texlive-collection-htmlxml,/usr/bin/ht,/usr/share/texmf-dist/scripts/tex4ht/ht.sh |
---|
| 197 | texlive-collection-htmlxml,/usr/bin/htcontext,/usr/share/texmf-dist/scripts/tex4ht/htcontext.sh |
---|
| 198 | texlive-collection-htmlxml,/usr/bin/htlatex,/usr/share/texmf-dist/scripts/tex4ht/htlatex.sh |
---|
| 199 | texlive-collection-htmlxml,/usr/bin/htmex,/usr/share/texmf-dist/scripts/tex4ht/htmex.sh |
---|
| 200 | texlive-collection-htmlxml,/usr/bin/httex,/usr/share/texmf-dist/scripts/tex4ht/httex.sh |
---|
| 201 | texlive-collection-htmlxml,/usr/bin/httexi,/usr/share/texmf-dist/scripts/tex4ht/httexi.sh |
---|
| 202 | texlive-collection-htmlxml,/usr/bin/htxelatex,/usr/share/texmf-dist/scripts/tex4ht/htxelatex.sh |
---|
| 203 | texlive-collection-htmlxml,/usr/bin/htxetex,/usr/share/texmf-dist/scripts/tex4ht/htxetex.sh |
---|
| 204 | texlive-collection-htmlxml,/usr/bin/mk4ht,/usr/share/texmf-dist/scripts/tex4ht/mk4ht.pl |
---|
[7148] | 205 | texlive-collection-langcjk,/usr/bin/convbkmk,/usr/share/texmf-dist/scripts/uptex/convbkmk.rb |
---|
| 206 | texlive-collection-langcjk,/usr/bin/updmap-setup-kanji,/usr/share/texmf-dist/scripts/jfontmaps/updmap-setup-kanji.pl |
---|
[5207] | 207 | texlive-collection-langgreek,/usr/bin/mkgrkindex,/usr/share/texmf-dist/scripts/mkgrkindex/mkgrkindex |
---|
| 208 | texlive-collection-langindic,/usr/bin/ebong,/usr/share/texmf-dist/scripts/ebong/ebong.py |
---|
| 209 | texlive-collection-latex,/usr/bin/mptopdf,/usr/share/texmf-dist/scripts/context/perl/mptopdf.pl |
---|
| 210 | texlive-collection-latex,/usr/bin/pdfatfi,/usr/share/texmf-dist/scripts/oberdiek/pdfatfi.pl |
---|
| 211 | texlive-collection-latexextra,/usr/bin/authorindex,/usr/share/texmf-dist/scripts/authorindex/authorindex |
---|
[7148] | 212 | texlive-collection-latexextra,/usr/bin/exceltex,/usr/share/texmf-dist/scripts/exceltex/exceltex |
---|
[5207] | 213 | texlive-collection-latexextra,/usr/bin/makeglossaries,/usr/share/texmf-dist/scripts/glossaries/makeglossaries |
---|
| 214 | texlive-collection-latexextra,/usr/bin/pdfannotextractor,/usr/share/texmf-dist/scripts/pax/pdfannotextractor.pl |
---|
| 215 | texlive-collection-latexextra,/usr/bin/perltex,/usr/share/texmf-dist/scripts/perltex/perltex.pl |
---|
| 216 | texlive-collection-latexextra,/usr/bin/ps4pdf,/usr/share/texmf-dist/scripts/pst-pdf/ps4pdf |
---|
| 217 | texlive-collection-latexextra,/usr/bin/splitindex,/usr/share/texmf-dist/scripts/splitindex/perl/splitindex.pl |
---|
| 218 | texlive-collection-latexextra,/usr/bin/svn-multi,/usr/share/texmf-dist/scripts/svn-multi/svn-multi.pl |
---|
| 219 | texlive-collection-latexextra,/usr/bin/vpe,/usr/share/texmf-dist/scripts/vpe/vpe.pl |
---|
| 220 | texlive-collection-latexrecommended,/usr/bin/thumbpdf,/usr/share/texmf-dist/scripts/thumbpdf/thumbpdf.pl |
---|
[7148] | 221 | texlive-collection-luatex,/usr/bin/checkcites,/usr/share/texmf-dist/scripts/checkcites/checkcites.lua |
---|
[5207] | 222 | texlive-collection-luatex,/usr/bin/mkluatexfontdb,/usr/share/texmf-dist/scripts/luaotfload/mkluatexfontdb.lua |
---|
[7148] | 223 | texlive-collection-music,/usr/bin/m-tx,/usr/share/texmf-dist/scripts/m-tx/m-tx.lua |
---|
[5207] | 224 | texlive-collection-music,/usr/bin/musixflx,/usr/share/texmf-dist/scripts/musixtex/musixflx.lua |
---|
| 225 | texlive-collection-music,/usr/bin/musixtex,/usr/share/texmf-dist/scripts/musixtex/musixtex.lua |
---|
[7148] | 226 | texlive-collection-music,/usr/bin/pmx2pdf,/usr/share/texmf-dist/scripts/pmx/pmx2pdf.lua |
---|
[5207] | 227 | texlive-collection-pictures,/usr/bin/cachepic,/usr/share/texmf-dist/scripts/cachepic/cachepic.tlu |
---|
| 228 | texlive-collection-pictures,/usr/bin/epspdf,/usr/share/texmf-dist/scripts/epspdf/epspdf.rb |
---|
| 229 | texlive-collection-pictures,/usr/bin/epspdftk,/usr/share/texmf-dist/scripts/epspdf/epspdftk.tcl |
---|
| 230 | texlive-collection-pictures,/usr/bin/fig4latex,/usr/share/texmf-dist/scripts/fig4latex/fig4latex |
---|
| 231 | texlive-collection-pictures,/usr/bin/mathspic,/usr/share/texmf-dist/scripts/mathspic/mathspic.pl |
---|
[7148] | 232 | texlive-collection-pstricks,/usr/bin/pedigree,/usr/share/texmf-dist/scripts/pedigree-perl/pedigree.pl |
---|
[5207] | 233 | texlive-collection-pstricks,/usr/bin/pst2pdf,/usr/share/texmf-dist/scripts/pst2pdf/pst2pdf |
---|
| 234 | texlive-collection-science,/usr/bin/ulqda,/usr/share/texmf-dist/scripts/ulqda/ulqda.pl |
---|
| 235 | ) |
---|
| 236 | %__mkdir_p %{buildroot}%{_bindir} |
---|
| 237 | pushd %{buildroot}%{_bindir} |
---|
| 238 | for i in "${mk_symlinks[@]}"; do |
---|
[7148] | 239 | tlc=$(/bin/echo $i | cut -f 1 -d",") |
---|
| 240 | lnk=$(/bin/echo $i | cut -f 2 -d"," | %__sed -e "s|/usr/bin/||") |
---|
| 241 | rlnk=$(/bin/echo $i | cut -f 3 -d"," | %__sed -e "s|/usr/|../|") |
---|
[1533] | 242 | |
---|
[5207] | 243 | [ "%{name}" = "$tlc" ] || continue |
---|
| 244 | [ -f $rlnk ] || exit 1 |
---|
| 245 | %__ln_s $rlnk $lnk || exit 1 |
---|
| 246 | done |
---|
| 247 | popd |
---|
[1533] | 248 | ## Files list |
---|
| 249 | find %{buildroot} -type f -or -type l | \ |
---|
| 250 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 251 | |
---|
| 252 | find %{buildroot}%{texmf}-dist -type d | \ |
---|
| 253 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 254 | -e "s|$|/|" >> filelist.full |
---|
| 255 | |
---|
| 256 | %clean |
---|
| 257 | %__rm -rf %{buildroot} |
---|
| 258 | |
---|
| 259 | %post |
---|
[7148] | 260 | %touch_run texhash |
---|
| 261 | %touch_run mtxrun |
---|
[1533] | 262 | |
---|
| 263 | exit 0 |
---|
| 264 | |
---|
| 265 | |
---|
| 266 | %postun |
---|
| 267 | if [ "$1" = 0 ]; then |
---|
[7148] | 268 | %touch_run texhash |
---|
[1533] | 269 | |
---|
| 270 | fi |
---|
| 271 | |
---|
| 272 | exit 0 |
---|
| 273 | |
---|
[7148] | 274 | %posttrans |
---|
| 275 | %{exec_texhash} |
---|
| 276 | %{exec_mtxrun} |
---|
| 277 | %{exec_updmap} |
---|
| 278 | %{exec_fmtutil} |
---|
| 279 | exit 0 |
---|
| 280 | |
---|
| 281 | |
---|
[1533] | 282 | %files -f filelist.full |
---|
[5207] | 283 | %defattr(-,root,root,-) |
---|
[1533] | 284 | |
---|
| 285 | %changelog |
---|
[7148] | 286 | * Fri Nov 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1 |
---|
| 287 | - generated by tlpdb2rpmspec 2012-1: tlpdb2rpmspec collection-documentation-finnish |
---|
| 288 | |
---|
| 289 | * Sat Dec 3 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2 |
---|
| 290 | - generated by tlpdb2rpmspec 2011-2: tlpdb2rpmspec collection-documentation-finnish |
---|
| 291 | - set external dependencies (texlive-collection-binextra, |
---|
| 292 | texlive-collection-fontutils) |
---|
| 293 | |
---|
[5207] | 294 | * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1 |
---|
| 295 | - generated by tlpdb2rpmspec 2011-1: tlpdb2rpmspec collection-documentation-finnish |
---|
| 296 | |
---|
| 297 | * Mon Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4 |
---|
| 298 | - generated by tlpdb2rpmspec 2009-4: tlpdb2rpmspec collection-documentation-finnish |
---|
| 299 | - make symlinks of core script utils (texlive-collection-binextra, |
---|
| 300 | texlive-collection-context, texlive-collection-fontutils, |
---|
| 301 | texlive-collection-langgreek, texlive-collection-langindic, |
---|
| 302 | texlive-collection-latex, texlive-collection-latexextra, |
---|
| 303 | texlive-collection-latexrecommended, texlive-collection-pictures, |
---|
| 304 | texlive-collection-pstricks, texlive-collection-science) |
---|
| 305 | |
---|
[2505] | 306 | * Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3 |
---|
| 307 | - generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-finnish |
---|
| 308 | - improved %%post |
---|
| 309 | |
---|
[1974] | 310 | * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2 |
---|
| 311 | - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-finnish |
---|
| 312 | - removed arch dependent binaries (texlive-collection-latexextra) |
---|
| 313 | - fixed perl path |
---|
| 314 | - improved updmap process in %%post and %%postun |
---|
| 315 | |
---|
[1533] | 316 | * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1 |
---|
| 317 | - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-finnish |
---|