[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[9034] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-3: |
---|
[1974] | 3 | ## tlpdb2rpmspec collection-langafrican |
---|
[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: African scripts |
---|
| 10 | Summary(ja): TeX Live: African scripts |
---|
| 11 | Name: texlive-collection-langafrican |
---|
[8476] | 12 | Version: 2014 |
---|
[9034] | 13 | Release: 3%{?_dist_release} |
---|
[1533] | 14 | License: GPL+, GPLv2+ |
---|
| 15 | Group: Applications/Publishing |
---|
| 16 | URL:http://www.tug.org/texlive/ |
---|
| 17 | |
---|
[7770] | 18 | Source0: ethiop.doc.tar.xz |
---|
| 19 | Source1: ethiop.source.tar.xz |
---|
| 20 | Source2: ethiop.tar.xz |
---|
| 21 | Source3: ethiop-t1.doc.tar.xz |
---|
| 22 | Source4: ethiop-t1.tar.xz |
---|
| 23 | Source5: fc.doc.tar.xz |
---|
| 24 | Source6: fc.tar.xz |
---|
| 25 | Source7: hyphen-ethiopic.tar.xz |
---|
| 26 | |
---|
[1533] | 27 | Requires: texlive = %{version} |
---|
| 28 | Requires: texlive-collection-basic = %{version} |
---|
| 29 | |
---|
| 30 | Requires(post): texlive = %{version} |
---|
| 31 | Requires(postun): texlive = %{version} |
---|
| 32 | |
---|
| 33 | BuildArch: noarch |
---|
| 34 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 35 | |
---|
| 36 | Vendor: Project Vine |
---|
| 37 | Distribution: Vine Linux |
---|
| 38 | Packager: munepi |
---|
| 39 | |
---|
| 40 | %description |
---|
| 41 | The TeX Live software distribution offers a complete TeX system for a |
---|
| 42 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
| 43 | encompasses programs for editing, typesetting, previewing and printing |
---|
| 44 | of TeX documents in many different languages, and a large collection |
---|
| 45 | of TeX macros and font libraries. |
---|
| 46 | |
---|
| 47 | The distribution includes extensive general documentation about TeX, |
---|
| 48 | as well as the documentation for the included software packages. |
---|
| 49 | |
---|
| 50 | This package is a collection of African scripts: |
---|
[7770] | 51 | Support for African scripts. |
---|
[1533] | 52 | |
---|
| 53 | This package contains the following CTAN packages: |
---|
| 54 | ethiop: LaTeX macros and fonts for typesetting Amharic. |
---|
| 55 | ethiop-t1: Type 1 versions of Amharic fonts. |
---|
| 56 | fc: Fonts for African languages. |
---|
[5207] | 57 | hyphen-ethiopic: Hyphenation patterns for Ethiopic scripts. |
---|
[1533] | 58 | |
---|
| 59 | %description -l ja |
---|
| 60 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 61 | さまざまな Unix, Macintosh, Windows、および |
---|
| 62 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 63 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 64 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 65 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 66 | 同梱しています。 |
---|
| 67 | |
---|
| 68 | このディストリビューションは |
---|
| 69 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 70 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 71 | |
---|
| 72 | このパッケージは以下のようなパッケージ集です。 |
---|
| 73 | African scripts: |
---|
[7770] | 74 | Support for African scripts. |
---|
[1533] | 75 | |
---|
| 76 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
| 77 | ethiop: LaTeX macros and fonts for typesetting Amharic. |
---|
| 78 | ethiop-t1: Type 1 versions of Amharic fonts. |
---|
| 79 | fc: Fonts for African languages. |
---|
[5207] | 80 | hyphen-ethiopic: Hyphenation patterns for Ethiopic scripts. |
---|
[1533] | 81 | |
---|
| 82 | %package doc |
---|
| 83 | Summary: TeX Live: Documentation files of %{name} |
---|
| 84 | Group: Applications/Publishing |
---|
| 85 | Requires: %{name} = %{version}-%{release} |
---|
| 86 | |
---|
| 87 | %description doc |
---|
| 88 | This package contains documentation files of %{name}. |
---|
| 89 | |
---|
| 90 | %prep |
---|
[7770] | 91 | %setup -c -n %{name}-%{version} |
---|
| 92 | %__tar -xvf %{SOURCE1} |
---|
| 93 | %__tar -xvf %{SOURCE2} |
---|
| 94 | %__tar -xvf %{SOURCE3} |
---|
| 95 | %__tar -xvf %{SOURCE4} |
---|
| 96 | %__tar -xvf %{SOURCE5} |
---|
| 97 | %__tar -xvf %{SOURCE6} |
---|
| 98 | %__tar -xvf %{SOURCE7} |
---|
[1533] | 99 | |
---|
| 100 | %build |
---|
| 101 | |
---|
| 102 | %install |
---|
| 103 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
| 104 | |
---|
[7770] | 105 | %__mkdir_p %{buildroot}%{_datadir} |
---|
[1533] | 106 | |
---|
[7770] | 107 | ## move texmf-dist to /usr/share/texmf-dist |
---|
| 108 | [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||: |
---|
[1533] | 109 | |
---|
[7770] | 110 | ## move texmf to /usr/share/texmf |
---|
| 111 | [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||: |
---|
[1533] | 112 | |
---|
[7770] | 113 | ## move tlpkg to /usr/share/tlpkg |
---|
| 114 | [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||: |
---|
| 115 | |
---|
| 116 | ## move all non-arch binaries to /usr/bin |
---|
| 117 | [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||: |
---|
| 118 | |
---|
| 119 | ## move others into /usr/share/texmf-dist |
---|
| 120 | %__mkdir_p %{buildroot}%{_tl_texmfdist} |
---|
| 121 | %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||: |
---|
| 122 | %__rm -rf * ||: |
---|
| 123 | |
---|
| 124 | |
---|
| 125 | ## remove duplicated files between texlive and texlive-collection-* |
---|
| 126 | ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive |
---|
| 127 | ## remove unpacked files |
---|
| 128 | x=( |
---|
[9034] | 129 | scripts/epstopdf/epstopdf.pl |
---|
[8744] | 130 | scripts/texlive/fmtutil.sh |
---|
| 131 | texconfig/tcfmgr |
---|
| 132 | web2c/texmf.cnf |
---|
| 133 | web2c/updmap-hdr.cfg |
---|
| 134 | web2c/updmap.cfg |
---|
[7770] | 135 | install-tl |
---|
| 136 | ) |
---|
| 137 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
| 138 | pushd %{buildroot}%{_tl_texmfdist} |
---|
| 139 | %__rm -f ${x[@]} ||: |
---|
[5207] | 140 | popd |
---|
[7770] | 141 | fi |
---|
| 142 | |
---|
[1533] | 143 | ## Files list |
---|
| 144 | find %{buildroot} -type f -or -type l | \ |
---|
| 145 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 146 | |
---|
[7770] | 147 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
[1533] | 148 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 149 | -e "s|$|/|" >> filelist.full |
---|
| 150 | |
---|
| 151 | ## subpackages |
---|
| 152 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 153 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 154 | %__mv -f filelist.tmp filelist.full |
---|
| 155 | |
---|
| 156 | %clean |
---|
| 157 | %__rm -rf %{buildroot} |
---|
| 158 | |
---|
| 159 | %post |
---|
[7770] | 160 | %_tl_touch_run texhash |
---|
| 161 | %_tl_touch_run mtxrun |
---|
[1533] | 162 | |
---|
[7770] | 163 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[1533] | 164 | |
---|
[7770] | 165 | %_tl_enable_map MixedMap ethiop.map |
---|
[2505] | 166 | |
---|
[7770] | 167 | %_tl_touch_run fmtutil |
---|
[2505] | 168 | |
---|
[1533] | 169 | exit 0 |
---|
| 170 | |
---|
| 171 | |
---|
| 172 | %postun |
---|
| 173 | if [ "$1" = 0 ]; then |
---|
[7770] | 174 | %_tl_touch_run texhash |
---|
[1533] | 175 | |
---|
[7770] | 176 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[1533] | 177 | |
---|
[7770] | 178 | %_tl_disable_map ethiop.map |
---|
[1533] | 179 | |
---|
| 180 | fi |
---|
| 181 | |
---|
| 182 | exit 0 |
---|
| 183 | |
---|
[7148] | 184 | %posttrans |
---|
[7770] | 185 | %{_tl_exec_texhash} |
---|
| 186 | %{_tl_exec_mtxrun} |
---|
| 187 | %{_tl_exec_updmap} |
---|
| 188 | %{_tl_exec_fmtutil} |
---|
[7148] | 189 | exit 0 |
---|
| 190 | |
---|
| 191 | |
---|
[1533] | 192 | %files -f filelist.full |
---|
[5207] | 193 | %defattr(-,root,root,-) |
---|
[1533] | 194 | |
---|
| 195 | %files -f filelist.doc doc |
---|
[5207] | 196 | %defattr(-,root,root,-) |
---|
[1533] | 197 | |
---|
| 198 | %changelog |
---|
[9034] | 199 | * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3 |
---|
| 200 | - synced tlnet to 20141028 |
---|
| 201 | |
---|
[8744] | 202 | * Sun Jul 6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2 |
---|
| 203 | - synced tlnet to 20140706 |
---|
| 204 | |
---|
[8476] | 205 | * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1 |
---|
[8744] | 206 | - synced tlnet to 20140524 |
---|