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