source: projects/specs/trunk/t/texlive-collection-context/texlive-collection-context-vl.spec @ 7770

Revision 7770, 12.5 KB checked in by munepi, 11 years ago (diff)

dropped all obsolete texlive-collection packages of TeX Live 2012

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2013-1:
3## tlpdb2rpmspec collection-context
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: ConTeXt and packages
10Summary(ja): TeX Live: ConTeXt and packages
11Name: texlive-collection-context
12Version: 2013
13Release: 1%{?_dist_release}
14License: Freely redistributable without restriction, Public Domain, GPL+, BSD, GPLv2+
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: context.doc.tar.xz
19Source1: context.tar.xz
20Source2: jmn.tar.xz
21Source3: context-account.doc.tar.xz
22Source4: context-account.tar.xz
23Source5: context-algorithmic.tar.xz
24Source6: context-bnf.doc.tar.xz
25Source7: context-bnf.tar.xz
26Source8: context-chromato.doc.tar.xz
27Source9: context-chromato.tar.xz
28Source10: context-construction-plan.doc.tar.xz
29Source11: context-construction-plan.tar.xz
30Source12: context-cyrillicnumbers.doc.tar.xz
31Source13: context-cyrillicnumbers.tar.xz
32Source14: context-degrade.doc.tar.xz
33Source15: context-degrade.tar.xz
34Source16: context-filter.doc.tar.xz
35Source17: context-filter.tar.xz
36Source18: context-fixme.tar.xz
37Source19: context-french.doc.tar.xz
38Source20: context-french.tar.xz
39Source21: context-fullpage.doc.tar.xz
40Source22: context-fullpage.tar.xz
41Source23: context-games.doc.tar.xz
42Source24: context-games.tar.xz
43Source25: context-gantt.doc.tar.xz
44Source26: context-gantt.tar.xz
45Source27: context-gnuplot.doc.tar.xz
46Source28: context-gnuplot.tar.xz
47Source29: context-letter.doc.tar.xz
48Source30: context-letter.tar.xz
49Source31: context-lettrine.doc.tar.xz
50Source32: context-lettrine.tar.xz
51Source33: context-lilypond.doc.tar.xz
52Source34: context-lilypond.tar.xz
53Source35: context-mathsets.doc.tar.xz
54Source36: context-mathsets.tar.xz
55Source37: context-notes-zh-cn.doc.tar.xz
56Source38: context-notes-zh-cn.tar.xz
57Source39: context-rst.doc.tar.xz
58Source40: context-rst.tar.xz
59Source41: context-ruby.doc.tar.xz
60Source42: context-ruby.tar.xz
61Source43: context-simplefonts.doc.tar.xz
62Source44: context-simplefonts.tar.xz
63Source45: context-simpleslides.doc.tar.xz
64Source46: context-simpleslides.tar.xz
65Source47: context-transliterator.doc.tar.xz
66Source48: context-transliterator.tar.xz
67Source49: context-typearea.doc.tar.xz
68Source50: context-typearea.tar.xz
69Source51: context-typescripts.doc.tar.xz
70Source52: context-typescripts.tar.xz
71Source53: context-vim.doc.tar.xz
72Source54: context-vim.tar.xz
73
74Requires: texlive = %{version}
75Requires: texlive-collection-basic = %{version}
76
77Requires(post):         texlive = %{version}
78Requires(postun):       texlive = %{version}
79
80BuildArch:      noarch
81Buildroot:      %{_tmppath}/%{name}-%{version}-root
82
83Vendor:         Project Vine
84Distribution:   Vine Linux
85Packager:       munepi
86
87%description
88The TeX Live software distribution offers a complete TeX system for a
89variety of Unix, Macintosh, Windows and other platforms. It
90encompasses programs for editing, typesetting, previewing and printing
91of TeX documents in many different languages, and a large collection
92of TeX macros and font libraries.
93
94The distribution includes extensive general documentation about TeX,
95as well as the documentation for the included software packages.
96
97This package is a collection of ConTeXt and packages:
98Hans Hagen's powerful ConTeXt system, http://pragma-ade.com.
99Also includes third-party ConTeXt packages.
100
101This package contains the following CTAN packages:
102context: The ConTeXt macro package.
103jmn:
104context-account: A simple accounting package.
105context-algorithmic: Algorithm handling in ConTeXt.
106context-bnf: A BNF module for Context.
107context-chromato: ConTeXt macros for chromatograms.
108context-construction-plan: Construction plans in ConTeXt.
109context-cyrillicnumbers: Write numbers as cyrillic glyphs.
110context-degrade: Degrading JPEG images in ConTeXt.
111context-filter: Run external programs on the contents of a start-stop environment.
112context-fixme: Make editorial marks on a document.
113context-french: Support for writing French in ConTeXt.
114context-fullpage: Overfull pages with ConTeXt
115context-games:
116context-gantt: GANTT module for ConTeXt.
117context-gnuplot: Inclusion of Gnuplot graphs in ConTeXt.
118context-letter: Context package for writing letters.
119context-lettrine: A ConTeXt implementation of lettrines.
120context-lilypond: Lilypond code in ConTeXt.
121context-mathsets: Set notation in ConTeXt.
122context-notes-zh-cn: Notes on using ConTeXt MkIV.
123context-rst: Process reStructuredText with ConTeXt.
124context-ruby: Ruby annotations in ConTeXt.
125context-simplefonts: Simplified font usage for ConTeXt.
126context-simpleslides:
127context-transliterator: Transliterate text from 'other' alphabets.
128context-typearea: Something like Koma-Script typearea.
129context-typescripts: Small modules to load various fonts for use in ConTeXt.
130context-vim: Generate Context syntax highlighting code from vim.
131
132%description -l ja
133TeX Live ソフトウェアディストリビューションは、
134さまざまな Unix, Macintosh, Windows、および
135他のプラットホームに対して完全な TeX システムを提供します。
136多くの異なった言語を含む TeX ドキュメントの
137編集、組版、閲覧、印刷するためのプログラム、
138そして、TeX マクロやフォントライブラリの大きなコレクションを
139同梱しています。
140
141このディストリビューションは
142同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
143TeX に関するたくさんの一般的なドキュメントを含んでいます。
144
145このパッケージは以下のようなパッケージ集です。
146ConTeXt and packages:
147Hans Hagen's powerful ConTeXt system, http://pragma-ade.com.
148Also includes third-party ConTeXt packages.
149
150このパッケージは以下の CTAN パッケージを含んでいます:
151context: The ConTeXt macro package.
152jmn:
153context-account: A simple accounting package.
154context-algorithmic: Algorithm handling in ConTeXt.
155context-bnf: A BNF module for Context.
156context-chromato: ConTeXt macros for chromatograms.
157context-construction-plan: Construction plans in ConTeXt.
158context-cyrillicnumbers: Write numbers as cyrillic glyphs.
159context-degrade: Degrading JPEG images in ConTeXt.
160context-filter: Run external programs on the contents of a start-stop environment.
161context-fixme: Make editorial marks on a document.
162context-french: Support for writing French in ConTeXt.
163context-fullpage: Overfull pages with ConTeXt
164context-games:
165context-gantt: GANTT module for ConTeXt.
166context-gnuplot: Inclusion of Gnuplot graphs in ConTeXt.
167context-letter: Context package for writing letters.
168context-lettrine: A ConTeXt implementation of lettrines.
169context-lilypond: Lilypond code in ConTeXt.
170context-mathsets: Set notation in ConTeXt.
171context-notes-zh-cn: Notes on using ConTeXt MkIV.
172context-rst: Process reStructuredText with ConTeXt.
173context-ruby: Ruby annotations in ConTeXt.
174context-simplefonts: Simplified font usage for ConTeXt.
175context-simpleslides:
176context-transliterator: Transliterate text from 'other' alphabets.
177context-typearea: Something like Koma-Script typearea.
178context-typescripts: Small modules to load various fonts for use in ConTeXt.
179context-vim: Generate Context syntax highlighting code from vim.
180
181%package doc
182Summary: TeX Live: Documentation files of %{name}
183Group: Applications/Publishing
184Requires: %{name} = %{version}-%{release}
185
186%description doc
187This 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
274x=(
275texconfig/tcfmgr
276texconfig/tcfmgr.map
277web2c/fmtutil.cnf
278web2c/mktex.opt
279web2c/mktexdir
280web2c/mktexdir.opt
281web2c/mktexnam
282web2c/mktexnam.opt
283web2c/mktexupd
284web2c/texmf.cnf
285web2c/updmap.cfg
286web2c/updmap-hdr.cfg
287doc/chktex/ChkTeX.pdf
288install-tl
289)
290if [ -d %{buildroot}%{_tl_texmfdist} ]; then
291pushd %{buildroot}%{_tl_texmfdist}
292%__rm -f ${x[@]} ||:
293popd
294fi
295
296## Files list
297find %{buildroot} -type f -or -type l | \
298    %__sed -e "s|%{buildroot}||g" > filelist.full
299
300find %{buildroot}%{_tl_texmfdist} -type d | \
301    %__sed -e "s|^%{buildroot}|%dir |" \
302           -e "s|$|/|"             >> filelist.full
303
304## subpackages
305grep "/texmf-dist/doc/" filelist.full > filelist.doc
306cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
307%__mv -f filelist.tmp filelist.full
308
309%clean
310%__rm -rf %{buildroot}
311
312%post
313%_tl_touch_run texhash
314%_tl_touch_run mtxrun
315
316[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
317
318    %_tl_enable_map Map original-context-symbol.map
319
320%_tl_touch_run fmtutil
321
322exit 0
323
324
325%postun
326if [ "$1" = 0 ]; then
327    %_tl_touch_run texhash
328
329    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
330
331    %_tl_disable_map original-context-symbol.map
332
333fi
334
335exit 0
336
337%posttrans
338%{_tl_exec_texhash}
339%{_tl_exec_mtxrun}
340%{_tl_exec_updmap}
341%{_tl_exec_fmtutil}
342exit 0
343
344
345%files -f filelist.full
346%defattr(-,root,root,-)
347
348%files -f filelist.doc doc
349%defattr(-,root,root,-)
350
351%changelog
352* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
353- generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-context
354- TLNET 20130823
355
356* Fri Nov 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
357- generated by tlpdb2rpmspec 2012-1: tlpdb2rpmspec collection-context
358
359* Sat Dec  3 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
360- generated by tlpdb2rpmspec 2011-2: tlpdb2rpmspec collection-context
361- set external dependencies (texlive-collection-binextra,
362  texlive-collection-fontutils)
363
364* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
365- generated by tlpdb2rpmspec 2011-1: tlpdb2rpmspec collection-context
366
367* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
368- generated by tlpdb2rpmspec 2009-4: tlpdb2rpmspec collection-context
369- make symlinks of core script utils (texlive-collection-binextra,
370  texlive-collection-context, texlive-collection-fontutils,
371  texlive-collection-langgreek, texlive-collection-langindic,
372  texlive-collection-latex, texlive-collection-latexextra,
373  texlive-collection-latexrecommended, texlive-collection-pictures,
374  texlive-collection-pstricks, texlive-collection-science)
375
376* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
377- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-context
378- improved %%post
379
380* Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
381- generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-context
382- removed arch dependent binaries (texlive-collection-latexextra)
383- fixed perl path
384- improved updmap process in %%post and %%postun
385
386* Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
387- generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-context
Note: See TracBrowser for help on using the repository browser.