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

Revision 9955, 10.7 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-htmlxml
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: HTML/SGML/XML support
10Summary(ja): TeX Live: HTML/SGML/XML support
11Name: texlive-collection-htmlxml
12Version: 2015
13Release: 4%{?_dist_release}
14License: LPPL 1.3, Freely redistributable without restriction, LPPL
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: classpack.doc.tar.xz
19Source1: classpack.source.tar.xz
20Source2: classpack.tar.xz
21Source3: jadetex.doc.tar.xz
22Source4: jadetex.source.tar.xz
23Source5: jadetex.tar.xz
24Source6: passivetex.tar.xz
25Source7: tex4ht.doc.tar.xz
26Source8: tex4ht.tar.xz
27Source9: xmltex.doc.tar.xz
28Source10: xmltex.tar.xz
29Source11: xmltexconfig.tar.xz
30
31Requires: texlive = %{version}
32Requires: texlive-collection-basic = %{version}
33Requires: texlive-collection-fontsrecommended = %{version}
34Requires: texlive-collection-latex = %{version}
35
36Requires(post):         texlive = %{version}
37Requires(postun):       texlive = %{version}
38
39BuildArch:      noarch
40Buildroot:      %{_tmppath}/%{name}-%{version}-root
41
42Vendor:         Project Vine
43Distribution:   Vine Linux
44Packager:       munepi
45
46%description
47The TeX Live software distribution offers a complete TeX system for a
48variety of Unix, Macintosh, Windows and other platforms. It
49encompasses programs for editing, typesetting, previewing and printing
50of TeX documents in many different languages, and a large collection
51of TeX macros and font libraries.
52
53The distribution includes extensive general documentation about TeX,
54as well as the documentation for the included software packages.
55
56This package is a collection of HTML/SGML/XML support:
57Packages to convert LaTeX to XML/HTML, and typeset XML/SGML.
58
59This package contains the following CTAN packages:
60classpack: XML mastering for LaTeX classes and packages.
61jadetex: Macros supporting Jade DSSSL output
62passivetex: Support package for XML/SGML typesetting
63tex4ht: Convert (La)TeX to HTML/XML
64xmltex: Support for parsing XML documents
65xmltexconfig:
66
67%description -l ja
68TeX Live ソフトウェアディストリビューションは、
69さまざまな Unix, Macintosh, Windows、および
70他のプラットホームに対して完全な TeX システムを提供します。
71多くの異なった言語を含む TeX ドキュメントの
72編集、組版、閲覧、印刷するためのプログラム、
73そして、TeX マクロやフォントライブラリの大きなコレクションを
74同梱しています。
75
76このディストリビューションは
77同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
78TeX に関するたくさんの一般的なドキュメントを含んでいます。
79
80このパッケージは以下のようなパッケージ集です。
81HTML/SGML/XML support:
82Packages to convert LaTeX to XML/HTML, and typeset XML/SGML.
83
84このパッケージは以下の CTAN パッケージを含んでいます:
85classpack: XML mastering for LaTeX classes and packages.
86jadetex: Macros supporting Jade DSSSL output
87passivetex: Support package for XML/SGML typesetting
88tex4ht: Convert (La)TeX to HTML/XML
89xmltex: Support for parsing XML documents
90xmltexconfig:
91
92%package doc
93Summary: TeX Live: Documentation files of %{name}
94Group: Applications/Publishing
95Requires: %{name} = %{version}-%{release}
96
97%description doc
98This package contains documentation files of %{name}.
99
100%prep
101%setup -c -n %{name}-%{version}
102%__tar -xvf %{SOURCE1}
103%__tar -xvf %{SOURCE2}
104%__tar -xvf %{SOURCE3}
105%__tar -xvf %{SOURCE4}
106%__tar -xvf %{SOURCE5}
107%__tar -xvf %{SOURCE6}
108%__tar -xvf %{SOURCE7}
109%__tar -xvf %{SOURCE8}
110%__tar -xvf %{SOURCE9}
111%__tar -xvf %{SOURCE10}
112%__tar -xvf %{SOURCE11}
113
114%build
115
116%install
117[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
118
119%__mkdir_p %{buildroot}%{_datadir}
120
121## move texmf-dist to /usr/share/texmf-dist
122[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
123
124## move texmf to /usr/share/texmf
125[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
126
127## move tlpkg to /usr/share/tlpkg
128[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
129
130## move all non-arch binaries to /usr/bin
131[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
132
133## move others into /usr/share/texmf-dist
134%__mkdir_p %{buildroot}%{_tl_texmfdist}
135%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
136%__rm -rf * ||:
137
138
139## remove duplicated files between texlive and texlive-collection-*
140## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
141## remove unpacked files
142x=(
143dvipdfmx/dvipdfmx.cfg
144scripts/context/stubs/unix/mtxrun
145scripts/ptex2pdf/ptex2pdf.lua
146scripts/texlive/fmtutil.pl
147scripts/texlive/texconfig-dialog.sh
148scripts/texlive/texconfig-sys.sh
149scripts/texlive/texconfig.sh
150scripts/texlive/texlinks.sh
151scripts/texlive/tlmgr.pl
152scripts/texlive/updmap.pl
153texconfig/tcfmgr
154web2c/fmtutil.cnf
155web2c/mktex.opt
156web2c/mktexdir
157web2c/mktexdir.opt
158web2c/mktexnam
159web2c/mktexnam.opt
160web2c/mktexupd
161web2c/texmf.cnf
162web2c/updmap-hdr.cfg
163web2c/updmap.cfg
164install-tl
165#
166scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
167scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
168scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
169scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
170scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
171scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
172scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
173scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
174scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
175scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
176scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
177scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
178scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
179scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
180scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
181scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
182scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
183scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
184scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
185scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
186scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
187scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
188)
189if [ -d %{buildroot}%{_tl_texmfdist} ]; then
190pushd %{buildroot}%{_tl_texmfdist}
191%__rm -f ${x[@]} ||:
192popd
193fi
194
195## Files list
196find %{buildroot} -type f -or -type l | \
197    %__sed -e "s|%{buildroot}||g" > filelist.full
198
199find %{buildroot}%{_tl_texmfdist} -type d | \
200    %__sed -e "s|^%{buildroot}|%dir |" \
201           -e "s|$|/|"             >> filelist.full
202
203## subpackages
204grep "/texmf-dist/doc/" filelist.full > filelist.doc
205cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
206%__mv -f filelist.tmp filelist.full
207
208%clean
209%__rm -rf %{buildroot}
210
211%post
212%_tl_touch_run texhash
213%_tl_touch_run mtxrun
214
215%_tl_touch_run fmtutil
216
217exit 0
218
219
220%postun
221if [ "$1" = 0 ]; then
222    %_tl_touch_run texhash
223
224fi
225
226exit 0
227
228%posttrans
229%{_tl_exec_texhash}
230%{_tl_exec_mtxrun}
231%{_tl_exec_updmap}
232%{_tl_exec_fmtutil}
233exit 0
234
235
236%files -f filelist.full
237%defattr(-,root,root,-)
238
239%files -f filelist.doc doc
240%defattr(-,root,root,-)
241
242%changelog
243* Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
244- remove duplicated files from texlive-collection-*
245- synced tlnet to 20160113 (TeX Live 2015)
246
247* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
248- TeX Live 2016/dev
249- synced tlnet to 20160110 (TeX Live 2016/dev)
250
251* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
252- TeX Live 2015/pretest
253- synced tlnet to 20150522 (TeX Live 2015/pretest)
254
255* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
256- TeX Live 2015/pretest
257- synced tlnet to 20150426 (TeX Live 2015/pretest)
258
259* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
260- synced tlnet to 20150401
261
262* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
263- synced tlnet to 20141028
264
265* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
266- synced tlnet to 20140706
267
268* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
269- upgraded to TeX Live 2014
270
271* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
272- synced tlnet to 20140406
273
274* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
275- synced tlnet to 20131218
276
277* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
278- synced tlnet to 20131101
279
280* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
281- synced tlnet to 20131002
282
283* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
284- synced tlnet to 20130919
285
286* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
287- upgraded to TeX Live 2013
288  - used tlnet archives
289  - synced tlnet to 20130823
290- added macros.texlive
291
292* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
293- updated to TeX Live 2012
294
295* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
296- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
297  - set external dependencies (texlive-collection-binextra,
298    texlive-collection-fontutils)
299
300* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
301- updated to TeX Live 2011
302- merged texlive-vtlpkg-2009-osx.patch from OSXWS
303- added %doc README (%files)
304
305* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
306- applied texlive-vtlpkg-2009-vine.patch
307  - remove arch dependent binaries
308- updated tlpdb2rpmspec.sh.in:
309  - improved tlpdb4a()
310  - make symlinks of core script utils (texlive-collection-binextra,
311    texlive-collection-context, texlive-collection-fontutils,
312    texlive-collection-langgreek, texlive-collection-langindic,
313    texlive-collection-latex, texlive-collection-latexextra,
314    texlive-collection-latexrecommended, texlive-collection-pictures,
315    texlive-collection-pstricks, texlive-collection-science)
316
317* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
318- updated tlpdb2rpmspec.sh.in:
319  - improved %post
320
321* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
322- updated tlpdb2rpmspec.sh.in:
323  - removed arch dependent binaries (texlive-collection-latexextra)
324  - improved updmap process in %post and %postun
325  - fixed perl path
326
327* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
328- initial build
Note: See TracBrowser for help on using the repository browser.