source: projects/specs/trunk/t/texlive-collection-langspanish/texlive-collection-langspanish-vl.spec @ 9529

Revision 9529, 7.2 KB checked in by munepi, 9 years ago (diff)

TeX Live 2015/pretest

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-1:
3## tlpdb2rpmspec collection-langspanish
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: Spanish
10Summary(ja): TeX Live: Spanish
11Name: texlive-collection-langspanish
12Version: 2015
13Release: 1%{?_dist_release}
14License: LPPL 1.3, LPPL, Public Domain, Freely redistributable without restriction
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: babel-catalan.doc.tar.xz
19Source1: babel-catalan.source.tar.xz
20Source2: babel-catalan.tar.xz
21Source3: babel-galician.doc.tar.xz
22Source4: babel-galician.source.tar.xz
23Source5: babel-galician.tar.xz
24Source6: babel-spanglish.doc.tar.xz
25Source7: babel-spanglish.tar.xz
26Source8: babel-spanish.doc.tar.xz
27Source9: babel-spanish.source.tar.xz
28Source10: babel-spanish.tar.xz
29Source11: es-tex-faq.doc.tar.xz
30Source12: es-tex-faq.tar.xz
31Source13: hyphen-catalan.tar.xz
32Source14: hyphen-galician.tar.xz
33Source15: hyphen-spanish.tar.xz
34Source16: l2tabu-spanish.doc.tar.xz
35Source17: l2tabu-spanish.tar.xz
36Source18: latex2e-help-texinfo-spanish.doc.tar.xz
37Source19: latex2e-help-texinfo-spanish.tar.xz
38Source20: latexcheat-esmx.doc.tar.xz
39Source21: latexcheat-esmx.tar.xz
40Source22: lshort-spanish.doc.tar.xz
41Source23: lshort-spanish.tar.xz
42Source24: spanish-mx.doc.tar.xz
43Source25: spanish-mx.tar.xz
44
45Requires: texlive = %{version}
46Requires: texlive-collection-basic = %{version}
47
48Requires(post):         texlive = %{version}
49Requires(postun):       texlive = %{version}
50
51BuildArch:      noarch
52Buildroot:      %{_tmppath}/%{name}-%{version}-root
53
54Vendor:         Project Vine
55Distribution:   Vine Linux
56Packager:       munepi
57
58%description
59The TeX Live software distribution offers a complete TeX system for a
60variety of Unix, Macintosh, Windows and other platforms. It
61encompasses programs for editing, typesetting, previewing and printing
62of TeX documents in many different languages, and a large collection
63of TeX macros and font libraries.
64
65The distribution includes extensive general documentation about TeX,
66as well as the documentation for the included software packages.
67
68This package is a collection of Spanish:
69Support for Spanish.
70
71This package contains the following CTAN packages:
72babel-catalan: Babel contributed support for Catalan.
73babel-galician:
74babel-spanglish: Simplified Spanish support for Babel.
75babel-spanish: Babel support for Spanish.
76es-tex-faq: CervanTeX (Spanish TeX Group) FAQ
77hyphen-catalan: Catalan hyphenation patterns.
78hyphen-galician: Galician hyphenation patterns.
79hyphen-spanish: Spanish hyphenation patterns.
80l2tabu-spanish: Spanish translation of "Obsolete packages and commands".
81latex2e-help-texinfo-spanish:
82latexcheat-esmx: A LaTeX cheat sheet, in Spanish.
83lshort-spanish: Short introduction to LaTeX, Spanish translation.
84spanish-mx: Typeset Spanish as in Mexico.
85
86%description -l ja
87TeX Live ソフトウェアディストリビューションは、
88さまざまな Unix, Macintosh, Windows、および
89他のプラットホームに対して完全な TeX システムを提供します。
90多くの異なった言語を含む TeX ドキュメントの
91編集、組版、閲覧、印刷するためのプログラム、
92そして、TeX マクロやフォントライブラリの大きなコレクションを
93同梱しています。
94
95このディストリビューションは
96同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
97TeX に関するたくさんの一般的なドキュメントを含んでいます。
98
99このパッケージは以下のようなパッケージ集です。
100Spanish:
101Support for Spanish.
102
103このパッケージは以下の CTAN パッケージを含んでいます:
104babel-catalan: Babel contributed support for Catalan.
105babel-galician:
106babel-spanglish: Simplified Spanish support for Babel.
107babel-spanish: Babel support for Spanish.
108es-tex-faq: CervanTeX (Spanish TeX Group) FAQ
109hyphen-catalan: Catalan hyphenation patterns.
110hyphen-galician: Galician hyphenation patterns.
111hyphen-spanish: Spanish hyphenation patterns.
112l2tabu-spanish: Spanish translation of "Obsolete packages and commands".
113latex2e-help-texinfo-spanish:
114latexcheat-esmx: A LaTeX cheat sheet, in Spanish.
115lshort-spanish: Short introduction to LaTeX, Spanish translation.
116spanish-mx: Typeset Spanish as in Mexico.
117
118%package doc
119Summary: TeX Live: Documentation files of %{name}
120Group: Applications/Publishing
121Requires: %{name} = %{version}-%{release}
122
123%description doc
124This package contains documentation files of %{name}.
125
126%prep
127%setup -c -n %{name}-%{version}
128%__tar -xvf %{SOURCE1}
129%__tar -xvf %{SOURCE2}
130%__tar -xvf %{SOURCE3}
131%__tar -xvf %{SOURCE4}
132%__tar -xvf %{SOURCE5}
133%__tar -xvf %{SOURCE6}
134%__tar -xvf %{SOURCE7}
135%__tar -xvf %{SOURCE8}
136%__tar -xvf %{SOURCE9}
137%__tar -xvf %{SOURCE10}
138%__tar -xvf %{SOURCE11}
139%__tar -xvf %{SOURCE12}
140%__tar -xvf %{SOURCE13}
141%__tar -xvf %{SOURCE14}
142%__tar -xvf %{SOURCE15}
143%__tar -xvf %{SOURCE16}
144%__tar -xvf %{SOURCE17}
145%__tar -xvf %{SOURCE18}
146%__tar -xvf %{SOURCE19}
147%__tar -xvf %{SOURCE20}
148%__tar -xvf %{SOURCE21}
149%__tar -xvf %{SOURCE22}
150%__tar -xvf %{SOURCE23}
151%__tar -xvf %{SOURCE24}
152%__tar -xvf %{SOURCE25}
153
154%build
155
156%install
157[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
158
159%__mkdir_p %{buildroot}%{_datadir}
160
161## move texmf-dist to /usr/share/texmf-dist
162[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
163
164## move texmf to /usr/share/texmf
165[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
166
167## move tlpkg to /usr/share/tlpkg
168[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
169
170## move all non-arch binaries to /usr/bin
171[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
172
173## move others into /usr/share/texmf-dist
174%__mkdir_p %{buildroot}%{_tl_texmfdist}
175%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
176%__rm -rf * ||:
177
178
179## remove duplicated files between texlive and texlive-collection-*
180## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
181## remove unpacked files
182x=(
183scripts/texlive/texconfig-dialog.sh
184scripts/texlive/texconfig-sys.sh
185scripts/texlive/texconfig.sh
186scripts/texlive/texlinks.sh
187scripts/texlive/tlmgr.pl
188texconfig/tcfmgr
189web2c/mktex.opt
190web2c/mktexdir
191web2c/mktexdir.opt
192web2c/mktexnam
193web2c/mktexnam.opt
194web2c/mktexupd
195web2c/texmf.cnf
196web2c/updmap-hdr.cfg
197web2c/updmap.cfg
198)
199if [ -d %{buildroot}%{_tl_texmfdist} ]; then
200pushd %{buildroot}%{_tl_texmfdist}
201%__rm -f ${x[@]} ||:
202popd
203fi
204
205## Files list
206find %{buildroot} -type f -or -type l | \
207    %__sed -e "s|%{buildroot}||g" > filelist.full
208
209find %{buildroot}%{_tl_texmfdist} -type d | \
210    %__sed -e "s|^%{buildroot}|%dir |" \
211           -e "s|$|/|"             >> filelist.full
212
213## subpackages
214grep "/texmf-dist/doc/" filelist.full > filelist.doc
215cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
216%__mv -f filelist.tmp filelist.full
217
218%clean
219%__rm -rf %{buildroot}
220
221%post
222%_tl_touch_run texhash
223%_tl_touch_run mtxrun
224
225%_tl_touch_run fmtutil
226
227exit 0
228
229
230%postun
231if [ "$1" = 0 ]; then
232    %_tl_touch_run texhash
233
234fi
235
236exit 0
237
238%posttrans
239%{_tl_exec_texhash}
240%{_tl_exec_mtxrun}
241%{_tl_exec_updmap}
242%{_tl_exec_fmtutil}
243exit 0
244
245
246%files -f filelist.full
247%defattr(-,root,root,-)
248
249%files -f filelist.doc doc
250%defattr(-,root,root,-)
251
252%changelog
253
Note: See TracBrowser for help on using the repository browser.