[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[2505] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: |
---|
[1974] | 3 | ## tlpdb2rpmspec collection-langgerman |
---|
[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: German |
---|
| 28 | Summary(ja): TeX Live: German |
---|
| 29 | Name: texlive-collection-langgerman |
---|
| 30 | Version: 2009 |
---|
[2505] | 31 | Release: 3%{?_dist_release} |
---|
[1533] | 32 | License: LPPL, No Info, GPL+, Freely redistributable without restriction |
---|
| 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 German: |
---|
| 61 | Support for typesetting German. |
---|
| 62 | |
---|
| 63 | This package contains the following CTAN packages: |
---|
| 64 | dehyph-exptl: Experimental hyphenation patterns for the German language. |
---|
| 65 | german: Support for German typography. |
---|
| 66 | germbib: German variants of standard BibTeX styles. |
---|
| 67 | germkorr: Change kerning for german quotation marks. |
---|
| 68 | kalender: Create a calendar, in German. |
---|
| 69 | mkind-german: |
---|
| 70 | r_und_s: Chemical hazard codes. |
---|
| 71 | uhrzeit: Time printing, in German. |
---|
| 72 | umlaute: German input encodings in LaTeX. |
---|
| 73 | hyphen-german: New orthography German hyphenation patterns. |
---|
| 74 | |
---|
| 75 | %description -l ja |
---|
| 76 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 77 | さまざまな Unix, Macintosh, Windows、および |
---|
| 78 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 79 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 80 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 81 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 82 | 同梱しています。 |
---|
| 83 | |
---|
| 84 | このディストリビューションは |
---|
| 85 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 86 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 87 | |
---|
| 88 | このパッケージは以下のようなパッケージ集です。 |
---|
| 89 | German: |
---|
| 90 | Support for typesetting German. |
---|
| 91 | |
---|
| 92 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
| 93 | dehyph-exptl: Experimental hyphenation patterns for the German language. |
---|
| 94 | german: Support for German typography. |
---|
| 95 | germbib: German variants of standard BibTeX styles. |
---|
| 96 | germkorr: Change kerning for german quotation marks. |
---|
| 97 | kalender: Create a calendar, in German. |
---|
| 98 | mkind-german: |
---|
| 99 | r_und_s: Chemical hazard codes. |
---|
| 100 | uhrzeit: Time printing, in German. |
---|
| 101 | umlaute: German input encodings in LaTeX. |
---|
| 102 | hyphen-german: New orthography German hyphenation patterns. |
---|
| 103 | |
---|
| 104 | %package doc |
---|
| 105 | Summary: TeX Live: Documentation files of %{name} |
---|
| 106 | Group: Applications/Publishing |
---|
| 107 | Requires: %{name} = %{version}-%{release} |
---|
| 108 | |
---|
| 109 | %description doc |
---|
| 110 | This package contains documentation files of %{name}. |
---|
| 111 | |
---|
| 112 | %prep |
---|
| 113 | |
---|
| 114 | %build |
---|
| 115 | |
---|
| 116 | %install |
---|
| 117 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
| 118 | |
---|
| 119 | PREF=%{buildroot}%{tex_destdir} |
---|
| 120 | |
---|
| 121 | manifest=( |
---|
| 122 | texmf-dist/doc/generic/dehyph-exptl/CHANGES |
---|
| 123 | texmf-dist/doc/generic/dehyph-exptl/INSTALL |
---|
| 124 | texmf-dist/doc/generic/dehyph-exptl/LICENSE |
---|
| 125 | texmf-dist/doc/generic/dehyph-exptl/README |
---|
| 126 | texmf-dist/doc/generic/dehyph-exptl/dehyph-exptl.bib |
---|
| 127 | texmf-dist/doc/generic/dehyph-exptl/dehyph-exptl.pdf |
---|
| 128 | texmf-dist/doc/generic/dehyph-exptl/projektbeschreibung.bib |
---|
| 129 | texmf-dist/doc/generic/dehyph-exptl/projektbeschreibung.pdf |
---|
| 130 | texmf-dist/doc/generic/dehyph-exptl/projektbeschreibung.tex |
---|
| 131 | texmf-dist/tex/generic/dehyph-exptl/dehyph-exptl.tex |
---|
| 132 | texmf-dist/tex/generic/dehyph-exptl/dehyphn-x-2009-06-19.pat |
---|
| 133 | texmf-dist/tex/generic/dehyph-exptl/dehyphn-x-2009-06-19.tex |
---|
| 134 | texmf-dist/tex/generic/dehyph-exptl/dehypht-x-2009-06-19.pat |
---|
| 135 | texmf-dist/tex/generic/dehyph-exptl/dehypht-x-2009-06-19.tex |
---|
| 136 | texmf-dist/tex/generic/dehyph-exptl/dehyphts-x-2009-06-19.pat |
---|
| 137 | texmf-dist/tex/generic/dehyph-exptl/dehyphts-x-2009-06-19.tex |
---|
| 138 | texmf-dist/doc/generic/german/00readme.1st |
---|
| 139 | texmf-dist/doc/generic/german/gerdoc.dvi |
---|
| 140 | texmf-dist/doc/generic/german/gerdoc.tex |
---|
| 141 | texmf-dist/doc/generic/german/hyphxmpl.cfg |
---|
| 142 | texmf-dist/source/generic/german/betatest/00readme.1st |
---|
| 143 | texmf-dist/source/generic/german/german.MISSING |
---|
| 144 | texmf-dist/source/generic/german/german.dtx |
---|
| 145 | texmf-dist/source/generic/german/german.ins |
---|
| 146 | texmf-dist/tex/generic/german/german.sty |
---|
| 147 | texmf-dist/tex/generic/german/ngerman.sty |
---|
| 148 | texmf-dist/doc/bibtex/germbib/README.bibgerm |
---|
| 149 | texmf-dist/doc/bibtex/germbib/apalike.doc |
---|
| 150 | texmf-dist/doc/bibtex/germbib/apalike.germbib_sty |
---|
| 151 | texmf-dist/doc/bibtex/germbib/apalike.tex |
---|
| 152 | texmf-dist/doc/bibtex/germbib/btxdoc.tex |
---|
| 153 | texmf-dist/doc/bibtex/germbib/btxhak.tex |
---|
| 154 | texmf-dist/doc/bibtex/germbib/gerbibtx.bib |
---|
| 155 | texmf-dist/doc/bibtex/germbib/gerbibtx.tex |
---|
| 156 | texmf-dist/doc/bibtex/germbib/gerxampl.bib |
---|
| 157 | texmf-dist/doc/bibtex/germbib/schaum.bib |
---|
| 158 | texmf-dist/doc/bibtex/germbib/testbibgerm.tex |
---|
| 159 | texmf-dist/doc/bibtex/germbib/testgerb.tex |
---|
| 160 | texmf-dist/doc/bibtex/germbib/xampl.bib |
---|
| 161 | texmf-dist/bibtex/bst/germbib/gerabbrv.bst |
---|
| 162 | texmf-dist/bibtex/bst/germbib/geralpha.bst |
---|
| 163 | texmf-dist/bibtex/bst/germbib/gerapali.bst |
---|
| 164 | texmf-dist/bibtex/bst/germbib/gerplain.bst |
---|
| 165 | texmf-dist/bibtex/bst/germbib/gerunsrt.bst |
---|
| 166 | texmf-dist/tex/latex/germbib/bibgerm.sty |
---|
| 167 | texmf-dist/tex/latex/germbib/mynormal.sty |
---|
| 168 | texmf-dist/doc/latex/germkorr/COPYING |
---|
| 169 | texmf-dist/doc/latex/germkorr/README |
---|
| 170 | texmf-dist/doc/latex/germkorr/germkorr.pdf |
---|
| 171 | texmf-dist/doc/latex/germkorr/germkorr.tex |
---|
| 172 | texmf-dist/tex/latex/germkorr/germkorr.sty |
---|
| 173 | texmf-dist/tex/latex/kalender/kalender.sty |
---|
| 174 | texmf-dist/makeindex/mkind-german/digit.ist |
---|
| 175 | texmf-dist/makeindex/mkind-german/special.ist |
---|
| 176 | texmf-dist/makeindex/mkind-german/umlaut.ist |
---|
| 177 | texmf-dist/makeindex/mkind-german/wb.ist |
---|
| 178 | texmf-dist/doc/latex/r_und_s/README |
---|
| 179 | texmf-dist/tex/latex/r_und_s/eng_rs.sty |
---|
| 180 | texmf-dist/tex/latex/r_und_s/eng_rs.tex |
---|
| 181 | texmf-dist/tex/latex/r_und_s/fr_rs.sty |
---|
| 182 | texmf-dist/tex/latex/r_und_s/fr_rs.tex |
---|
| 183 | texmf-dist/tex/latex/r_und_s/nl_rs.sty |
---|
| 184 | texmf-dist/tex/latex/r_und_s/nl_rs.tex |
---|
| 185 | texmf-dist/tex/latex/r_und_s/r_und_s.sty |
---|
| 186 | texmf-dist/tex/latex/r_und_s/r_und_s.tex |
---|
| 187 | texmf-dist/tex/latex/uhrzeit/uhrzeit.sty |
---|
| 188 | texmf-dist/doc/latex/umlaute/cs_patch.uue |
---|
| 189 | texmf-dist/doc/latex/umlaute/umlaute.pdf |
---|
| 190 | texmf-dist/source/latex/umlaute/umlaute.dtx |
---|
| 191 | texmf-dist/source/latex/umlaute/umlaute.ins |
---|
| 192 | texmf-dist/tex/latex/umlaute/atari.def |
---|
| 193 | texmf-dist/tex/latex/umlaute/isolatin.def |
---|
| 194 | texmf-dist/tex/latex/umlaute/mac.def |
---|
| 195 | texmf-dist/tex/latex/umlaute/pc850.def |
---|
| 196 | texmf-dist/tex/latex/umlaute/roman8.def |
---|
| 197 | texmf-dist/tex/latex/umlaute/umlaute.sty |
---|
| 198 | ) |
---|
| 199 | |
---|
| 200 | %__mkdir_p ${PREF}/texmf-dist |
---|
| 201 | for i in "${manifest[@]}"; do |
---|
| 202 | %__install -D %{texlive_src}/$i ${PREF}/$i |
---|
| 203 | done |
---|
| 204 | |
---|
| 205 | ## info |
---|
| 206 | %__rm -f %{buildroot}%{_infodir}/dir |
---|
| 207 | %__gzip -9nf %{buildroot}%{_infodir}/*info* ||: |
---|
| 208 | |
---|
| 209 | ## man |
---|
| 210 | ## man t1* files are provided by t1utils |
---|
| 211 | for i in t1ascii t1asm t1binary t1disasm t1mac t1unmac; do |
---|
| 212 | %__rm %{buildroot}%{_mandir}/man*/${i}.* ||: |
---|
| 213 | done |
---|
| 214 | |
---|
| 215 | ## man some files are provided by psutils |
---|
| 216 | for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps getafm includeres psbook psmerge psnup psresize psselect pstops; do |
---|
| 217 | %__rm %{buildroot}%{_mandir}/man*/${i}.* ||: |
---|
| 218 | done |
---|
| 219 | |
---|
[1974] | 220 | ## fix perl path |
---|
[2505] | 221 | for i in source/metapost/expressg/expressg.dtx \ |
---|
| 222 | doc/metapost/expressg/n2mpsprl.prl \ |
---|
| 223 | doc/latex/songbook/contrib/crd2sb/crd2sb; do |
---|
| 224 | [ -f %{build_texmf}-dist/${i} ] && \ |
---|
| 225 | %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i} |
---|
[1974] | 226 | done |
---|
| 227 | |
---|
[1533] | 228 | ## remove asymptote directries, which provides asymptote package |
---|
| 229 | find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf |
---|
| 230 | # find %{buildroot} -name "Makefile" | xargs %__rm -f |
---|
| 231 | |
---|
| 232 | # ## remove xindy |
---|
| 233 | # find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf |
---|
| 234 | |
---|
| 235 | # ## remove tex4ht |
---|
| 236 | # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf |
---|
| 237 | |
---|
[1974] | 238 | ## remove arch dependent binaries |
---|
| 239 | %__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386 |
---|
| 240 | |
---|
[1533] | 241 | ## remove unpackaging files |
---|
| 242 | find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f |
---|
| 243 | find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f |
---|
| 244 | |
---|
| 245 | ## Files list |
---|
| 246 | find %{buildroot} -type f -or -type l | \ |
---|
| 247 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 248 | |
---|
| 249 | find %{buildroot}%{texmf}-dist -type d | \ |
---|
| 250 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 251 | -e "s|$|/|" >> filelist.full |
---|
| 252 | |
---|
| 253 | ## subpackages |
---|
| 254 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 255 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 256 | %__mv -f filelist.tmp filelist.full |
---|
| 257 | |
---|
| 258 | %clean |
---|
| 259 | %__rm -rf %{buildroot} |
---|
| 260 | |
---|
| 261 | %post |
---|
| 262 | %{exec_texhash} |
---|
| 263 | |
---|
[2505] | 264 | rpm -q --quiet texlive-common || exit 0 |
---|
| 265 | |
---|
[1533] | 266 | echo -n " " |
---|
| 267 | echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done." |
---|
| 268 | |
---|
| 269 | exit 0 |
---|
| 270 | |
---|
| 271 | |
---|
| 272 | %postun |
---|
| 273 | if [ "$1" = 0 ]; then |
---|
| 274 | %{exec_texhash} |
---|
| 275 | |
---|
| 276 | fi |
---|
| 277 | |
---|
| 278 | exit 0 |
---|
| 279 | |
---|
| 280 | %files -f filelist.full |
---|
| 281 | %defattr(-,root,root) |
---|
| 282 | |
---|
| 283 | %files -f filelist.doc doc |
---|
| 284 | %defattr(-,root,root) |
---|
| 285 | |
---|
| 286 | %changelog |
---|
[2505] | 287 | * Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3 |
---|
| 288 | - generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langgerman |
---|
| 289 | - improved %%post |
---|
| 290 | |
---|
[1974] | 291 | * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2 |
---|
| 292 | - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langgerman |
---|
| 293 | - removed arch dependent binaries (texlive-collection-latexextra) |
---|
| 294 | - fixed perl path |
---|
| 295 | - improved updmap process in %%post and %%postun |
---|
| 296 | |
---|
[1533] | 297 | * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1 |
---|
| 298 | - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langgerman |
---|