source: projects/specs/trunk/t/texlive-collection-documentation-french/texlive-collection-documentation-french-vl.spec @ 1533

Revision 1533, 9.5 KB checked in by munepi, 14 years ago (diff)

NEW texlive and its related packages: replacement of teTeX

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1:
3## tlpdb2rpmspec.sh collection-basic
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: French documentation
28Summary(ja): TeX Live: French documentation
29Name: texlive-collection-documentation-french
30Version: 2009
31Release: 1%{?_dist_release}
32License: GPL+, GFDL
33Group: Applications/Publishing
34URL:http://www.tug.org/texlive/
35
36Requires: texlive = %{version}
37
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 French documentation:
61
62
63This package contains the following CTAN packages:
64epslatex-fr: French version of "graphics in LaTeX".
65impatient-fr: Free edition of the book "TeX for the Impatient"
66l2tabu-french: French translation of l2tabu.
67lshort-french: Short introduction to LaTeX, French translation.
68texlive-fr: TeX Live manual (French)
69
70%description -l ja
71TeX Live ソフトウェアディストリビューションは、
72さまざまな Unix, Macintosh, Windows、および
73他のプラットホームに対して完全な TeX システムを提供します。
74多くの異なった言語を含む TeX ドキュメントの
75編集、組版、閲覧、印刷するためのプログラム、
76そして、TeX マクロやフォントライブラリの大きなコレクションを
77同梱しています。
78
79このディストリビューションは
80同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
81TeX に関するたくさんの一般的なドキュメントを含んでいます。
82
83このパッケージは以下のようなパッケージ集です。
84French documentation:
85
86
87このパッケージは以下の CTAN パッケージを含んでいます:
88epslatex-fr: French version of "graphics in LaTeX".
89impatient-fr: Free edition of the book "TeX for the Impatient"
90l2tabu-french: French translation of l2tabu.
91lshort-french: Short introduction to LaTeX, French translation.
92texlive-fr: TeX Live manual (French)
93
94%prep
95
96%build
97
98%install
99[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
100
101PREF=%{buildroot}%{tex_destdir}
102
103manifest=(
104texmf-dist/doc/latex/epslatex-fr/Ball.eps
105texmf-dist/doc/latex/epslatex-fr/CHAP2.sty
106texmf-dist/doc/latex/epslatex-fr/Construction.eps
107texmf-dist/doc/latex/epslatex-fr/Franc-chap.sty
108texmf-dist/doc/latex/epslatex-fr/README
109texmf-dist/doc/latex/epslatex-fr/README.TEXLIVE
110texmf-dist/doc/latex/epslatex-fr/Warning.eps
111texmf-dist/doc/latex/epslatex-fr/alltex.sty
112texmf-dist/doc/latex/epslatex-fr/auteurs.sty
113texmf-dist/doc/latex/epslatex-fr/bases.sty
114texmf-dist/doc/latex/epslatex-fr/block.sty
115texmf-dist/doc/latex/epslatex-fr/box1.eps
116texmf-dist/doc/latex/epslatex-fr/box2.eps
117texmf-dist/doc/latex/epslatex-fr/boxes.sty
118texmf-dist/doc/latex/epslatex-fr/btxdoc.bib
119texmf-dist/doc/latex/epslatex-fr/cm.eps
120texmf-dist/doc/latex/epslatex-fr/cm.ps
121texmf-dist/doc/latex/epslatex-fr/danger.eps
122texmf-dist/doc/latex/epslatex-fr/divers.sty
123texmf-dist/doc/latex/epslatex-fr/ebnf.sty
124texmf-dist/doc/latex/epslatex-fr/export.sty
125texmf-dist/doc/latex/epslatex-fr/fepslatex.pdf
126texmf-dist/doc/latex/epslatex-fr/fepslatex.tex
127texmf-dist/doc/latex/epslatex-fr/fill.sty
128texmf-dist/doc/latex/epslatex-fr/fmparhack.sty
129texmf-dist/doc/latex/epslatex-fr/foot.sty
130texmf-dist/doc/latex/epslatex-fr/fr.sty
131texmf-dist/doc/latex/epslatex-fr/franc.sty
132texmf-dist/doc/latex/epslatex-fr/frnew.sty
133texmf-dist/doc/latex/epslatex-fr/g_toc_entry.sty
134texmf-dist/doc/latex/epslatex-fr/graphic.eps
135texmf-dist/doc/latex/epslatex-fr/hands.sty
136texmf-dist/doc/latex/epslatex-fr/header.tex
137texmf-dist/doc/latex/epslatex-fr/indentondemand.sty
138texmf-dist/doc/latex/epslatex-fr/makecmds.sty
139texmf-dist/doc/latex/epslatex-fr/makerobust.sty
140texmf-dist/doc/latex/epslatex-fr/mass.eps
141texmf-dist/doc/latex/epslatex-fr/mypatches.sty
142texmf-dist/doc/latex/epslatex-fr/myvarioref.sty
143texmf-dist/doc/latex/epslatex-fr/nrfoot.sty
144texmf-dist/doc/latex/epslatex-fr/origin.eps
145texmf-dist/doc/latex/epslatex-fr/overlay.sty
146texmf-dist/doc/latex/epslatex-fr/pale.eps
147texmf-dist/doc/latex/epslatex-fr/pend.eps
148texmf-dist/doc/latex/epslatex-fr/pretzel.eps
149texmf-dist/doc/latex/epslatex-fr/pretzel.ps
150texmf-dist/doc/latex/epslatex-fr/rdanger.eps
151texmf-dist/doc/latex/epslatex-fr/rosette.eps
152texmf-dist/doc/latex/epslatex-fr/rosette.ps
153texmf-dist/doc/latex/epslatex-fr/sgte.sty
154texmf-dist/doc/latex/epslatex-fr/smaller.sty
155texmf-dist/doc/latex/epslatex-fr/square.eps
156texmf-dist/doc/latex/epslatex-fr/topcapt.sty
157texmf-dist/doc/latex/epslatex-fr/topfig.sty
158texmf-dist/doc/latex/epslatex-fr/warn.sty
159texmf-dist/doc/latex/epslatex-fr/wdesc.sty
160texmf-dist/doc/latex/epslatex-fr/whitecdp.sty
161texmf-dist/doc/latex/epslatex-fr/wide.eps
162texmf-dist/doc/latex/epslatex-fr/widecenter.sty
163texmf-dist/doc/latex/epslatex-fr/xb.sty
164texmf-dist/doc/plain/impatient-fr/README
165texmf-dist/doc/plain/impatient-fr/config.tex
166texmf-dist/doc/plain/impatient-fr/eplain.tex
167texmf-dist/doc/plain/impatient-fr/fbackm.tex
168texmf-dist/doc/plain/impatient-fr/fbook.pdf
169texmf-dist/doc/plain/impatient-fr/fbook.tex
170texmf-dist/doc/plain/impatient-fr/fcapsule.tex
171texmf-dist/doc/plain/impatient-fr/fconcept.tex
172texmf-dist/doc/plain/impatient-fr/fcopyrgh.tex
173texmf-dist/doc/plain/impatient-fr/fdl.tex
174texmf-dist/doc/plain/impatient-fr/ferrors.tex
175texmf-dist/doc/plain/impatient-fr/fexamples.tex
176texmf-dist/doc/plain/impatient-fr/ffrontm.tex
177texmf-dist/doc/plain/impatient-fr/fgenops.tex
178texmf-dist/doc/plain/impatient-fr/fmacros.tex
179texmf-dist/doc/plain/impatient-fr/fmath.tex
180texmf-dist/doc/plain/impatient-fr/fmodes.tex
181texmf-dist/doc/plain/impatient-fr/fonts.tex
182texmf-dist/doc/plain/impatient-fr/fpages.tex
183texmf-dist/doc/plain/impatient-fr/fparas.tex
184texmf-dist/doc/plain/impatient-fr/fpreface.tex
185texmf-dist/doc/plain/impatient-fr/fread1st.tex
186texmf-dist/doc/plain/impatient-fr/ftips.tex
187texmf-dist/doc/plain/impatient-fr/fusebook.tex
188texmf-dist/doc/plain/impatient-fr/fusermacs.tex
189texmf-dist/doc/plain/impatient-fr/fusingtex.tex
190texmf-dist/doc/plain/impatient-fr/fxmptext.tex
191texmf-dist/doc/latex/l2tabu-french/README
192texmf-dist/doc/latex/l2tabu-french/l2tabufr-heavy.pdf
193texmf-dist/doc/latex/l2tabu-french/l2tabufr-light.pdf
194texmf-dist/doc/latex/l2tabu-french/l2tabufr.tex
195texmf-dist/doc/latex/lshort-french/README
196texmf-dist/doc/latex/lshort-french/flshort-3.20.pdf
197texmf-dist/doc/latex/lshort-french/flshort-3.20.zip
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## remove asymptote directries, which provides asymptote package
221find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
222# find %{buildroot} -name "Makefile" | xargs %__rm -f
223
224# ## remove xindy
225# find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf
226
227# ## remove tex4ht
228# find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
229
230## remove unpackaging files
231find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
232find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
233
234## Files list
235find %{buildroot} -type f -or -type l | \
236    %__sed -e "s|%{buildroot}||g" > filelist.full
237
238find %{buildroot}%{texmf}-dist -type d | \
239    %__sed -e "s|^%{buildroot}|%dir |" \
240           -e "s|$|/|"             >> filelist.full
241
242%clean
243%__rm -rf %{buildroot}
244
245%post
246%{exec_texhash}
247
248exit 0
249
250
251%postun
252if [ "$1" = 0 ]; then
253    %{exec_texhash}
254
255fi
256
257exit 0
258
259%files -f filelist.full
260%defattr(-,root,root)
261
262%changelog
263* Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
264- generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-french
Note: See TracBrowser for help on using the repository browser.