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

Revision 8744, 5.7 KB checked in by munepi, 10 years ago (diff)

synced tlnet to 20140706

RevLine 
[1533]1## -*- coding: utf-8-unix -*-
[8744]2## NOTE: This spec file is generated by tlpdb2rpmspec 2014-2:
[1974]3## tlpdb2rpmspec collection-htmlxml
[1533]4
[5207]5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
[1533]9Summary: TeX Live: HTML/SGML/XML support
10Summary(ja): TeX Live: HTML/SGML/XML support
11Name: texlive-collection-htmlxml
[8476]12Version: 2014
[8744]13Release: 2%{?_dist_release}
[8476]14License: LPPL 1.3, Freely redistributable without restriction, LPPL
[1533]15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
[8476]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
[7770]29
[1533]30Requires: texlive = %{version}
31Requires: texlive-collection-basic = %{version}
32Requires: texlive-collection-fontsrecommended = %{version}
33Requires: texlive-collection-latex = %{version}
34
35Requires(post):         texlive = %{version}
36Requires(postun):       texlive = %{version}
37
38BuildArch:      noarch
39Buildroot:      %{_tmppath}/%{name}-%{version}-root
40
41Vendor:         Project Vine
42Distribution:   Vine Linux
43Packager:       munepi
44
45%description
46The TeX Live software distribution offers a complete TeX system for a
47variety of Unix, Macintosh, Windows and other platforms. It
48encompasses programs for editing, typesetting, previewing and printing
49of TeX documents in many different languages, and a large collection
50of TeX macros and font libraries.
51
52The distribution includes extensive general documentation about TeX,
53as well as the documentation for the included software packages.
54
55This package is a collection of HTML/SGML/XML support:
[8476]56Packages to convert LaTeX to XML/HTML, and typset XML/SGML.
[1533]57
58This package contains the following CTAN packages:
[8476]59classpack: XML mastering for LaTeX classes and packages.
[1533]60jadetex: Macros supporting Jade DSSSL output.
61passivetex: Support package for XML/SGML typesetting
62tex4ht: Convert (La)TeX to HTML/XML.
63xmltex: Support for parsing XML documents.
64
65%description -l ja
66TeX Live ソフトウェアディストリビューションは、
67さまざまな Unix, Macintosh, Windows、および
68他のプラットホームに対して完全な TeX システムを提供します。
69多くの異なった言語を含む TeX ドキュメントの
70編集、組版、閲覧、印刷するためのプログラム、
71そして、TeX マクロやフォントライブラリの大きなコレクションを
72同梱しています。
73
74このディストリビューションは
75同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
76TeX に関するたくさんの一般的なドキュメントを含んでいます。
77
78このパッケージは以下のようなパッケージ集です。
79HTML/SGML/XML support:
[8476]80Packages to convert LaTeX to XML/HTML, and typset XML/SGML.
[1533]81
82このパッケージは以下の CTAN パッケージを含んでいます:
[8476]83classpack: XML mastering for LaTeX classes and packages.
[1533]84jadetex: Macros supporting Jade DSSSL output.
85passivetex: Support package for XML/SGML typesetting
86tex4ht: Convert (La)TeX to HTML/XML.
87xmltex: Support for parsing XML documents.
88
89%package doc
90Summary: TeX Live: Documentation files of %{name}
91Group: Applications/Publishing
92Requires: %{name} = %{version}-%{release}
93
94%description doc
95This package contains documentation files of %{name}.
96
97%prep
[7770]98%setup -c -n %{name}-%{version}
99%__tar -xvf %{SOURCE1}
100%__tar -xvf %{SOURCE2}
101%__tar -xvf %{SOURCE3}
102%__tar -xvf %{SOURCE4}
103%__tar -xvf %{SOURCE5}
104%__tar -xvf %{SOURCE6}
105%__tar -xvf %{SOURCE7}
[8476]106%__tar -xvf %{SOURCE8}
107%__tar -xvf %{SOURCE9}
108%__tar -xvf %{SOURCE10}
[1533]109
110%build
111
112%install
113[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
114
[7770]115%__mkdir_p %{buildroot}%{_datadir}
[1533]116
[7770]117## move texmf-dist to /usr/share/texmf-dist
118[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
[1533]119
[7770]120## move texmf to /usr/share/texmf
121[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
[1533]122
[7770]123## move tlpkg to /usr/share/tlpkg
124[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
125
126## move all non-arch binaries to /usr/bin
127[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
128
129## move others into /usr/share/texmf-dist
130%__mkdir_p %{buildroot}%{_tl_texmfdist}
131%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
132%__rm -rf * ||:
133
134
135## remove duplicated files between texlive and texlive-collection-*
136## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
137## remove unpacked files
138x=(
[8744]139scripts/texlive/fmtutil.sh
140texconfig/tcfmgr
141web2c/texmf.cnf
142web2c/updmap-hdr.cfg
143web2c/updmap.cfg
[7770]144install-tl
145)
146if [ -d %{buildroot}%{_tl_texmfdist} ]; then
147pushd %{buildroot}%{_tl_texmfdist}
148%__rm -f ${x[@]} ||:
[5207]149popd
[7770]150fi
151
[1533]152## Files list
153find %{buildroot} -type f -or -type l | \
154    %__sed -e "s|%{buildroot}||g" > filelist.full
155
[7770]156find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]157    %__sed -e "s|^%{buildroot}|%dir |" \
158           -e "s|$|/|"             >> filelist.full
159
160## subpackages
161grep "/texmf-dist/doc/" filelist.full > filelist.doc
162cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
163%__mv -f filelist.tmp filelist.full
164
165%clean
166%__rm -rf %{buildroot}
167
168%post
[7770]169%_tl_touch_run texhash
170%_tl_touch_run mtxrun
[1533]171
[7770]172%_tl_touch_run fmtutil
[2505]173
[1533]174exit 0
175
176
177%postun
178if [ "$1" = 0 ]; then
[7770]179    %_tl_touch_run texhash
[1533]180
181fi
182
183exit 0
184
[7148]185%posttrans
[7770]186%{_tl_exec_texhash}
187%{_tl_exec_mtxrun}
188%{_tl_exec_updmap}
189%{_tl_exec_fmtutil}
[7148]190exit 0
191
192
[1533]193%files -f filelist.full
[5207]194%defattr(-,root,root,-)
[1533]195
196%files -f filelist.doc doc
[5207]197%defattr(-,root,root,-)
[1533]198
199%changelog
[8744]200* Sun Jul  6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
201- synced tlnet to 20140706
202
[8476]203* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
[8744]204- synced tlnet to 20140524
Note: See TracBrowser for help on using the repository browser.