1 | ## -*- coding: utf-8-unix -*- |
---|
2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-5: |
---|
3 | ## tlpdb2rpmspec collection-context |
---|
4 | |
---|
5 | %global _use_internal_dependency_generator 0 |
---|
6 | %global __find_provides %{nil} |
---|
7 | %global __find_requires %{nil} |
---|
8 | |
---|
9 | Summary: TeX Live: ConTeXt and packages |
---|
10 | Summary(ja): TeX Live: ConTeXt and packages |
---|
11 | Name: texlive-collection-context |
---|
12 | Version: 2013 |
---|
13 | Release: 5%{?_dist_release} |
---|
14 | License: Freely redistributable without restriction, Public Domain, GPL+, BSD, GPLv2+ |
---|
15 | Group: Applications/Publishing |
---|
16 | URL:http://www.tug.org/texlive/ |
---|
17 | |
---|
18 | Source0: context.doc.tar.xz |
---|
19 | Source1: context.tar.xz |
---|
20 | Source2: jmn.tar.xz |
---|
21 | Source3: context-account.doc.tar.xz |
---|
22 | Source4: context-account.tar.xz |
---|
23 | Source5: context-algorithmic.tar.xz |
---|
24 | Source6: context-bnf.doc.tar.xz |
---|
25 | Source7: context-bnf.tar.xz |
---|
26 | Source8: context-chromato.doc.tar.xz |
---|
27 | Source9: context-chromato.tar.xz |
---|
28 | Source10: context-construction-plan.doc.tar.xz |
---|
29 | Source11: context-construction-plan.tar.xz |
---|
30 | Source12: context-cyrillicnumbers.doc.tar.xz |
---|
31 | Source13: context-cyrillicnumbers.tar.xz |
---|
32 | Source14: context-degrade.doc.tar.xz |
---|
33 | Source15: context-degrade.tar.xz |
---|
34 | Source16: context-filter.doc.tar.xz |
---|
35 | Source17: context-filter.tar.xz |
---|
36 | Source18: context-fixme.tar.xz |
---|
37 | Source19: context-french.doc.tar.xz |
---|
38 | Source20: context-french.tar.xz |
---|
39 | Source21: context-fullpage.doc.tar.xz |
---|
40 | Source22: context-fullpage.tar.xz |
---|
41 | Source23: context-games.doc.tar.xz |
---|
42 | Source24: context-games.tar.xz |
---|
43 | Source25: context-gantt.doc.tar.xz |
---|
44 | Source26: context-gantt.tar.xz |
---|
45 | Source27: context-gnuplot.doc.tar.xz |
---|
46 | Source28: context-gnuplot.tar.xz |
---|
47 | Source29: context-letter.doc.tar.xz |
---|
48 | Source30: context-letter.tar.xz |
---|
49 | Source31: context-lettrine.doc.tar.xz |
---|
50 | Source32: context-lettrine.tar.xz |
---|
51 | Source33: context-lilypond.doc.tar.xz |
---|
52 | Source34: context-lilypond.tar.xz |
---|
53 | Source35: context-mathsets.doc.tar.xz |
---|
54 | Source36: context-mathsets.tar.xz |
---|
55 | Source37: context-notes-zh-cn.doc.tar.xz |
---|
56 | Source38: context-notes-zh-cn.tar.xz |
---|
57 | Source39: context-rst.doc.tar.xz |
---|
58 | Source40: context-rst.tar.xz |
---|
59 | Source41: context-ruby.doc.tar.xz |
---|
60 | Source42: context-ruby.tar.xz |
---|
61 | Source43: context-simplefonts.doc.tar.xz |
---|
62 | Source44: context-simplefonts.tar.xz |
---|
63 | Source45: context-simpleslides.doc.tar.xz |
---|
64 | Source46: context-simpleslides.tar.xz |
---|
65 | Source47: context-transliterator.doc.tar.xz |
---|
66 | Source48: context-transliterator.tar.xz |
---|
67 | Source49: context-typearea.doc.tar.xz |
---|
68 | Source50: context-typearea.tar.xz |
---|
69 | Source51: context-typescripts.doc.tar.xz |
---|
70 | Source52: context-typescripts.tar.xz |
---|
71 | Source53: context-vim.doc.tar.xz |
---|
72 | Source54: context-vim.tar.xz |
---|
73 | |
---|
74 | Requires: texlive = %{version} |
---|
75 | Requires: texlive-collection-basic = %{version} |
---|
76 | |
---|
77 | Requires(post): texlive = %{version} |
---|
78 | Requires(postun): texlive = %{version} |
---|
79 | |
---|
80 | BuildArch: noarch |
---|
81 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
82 | |
---|
83 | Vendor: Project Vine |
---|
84 | Distribution: Vine Linux |
---|
85 | Packager: munepi |
---|
86 | |
---|
87 | %description |
---|
88 | The TeX Live software distribution offers a complete TeX system for a |
---|
89 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
90 | encompasses programs for editing, typesetting, previewing and printing |
---|
91 | of TeX documents in many different languages, and a large collection |
---|
92 | of TeX macros and font libraries. |
---|
93 | |
---|
94 | The distribution includes extensive general documentation about TeX, |
---|
95 | as well as the documentation for the included software packages. |
---|
96 | |
---|
97 | This package is a collection of ConTeXt and packages: |
---|
98 | Hans Hagen's powerful ConTeXt system, http://pragma-ade.com. |
---|
99 | Also includes third-party ConTeXt packages. |
---|
100 | |
---|
101 | This package contains the following CTAN packages: |
---|
102 | context: The ConTeXt macro package. |
---|
103 | jmn: |
---|
104 | context-account: A simple accounting package. |
---|
105 | context-algorithmic: Algorithm handling in ConTeXt. |
---|
106 | context-bnf: A BNF module for Context. |
---|
107 | context-chromato: ConTeXt macros for chromatograms. |
---|
108 | context-construction-plan: Construction plans in ConTeXt. |
---|
109 | context-cyrillicnumbers: Write numbers as cyrillic glyphs. |
---|
110 | context-degrade: Degrading JPEG images in ConTeXt. |
---|
111 | context-filter: Run external programs on the contents of a start-stop environment. |
---|
112 | context-fixme: Make editorial marks on a document. |
---|
113 | context-french: Support for writing French in ConTeXt. |
---|
114 | context-fullpage: Overfull pages with ConTeXt |
---|
115 | context-games: |
---|
116 | context-gantt: GANTT module for ConTeXt. |
---|
117 | context-gnuplot: Inclusion of Gnuplot graphs in ConTeXt. |
---|
118 | context-letter: Context package for writing letters. |
---|
119 | context-lettrine: A ConTeXt implementation of lettrines. |
---|
120 | context-lilypond: Lilypond code in ConTeXt. |
---|
121 | context-mathsets: Set notation in ConTeXt. |
---|
122 | context-notes-zh-cn: Notes on using ConTeXt MkIV. |
---|
123 | context-rst: Process reStructuredText with ConTeXt. |
---|
124 | context-ruby: Ruby annotations in ConTeXt. |
---|
125 | context-simplefonts: Simplified font usage for ConTeXt. |
---|
126 | context-simpleslides: |
---|
127 | context-transliterator: Transliterate text from 'other' alphabets. |
---|
128 | context-typearea: Something like Koma-Script typearea. |
---|
129 | context-typescripts: Small modules to load various fonts for use in ConTeXt. |
---|
130 | context-vim: Generate Context syntax highlighting code from vim. |
---|
131 | |
---|
132 | %description -l ja |
---|
133 | TeX Live ソフトウェアディストリビューションは、 |
---|
134 | さまざまな Unix, Macintosh, Windows、および |
---|
135 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
136 | 多くの異なった言語を含む TeX ドキュメントの |
---|
137 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
138 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
139 | 同梱しています。 |
---|
140 | |
---|
141 | このディストリビューションは |
---|
142 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
143 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
144 | |
---|
145 | このパッケージは以下のようなパッケージ集です。 |
---|
146 | ConTeXt and packages: |
---|
147 | Hans Hagen's powerful ConTeXt system, http://pragma-ade.com. |
---|
148 | Also includes third-party ConTeXt packages. |
---|
149 | |
---|
150 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
151 | context: The ConTeXt macro package. |
---|
152 | jmn: |
---|
153 | context-account: A simple accounting package. |
---|
154 | context-algorithmic: Algorithm handling in ConTeXt. |
---|
155 | context-bnf: A BNF module for Context. |
---|
156 | context-chromato: ConTeXt macros for chromatograms. |
---|
157 | context-construction-plan: Construction plans in ConTeXt. |
---|
158 | context-cyrillicnumbers: Write numbers as cyrillic glyphs. |
---|
159 | context-degrade: Degrading JPEG images in ConTeXt. |
---|
160 | context-filter: Run external programs on the contents of a start-stop environment. |
---|
161 | context-fixme: Make editorial marks on a document. |
---|
162 | context-french: Support for writing French in ConTeXt. |
---|
163 | context-fullpage: Overfull pages with ConTeXt |
---|
164 | context-games: |
---|
165 | context-gantt: GANTT module for ConTeXt. |
---|
166 | context-gnuplot: Inclusion of Gnuplot graphs in ConTeXt. |
---|
167 | context-letter: Context package for writing letters. |
---|
168 | context-lettrine: A ConTeXt implementation of lettrines. |
---|
169 | context-lilypond: Lilypond code in ConTeXt. |
---|
170 | context-mathsets: Set notation in ConTeXt. |
---|
171 | context-notes-zh-cn: Notes on using ConTeXt MkIV. |
---|
172 | context-rst: Process reStructuredText with ConTeXt. |
---|
173 | context-ruby: Ruby annotations in ConTeXt. |
---|
174 | context-simplefonts: Simplified font usage for ConTeXt. |
---|
175 | context-simpleslides: |
---|
176 | context-transliterator: Transliterate text from 'other' alphabets. |
---|
177 | context-typearea: Something like Koma-Script typearea. |
---|
178 | context-typescripts: Small modules to load various fonts for use in ConTeXt. |
---|
179 | context-vim: Generate Context syntax highlighting code from vim. |
---|
180 | |
---|
181 | %package doc |
---|
182 | Summary: TeX Live: Documentation files of %{name} |
---|
183 | Group: Applications/Publishing |
---|
184 | Requires: %{name} = %{version}-%{release} |
---|
185 | |
---|
186 | %description doc |
---|
187 | This package contains documentation files of %{name}. |
---|
188 | |
---|
189 | %prep |
---|
190 | %setup -c -n %{name}-%{version} |
---|
191 | %__tar -xvf %{SOURCE1} |
---|
192 | %__tar -xvf %{SOURCE2} |
---|
193 | %__tar -xvf %{SOURCE3} |
---|
194 | %__tar -xvf %{SOURCE4} |
---|
195 | %__tar -xvf %{SOURCE5} |
---|
196 | %__tar -xvf %{SOURCE6} |
---|
197 | %__tar -xvf %{SOURCE7} |
---|
198 | %__tar -xvf %{SOURCE8} |
---|
199 | %__tar -xvf %{SOURCE9} |
---|
200 | %__tar -xvf %{SOURCE10} |
---|
201 | %__tar -xvf %{SOURCE11} |
---|
202 | %__tar -xvf %{SOURCE12} |
---|
203 | %__tar -xvf %{SOURCE13} |
---|
204 | %__tar -xvf %{SOURCE14} |
---|
205 | %__tar -xvf %{SOURCE15} |
---|
206 | %__tar -xvf %{SOURCE16} |
---|
207 | %__tar -xvf %{SOURCE17} |
---|
208 | %__tar -xvf %{SOURCE18} |
---|
209 | %__tar -xvf %{SOURCE19} |
---|
210 | %__tar -xvf %{SOURCE20} |
---|
211 | %__tar -xvf %{SOURCE21} |
---|
212 | %__tar -xvf %{SOURCE22} |
---|
213 | %__tar -xvf %{SOURCE23} |
---|
214 | %__tar -xvf %{SOURCE24} |
---|
215 | %__tar -xvf %{SOURCE25} |
---|
216 | %__tar -xvf %{SOURCE26} |
---|
217 | %__tar -xvf %{SOURCE27} |
---|
218 | %__tar -xvf %{SOURCE28} |
---|
219 | %__tar -xvf %{SOURCE29} |
---|
220 | %__tar -xvf %{SOURCE30} |
---|
221 | %__tar -xvf %{SOURCE31} |
---|
222 | %__tar -xvf %{SOURCE32} |
---|
223 | %__tar -xvf %{SOURCE33} |
---|
224 | %__tar -xvf %{SOURCE34} |
---|
225 | %__tar -xvf %{SOURCE35} |
---|
226 | %__tar -xvf %{SOURCE36} |
---|
227 | %__tar -xvf %{SOURCE37} |
---|
228 | %__tar -xvf %{SOURCE38} |
---|
229 | %__tar -xvf %{SOURCE39} |
---|
230 | %__tar -xvf %{SOURCE40} |
---|
231 | %__tar -xvf %{SOURCE41} |
---|
232 | %__tar -xvf %{SOURCE42} |
---|
233 | %__tar -xvf %{SOURCE43} |
---|
234 | %__tar -xvf %{SOURCE44} |
---|
235 | %__tar -xvf %{SOURCE45} |
---|
236 | %__tar -xvf %{SOURCE46} |
---|
237 | %__tar -xvf %{SOURCE47} |
---|
238 | %__tar -xvf %{SOURCE48} |
---|
239 | %__tar -xvf %{SOURCE49} |
---|
240 | %__tar -xvf %{SOURCE50} |
---|
241 | %__tar -xvf %{SOURCE51} |
---|
242 | %__tar -xvf %{SOURCE52} |
---|
243 | %__tar -xvf %{SOURCE53} |
---|
244 | %__tar -xvf %{SOURCE54} |
---|
245 | |
---|
246 | %build |
---|
247 | |
---|
248 | %install |
---|
249 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
250 | |
---|
251 | %__mkdir_p %{buildroot}%{_datadir} |
---|
252 | |
---|
253 | ## move texmf-dist to /usr/share/texmf-dist |
---|
254 | [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||: |
---|
255 | |
---|
256 | ## move texmf to /usr/share/texmf |
---|
257 | [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||: |
---|
258 | |
---|
259 | ## move tlpkg to /usr/share/tlpkg |
---|
260 | [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||: |
---|
261 | |
---|
262 | ## move all non-arch binaries to /usr/bin |
---|
263 | [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||: |
---|
264 | |
---|
265 | ## move others into /usr/share/texmf-dist |
---|
266 | %__mkdir_p %{buildroot}%{_tl_texmfdist} |
---|
267 | %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||: |
---|
268 | %__rm -rf * ||: |
---|
269 | |
---|
270 | |
---|
271 | ## remove duplicated files between texlive and texlive-collection-* |
---|
272 | ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive |
---|
273 | ## remove unpacked files |
---|
274 | x=( |
---|
275 | scripts/fontools/autoinst |
---|
276 | scripts/texlive/tlmgr.pl |
---|
277 | scripts/texlive/updmap.pl |
---|
278 | texconfig/tcfmgr |
---|
279 | texconfig/tcfmgr.map |
---|
280 | web2c/fmtutil.cnf |
---|
281 | web2c/mktex.opt |
---|
282 | web2c/mktexdir |
---|
283 | web2c/mktexdir.opt |
---|
284 | web2c/mktexnam |
---|
285 | web2c/mktexnam.opt |
---|
286 | web2c/mktexupd |
---|
287 | web2c/texmf.cnf |
---|
288 | web2c/updmap.cfg |
---|
289 | web2c/updmap-hdr.cfg |
---|
290 | doc/chktex/ChkTeX.pdf |
---|
291 | install-tl |
---|
292 | ) |
---|
293 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
294 | pushd %{buildroot}%{_tl_texmfdist} |
---|
295 | %__rm -f ${x[@]} ||: |
---|
296 | popd |
---|
297 | fi |
---|
298 | |
---|
299 | ## Files list |
---|
300 | find %{buildroot} -type f -or -type l | \ |
---|
301 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
302 | |
---|
303 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
304 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
305 | -e "s|$|/|" >> filelist.full |
---|
306 | |
---|
307 | ## subpackages |
---|
308 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
309 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
310 | %__mv -f filelist.tmp filelist.full |
---|
311 | |
---|
312 | %clean |
---|
313 | %__rm -rf %{buildroot} |
---|
314 | |
---|
315 | %post |
---|
316 | %_tl_touch_run texhash |
---|
317 | %_tl_touch_run mtxrun |
---|
318 | |
---|
319 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
320 | |
---|
321 | %_tl_enable_map Map original-context-symbol.map |
---|
322 | |
---|
323 | %_tl_touch_run fmtutil |
---|
324 | |
---|
325 | exit 0 |
---|
326 | |
---|
327 | |
---|
328 | %postun |
---|
329 | if [ "$1" = 0 ]; then |
---|
330 | %_tl_touch_run texhash |
---|
331 | |
---|
332 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
333 | |
---|
334 | %_tl_disable_map original-context-symbol.map |
---|
335 | |
---|
336 | fi |
---|
337 | |
---|
338 | exit 0 |
---|
339 | |
---|
340 | %posttrans |
---|
341 | %{_tl_exec_texhash} |
---|
342 | %{_tl_exec_mtxrun} |
---|
343 | %{_tl_exec_updmap} |
---|
344 | %{_tl_exec_fmtutil} |
---|
345 | exit 0 |
---|
346 | |
---|
347 | |
---|
348 | %files -f filelist.full |
---|
349 | %defattr(-,root,root,-) |
---|
350 | |
---|
351 | %files -f filelist.doc doc |
---|
352 | %defattr(-,root,root,-) |
---|
353 | |
---|
354 | %changelog |
---|
355 | * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5 |
---|
356 | - TLNET 20131218 |
---|
357 | |
---|
358 | * Fri Nov 1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4 |
---|
359 | - TLNET 20131101 |
---|
360 | |
---|
361 | * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3 |
---|
362 | - TLNET 20131002 |
---|
363 | |
---|
364 | * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2 |
---|
365 | - TLNET 20130919 |
---|
366 | |
---|
367 | * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1 |
---|
368 | - TLNET 20130823 |
---|