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