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