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

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