[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] | 9 | Summary: TeX Live: HTML/SGML/XML support |
---|
| 10 | Summary(ja): TeX Live: HTML/SGML/XML support |
---|
| 11 | Name: texlive-collection-htmlxml |
---|
[8476] | 12 | Version: 2014 |
---|
[8744] | 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 |
---|
[7770] | 29 | |
---|
[1533] | 30 | Requires: texlive = %{version} |
---|
| 31 | Requires: texlive-collection-basic = %{version} |
---|
| 32 | Requires: texlive-collection-fontsrecommended = %{version} |
---|
| 33 | Requires: texlive-collection-latex = %{version} |
---|
| 34 | |
---|
| 35 | Requires(post): texlive = %{version} |
---|
| 36 | Requires(postun): texlive = %{version} |
---|
| 37 | |
---|
| 38 | BuildArch: noarch |
---|
| 39 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 40 | |
---|
| 41 | Vendor: Project Vine |
---|
| 42 | Distribution: Vine Linux |
---|
| 43 | Packager: munepi |
---|
| 44 | |
---|
| 45 | %description |
---|
| 46 | The TeX Live software distribution offers a complete TeX system for a |
---|
| 47 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
| 48 | encompasses programs for editing, typesetting, previewing and printing |
---|
| 49 | of TeX documents in many different languages, and a large collection |
---|
| 50 | of TeX macros and font libraries. |
---|
| 51 | |
---|
| 52 | The distribution includes extensive general documentation about TeX, |
---|
| 53 | as well as the documentation for the included software packages. |
---|
| 54 | |
---|
| 55 | This package is a collection of HTML/SGML/XML support: |
---|
[8476] | 56 | Packages to convert LaTeX to XML/HTML, and typset XML/SGML. |
---|
[1533] | 57 | |
---|
| 58 | This package contains the following CTAN packages: |
---|
[8476] | 59 | classpack: XML mastering for LaTeX classes and packages. |
---|
[1533] | 60 | jadetex: Macros supporting Jade DSSSL output. |
---|
| 61 | passivetex: Support package for XML/SGML typesetting |
---|
| 62 | tex4ht: Convert (La)TeX to HTML/XML. |
---|
| 63 | xmltex: Support for parsing XML documents. |
---|
| 64 | |
---|
| 65 | %description -l ja |
---|
| 66 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 67 | さまざまな Unix, Macintosh, Windows、および |
---|
| 68 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 69 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 70 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 71 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 72 | 同梱しています。 |
---|
| 73 | |
---|
| 74 | このディストリビューションは |
---|
| 75 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 76 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 77 | |
---|
| 78 | このパッケージは以下のようなパッケージ集です。 |
---|
| 79 | HTML/SGML/XML support: |
---|
[8476] | 80 | Packages to convert LaTeX to XML/HTML, and typset XML/SGML. |
---|
[1533] | 81 | |
---|
| 82 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
[8476] | 83 | classpack: XML mastering for LaTeX classes and packages. |
---|
[1533] | 84 | jadetex: Macros supporting Jade DSSSL output. |
---|
| 85 | passivetex: Support package for XML/SGML typesetting |
---|
| 86 | tex4ht: Convert (La)TeX to HTML/XML. |
---|
| 87 | xmltex: Support for parsing XML documents. |
---|
| 88 | |
---|
| 89 | %package doc |
---|
| 90 | Summary: TeX Live: Documentation files of %{name} |
---|
| 91 | Group: Applications/Publishing |
---|
| 92 | Requires: %{name} = %{version}-%{release} |
---|
| 93 | |
---|
| 94 | %description doc |
---|
| 95 | This 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 |
---|
| 138 | x=( |
---|
[8744] | 139 | scripts/texlive/fmtutil.sh |
---|
| 140 | texconfig/tcfmgr |
---|
| 141 | web2c/texmf.cnf |
---|
| 142 | web2c/updmap-hdr.cfg |
---|
| 143 | web2c/updmap.cfg |
---|
[7770] | 144 | install-tl |
---|
| 145 | ) |
---|
| 146 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
| 147 | pushd %{buildroot}%{_tl_texmfdist} |
---|
| 148 | %__rm -f ${x[@]} ||: |
---|
[5207] | 149 | popd |
---|
[7770] | 150 | fi |
---|
| 151 | |
---|
[1533] | 152 | ## Files list |
---|
| 153 | find %{buildroot} -type f -or -type l | \ |
---|
| 154 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 155 | |
---|
[7770] | 156 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
[1533] | 157 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 158 | -e "s|$|/|" >> filelist.full |
---|
| 159 | |
---|
| 160 | ## subpackages |
---|
| 161 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 162 | cat 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] | 174 | exit 0 |
---|
| 175 | |
---|
| 176 | |
---|
| 177 | %postun |
---|
| 178 | if [ "$1" = 0 ]; then |
---|
[7770] | 179 | %_tl_touch_run texhash |
---|
[1533] | 180 | |
---|
| 181 | fi |
---|
| 182 | |
---|
| 183 | exit 0 |
---|
| 184 | |
---|
[7148] | 185 | %posttrans |
---|
[7770] | 186 | %{_tl_exec_texhash} |
---|
| 187 | %{_tl_exec_mtxrun} |
---|
| 188 | %{_tl_exec_updmap} |
---|
| 189 | %{_tl_exec_fmtutil} |
---|
[7148] | 190 | exit 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 |
---|