[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[9576] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-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] | 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 |
---|
[9576] | 13 | Release: 2%{?_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=( |
---|
[9576] | 143 | scripts/context/stubs/unix/mtxrun |
---|
| 144 | scripts/ptex2pdf/ptex2pdf.lua |
---|
| 145 | scripts/texlive/fmtutil.pl |
---|
[9529] | 146 | scripts/texlive/texconfig-dialog.sh |
---|
| 147 | scripts/texlive/texconfig-sys.sh |
---|
| 148 | scripts/texlive/texconfig.sh |
---|
| 149 | scripts/texlive/texlinks.sh |
---|
| 150 | scripts/texlive/tlmgr.pl |
---|
[9576] | 151 | scripts/texlive/updmap.pl |
---|
[9529] | 152 | texconfig/tcfmgr |
---|
[9576] | 153 | web2c/fmtutil.cnf |
---|
[9529] | 154 | web2c/mktex.opt |
---|
| 155 | web2c/mktexdir |
---|
| 156 | web2c/mktexdir.opt |
---|
| 157 | web2c/mktexnam |
---|
| 158 | web2c/mktexnam.opt |
---|
| 159 | web2c/mktexupd |
---|
| 160 | web2c/texmf.cnf |
---|
| 161 | web2c/updmap-hdr.cfg |
---|
| 162 | web2c/updmap.cfg |
---|
[9576] | 163 | install-tl |
---|
[7770] | 164 | ) |
---|
| 165 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
| 166 | pushd %{buildroot}%{_tl_texmfdist} |
---|
| 167 | %__rm -f ${x[@]} ||: |
---|
[5207] | 168 | popd |
---|
[7770] | 169 | fi |
---|
| 170 | |
---|
[1533] | 171 | ## Files list |
---|
| 172 | find %{buildroot} -type f -or -type l | \ |
---|
| 173 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 174 | |
---|
[7770] | 175 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
[1533] | 176 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 177 | -e "s|$|/|" >> filelist.full |
---|
| 178 | |
---|
| 179 | ## subpackages |
---|
| 180 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 181 | cat 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 |
---|
[7770] | 188 | %_tl_touch_run texhash |
---|
| 189 | %_tl_touch_run mtxrun |
---|
[1533] | 190 | |
---|
[7770] | 191 | %_tl_touch_run fmtutil |
---|
[2505] | 192 | |
---|
[1533] | 193 | exit 0 |
---|
| 194 | |
---|
| 195 | |
---|
| 196 | %postun |
---|
| 197 | if [ "$1" = 0 ]; then |
---|
[7770] | 198 | %_tl_touch_run texhash |
---|
[1533] | 199 | |
---|
| 200 | fi |
---|
| 201 | |
---|
| 202 | exit 0 |
---|
| 203 | |
---|
[7148] | 204 | %posttrans |
---|
[7770] | 205 | %{_tl_exec_texhash} |
---|
| 206 | %{_tl_exec_mtxrun} |
---|
| 207 | %{_tl_exec_updmap} |
---|
| 208 | %{_tl_exec_fmtutil} |
---|
[7148] | 209 | exit 0 |
---|
| 210 | |
---|
| 211 | |
---|
[1533] | 212 | %files -f filelist.full |
---|
[5207] | 213 | %defattr(-,root,root,-) |
---|
[1533] | 214 | |
---|
| 215 | %files -f filelist.doc doc |
---|
[5207] | 216 | %defattr(-,root,root,-) |
---|
[1533] | 217 | |
---|
| 218 | %changelog |
---|
[9576] | 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) |
---|
[9034] | 222 | |
---|
[9576] | 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 |
---|