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