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