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

Revision 9576, 8.7 KB checked in by munepi, 9 years ago (diff)

synced tlnet to 20150522

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-2:
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: 2%{?_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=(
143scripts/context/stubs/unix/mtxrun
144scripts/ptex2pdf/ptex2pdf.lua
145scripts/texlive/fmtutil.pl
146scripts/texlive/texconfig-dialog.sh
147scripts/texlive/texconfig-sys.sh
148scripts/texlive/texconfig.sh
149scripts/texlive/texlinks.sh
150scripts/texlive/tlmgr.pl
151scripts/texlive/updmap.pl
152texconfig/tcfmgr
153web2c/fmtutil.cnf
154web2c/mktex.opt
155web2c/mktexdir
156web2c/mktexdir.opt
157web2c/mktexnam
158web2c/mktexnam.opt
159web2c/mktexupd
160web2c/texmf.cnf
161web2c/updmap-hdr.cfg
162web2c/updmap.cfg
163install-tl
164)
165if [ -d %{buildroot}%{_tl_texmfdist} ]; then
166pushd %{buildroot}%{_tl_texmfdist}
167%__rm -f ${x[@]} ||:
168popd
169fi
170
171## Files list
172find %{buildroot} -type f -or -type l | \
173    %__sed -e "s|%{buildroot}||g" > filelist.full
174
175find %{buildroot}%{_tl_texmfdist} -type d | \
176    %__sed -e "s|^%{buildroot}|%dir |" \
177           -e "s|$|/|"             >> filelist.full
178
179## subpackages
180grep "/texmf-dist/doc/" filelist.full > filelist.doc
181cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
182%__mv -f filelist.tmp filelist.full
183
184%clean
185%__rm -rf %{buildroot}
186
187%post
188%_tl_touch_run texhash
189%_tl_touch_run mtxrun
190
191%_tl_touch_run fmtutil
192
193exit 0
194
195
196%postun
197if [ "$1" = 0 ]; then
198    %_tl_touch_run texhash
199
200fi
201
202exit 0
203
204%posttrans
205%{_tl_exec_texhash}
206%{_tl_exec_mtxrun}
207%{_tl_exec_updmap}
208%{_tl_exec_fmtutil}
209exit 0
210
211
212%files -f filelist.full
213%defattr(-,root,root,-)
214
215%files -f filelist.doc doc
216%defattr(-,root,root,-)
217
218%changelog
219* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
220- TeX Live 2015/pretest
221- synced tlnet to 20150522 (TeX Live 2015/pretest)
222
223* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
224- TeX Live 2015/pretest
225- synced tlnet to 20150426 (TeX Live 2015/pretest)
226
227* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
228- synced tlnet to 20150401
229
230* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
231- synced tlnet to 20141028
232
233* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
234- synced tlnet to 20140706
235
236* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
237- upgraded to TeX Live 2014
238
239* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
240- synced tlnet to 20140406
241
242* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
243- synced tlnet to 20131218
244
245* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
246- synced tlnet to 20131101
247
248* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
249- synced tlnet to 20131002
250
251* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
252- synced tlnet to 20130919
253
254* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
255- upgraded to TeX Live 2013
256  - used tlnet archives
257  - synced tlnet to 20130823
258- added macros.texlive
259
260* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
261- updated to TeX Live 2012
262
263* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
264- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
265  - set external dependencies (texlive-collection-binextra,
266    texlive-collection-fontutils)
267
268* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
269- updated to TeX Live 2011
270- merged texlive-vtlpkg-2009-osx.patch from OSXWS
271- added %doc README (%files)
272
273* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
274- applied texlive-vtlpkg-2009-vine.patch
275  - remove arch dependent binaries
276- updated tlpdb2rpmspec.sh.in:
277  - improved tlpdb4a()
278  - make symlinks of core script utils (texlive-collection-binextra,
279    texlive-collection-context, texlive-collection-fontutils,
280    texlive-collection-langgreek, texlive-collection-langindic,
281    texlive-collection-latex, texlive-collection-latexextra,
282    texlive-collection-latexrecommended, texlive-collection-pictures,
283    texlive-collection-pstricks, texlive-collection-science)
284
285* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
286- updated tlpdb2rpmspec.sh.in:
287  - improved %post
288
289* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
290- updated tlpdb2rpmspec.sh.in:
291  - removed arch dependent binaries (texlive-collection-latexextra)
292  - improved updmap process in %post and %postun
293  - fixed perl path
294
295* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
296- initial build
Note: See TracBrowser for help on using the repository browser.