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

Revision 7855, 7.4 KB checked in by munepi, 11 years ago (diff)

update source snapshot, TLNET: 20131002

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