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