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

Revision 8049, 7.5 KB checked in by munepi, 10 years ago (diff)

TLNET 20131218

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2013-5:
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: 5%{?_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=(
180scripts/fontools/autoinst
181scripts/texlive/tlmgr.pl
182scripts/texlive/updmap.pl
183texconfig/tcfmgr
184texconfig/tcfmgr.map
185web2c/fmtutil.cnf
186web2c/mktex.opt
187web2c/mktexdir
188web2c/mktexdir.opt
189web2c/mktexnam
190web2c/mktexnam.opt
191web2c/mktexupd
192web2c/texmf.cnf
193web2c/updmap.cfg
194web2c/updmap-hdr.cfg
195doc/chktex/ChkTeX.pdf
196install-tl
197)
198if [ -d %{buildroot}%{_tl_texmfdist} ]; then
199pushd %{buildroot}%{_tl_texmfdist}
200%__rm -f ${x[@]} ||:
201popd
202fi
203
204## Files list
205find %{buildroot} -type f -or -type l | \
206    %__sed -e "s|%{buildroot}||g" > filelist.full
207
208find %{buildroot}%{_tl_texmfdist} -type d | \
209    %__sed -e "s|^%{buildroot}|%dir |" \
210           -e "s|$|/|"             >> filelist.full
211
212## subpackages
213grep "/texmf-dist/doc/" filelist.full > filelist.doc
214cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
215%__mv -f filelist.tmp filelist.full
216
217%clean
218%__rm -rf %{buildroot}
219
220%post
221%_tl_touch_run texhash
222%_tl_touch_run mtxrun
223
224[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
225
226    %_tl_enable_map Map cs-charter.map
227    %_tl_enable_map Map csfonts.map
228
229%_tl_touch_run fmtutil
230
231exit 0
232
233
234%postun
235if [ "$1" = 0 ]; then
236    %_tl_touch_run texhash
237
238    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
239
240    %_tl_disable_map cs-charter.map
241    %_tl_disable_map csfonts.map
242
243fi
244
245exit 0
246
247%posttrans
248%{_tl_exec_texhash}
249%{_tl_exec_mtxrun}
250%{_tl_exec_updmap}
251%{_tl_exec_fmtutil}
252exit 0
253
254
255%files -f filelist.full
256%defattr(-,root,root,-)
257
258%files -f filelist.doc doc
259%defattr(-,root,root,-)
260
261%changelog
262* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
263- TLNET 20131218
264
265* Fri Nov  1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
266- TLNET 20131101
267
268* Wed Oct  2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
269- TLNET 20131002
270
271* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
272- TLNET 20130919
273
274* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
275- TLNET 20130823
Note: See TracBrowser for help on using the repository browser.