source: projects/specs/trunk/t/texlive-collection-langitalian/texlive-collection-langitalian-vl.spec @ 8476

Revision 8476, 8.6 KB checked in by munepi, 10 years ago (diff)

TeX Live 2014

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1:
3## tlpdb2rpmspec collection-langitalian
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: Italian
10Summary(ja): TeX Live: Italian
11Name: texlive-collection-langitalian
12Version: 2014
13Release: 1%{?_dist_release}
14License: LPPL, LPPL 1.3, LGPLv2+, Freely redistributable without restriction, GFDL, GPL+
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: amsldoc-it.doc.tar.xz
19Source1: amsldoc-it.tar.xz
20Source2: amsmath-it.doc.tar.xz
21Source3: amsmath-it.tar.xz
22Source4: amsthdoc-it.doc.tar.xz
23Source5: amsthdoc-it.tar.xz
24Source6: babel-italian.doc.tar.xz
25Source7: babel-italian.source.tar.xz
26Source8: babel-italian.tar.xz
27Source9: codicefiscaleitaliano.doc.tar.xz
28Source10: codicefiscaleitaliano.source.tar.xz
29Source11: codicefiscaleitaliano.tar.xz
30Source12: fancyhdr-it.doc.tar.xz
31Source13: fancyhdr-it.tar.xz
32Source14: fixltxhyph.doc.tar.xz
33Source15: fixltxhyph.source.tar.xz
34Source16: fixltxhyph.tar.xz
35Source17: frontespizio.doc.tar.xz
36Source18: frontespizio.source.tar.xz
37Source19: frontespizio.tar.xz
38Source20: hyphen-italian.tar.xz
39Source21: itnumpar.doc.tar.xz
40Source22: itnumpar.source.tar.xz
41Source23: itnumpar.tar.xz
42Source24: l2tabu-italian.doc.tar.xz
43Source25: l2tabu-italian.tar.xz
44Source26: latex4wp-it.doc.tar.xz
45Source27: latex4wp-it.tar.xz
46Source28: layaureo.doc.tar.xz
47Source29: layaureo.source.tar.xz
48Source30: layaureo.tar.xz
49Source31: lshort-italian.doc.tar.xz
50Source32: lshort-italian.tar.xz
51Source33: psfrag-italian.doc.tar.xz
52Source34: psfrag-italian.tar.xz
53Source35: texlive-it.doc.tar.xz
54Source36: texlive-it.tar.xz
55
56Requires: texlive = %{version}
57Requires: texlive-collection-basic = %{version}
58
59Requires(post):         texlive = %{version}
60Requires(postun):       texlive = %{version}
61
62BuildArch:      noarch
63Buildroot:      %{_tmppath}/%{name}-%{version}-root
64
65Vendor:         Project Vine
66Distribution:   Vine Linux
67Packager:       munepi
68
69%description
70The TeX Live software distribution offers a complete TeX system for a
71variety of Unix, Macintosh, Windows and other platforms. It
72encompasses programs for editing, typesetting, previewing and printing
73of TeX documents in many different languages, and a large collection
74of TeX macros and font libraries.
75
76The distribution includes extensive general documentation about TeX,
77as well as the documentation for the included software packages.
78
79This package is a collection of Italian:
80Support for Italian.
81
82This package contains the following CTAN packages:
83amsldoc-it:
84amsmath-it: Italian translations of some old AMSmath documents.
85amsthdoc-it:
86babel-italian: Babel support for Italian text.
87codicefiscaleitaliano: Test the consistency of the Italian personal Fiscal Code.
88fancyhdr-it: Italian translation of fancyhdr documentation.
89fixltxhyph: Allow hyphenation of partially-emphasised substrings.
90frontespizio: Create a frontispiece for Italian theses.
91hyphen-italian: Italian hyphenation patterns.
92itnumpar: Spell numbers in words (Italian).
93l2tabu-italian: Italian Translation of Obsolete packages and commands
94latex4wp-it: LaTeX guide for word processor users, in Italian.
95layaureo: A package to improve the A4 page layout.
96lshort-italian: Introduction to LaTeX in Italian.
97psfrag-italian: PSfrag documentation in Italian.
98texlive-it: TeX Live manual (Italian)
99
100%description -l ja
101TeX Live ソフトウェアディストリビューションは、
102さまざまな Unix, Macintosh, Windows、および
103他のプラットホームに対して完全な TeX システムを提供します。
104多くの異なった言語を含む TeX ドキュメントの
105編集、組版、閲覧、印刷するためのプログラム、
106そして、TeX マクロやフォントライブラリの大きなコレクションを
107同梱しています。
108
109このディストリビューションは
110同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
111TeX に関するたくさんの一般的なドキュメントを含んでいます。
112
113このパッケージは以下のようなパッケージ集です。
114Italian:
115Support for Italian.
116
117このパッケージは以下の CTAN パッケージを含んでいます:
118amsldoc-it:
119amsmath-it: Italian translations of some old AMSmath documents.
120amsthdoc-it:
121babel-italian: Babel support for Italian text.
122codicefiscaleitaliano: Test the consistency of the Italian personal Fiscal Code.
123fancyhdr-it: Italian translation of fancyhdr documentation.
124fixltxhyph: Allow hyphenation of partially-emphasised substrings.
125frontespizio: Create a frontispiece for Italian theses.
126hyphen-italian: Italian hyphenation patterns.
127itnumpar: Spell numbers in words (Italian).
128l2tabu-italian: Italian Translation of Obsolete packages and commands
129latex4wp-it: LaTeX guide for word processor users, in Italian.
130layaureo: A package to improve the A4 page layout.
131lshort-italian: Introduction to LaTeX in Italian.
132psfrag-italian: PSfrag documentation in Italian.
133texlive-it: TeX Live manual (Italian)
134
135%package doc
136Summary: TeX Live: Documentation files of %{name}
137Group: Applications/Publishing
138Requires: %{name} = %{version}-%{release}
139
140%description doc
141This package contains documentation files of %{name}.
142
143%prep
144%setup -c -n %{name}-%{version}
145%__tar -xvf %{SOURCE1}
146%__tar -xvf %{SOURCE2}
147%__tar -xvf %{SOURCE3}
148%__tar -xvf %{SOURCE4}
149%__tar -xvf %{SOURCE5}
150%__tar -xvf %{SOURCE6}
151%__tar -xvf %{SOURCE7}
152%__tar -xvf %{SOURCE8}
153%__tar -xvf %{SOURCE9}
154%__tar -xvf %{SOURCE10}
155%__tar -xvf %{SOURCE11}
156%__tar -xvf %{SOURCE12}
157%__tar -xvf %{SOURCE13}
158%__tar -xvf %{SOURCE14}
159%__tar -xvf %{SOURCE15}
160%__tar -xvf %{SOURCE16}
161%__tar -xvf %{SOURCE17}
162%__tar -xvf %{SOURCE18}
163%__tar -xvf %{SOURCE19}
164%__tar -xvf %{SOURCE20}
165%__tar -xvf %{SOURCE21}
166%__tar -xvf %{SOURCE22}
167%__tar -xvf %{SOURCE23}
168%__tar -xvf %{SOURCE24}
169%__tar -xvf %{SOURCE25}
170%__tar -xvf %{SOURCE26}
171%__tar -xvf %{SOURCE27}
172%__tar -xvf %{SOURCE28}
173%__tar -xvf %{SOURCE29}
174%__tar -xvf %{SOURCE30}
175%__tar -xvf %{SOURCE31}
176%__tar -xvf %{SOURCE32}
177%__tar -xvf %{SOURCE33}
178%__tar -xvf %{SOURCE34}
179%__tar -xvf %{SOURCE35}
180%__tar -xvf %{SOURCE36}
181
182%build
183
184%install
185[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
186
187%__mkdir_p %{buildroot}%{_datadir}
188
189## move texmf-dist to /usr/share/texmf-dist
190[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
191
192## move texmf to /usr/share/texmf
193[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
194
195## move tlpkg to /usr/share/tlpkg
196[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
197
198## move all non-arch binaries to /usr/bin
199[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
200
201## move others into /usr/share/texmf-dist
202%__mkdir_p %{buildroot}%{_tl_texmfdist}
203%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
204%__rm -rf * ||:
205
206
207## remove duplicated files between texlive and texlive-collection-*
208## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
209## remove unpacked files
210x=(
211# scripts/texlive/tlmgr.pl
212# scripts/texlive/updmap.pl
213# scripts/fontools/autoinst
214# scripts/glossaries/makeglossaries
215# scripts/m-tx/m-tx.lua
216# scripts/musixtex/musixtex.lua
217# scripts/pmx/pmx2pdf.lua
218# scripts/latexmk/latexmk.pl
219# scripts/jfontmaps/kanji-config-updmap.pl
220# scripts/jfontmaps/kanji-fontmap-creator.pl
221# scripts/latexpand/latexpand
222# scripts/epstopdf/epstopdf.pl
223# scripts/convbkmk/convbkmk.rb
224# scripts/jfontmaps/kanji-config-updmap-sys.sh
225# scripts/luaotfload/luaotfload-tool.lua
226# texconfig/tcfmgr
227# texconfig/tcfmgr.map
228# web2c/fmtutil.cnf
229# web2c/mktex.opt
230# web2c/mktexdir
231# web2c/mktexdir.opt
232# web2c/mktexnam
233# web2c/mktexnam.opt
234# web2c/mktexupd
235# web2c/texmf.cnf
236# web2c/updmap.cfg
237# web2c/updmap-hdr.cfg
238# doc/chktex/ChkTeX.pdf
239install-tl
240)
241if [ -d %{buildroot}%{_tl_texmfdist} ]; then
242pushd %{buildroot}%{_tl_texmfdist}
243%__rm -f ${x[@]} ||:
244popd
245fi
246
247## Files list
248find %{buildroot} -type f -or -type l | \
249    %__sed -e "s|%{buildroot}||g" > filelist.full
250
251find %{buildroot}%{_tl_texmfdist} -type d | \
252    %__sed -e "s|^%{buildroot}|%dir |" \
253           -e "s|$|/|"             >> filelist.full
254
255## subpackages
256grep "/texmf-dist/doc/" filelist.full > filelist.doc
257cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
258%__mv -f filelist.tmp filelist.full
259
260%clean
261%__rm -rf %{buildroot}
262
263%post
264%_tl_touch_run texhash
265%_tl_touch_run mtxrun
266
267%_tl_touch_run fmtutil
268
269exit 0
270
271
272%postun
273if [ "$1" = 0 ]; then
274    %_tl_touch_run texhash
275
276fi
277
278exit 0
279
280%posttrans
281%{_tl_exec_texhash}
282%{_tl_exec_mtxrun}
283%{_tl_exec_updmap}
284%{_tl_exec_fmtutil}
285exit 0
286
287
288%files -f filelist.full
289%defattr(-,root,root,-)
290
291%files -f filelist.doc doc
292%defattr(-,root,root,-)
293
294%changelog
295* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
296- TLNET 20140524
Note: See TracBrowser for help on using the repository browser.