[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[7951] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-4: |
---|
[1974] | 3 | ## tlpdb2rpmspec collection-langindic |
---|
[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: Indic scripts |
---|
| 10 | Summary(ja): TeX Live: Indic scripts |
---|
| 11 | Name: texlive-collection-langindic |
---|
[7770] | 12 | Version: 2013 |
---|
[7951] | 13 | Release: 4%{?_dist_release} |
---|
[7148] | 14 | License: LPPL, GPL+, Public Domain, GPLv2+ |
---|
[1533] | 15 | Group: Applications/Publishing |
---|
| 16 | URL:http://www.tug.org/texlive/ |
---|
| 17 | |
---|
[7770] | 18 | Source0: bangtex.doc.tar.xz |
---|
| 19 | Source1: bangtex.tar.xz |
---|
| 20 | Source2: bengali.doc.tar.xz |
---|
| 21 | Source3: bengali.source.tar.xz |
---|
| 22 | Source4: bengali.tar.xz |
---|
| 23 | Source5: burmese.doc.tar.xz |
---|
| 24 | Source6: burmese.source.tar.xz |
---|
| 25 | Source7: burmese.tar.xz |
---|
| 26 | Source8: devnag.tar.xz |
---|
| 27 | Source9: ebong.doc.tar.xz |
---|
| 28 | Source10: ebong.tar.xz |
---|
| 29 | Source11: hyphen-indic.tar.xz |
---|
| 30 | Source12: hyphen-sanskrit.tar.xz |
---|
| 31 | Source13: sanskrit.doc.tar.xz |
---|
| 32 | Source14: sanskrit.source.tar.xz |
---|
| 33 | Source15: sanskrit.tar.xz |
---|
| 34 | Source16: velthuis.doc.tar.xz |
---|
| 35 | Source17: velthuis.tar.xz |
---|
| 36 | Source18: wnri.doc.tar.xz |
---|
| 37 | Source19: wnri.tar.xz |
---|
| 38 | Source20: wnri-latex.doc.tar.xz |
---|
| 39 | Source21: wnri-latex.source.tar.xz |
---|
| 40 | Source22: wnri-latex.tar.xz |
---|
| 41 | Source23: xetex-devanagari.doc.tar.xz |
---|
| 42 | Source24: xetex-devanagari.tar.xz |
---|
| 43 | |
---|
[1533] | 44 | Requires: texlive = %{version} |
---|
| 45 | Requires: texlive-collection-basic = %{version} |
---|
| 46 | |
---|
| 47 | Requires(post): texlive = %{version} |
---|
| 48 | Requires(postun): texlive = %{version} |
---|
| 49 | |
---|
| 50 | BuildArch: noarch |
---|
| 51 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 52 | |
---|
| 53 | Vendor: Project Vine |
---|
| 54 | Distribution: Vine Linux |
---|
| 55 | Packager: munepi |
---|
| 56 | |
---|
| 57 | %description |
---|
| 58 | The TeX Live software distribution offers a complete TeX system for a |
---|
| 59 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
| 60 | encompasses programs for editing, typesetting, previewing and printing |
---|
| 61 | of TeX documents in many different languages, and a large collection |
---|
| 62 | of TeX macros and font libraries. |
---|
| 63 | |
---|
| 64 | The distribution includes extensive general documentation about TeX, |
---|
| 65 | as well as the documentation for the included software packages. |
---|
| 66 | |
---|
| 67 | This package is a collection of Indic scripts: |
---|
[7770] | 68 | Support for Indic scripts. |
---|
[1533] | 69 | |
---|
| 70 | This package contains the following CTAN packages: |
---|
| 71 | bangtex: Writing Bangla and Assamese with LaTeX. |
---|
| 72 | bengali: Support for the Bengali language. |
---|
| 73 | burmese: Basic Support for Writing Burmese. |
---|
[5207] | 74 | devnag: Typeset Devanagari. |
---|
[1533] | 75 | ebong: Utility for writing Bengali in Rapid Roman Format. |
---|
[5207] | 76 | hyphen-indic: Indic hyphenation patterns. |
---|
| 77 | hyphen-sanskrit: Sanskrit hyphenation patterns. |
---|
[1533] | 78 | sanskrit: Sanskrit support. |
---|
| 79 | velthuis: Typeset Devanagari. |
---|
| 80 | wnri: Ridgeway's fonts. |
---|
[5207] | 81 | wnri-latex: LaTeX support for wnri fonts. |
---|
[7148] | 82 | xetex-devanagari: XeTeX input map for Unicode Devanagari. |
---|
[1533] | 83 | |
---|
| 84 | %description -l ja |
---|
| 85 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 86 | さまざまな Unix, Macintosh, Windows、および |
---|
| 87 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 88 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 89 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 90 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 91 | 同梱しています。 |
---|
| 92 | |
---|
| 93 | このディストリビューションは |
---|
| 94 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 95 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 96 | |
---|
| 97 | このパッケージは以下のようなパッケージ集です。 |
---|
| 98 | Indic scripts: |
---|
[7770] | 99 | Support for Indic scripts. |
---|
[1533] | 100 | |
---|
| 101 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
| 102 | bangtex: Writing Bangla and Assamese with LaTeX. |
---|
| 103 | bengali: Support for the Bengali language. |
---|
| 104 | burmese: Basic Support for Writing Burmese. |
---|
[5207] | 105 | devnag: Typeset Devanagari. |
---|
[1533] | 106 | ebong: Utility for writing Bengali in Rapid Roman Format. |
---|
[5207] | 107 | hyphen-indic: Indic hyphenation patterns. |
---|
| 108 | hyphen-sanskrit: Sanskrit hyphenation patterns. |
---|
[1533] | 109 | sanskrit: Sanskrit support. |
---|
| 110 | velthuis: Typeset Devanagari. |
---|
| 111 | wnri: Ridgeway's fonts. |
---|
[5207] | 112 | wnri-latex: LaTeX support for wnri fonts. |
---|
[7148] | 113 | xetex-devanagari: XeTeX input map for Unicode Devanagari. |
---|
[1533] | 114 | |
---|
| 115 | %package doc |
---|
| 116 | Summary: TeX Live: Documentation files of %{name} |
---|
| 117 | Group: Applications/Publishing |
---|
| 118 | Requires: %{name} = %{version}-%{release} |
---|
| 119 | |
---|
| 120 | %description doc |
---|
| 121 | This package contains documentation files of %{name}. |
---|
| 122 | |
---|
| 123 | %prep |
---|
[7770] | 124 | %setup -c -n %{name}-%{version} |
---|
| 125 | %__tar -xvf %{SOURCE1} |
---|
| 126 | %__tar -xvf %{SOURCE2} |
---|
| 127 | %__tar -xvf %{SOURCE3} |
---|
| 128 | %__tar -xvf %{SOURCE4} |
---|
| 129 | %__tar -xvf %{SOURCE5} |
---|
| 130 | %__tar -xvf %{SOURCE6} |
---|
| 131 | %__tar -xvf %{SOURCE7} |
---|
| 132 | %__tar -xvf %{SOURCE8} |
---|
| 133 | %__tar -xvf %{SOURCE9} |
---|
| 134 | %__tar -xvf %{SOURCE10} |
---|
| 135 | %__tar -xvf %{SOURCE11} |
---|
| 136 | %__tar -xvf %{SOURCE12} |
---|
| 137 | %__tar -xvf %{SOURCE13} |
---|
| 138 | %__tar -xvf %{SOURCE14} |
---|
| 139 | %__tar -xvf %{SOURCE15} |
---|
| 140 | %__tar -xvf %{SOURCE16} |
---|
| 141 | %__tar -xvf %{SOURCE17} |
---|
| 142 | %__tar -xvf %{SOURCE18} |
---|
| 143 | %__tar -xvf %{SOURCE19} |
---|
| 144 | %__tar -xvf %{SOURCE20} |
---|
| 145 | %__tar -xvf %{SOURCE21} |
---|
| 146 | %__tar -xvf %{SOURCE22} |
---|
| 147 | %__tar -xvf %{SOURCE23} |
---|
| 148 | %__tar -xvf %{SOURCE24} |
---|
[1533] | 149 | |
---|
| 150 | %build |
---|
| 151 | |
---|
| 152 | %install |
---|
| 153 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
| 154 | |
---|
[7770] | 155 | %__mkdir_p %{buildroot}%{_datadir} |
---|
[1533] | 156 | |
---|
[7770] | 157 | ## move texmf-dist to /usr/share/texmf-dist |
---|
| 158 | [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||: |
---|
[1533] | 159 | |
---|
[7770] | 160 | ## move texmf to /usr/share/texmf |
---|
| 161 | [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||: |
---|
[1533] | 162 | |
---|
[7770] | 163 | ## move tlpkg to /usr/share/tlpkg |
---|
| 164 | [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||: |
---|
| 165 | |
---|
| 166 | ## move all non-arch binaries to /usr/bin |
---|
| 167 | [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||: |
---|
| 168 | |
---|
| 169 | ## move others into /usr/share/texmf-dist |
---|
| 170 | %__mkdir_p %{buildroot}%{_tl_texmfdist} |
---|
| 171 | %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||: |
---|
| 172 | %__rm -rf * ||: |
---|
| 173 | |
---|
| 174 | |
---|
| 175 | ## remove duplicated files between texlive and texlive-collection-* |
---|
| 176 | ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive |
---|
| 177 | ## remove unpacked files |
---|
| 178 | x=( |
---|
[7951] | 179 | scripts/fontools/autoinst |
---|
[7855] | 180 | scripts/texlive/tlmgr.pl |
---|
[7951] | 181 | scripts/texlive/updmap.pl |
---|
[7770] | 182 | texconfig/tcfmgr |
---|
| 183 | texconfig/tcfmgr.map |
---|
| 184 | web2c/fmtutil.cnf |
---|
| 185 | web2c/mktex.opt |
---|
| 186 | web2c/mktexdir |
---|
| 187 | web2c/mktexdir.opt |
---|
| 188 | web2c/mktexnam |
---|
| 189 | web2c/mktexnam.opt |
---|
| 190 | web2c/mktexupd |
---|
| 191 | web2c/texmf.cnf |
---|
| 192 | web2c/updmap.cfg |
---|
| 193 | web2c/updmap-hdr.cfg |
---|
| 194 | doc/chktex/ChkTeX.pdf |
---|
| 195 | install-tl |
---|
| 196 | ) |
---|
| 197 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
| 198 | pushd %{buildroot}%{_tl_texmfdist} |
---|
| 199 | %__rm -f ${x[@]} ||: |
---|
[3944] | 200 | popd |
---|
[7770] | 201 | fi |
---|
| 202 | |
---|
[1533] | 203 | ## Files list |
---|
| 204 | find %{buildroot} -type f -or -type l | \ |
---|
| 205 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 206 | |
---|
[7770] | 207 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
[1533] | 208 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 209 | -e "s|$|/|" >> filelist.full |
---|
| 210 | |
---|
| 211 | ## subpackages |
---|
| 212 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 213 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 214 | %__mv -f filelist.tmp filelist.full |
---|
| 215 | |
---|
| 216 | %clean |
---|
| 217 | %__rm -rf %{buildroot} |
---|
| 218 | |
---|
| 219 | %post |
---|
[7770] | 220 | %_tl_touch_run texhash |
---|
| 221 | %_tl_touch_run mtxrun |
---|
[1533] | 222 | |
---|
[7770] | 223 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[1533] | 224 | |
---|
[7770] | 225 | %_tl_enable_map Map burmese.map |
---|
| 226 | %_tl_enable_map Map skt.map |
---|
| 227 | %_tl_enable_map MixedMap dvng.map |
---|
[2505] | 228 | |
---|
[7770] | 229 | %_tl_touch_run fmtutil |
---|
[2505] | 230 | |
---|
[1533] | 231 | exit 0 |
---|
| 232 | |
---|
| 233 | |
---|
| 234 | %postun |
---|
| 235 | if [ "$1" = 0 ]; then |
---|
[7770] | 236 | %_tl_touch_run texhash |
---|
[1533] | 237 | |
---|
[7770] | 238 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[1533] | 239 | |
---|
[7770] | 240 | %_tl_disable_map burmese.map |
---|
| 241 | %_tl_disable_map skt.map |
---|
| 242 | %_tl_disable_map dvng.map |
---|
[1533] | 243 | |
---|
| 244 | fi |
---|
| 245 | |
---|
| 246 | exit 0 |
---|
| 247 | |
---|
[7148] | 248 | %posttrans |
---|
[7770] | 249 | %{_tl_exec_texhash} |
---|
| 250 | %{_tl_exec_mtxrun} |
---|
| 251 | %{_tl_exec_updmap} |
---|
| 252 | %{_tl_exec_fmtutil} |
---|
[7148] | 253 | exit 0 |
---|
| 254 | |
---|
| 255 | |
---|
[1533] | 256 | %files -f filelist.full |
---|
[5207] | 257 | %defattr(-,root,root,-) |
---|
[1533] | 258 | |
---|
| 259 | %files -f filelist.doc doc |
---|
[5207] | 260 | %defattr(-,root,root,-) |
---|
[1533] | 261 | |
---|
| 262 | %changelog |
---|
[7951] | 263 | * Fri Nov 1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4 |
---|
| 264 | - TLNET 20131101 |
---|
| 265 | |
---|
[7855] | 266 | * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3 |
---|
| 267 | - TLNET 20131002 |
---|
| 268 | |
---|
[7810] | 269 | * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2 |
---|
| 270 | - TLNET 20130919 |
---|
| 271 | |
---|
[7770] | 272 | * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1 |
---|
| 273 | - generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-langindic |
---|
| 274 | - TLNET 20130823 |
---|