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

Revision 7770, 8.8 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-langczechslovak
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: Czech/Slovak
10Summary(ja): TeX Live: Czech/Slovak
11Name: texlive-collection-langczechslovak
12Version: 2013
13Release: 1%{?_dist_release}
14License: GPL+, LPPL, Freely redistributable without restriction
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: babel-czech.doc.tar.xz
19Source1: babel-czech.source.tar.xz
20Source2: babel-czech.tar.xz
21Source3: babel-slovak.doc.tar.xz
22Source4: babel-slovak.source.tar.xz
23Source5: babel-slovak.tar.xz
24Source6: cs.tar.xz
25Source7: csbulletin.doc.tar.xz
26Source8: csbulletin.tar.xz
27Source9: cslatex.source.tar.xz
28Source10: cslatex.tar.xz
29Source11: csplain.tar.xz
30Source12: cstex.doc.tar.xz
31Source13: cstex.tar.xz
32Source14: hyphen-czech.tar.xz
33Source15: hyphen-slovak.tar.xz
34Source16: vlna.doc.tar.xz
35Source17: vlna.tar.xz
36Source18: lshort-czech.doc.tar.xz
37Source19: lshort-czech.tar.xz
38Source20: lshort-slovak.doc.tar.xz
39Source21: lshort-slovak.tar.xz
40Source22: texlive-cz.doc.tar.xz
41Source23: texlive-cz.tar.xz
42
43Requires: texlive = %{version}
44Requires: texlive-collection-basic = %{version}
45Requires: texlive-collection-latex = %{version}
46
47Requires(post):         texlive = %{version}
48Requires(postun):       texlive = %{version}
49
50BuildArch:      noarch
51Buildroot:      %{_tmppath}/%{name}-%{version}-root
52
53Vendor:         Project Vine
54Distribution:   Vine Linux
55Packager:       munepi
56
57%description
58The TeX Live software distribution offers a complete TeX system for a
59variety of Unix, Macintosh, Windows and other platforms. It
60encompasses programs for editing, typesetting, previewing and printing
61of TeX documents in many different languages, and a large collection
62of TeX macros and font libraries.
63
64The distribution includes extensive general documentation about TeX,
65as well as the documentation for the included software packages.
66
67This package is a collection of Czech/Slovak:
68Support for Czech/Slovak.
69
70This package contains the following CTAN packages:
71babel-czech:
72babel-slovak:
73cs: Czech/Slovak-tuned Computer Modern fonts.
74csbulletin: LaTeX class for articles submitted to the CSTUG Bulletin (Zpravodaj).
75cslatex: LaTeX support for Czech/Slovak typesetting.
76csplain: Plain TeX support for Czech/Slovak typesetting.
77cstex: Support for Czech/Slovak languages.
78hyphen-czech: Czech hyphenation patterns.
79hyphen-slovak: Slovak hyphenation patterns.
80vlna:
81lshort-czech: Czech translation of the "Short Introduction to LaTeX2e".
82lshort-slovak: Slovak introduction to LaTeX.
83texlive-cz: TeX Live manual (Czech/Slovak)
84
85%description -l ja
86TeX Live ソフトウェアディストリビューションは、
87さまざまな Unix, Macintosh, Windows、および
88他のプラットホームに対して完全な TeX システムを提供します。
89多くの異なった言語を含む TeX ドキュメントの
90編集、組版、閲覧、印刷するためのプログラム、
91そして、TeX マクロやフォントライブラリの大きなコレクションを
92同梱しています。
93
94このディストリビューションは
95同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
96TeX に関するたくさんの一般的なドキュメントを含んでいます。
97
98このパッケージは以下のようなパッケージ集です。
99Czech/Slovak:
100Support for Czech/Slovak.
101
102このパッケージは以下の CTAN パッケージを含んでいます:
103babel-czech:
104babel-slovak:
105cs: Czech/Slovak-tuned Computer Modern fonts.
106csbulletin: LaTeX class for articles submitted to the CSTUG Bulletin (Zpravodaj).
107cslatex: LaTeX support for Czech/Slovak typesetting.
108csplain: Plain TeX support for Czech/Slovak typesetting.
109cstex: Support for Czech/Slovak languages.
110hyphen-czech: Czech hyphenation patterns.
111hyphen-slovak: Slovak hyphenation patterns.
112vlna:
113lshort-czech: Czech translation of the "Short Introduction to LaTeX2e".
114lshort-slovak: Slovak introduction to LaTeX.
115texlive-cz: TeX Live manual (Czech/Slovak)
116
117%package doc
118Summary: TeX Live: Documentation files of %{name}
119Group: Applications/Publishing
120Requires: %{name} = %{version}-%{release}
121
122%description doc
123This package contains documentation files of %{name}.
124
125%prep
126%setup -c -n %{name}-%{version}
127%__tar -xvf %{SOURCE1}
128%__tar -xvf %{SOURCE2}
129%__tar -xvf %{SOURCE3}
130%__tar -xvf %{SOURCE4}
131%__tar -xvf %{SOURCE5}
132%__tar -xvf %{SOURCE6}
133%__tar -xvf %{SOURCE7}
134%__tar -xvf %{SOURCE8}
135%__tar -xvf %{SOURCE9}
136%__tar -xvf %{SOURCE10}
137%__tar -xvf %{SOURCE11}
138%__tar -xvf %{SOURCE12}
139%__tar -xvf %{SOURCE13}
140%__tar -xvf %{SOURCE14}
141%__tar -xvf %{SOURCE15}
142%__tar -xvf %{SOURCE16}
143%__tar -xvf %{SOURCE17}
144%__tar -xvf %{SOURCE18}
145%__tar -xvf %{SOURCE19}
146%__tar -xvf %{SOURCE20}
147%__tar -xvf %{SOURCE21}
148%__tar -xvf %{SOURCE22}
149%__tar -xvf %{SOURCE23}
150
151%build
152
153%install
154[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
155
156%__mkdir_p %{buildroot}%{_datadir}
157
158## move texmf-dist to /usr/share/texmf-dist
159[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
160
161## move texmf to /usr/share/texmf
162[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
163
164## move tlpkg to /usr/share/tlpkg
165[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
166
167## move all non-arch binaries to /usr/bin
168[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
169
170## move others into /usr/share/texmf-dist
171%__mkdir_p %{buildroot}%{_tl_texmfdist}
172%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
173%__rm -rf * ||:
174
175
176## remove duplicated files between texlive and texlive-collection-*
177## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
178## remove unpacked files
179x=(
180texconfig/tcfmgr
181texconfig/tcfmgr.map
182web2c/fmtutil.cnf
183web2c/mktex.opt
184web2c/mktexdir
185web2c/mktexdir.opt
186web2c/mktexnam
187web2c/mktexnam.opt
188web2c/mktexupd
189web2c/texmf.cnf
190web2c/updmap.cfg
191web2c/updmap-hdr.cfg
192doc/chktex/ChkTeX.pdf
193install-tl
194)
195if [ -d %{buildroot}%{_tl_texmfdist} ]; then
196pushd %{buildroot}%{_tl_texmfdist}
197%__rm -f ${x[@]} ||:
198popd
199fi
200
201## Files list
202find %{buildroot} -type f -or -type l | \
203    %__sed -e "s|%{buildroot}||g" > filelist.full
204
205find %{buildroot}%{_tl_texmfdist} -type d | \
206    %__sed -e "s|^%{buildroot}|%dir |" \
207           -e "s|$|/|"             >> filelist.full
208
209## subpackages
210grep "/texmf-dist/doc/" filelist.full > filelist.doc
211cat 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[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
222
223    %_tl_enable_map Map cs-charter.map
224    %_tl_enable_map Map csfonts.map
225
226%_tl_touch_run fmtutil
227
228exit 0
229
230
231%postun
232if [ "$1" = 0 ]; then
233    %_tl_touch_run texhash
234
235    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
236
237    %_tl_disable_map cs-charter.map
238    %_tl_disable_map csfonts.map
239
240fi
241
242exit 0
243
244%posttrans
245%{_tl_exec_texhash}
246%{_tl_exec_mtxrun}
247%{_tl_exec_updmap}
248%{_tl_exec_fmtutil}
249exit 0
250
251
252%files -f filelist.full
253%defattr(-,root,root,-)
254
255%files -f filelist.doc doc
256%defattr(-,root,root,-)
257
258%changelog
259* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
260- generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-langczechslovak
261- TLNET 20130823
262
263* Fri Nov 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
264- generated by tlpdb2rpmspec 2012-1: tlpdb2rpmspec collection-langczechslovak
265
266* Sat Dec  3 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
267- generated by tlpdb2rpmspec 2011-2: tlpdb2rpmspec collection-langczechslovak
268- set external dependencies (texlive-collection-binextra,
269  texlive-collection-fontutils)
270
271* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
272- generated by tlpdb2rpmspec 2011-1: tlpdb2rpmspec collection-langczechslovak
273
274* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
275- generated by tlpdb2rpmspec 2009-4: tlpdb2rpmspec collection-langczechslovak
276- make symlinks of core script utils (texlive-collection-binextra,
277  texlive-collection-context, texlive-collection-fontutils,
278  texlive-collection-langgreek, texlive-collection-langindic,
279  texlive-collection-latex, texlive-collection-latexextra,
280  texlive-collection-latexrecommended, texlive-collection-pictures,
281  texlive-collection-pstricks, texlive-collection-science)
282
283* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
284- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langczechslovak
285- improved %%post
286
287* Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
288- generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langczechslovak
289- removed arch dependent binaries (texlive-collection-latexextra)
290- fixed perl path
291- improved updmap process in %%post and %%postun
292
293* Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
294- generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langczechslovak
Note: See TracBrowser for help on using the repository browser.