[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[9529] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-1: |
---|
[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] | 9 | Summary: TeX Live: HTML/SGML/XML support |
---|
| 10 | Summary(ja): TeX Live: HTML/SGML/XML support |
---|
| 11 | Name: texlive-collection-htmlxml |
---|
[9529] | 12 | Version: 2015 |
---|
| 13 | Release: 1%{?_dist_release} |
---|
[8476] | 14 | License: LPPL 1.3, Freely redistributable without restriction, LPPL |
---|
[1533] | 15 | Group: Applications/Publishing |
---|
| 16 | URL:http://www.tug.org/texlive/ |
---|
| 17 | |
---|
[8476] | 18 | Source0: classpack.doc.tar.xz |
---|
| 19 | Source1: classpack.source.tar.xz |
---|
| 20 | Source2: classpack.tar.xz |
---|
| 21 | Source3: jadetex.doc.tar.xz |
---|
| 22 | Source4: jadetex.source.tar.xz |
---|
| 23 | Source5: jadetex.tar.xz |
---|
| 24 | Source6: passivetex.tar.xz |
---|
| 25 | Source7: tex4ht.doc.tar.xz |
---|
| 26 | Source8: tex4ht.tar.xz |
---|
| 27 | Source9: xmltex.doc.tar.xz |
---|
| 28 | Source10: xmltex.tar.xz |
---|
[9529] | 29 | Source11: xmltexconfig.tar.xz |
---|
[7770] | 30 | |
---|
[1533] | 31 | Requires: texlive = %{version} |
---|
| 32 | Requires: texlive-collection-basic = %{version} |
---|
| 33 | Requires: texlive-collection-fontsrecommended = %{version} |
---|
| 34 | Requires: texlive-collection-latex = %{version} |
---|
| 35 | |
---|
| 36 | Requires(post): texlive = %{version} |
---|
| 37 | Requires(postun): texlive = %{version} |
---|
| 38 | |
---|
| 39 | BuildArch: noarch |
---|
| 40 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 41 | |
---|
| 42 | Vendor: Project Vine |
---|
| 43 | Distribution: Vine Linux |
---|
| 44 | Packager: munepi |
---|
| 45 | |
---|
| 46 | %description |
---|
| 47 | The TeX Live software distribution offers a complete TeX system for a |
---|
| 48 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
| 49 | encompasses programs for editing, typesetting, previewing and printing |
---|
| 50 | of TeX documents in many different languages, and a large collection |
---|
| 51 | of TeX macros and font libraries. |
---|
| 52 | |
---|
| 53 | The distribution includes extensive general documentation about TeX, |
---|
| 54 | as well as the documentation for the included software packages. |
---|
| 55 | |
---|
| 56 | This package is a collection of HTML/SGML/XML support: |
---|
[9529] | 57 | Packages to convert LaTeX to XML/HTML, and typeset XML/SGML. |
---|
[1533] | 58 | |
---|
| 59 | This package contains the following CTAN packages: |
---|
[8476] | 60 | classpack: XML mastering for LaTeX classes and packages. |
---|
[1533] | 61 | jadetex: Macros supporting Jade DSSSL output. |
---|
| 62 | passivetex: Support package for XML/SGML typesetting |
---|
| 63 | tex4ht: Convert (La)TeX to HTML/XML. |
---|
| 64 | xmltex: Support for parsing XML documents. |
---|
[9529] | 65 | xmltexconfig: |
---|
[1533] | 66 | |
---|
| 67 | %description -l ja |
---|
| 68 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 69 | さまざまな Unix, Macintosh, Windows、および |
---|
| 70 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 71 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 72 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 73 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 74 | 同梱しています。 |
---|
| 75 | |
---|
| 76 | このディストリビューションは |
---|
| 77 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 78 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 79 | |
---|
| 80 | このパッケージは以下のようなパッケージ集です。 |
---|
| 81 | HTML/SGML/XML support: |
---|
[9529] | 82 | Packages to convert LaTeX to XML/HTML, and typeset XML/SGML. |
---|
[1533] | 83 | |
---|
| 84 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
[8476] | 85 | classpack: XML mastering for LaTeX classes and packages. |
---|
[1533] | 86 | jadetex: Macros supporting Jade DSSSL output. |
---|
| 87 | passivetex: Support package for XML/SGML typesetting |
---|
| 88 | tex4ht: Convert (La)TeX to HTML/XML. |
---|
| 89 | xmltex: Support for parsing XML documents. |
---|
[9529] | 90 | xmltexconfig: |
---|
[1533] | 91 | |
---|
| 92 | %package doc |
---|
| 93 | Summary: TeX Live: Documentation files of %{name} |
---|
| 94 | Group: Applications/Publishing |
---|
| 95 | Requires: %{name} = %{version}-%{release} |
---|
| 96 | |
---|
| 97 | %description doc |
---|
| 98 | This package contains documentation files of %{name}. |
---|
| 99 | |
---|
| 100 | %prep |
---|
[7770] | 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} |
---|
[8476] | 109 | %__tar -xvf %{SOURCE8} |
---|
| 110 | %__tar -xvf %{SOURCE9} |
---|
| 111 | %__tar -xvf %{SOURCE10} |
---|
[9529] | 112 | %__tar -xvf %{SOURCE11} |
---|
[1533] | 113 | |
---|
| 114 | %build |
---|
| 115 | |
---|
| 116 | %install |
---|
| 117 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
| 118 | |
---|
[7770] | 119 | %__mkdir_p %{buildroot}%{_datadir} |
---|
[1533] | 120 | |
---|
[7770] | 121 | ## move texmf-dist to /usr/share/texmf-dist |
---|
| 122 | [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||: |
---|
[1533] | 123 | |
---|
[7770] | 124 | ## move texmf to /usr/share/texmf |
---|
| 125 | [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||: |
---|
[1533] | 126 | |
---|
[7770] | 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 |
---|
| 142 | x=( |
---|
[9529] | 143 | scripts/texlive/texconfig-dialog.sh |
---|
| 144 | scripts/texlive/texconfig-sys.sh |
---|
| 145 | scripts/texlive/texconfig.sh |
---|
| 146 | scripts/texlive/texlinks.sh |
---|
| 147 | scripts/texlive/tlmgr.pl |
---|
| 148 | texconfig/tcfmgr |
---|
| 149 | web2c/mktex.opt |
---|
| 150 | web2c/mktexdir |
---|
| 151 | web2c/mktexdir.opt |
---|
| 152 | web2c/mktexnam |
---|
| 153 | web2c/mktexnam.opt |
---|
| 154 | web2c/mktexupd |
---|
| 155 | web2c/texmf.cnf |
---|
| 156 | web2c/updmap-hdr.cfg |
---|
| 157 | web2c/updmap.cfg |
---|
[7770] | 158 | ) |
---|
| 159 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
| 160 | pushd %{buildroot}%{_tl_texmfdist} |
---|
| 161 | %__rm -f ${x[@]} ||: |
---|
[5207] | 162 | popd |
---|
[7770] | 163 | fi |
---|
| 164 | |
---|
[1533] | 165 | ## Files list |
---|
| 166 | find %{buildroot} -type f -or -type l | \ |
---|
| 167 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 168 | |
---|
[7770] | 169 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
[1533] | 170 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 171 | -e "s|$|/|" >> filelist.full |
---|
| 172 | |
---|
| 173 | ## subpackages |
---|
| 174 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 175 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 176 | %__mv -f filelist.tmp filelist.full |
---|
| 177 | |
---|
| 178 | %clean |
---|
| 179 | %__rm -rf %{buildroot} |
---|
| 180 | |
---|
| 181 | %post |
---|
[7770] | 182 | %_tl_touch_run texhash |
---|
| 183 | %_tl_touch_run mtxrun |
---|
[1533] | 184 | |
---|
[7770] | 185 | %_tl_touch_run fmtutil |
---|
[2505] | 186 | |
---|
[1533] | 187 | exit 0 |
---|
| 188 | |
---|
| 189 | |
---|
| 190 | %postun |
---|
| 191 | if [ "$1" = 0 ]; then |
---|
[7770] | 192 | %_tl_touch_run texhash |
---|
[1533] | 193 | |
---|
| 194 | fi |
---|
| 195 | |
---|
| 196 | exit 0 |
---|
| 197 | |
---|
[7148] | 198 | %posttrans |
---|
[7770] | 199 | %{_tl_exec_texhash} |
---|
| 200 | %{_tl_exec_mtxrun} |
---|
| 201 | %{_tl_exec_updmap} |
---|
| 202 | %{_tl_exec_fmtutil} |
---|
[7148] | 203 | exit 0 |
---|
| 204 | |
---|
| 205 | |
---|
[1533] | 206 | %files -f filelist.full |
---|
[5207] | 207 | %defattr(-,root,root,-) |
---|
[1533] | 208 | |
---|
| 209 | %files -f filelist.doc doc |
---|
[5207] | 210 | %defattr(-,root,root,-) |
---|
[1533] | 211 | |
---|
| 212 | %changelog |
---|
[9034] | 213 | |
---|