[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[7951] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-4: |
---|
[1974] | 3 | ## tlpdb2rpmspec collection-omega |
---|
[1533] | 4 | |
---|
[5207] | 5 | %global _use_internal_dependency_generator 0 |
---|
| 6 | %global __find_provides %{nil} |
---|
| 7 | %global __find_requires %{nil} |
---|
| 8 | |
---|
[7148] | 9 | Summary: TeX Live: Omega packages |
---|
| 10 | Summary(ja): TeX Live: Omega packages |
---|
[1533] | 11 | Name: texlive-collection-omega |
---|
[7770] | 12 | Version: 2013 |
---|
[7951] | 13 | Release: 4%{?_dist_release} |
---|
[7770] | 14 | License: GPL+, LPPL |
---|
[1533] | 15 | Group: Applications/Publishing |
---|
| 16 | URL:http://www.tug.org/texlive/ |
---|
| 17 | |
---|
[7770] | 18 | Source0: aleph.doc.tar.xz |
---|
| 19 | Source1: aleph.tar.xz |
---|
| 20 | Source2: antomega.doc.tar.xz |
---|
| 21 | Source3: antomega.source.tar.xz |
---|
| 22 | Source4: antomega.tar.xz |
---|
| 23 | Source5: lambda.tar.xz |
---|
| 24 | Source6: mxedruli.doc.tar.xz |
---|
| 25 | Source7: mxedruli.tar.xz |
---|
| 26 | Source8: omega.doc.tar.xz |
---|
| 27 | Source9: omega.tar.xz |
---|
| 28 | Source10: omegaware.doc.tar.xz |
---|
| 29 | Source11: omegaware.tar.xz |
---|
| 30 | Source12: otibet.doc.tar.xz |
---|
| 31 | Source13: otibet.source.tar.xz |
---|
| 32 | Source14: otibet.tar.xz |
---|
| 33 | |
---|
[1533] | 34 | Requires: texlive = %{version} |
---|
| 35 | Requires: texlive-collection-basic = %{version} |
---|
| 36 | Requires: texlive-collection-latex = %{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 | |
---|
[7148] | 58 | This package is a collection of Omega packages: |
---|
[1533] | 59 | Omega, a 16-bit extended TeX by John Plaice and Yannis |
---|
[7770] | 60 | Haralambous, now updated to Aleph. |
---|
[1533] | 61 | |
---|
| 62 | This package contains the following CTAN packages: |
---|
[7770] | 63 | aleph: Extended TeX. |
---|
[1533] | 64 | antomega: Alternative language support for Omega/Lambda. |
---|
| 65 | lambda: |
---|
[7770] | 66 | mxedruli: A pair of fonts for different Georgian alphabets. |
---|
[1533] | 67 | omega: A wide-character-set extension of TeX. |
---|
| 68 | omegaware: |
---|
[7770] | 69 | otibet: |
---|
[1533] | 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 | このパッケージは以下のようなパッケージ集です。 |
---|
[7148] | 85 | Omega packages: |
---|
[1533] | 86 | Omega, a 16-bit extended TeX by John Plaice and Yannis |
---|
[7770] | 87 | Haralambous, now updated to Aleph. |
---|
[1533] | 88 | |
---|
| 89 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
[7770] | 90 | aleph: Extended TeX. |
---|
[1533] | 91 | antomega: Alternative language support for Omega/Lambda. |
---|
| 92 | lambda: |
---|
[7770] | 93 | mxedruli: A pair of fonts for different Georgian alphabets. |
---|
[1533] | 94 | omega: A wide-character-set extension of TeX. |
---|
| 95 | omegaware: |
---|
[7770] | 96 | otibet: |
---|
[1533] | 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} |
---|
[1533] | 122 | |
---|
| 123 | %build |
---|
| 124 | |
---|
| 125 | %install |
---|
| 126 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
| 127 | |
---|
[7770] | 128 | %__mkdir_p %{buildroot}%{_datadir} |
---|
[1533] | 129 | |
---|
[7770] | 130 | ## move texmf-dist to /usr/share/texmf-dist |
---|
| 131 | [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||: |
---|
[1533] | 132 | |
---|
[7770] | 133 | ## move texmf to /usr/share/texmf |
---|
| 134 | [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||: |
---|
[1533] | 135 | |
---|
[7770] | 136 | ## move tlpkg to /usr/share/tlpkg |
---|
| 137 | [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||: |
---|
| 138 | |
---|
| 139 | ## move all non-arch binaries to /usr/bin |
---|
| 140 | [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||: |
---|
| 141 | |
---|
| 142 | ## move others into /usr/share/texmf-dist |
---|
| 143 | %__mkdir_p %{buildroot}%{_tl_texmfdist} |
---|
| 144 | %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||: |
---|
| 145 | %__rm -rf * ||: |
---|
| 146 | |
---|
| 147 | |
---|
| 148 | ## remove duplicated files between texlive and texlive-collection-* |
---|
| 149 | ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive |
---|
| 150 | ## remove unpacked files |
---|
| 151 | x=( |
---|
[7951] | 152 | scripts/fontools/autoinst |
---|
[7855] | 153 | scripts/texlive/tlmgr.pl |
---|
[7951] | 154 | scripts/texlive/updmap.pl |
---|
[7770] | 155 | texconfig/tcfmgr |
---|
| 156 | texconfig/tcfmgr.map |
---|
| 157 | web2c/fmtutil.cnf |
---|
| 158 | web2c/mktex.opt |
---|
| 159 | web2c/mktexdir |
---|
| 160 | web2c/mktexdir.opt |
---|
| 161 | web2c/mktexnam |
---|
| 162 | web2c/mktexnam.opt |
---|
| 163 | web2c/mktexupd |
---|
| 164 | web2c/texmf.cnf |
---|
| 165 | web2c/updmap.cfg |
---|
| 166 | web2c/updmap-hdr.cfg |
---|
| 167 | doc/chktex/ChkTeX.pdf |
---|
| 168 | install-tl |
---|
| 169 | ) |
---|
| 170 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
| 171 | pushd %{buildroot}%{_tl_texmfdist} |
---|
| 172 | %__rm -f ${x[@]} ||: |
---|
[5207] | 173 | popd |
---|
[7770] | 174 | fi |
---|
| 175 | |
---|
[1533] | 176 | ## Files list |
---|
| 177 | find %{buildroot} -type f -or -type l | \ |
---|
| 178 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 179 | |
---|
[7770] | 180 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
[1533] | 181 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 182 | -e "s|$|/|" >> filelist.full |
---|
| 183 | |
---|
| 184 | ## subpackages |
---|
| 185 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 186 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 187 | %__mv -f filelist.tmp filelist.full |
---|
| 188 | |
---|
| 189 | %clean |
---|
| 190 | %__rm -rf %{buildroot} |
---|
| 191 | |
---|
| 192 | %post |
---|
[7770] | 193 | %_tl_touch_run texhash |
---|
| 194 | %_tl_touch_run mtxrun |
---|
[1533] | 195 | |
---|
[7770] | 196 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[1533] | 197 | |
---|
[7770] | 198 | %_tl_enable_map Map mxedruli.map |
---|
| 199 | %_tl_enable_map Map omega.map |
---|
[2505] | 200 | |
---|
[7770] | 201 | %_tl_touch_run fmtutil |
---|
[2505] | 202 | |
---|
[1533] | 203 | exit 0 |
---|
| 204 | |
---|
| 205 | |
---|
| 206 | %postun |
---|
| 207 | if [ "$1" = 0 ]; then |
---|
[7770] | 208 | %_tl_touch_run texhash |
---|
[1533] | 209 | |
---|
[7770] | 210 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[1533] | 211 | |
---|
[7770] | 212 | %_tl_disable_map mxedruli.map |
---|
| 213 | %_tl_disable_map omega.map |
---|
[1533] | 214 | |
---|
| 215 | fi |
---|
| 216 | |
---|
| 217 | exit 0 |
---|
| 218 | |
---|
[7148] | 219 | %posttrans |
---|
[7770] | 220 | %{_tl_exec_texhash} |
---|
| 221 | %{_tl_exec_mtxrun} |
---|
| 222 | %{_tl_exec_updmap} |
---|
| 223 | %{_tl_exec_fmtutil} |
---|
[7148] | 224 | exit 0 |
---|
| 225 | |
---|
| 226 | |
---|
[1533] | 227 | %files -f filelist.full |
---|
[5207] | 228 | %defattr(-,root,root,-) |
---|
[1533] | 229 | |
---|
| 230 | %files -f filelist.doc doc |
---|
[5207] | 231 | %defattr(-,root,root,-) |
---|
[1533] | 232 | |
---|
| 233 | %changelog |
---|
[7951] | 234 | * Fri Nov 1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4 |
---|
| 235 | - TLNET 20131101 |
---|
| 236 | |
---|
[7855] | 237 | * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3 |
---|
| 238 | - TLNET 20131002 |
---|
| 239 | |
---|
[7810] | 240 | * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2 |
---|
| 241 | - TLNET 20130919 |
---|
| 242 | |
---|
[7770] | 243 | * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1 |
---|
| 244 | - generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-omega |
---|
| 245 | - TLNET 20130823 |
---|