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