source: projects/specs/trunk/t/texlive-collection-langgerman/texlive-collection-langgerman-vl.spec @ 1974

Revision 1974, 10.3 KB checked in by munepi, 14 years ago (diff)

updated all texlive-collection packages: generated by tlpdb2rpmspec 2009-2; removed arch dependent binaries (for rpm-4.8.1); fixed perl path (for rpm-4.8.1); improved updmap process in %%post and %%postun

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