source: projects/specs/trunk/t/texlive-collection-omega/texlive-collection-omega-vl.spec @ 9955

Revision 9955, 10.9 KB checked in by munepi, 8 years ago (diff)

reverted to texlive-20150521-source (TeX Live 2015)
remove duplicated files from texlive-collection-*

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-4:
3## tlpdb2rpmspec collection-omega
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: Omega packages
10Summary(ja): TeX Live: Omega packages
11Name: texlive-collection-omega
12Version: 2015
13Release: 4%{?_dist_release}
14License: GPL+, LPPL
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: aleph.doc.tar.xz
19Source1: aleph.tar.xz
20Source2: antomega.doc.tar.xz
21Source3: antomega.source.tar.xz
22Source4: antomega.tar.xz
23Source5: lambda.tar.xz
24Source6: mxedruli.doc.tar.xz
25Source7: mxedruli.tar.xz
26Source8: omega.doc.tar.xz
27Source9: omega.tar.xz
28Source10: omegaware.doc.tar.xz
29Source11: omegaware.tar.xz
30Source12: otibet.doc.tar.xz
31Source13: otibet.source.tar.xz
32Source14: otibet.tar.xz
33
34Requires: texlive = %{version}
35Requires: texlive-collection-basic = %{version}
36Requires: texlive-collection-latex = %{version}
37
38Requires(post):         texlive = %{version}
39Requires(postun):       texlive = %{version}
40
41BuildArch:      noarch
42Buildroot:      %{_tmppath}/%{name}-%{version}-root
43
44Vendor:         Project Vine
45Distribution:   Vine Linux
46Packager:       munepi
47
48%description
49The TeX Live software distribution offers a complete TeX system for a
50variety of Unix, Macintosh, Windows and other platforms. It
51encompasses programs for editing, typesetting, previewing and printing
52of TeX documents in many different languages, and a large collection
53of TeX macros and font libraries.
54
55The distribution includes extensive general documentation about TeX,
56as well as the documentation for the included software packages.
57
58This package is a collection of Omega packages:
59Omega, a 16-bit extended TeX by John Plaice and Yannis
60Haralambous, now updated to Aleph.
61
62This package contains the following CTAN packages:
63aleph: Extended TeX
64antomega: Alternative language support for Omega/Lambda.
65lambda:
66mxedruli: A pair of fonts for different Georgian alphabets.
67omega: A wide-character-set extension of TeX.
68omegaware:
69otibet:
70
71%description -l ja
72TeX Live ソフトウェアディストリビューションは、
73さまざまな Unix, Macintosh, Windows、および
74他のプラットホームに対して完全な TeX システムを提供します。
75多くの異なった言語を含む TeX ドキュメントの
76編集、組版、閲覧、印刷するためのプログラム、
77そして、TeX マクロやフォントライブラリの大きなコレクションを
78同梱しています。
79
80このディストリビューションは
81同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
82TeX に関するたくさんの一般的なドキュメントを含んでいます。
83
84このパッケージは以下のようなパッケージ集です。
85Omega packages:
86Omega, a 16-bit extended TeX by John Plaice and Yannis
87Haralambous, now updated to Aleph.
88
89このパッケージは以下の CTAN パッケージを含んでいます:
90aleph: Extended TeX
91antomega: Alternative language support for Omega/Lambda.
92lambda:
93mxedruli: A pair of fonts for different Georgian alphabets.
94omega: A wide-character-set extension of TeX.
95omegaware:
96otibet:
97
98%package doc
99Summary: TeX Live: Documentation files of %{name}
100Group: Applications/Publishing
101Requires: %{name} = %{version}-%{release}
102
103%description doc
104This package contains documentation files of %{name}.
105
106%prep
107%setup -c -n %{name}-%{version}
108%__tar -xvf %{SOURCE1}
109%__tar -xvf %{SOURCE2}
110%__tar -xvf %{SOURCE3}
111%__tar -xvf %{SOURCE4}
112%__tar -xvf %{SOURCE5}
113%__tar -xvf %{SOURCE6}
114%__tar -xvf %{SOURCE7}
115%__tar -xvf %{SOURCE8}
116%__tar -xvf %{SOURCE9}
117%__tar -xvf %{SOURCE10}
118%__tar -xvf %{SOURCE11}
119%__tar -xvf %{SOURCE12}
120%__tar -xvf %{SOURCE13}
121%__tar -xvf %{SOURCE14}
122
123%build
124
125%install
126[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
127
128%__mkdir_p %{buildroot}%{_datadir}
129
130## move texmf-dist to /usr/share/texmf-dist
131[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
132
133## move texmf to /usr/share/texmf
134[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
135
136## move tlpkg to /usr/share/tlpkg
137[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
138
139## move all non-arch binaries to /usr/bin
140[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
141
142## move others into /usr/share/texmf-dist
143%__mkdir_p %{buildroot}%{_tl_texmfdist}
144%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
145%__rm -rf * ||:
146
147
148## remove duplicated files between texlive and texlive-collection-*
149## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
150## remove unpacked files
151x=(
152dvipdfmx/dvipdfmx.cfg
153scripts/context/stubs/unix/mtxrun
154scripts/ptex2pdf/ptex2pdf.lua
155scripts/texlive/fmtutil.pl
156scripts/texlive/texconfig-dialog.sh
157scripts/texlive/texconfig-sys.sh
158scripts/texlive/texconfig.sh
159scripts/texlive/texlinks.sh
160scripts/texlive/tlmgr.pl
161scripts/texlive/updmap.pl
162texconfig/tcfmgr
163web2c/fmtutil.cnf
164web2c/mktex.opt
165web2c/mktexdir
166web2c/mktexdir.opt
167web2c/mktexnam
168web2c/mktexnam.opt
169web2c/mktexupd
170web2c/texmf.cnf
171web2c/updmap-hdr.cfg
172web2c/updmap.cfg
173install-tl
174#
175scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
176scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
177scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
178scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
179scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
180scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
181scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
182scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
183scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
184scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
185scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
186scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
187scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
188scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
189scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
190scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
191scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
192scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
193scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
194scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
195scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
196scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
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 mxedruli.map
227    %_tl_enable_map Map omega.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 mxedruli.map
241    %_tl_disable_map omega.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 Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
263- remove duplicated files from texlive-collection-*
264- synced tlnet to 20160113 (TeX Live 2015)
265
266* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
267- TeX Live 2016/dev
268- synced tlnet to 20160110 (TeX Live 2016/dev)
269
270* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
271- TeX Live 2015/pretest
272- synced tlnet to 20150522 (TeX Live 2015/pretest)
273
274* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
275- TeX Live 2015/pretest
276- synced tlnet to 20150426 (TeX Live 2015/pretest)
277
278* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
279- synced tlnet to 20150401
280
281* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
282- synced tlnet to 20141028
283
284* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
285- synced tlnet to 20140706
286
287* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
288- upgraded to TeX Live 2014
289
290* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
291- synced tlnet to 20140406
292
293* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
294- synced tlnet to 20131218
295
296* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
297- synced tlnet to 20131101
298
299* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
300- synced tlnet to 20131002
301
302* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
303- synced tlnet to 20130919
304
305* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
306- upgraded to TeX Live 2013
307  - used tlnet archives
308  - synced tlnet to 20130823
309- added macros.texlive
310
311* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
312- updated to TeX Live 2012
313
314* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
315- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
316  - set external dependencies (texlive-collection-binextra,
317    texlive-collection-fontutils)
318
319* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
320- updated to TeX Live 2011
321- merged texlive-vtlpkg-2009-osx.patch from OSXWS
322- added %doc README (%files)
323
324* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
325- applied texlive-vtlpkg-2009-vine.patch
326  - remove arch dependent binaries
327- updated tlpdb2rpmspec.sh.in:
328  - improved tlpdb4a()
329  - make symlinks of core script utils (texlive-collection-binextra,
330    texlive-collection-context, texlive-collection-fontutils,
331    texlive-collection-langgreek, texlive-collection-langindic,
332    texlive-collection-latex, texlive-collection-latexextra,
333    texlive-collection-latexrecommended, texlive-collection-pictures,
334    texlive-collection-pstricks, texlive-collection-science)
335
336* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
337- updated tlpdb2rpmspec.sh.in:
338  - improved %post
339
340* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
341- updated tlpdb2rpmspec.sh.in:
342  - removed arch dependent binaries (texlive-collection-latexextra)
343  - improved updmap process in %post and %postun
344  - fixed perl path
345
346* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
347- initial build
Note: See TracBrowser for help on using the repository browser.