[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[8476] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1: |
---|
[1974] | 3 | ## tlpdb2rpmspec collection-formatsextra |
---|
[1533] | 4 | |
---|
[5207] | 5 | %global _use_internal_dependency_generator 0 |
---|
| 6 | %global __find_provides %{nil} |
---|
| 7 | %global __find_requires %{nil} |
---|
| 8 | |
---|
[7770] | 9 | Summary: TeX Live: Additional formats |
---|
| 10 | Summary(ja): TeX Live: Additional formats |
---|
[1533] | 11 | Name: texlive-collection-formatsextra |
---|
[8476] | 12 | Version: 2014 |
---|
| 13 | Release: 1%{?_dist_release} |
---|
| 14 | License: GPLv2+, GPLv3+, Knuth, LPPL, Public Domain |
---|
[1533] | 15 | Group: Applications/Publishing |
---|
| 16 | URL:http://www.tug.org/texlive/ |
---|
| 17 | |
---|
[7770] | 18 | Source0: edmac.doc.tar.xz |
---|
| 19 | Source1: edmac.source.tar.xz |
---|
| 20 | Source2: edmac.tar.xz |
---|
| 21 | Source3: eplain.doc.tar.xz |
---|
| 22 | Source4: eplain.source.tar.xz |
---|
| 23 | Source5: eplain.tar.xz |
---|
[8476] | 24 | Source6: lollipop.doc.tar.xz |
---|
| 25 | Source7: lollipop.tar.xz |
---|
| 26 | Source8: mltex.doc.tar.xz |
---|
| 27 | Source9: mltex.tar.xz |
---|
| 28 | Source10: psizzl.doc.tar.xz |
---|
| 29 | Source11: psizzl.source.tar.xz |
---|
| 30 | Source12: psizzl.tar.xz |
---|
| 31 | Source13: startex.doc.tar.xz |
---|
| 32 | Source14: startex.source.tar.xz |
---|
| 33 | Source15: startex.tar.xz |
---|
| 34 | Source16: texsis.doc.tar.xz |
---|
| 35 | Source17: texsis.tar.xz |
---|
[7770] | 36 | |
---|
[1533] | 37 | Requires: texlive = %{version} |
---|
| 38 | Requires: texlive-collection-basic = %{version} |
---|
| 39 | |
---|
| 40 | Requires(post): texlive = %{version} |
---|
| 41 | Requires(postun): texlive = %{version} |
---|
| 42 | |
---|
| 43 | BuildArch: noarch |
---|
| 44 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 45 | |
---|
| 46 | Vendor: Project Vine |
---|
| 47 | Distribution: Vine Linux |
---|
| 48 | Packager: munepi |
---|
| 49 | |
---|
| 50 | %description |
---|
| 51 | The TeX Live software distribution offers a complete TeX system for a |
---|
| 52 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
| 53 | encompasses programs for editing, typesetting, previewing and printing |
---|
| 54 | of TeX documents in many different languages, and a large collection |
---|
| 55 | of TeX macros and font libraries. |
---|
| 56 | |
---|
| 57 | The distribution includes extensive general documentation about TeX, |
---|
| 58 | as well as the documentation for the included software packages. |
---|
| 59 | |
---|
[7770] | 60 | This package is a collection of Additional formats: |
---|
[5207] | 61 | Collected TeX `formats', i.e., large-scale macro packages |
---|
[8476] | 62 | designed to be dumped into .fmt files -- excluding the most |
---|
| 63 | common ones, such as latex and context, which have their own |
---|
| 64 | package(s). |
---|
[1533] | 65 | |
---|
| 66 | This package contains the following CTAN packages: |
---|
[8476] | 67 | edmac: Typeset critical editions. |
---|
[1533] | 68 | eplain: Extended plain tex macros. |
---|
[8476] | 69 | lollipop: TeX made easy. |
---|
[1533] | 70 | mltex: The MLTeX system. |
---|
| 71 | psizzl: A TeX format for physics papers. |
---|
| 72 | startex: An XML-inspired format for student use. |
---|
| 73 | texsis: Plain TeX macros for Physicists. |
---|
| 74 | |
---|
| 75 | %description -l ja |
---|
| 76 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 77 | さまざまな Unix, Macintosh, Windows、および |
---|
| 78 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 79 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 80 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 81 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 82 | 同梱しています。 |
---|
| 83 | |
---|
| 84 | このディストリビューションは |
---|
| 85 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 86 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 87 | |
---|
| 88 | このパッケージは以下のようなパッケージ集です。 |
---|
[7770] | 89 | Additional formats: |
---|
[5207] | 90 | Collected TeX `formats', i.e., large-scale macro packages |
---|
[8476] | 91 | designed to be dumped into .fmt files -- excluding the most |
---|
| 92 | common ones, such as latex and context, which have their own |
---|
| 93 | package(s). |
---|
[1533] | 94 | |
---|
| 95 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
[8476] | 96 | edmac: Typeset critical editions. |
---|
[1533] | 97 | eplain: Extended plain tex macros. |
---|
[8476] | 98 | lollipop: TeX made easy. |
---|
[1533] | 99 | mltex: The MLTeX system. |
---|
| 100 | psizzl: A TeX format for physics papers. |
---|
| 101 | startex: An XML-inspired format for student use. |
---|
| 102 | texsis: Plain TeX macros for Physicists. |
---|
| 103 | |
---|
| 104 | %package doc |
---|
| 105 | Summary: TeX Live: Documentation files of %{name} |
---|
| 106 | Group: Applications/Publishing |
---|
| 107 | Requires: %{name} = %{version}-%{release} |
---|
| 108 | |
---|
| 109 | %description doc |
---|
| 110 | This package contains documentation files of %{name}. |
---|
| 111 | |
---|
| 112 | %prep |
---|
[7770] | 113 | %setup -c -n %{name}-%{version} |
---|
| 114 | %__tar -xvf %{SOURCE1} |
---|
| 115 | %__tar -xvf %{SOURCE2} |
---|
| 116 | %__tar -xvf %{SOURCE3} |
---|
| 117 | %__tar -xvf %{SOURCE4} |
---|
| 118 | %__tar -xvf %{SOURCE5} |
---|
| 119 | %__tar -xvf %{SOURCE6} |
---|
| 120 | %__tar -xvf %{SOURCE7} |
---|
| 121 | %__tar -xvf %{SOURCE8} |
---|
| 122 | %__tar -xvf %{SOURCE9} |
---|
| 123 | %__tar -xvf %{SOURCE10} |
---|
| 124 | %__tar -xvf %{SOURCE11} |
---|
| 125 | %__tar -xvf %{SOURCE12} |
---|
| 126 | %__tar -xvf %{SOURCE13} |
---|
| 127 | %__tar -xvf %{SOURCE14} |
---|
| 128 | %__tar -xvf %{SOURCE15} |
---|
[8476] | 129 | %__tar -xvf %{SOURCE16} |
---|
| 130 | %__tar -xvf %{SOURCE17} |
---|
[1533] | 131 | |
---|
| 132 | %build |
---|
| 133 | |
---|
| 134 | %install |
---|
| 135 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
| 136 | |
---|
[7770] | 137 | %__mkdir_p %{buildroot}%{_datadir} |
---|
[1533] | 138 | |
---|
[7770] | 139 | ## move texmf-dist to /usr/share/texmf-dist |
---|
| 140 | [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||: |
---|
[1533] | 141 | |
---|
[7770] | 142 | ## move texmf to /usr/share/texmf |
---|
| 143 | [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||: |
---|
[1533] | 144 | |
---|
[7770] | 145 | ## move tlpkg to /usr/share/tlpkg |
---|
| 146 | [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||: |
---|
| 147 | |
---|
| 148 | ## move all non-arch binaries to /usr/bin |
---|
| 149 | [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||: |
---|
| 150 | |
---|
| 151 | ## move others into /usr/share/texmf-dist |
---|
| 152 | %__mkdir_p %{buildroot}%{_tl_texmfdist} |
---|
| 153 | %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||: |
---|
| 154 | %__rm -rf * ||: |
---|
| 155 | |
---|
| 156 | |
---|
| 157 | ## remove duplicated files between texlive and texlive-collection-* |
---|
| 158 | ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive |
---|
| 159 | ## remove unpacked files |
---|
| 160 | x=( |
---|
[8476] | 161 | # scripts/texlive/tlmgr.pl |
---|
| 162 | # scripts/texlive/updmap.pl |
---|
| 163 | # scripts/fontools/autoinst |
---|
| 164 | # scripts/glossaries/makeglossaries |
---|
| 165 | # scripts/m-tx/m-tx.lua |
---|
| 166 | # scripts/musixtex/musixtex.lua |
---|
| 167 | # scripts/pmx/pmx2pdf.lua |
---|
| 168 | # scripts/latexmk/latexmk.pl |
---|
| 169 | # scripts/jfontmaps/kanji-config-updmap.pl |
---|
| 170 | # scripts/jfontmaps/kanji-fontmap-creator.pl |
---|
| 171 | # scripts/latexpand/latexpand |
---|
| 172 | # scripts/epstopdf/epstopdf.pl |
---|
| 173 | # scripts/convbkmk/convbkmk.rb |
---|
| 174 | # scripts/jfontmaps/kanji-config-updmap-sys.sh |
---|
| 175 | # scripts/luaotfload/luaotfload-tool.lua |
---|
| 176 | # texconfig/tcfmgr |
---|
| 177 | # texconfig/tcfmgr.map |
---|
| 178 | # web2c/fmtutil.cnf |
---|
| 179 | # web2c/mktex.opt |
---|
| 180 | # web2c/mktexdir |
---|
| 181 | # web2c/mktexdir.opt |
---|
| 182 | # web2c/mktexnam |
---|
| 183 | # web2c/mktexnam.opt |
---|
| 184 | # web2c/mktexupd |
---|
| 185 | # web2c/texmf.cnf |
---|
| 186 | # web2c/updmap.cfg |
---|
| 187 | # web2c/updmap-hdr.cfg |
---|
| 188 | # doc/chktex/ChkTeX.pdf |
---|
[7770] | 189 | install-tl |
---|
| 190 | ) |
---|
| 191 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
| 192 | pushd %{buildroot}%{_tl_texmfdist} |
---|
| 193 | %__rm -f ${x[@]} ||: |
---|
[5207] | 194 | popd |
---|
[7770] | 195 | fi |
---|
| 196 | |
---|
[1533] | 197 | ## Files list |
---|
| 198 | find %{buildroot} -type f -or -type l | \ |
---|
| 199 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 200 | |
---|
[7770] | 201 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
[1533] | 202 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 203 | -e "s|$|/|" >> filelist.full |
---|
| 204 | |
---|
| 205 | ## subpackages |
---|
| 206 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 207 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 208 | %__mv -f filelist.tmp filelist.full |
---|
| 209 | |
---|
| 210 | %clean |
---|
| 211 | %__rm -rf %{buildroot} |
---|
| 212 | |
---|
| 213 | %post |
---|
[7770] | 214 | %_tl_touch_run texhash |
---|
| 215 | %_tl_touch_run mtxrun |
---|
[1533] | 216 | |
---|
[7770] | 217 | %_tl_touch_run fmtutil |
---|
[2505] | 218 | |
---|
[1533] | 219 | exit 0 |
---|
| 220 | |
---|
| 221 | |
---|
| 222 | %postun |
---|
| 223 | if [ "$1" = 0 ]; then |
---|
[7770] | 224 | %_tl_touch_run texhash |
---|
[1533] | 225 | |
---|
| 226 | fi |
---|
| 227 | |
---|
| 228 | exit 0 |
---|
| 229 | |
---|
[7148] | 230 | %posttrans |
---|
[7770] | 231 | %{_tl_exec_texhash} |
---|
| 232 | %{_tl_exec_mtxrun} |
---|
| 233 | %{_tl_exec_updmap} |
---|
| 234 | %{_tl_exec_fmtutil} |
---|
[7148] | 235 | exit 0 |
---|
| 236 | |
---|
| 237 | |
---|
[1533] | 238 | %files -f filelist.full |
---|
[5207] | 239 | %defattr(-,root,root,-) |
---|
[1533] | 240 | |
---|
| 241 | %files -f filelist.doc doc |
---|
[5207] | 242 | %defattr(-,root,root,-) |
---|
[1533] | 243 | |
---|
| 244 | %changelog |
---|
[8476] | 245 | * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1 |
---|
| 246 | - TLNET 20140524 |
---|