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

Revision 7855, 7.1 KB checked in by munepi, 11 years ago (diff)

update source snapshot, TLNET: 20131002

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