[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[9576] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-2: |
---|
[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 |
---|
[9529] | 12 | Version: 2015 |
---|
[9576] | 13 | Release: 2%{?_dist_release} |
---|
[8476] | 14 | License: Public Domain, GPL+, Freely redistributable without restriction, LPPL |
---|
[1533] | 15 | Group: Applications/Publishing |
---|
| 16 | URL:http://www.tug.org/texlive/ |
---|
| 17 | |
---|
[9529] | 18 | Source0: apnum.doc.tar.xz |
---|
| 19 | Source1: apnum.tar.xz |
---|
| 20 | Source2: epsf.doc.tar.xz |
---|
| 21 | Source3: epsf.tar.xz |
---|
| 22 | Source4: fontname.doc.tar.xz |
---|
| 23 | Source5: fontname.tar.xz |
---|
| 24 | Source6: genmisc.tar.xz |
---|
| 25 | Source7: kastrup.doc.tar.xz |
---|
| 26 | Source8: kastrup.source.tar.xz |
---|
| 27 | Source9: kastrup.tar.xz |
---|
| 28 | Source10: multido.doc.tar.xz |
---|
| 29 | Source11: multido.source.tar.xz |
---|
| 30 | Source12: multido.tar.xz |
---|
| 31 | Source13: path.doc.tar.xz |
---|
| 32 | Source14: path.tar.xz |
---|
| 33 | Source15: tex-ps.doc.tar.xz |
---|
| 34 | Source16: tex-ps.tar.xz |
---|
| 35 | Source17: ulem.doc.tar.xz |
---|
| 36 | Source18: ulem.tar.xz |
---|
[7770] | 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 | |
---|
[7770] | 61 | This package is a collection of Generic recommended packages: |
---|
[1533] | 62 | Recommended packages that work with multiple formats. |
---|
| 63 | |
---|
| 64 | This package contains the following CTAN packages: |
---|
[9529] | 65 | apnum: Arbitrary precision numbers implemented by TeX macros. |
---|
[1533] | 66 | epsf: Simple macros for EPS inclusion. |
---|
| 67 | fontname: Scheme for naming fonts in TeX. |
---|
| 68 | genmisc: |
---|
[8476] | 69 | kastrup: Convert numbers into binary, octal and hexadecimal. |
---|
[1533] | 70 | multido: A loop facility for Generic TeX. |
---|
[5207] | 71 | path: Typeset paths, making them breakable. |
---|
[1533] | 72 | tex-ps: TeX to PostScript generic macros and add-ons. |
---|
[5207] | 73 | ulem: Package for underlining. |
---|
[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 | このパッケージは以下のようなパッケージ集です。 |
---|
[7770] | 89 | Generic recommended packages: |
---|
[1533] | 90 | Recommended packages that work with multiple formats. |
---|
| 91 | |
---|
| 92 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
[9529] | 93 | apnum: Arbitrary precision numbers implemented by TeX macros. |
---|
[1533] | 94 | epsf: Simple macros for EPS inclusion. |
---|
| 95 | fontname: Scheme for naming fonts in TeX. |
---|
| 96 | genmisc: |
---|
[8476] | 97 | kastrup: Convert numbers into binary, octal and hexadecimal. |
---|
[1533] | 98 | multido: A loop facility for Generic TeX. |
---|
[5207] | 99 | path: Typeset paths, making them breakable. |
---|
[1533] | 100 | tex-ps: TeX to PostScript generic macros and add-ons. |
---|
[5207] | 101 | ulem: Package for underlining. |
---|
[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} |
---|
[9529] | 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=( |
---|
[9576] | 161 | scripts/context/stubs/unix/mtxrun |
---|
| 162 | scripts/ptex2pdf/ptex2pdf.lua |
---|
| 163 | scripts/texlive/fmtutil.pl |
---|
[9529] | 164 | scripts/texlive/texconfig-dialog.sh |
---|
| 165 | scripts/texlive/texconfig-sys.sh |
---|
| 166 | scripts/texlive/texconfig.sh |
---|
| 167 | scripts/texlive/texlinks.sh |
---|
| 168 | scripts/texlive/tlmgr.pl |
---|
[9576] | 169 | scripts/texlive/updmap.pl |
---|
[9529] | 170 | texconfig/tcfmgr |
---|
[9576] | 171 | web2c/fmtutil.cnf |
---|
[9529] | 172 | web2c/mktex.opt |
---|
| 173 | web2c/mktexdir |
---|
| 174 | web2c/mktexdir.opt |
---|
| 175 | web2c/mktexnam |
---|
| 176 | web2c/mktexnam.opt |
---|
| 177 | web2c/mktexupd |
---|
| 178 | web2c/texmf.cnf |
---|
| 179 | web2c/updmap-hdr.cfg |
---|
| 180 | web2c/updmap.cfg |
---|
[9576] | 181 | install-tl |
---|
[7770] | 182 | ) |
---|
| 183 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
| 184 | pushd %{buildroot}%{_tl_texmfdist} |
---|
| 185 | %__rm -f ${x[@]} ||: |
---|
[5207] | 186 | popd |
---|
[7770] | 187 | fi |
---|
| 188 | |
---|
[1533] | 189 | ## Files list |
---|
| 190 | find %{buildroot} -type f -or -type l | \ |
---|
| 191 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 192 | |
---|
[7770] | 193 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
[1533] | 194 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 195 | -e "s|$|/|" >> filelist.full |
---|
| 196 | |
---|
| 197 | ## subpackages |
---|
| 198 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 199 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 200 | %__mv -f filelist.tmp filelist.full |
---|
| 201 | |
---|
| 202 | %clean |
---|
| 203 | %__rm -rf %{buildroot} |
---|
| 204 | |
---|
| 205 | %post |
---|
[7770] | 206 | %_tl_touch_run texhash |
---|
| 207 | %_tl_touch_run mtxrun |
---|
[1533] | 208 | |
---|
| 209 | exit 0 |
---|
| 210 | |
---|
| 211 | |
---|
| 212 | %postun |
---|
| 213 | if [ "$1" = 0 ]; then |
---|
[7770] | 214 | %_tl_touch_run texhash |
---|
[1533] | 215 | |
---|
| 216 | fi |
---|
| 217 | |
---|
| 218 | exit 0 |
---|
| 219 | |
---|
[7148] | 220 | %posttrans |
---|
[7770] | 221 | %{_tl_exec_texhash} |
---|
| 222 | %{_tl_exec_mtxrun} |
---|
| 223 | %{_tl_exec_updmap} |
---|
| 224 | %{_tl_exec_fmtutil} |
---|
[7148] | 225 | exit 0 |
---|
| 226 | |
---|
| 227 | |
---|
[1533] | 228 | %files -f filelist.full |
---|
[5207] | 229 | %defattr(-,root,root,-) |
---|
[1533] | 230 | |
---|
| 231 | %files -f filelist.doc doc |
---|
[5207] | 232 | %defattr(-,root,root,-) |
---|
[1533] | 233 | |
---|
| 234 | %changelog |
---|
[9576] | 235 | * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2 |
---|
| 236 | - TeX Live 2015/pretest |
---|
| 237 | - synced tlnet to 20150522 (TeX Live 2015/pretest) |
---|
[9034] | 238 | |
---|
[9576] | 239 | * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1 |
---|
| 240 | - TeX Live 2015/pretest |
---|
| 241 | - synced tlnet to 20150426 (TeX Live 2015/pretest) |
---|
| 242 | |
---|
| 243 | * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4 |
---|
| 244 | - synced tlnet to 20150401 |
---|
| 245 | |
---|
| 246 | * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3 |
---|
| 247 | - synced tlnet to 20141028 |
---|
| 248 | |
---|
| 249 | * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2 |
---|
| 250 | - synced tlnet to 20140706 |
---|
| 251 | |
---|
| 252 | * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1 |
---|
| 253 | - upgraded to TeX Live 2014 |
---|
| 254 | |
---|
| 255 | * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6 |
---|
| 256 | - synced tlnet to 20140406 |
---|
| 257 | |
---|
| 258 | * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5 |
---|
| 259 | - synced tlnet to 20131218 |
---|
| 260 | |
---|
| 261 | * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4 |
---|
| 262 | - synced tlnet to 20131101 |
---|
| 263 | |
---|
| 264 | * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3 |
---|
| 265 | - synced tlnet to 20131002 |
---|
| 266 | |
---|
| 267 | * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2 |
---|
| 268 | - synced tlnet to 20130919 |
---|
| 269 | |
---|
| 270 | * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1 |
---|
| 271 | - upgraded to TeX Live 2013 |
---|
| 272 | - used tlnet archives |
---|
| 273 | - synced tlnet to 20130823 |
---|
| 274 | - added macros.texlive |
---|
| 275 | |
---|
| 276 | * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1 |
---|
| 277 | - updated to TeX Live 2012 |
---|
| 278 | |
---|
| 279 | * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2 |
---|
| 280 | - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in: |
---|
| 281 | - set external dependencies (texlive-collection-binextra, |
---|
| 282 | texlive-collection-fontutils) |
---|
| 283 | |
---|
| 284 | * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1 |
---|
| 285 | - updated to TeX Live 2011 |
---|
| 286 | - merged texlive-vtlpkg-2009-osx.patch from OSXWS |
---|
| 287 | - added %doc README (%files) |
---|
| 288 | |
---|
| 289 | * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4 |
---|
| 290 | - applied texlive-vtlpkg-2009-vine.patch |
---|
| 291 | - remove arch dependent binaries |
---|
| 292 | - updated tlpdb2rpmspec.sh.in: |
---|
| 293 | - improved tlpdb4a() |
---|
| 294 | - make symlinks of core script utils (texlive-collection-binextra, |
---|
| 295 | texlive-collection-context, texlive-collection-fontutils, |
---|
| 296 | texlive-collection-langgreek, texlive-collection-langindic, |
---|
| 297 | texlive-collection-latex, texlive-collection-latexextra, |
---|
| 298 | texlive-collection-latexrecommended, texlive-collection-pictures, |
---|
| 299 | texlive-collection-pstricks, texlive-collection-science) |
---|
| 300 | |
---|
| 301 | * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3 |
---|
| 302 | - updated tlpdb2rpmspec.sh.in: |
---|
| 303 | - improved %post |
---|
| 304 | |
---|
| 305 | * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2 |
---|
| 306 | - updated tlpdb2rpmspec.sh.in: |
---|
| 307 | - removed arch dependent binaries (texlive-collection-latexextra) |
---|
| 308 | - improved updmap process in %post and %postun |
---|
| 309 | - fixed perl path |
---|
| 310 | |
---|
| 311 | * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1 |
---|
| 312 | - initial build |
---|