[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[9576] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-2: |
---|
[1974] | 3 | ## tlpdb2rpmspec collection-langpolish |
---|
[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: Polish |
---|
| 10 | Summary(ja): TeX Live: Polish |
---|
| 11 | Name: texlive-collection-langpolish |
---|
[9529] | 12 | Version: 2015 |
---|
[9576] | 13 | Release: 2%{?_dist_release} |
---|
[8476] | 14 | License: LPPL 1.3, Public Domain, Knuth, LPPL, LPPL 1.2 |
---|
[1533] | 15 | Group: Applications/Publishing |
---|
| 16 | URL:http://www.tug.org/texlive/ |
---|
| 17 | |
---|
[7770] | 18 | Source0: babel-polish.doc.tar.xz |
---|
| 19 | Source1: babel-polish.source.tar.xz |
---|
| 20 | Source2: babel-polish.tar.xz |
---|
| 21 | Source3: cc-pl.doc.tar.xz |
---|
| 22 | Source4: cc-pl.tar.xz |
---|
| 23 | Source5: gustlib.doc.tar.xz |
---|
| 24 | Source6: gustlib.tar.xz |
---|
| 25 | Source7: gustprog.doc.tar.xz |
---|
| 26 | Source8: gustprog.tar.xz |
---|
| 27 | Source9: hyphen-polish.tar.xz |
---|
| 28 | Source10: lshort-polish.doc.tar.xz |
---|
| 29 | Source11: lshort-polish.tar.xz |
---|
| 30 | Source12: mex.doc.tar.xz |
---|
| 31 | Source13: mex.source.tar.xz |
---|
| 32 | Source14: mex.tar.xz |
---|
| 33 | Source15: mwcls.doc.tar.xz |
---|
| 34 | Source16: mwcls.source.tar.xz |
---|
| 35 | Source17: mwcls.tar.xz |
---|
| 36 | Source18: pl.doc.tar.xz |
---|
| 37 | Source19: pl.tar.xz |
---|
| 38 | Source20: polski.doc.tar.xz |
---|
| 39 | Source21: polski.source.tar.xz |
---|
| 40 | Source22: polski.tar.xz |
---|
| 41 | Source23: przechlewski-book.doc.tar.xz |
---|
| 42 | Source24: przechlewski-book.tar.xz |
---|
| 43 | Source25: qpxqtx.doc.tar.xz |
---|
| 44 | Source26: qpxqtx.tar.xz |
---|
| 45 | Source27: tap.doc.tar.xz |
---|
[7855] | 46 | Source28: tap.tar.xz |
---|
| 47 | Source29: tex-virtual-academy-pl.doc.tar.xz |
---|
| 48 | Source30: tex-virtual-academy-pl.tar.xz |
---|
| 49 | Source31: texlive-pl.doc.tar.xz |
---|
| 50 | Source32: texlive-pl.tar.xz |
---|
| 51 | Source33: utf8mex.doc.tar.xz |
---|
| 52 | Source34: utf8mex.tar.xz |
---|
[7770] | 53 | |
---|
[1533] | 54 | Requires: texlive = %{version} |
---|
| 55 | Requires: texlive-collection-latex = %{version} |
---|
| 56 | Requires: texlive-collection-basic = %{version} |
---|
| 57 | |
---|
| 58 | Requires(post): texlive = %{version} |
---|
| 59 | Requires(postun): texlive = %{version} |
---|
| 60 | |
---|
| 61 | BuildArch: noarch |
---|
| 62 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 63 | |
---|
| 64 | Vendor: Project Vine |
---|
| 65 | Distribution: Vine Linux |
---|
| 66 | Packager: munepi |
---|
| 67 | |
---|
| 68 | %description |
---|
| 69 | The TeX Live software distribution offers a complete TeX system for a |
---|
| 70 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
| 71 | encompasses programs for editing, typesetting, previewing and printing |
---|
| 72 | of TeX documents in many different languages, and a large collection |
---|
| 73 | of TeX macros and font libraries. |
---|
| 74 | |
---|
| 75 | The distribution includes extensive general documentation about TeX, |
---|
| 76 | as well as the documentation for the included software packages. |
---|
| 77 | |
---|
| 78 | This package is a collection of Polish: |
---|
[7770] | 79 | Support for Polish. |
---|
[1533] | 80 | |
---|
| 81 | This package contains the following CTAN packages: |
---|
[8476] | 82 | babel-polish: Babel support for Polish. |
---|
[1533] | 83 | cc-pl: Polish extension of Computer Concrete fonts. |
---|
[8476] | 84 | gustlib: |
---|
[1533] | 85 | gustprog: |
---|
[7770] | 86 | hyphen-polish: Polish hyphenation patterns. |
---|
| 87 | lshort-polish: Introduction to LaTeX in Polish. |
---|
[1533] | 88 | mex: Polish formats for TeX. |
---|
| 89 | mwcls: Polish-oriented document classes. |
---|
[9529] | 90 | pl: Polish extension of Computer Modern fonts. |
---|
[1533] | 91 | polski: Typeset Polish documents with LaTeX and Polish fonts. |
---|
[7148] | 92 | przechlewski-book: Examples from Przechlewski's LaTeX book. |
---|
[1533] | 93 | qpxqtx: |
---|
| 94 | tap: TeX macros for typesetting complex tables. |
---|
[7770] | 95 | tex-virtual-academy-pl: |
---|
| 96 | texlive-pl: TeX Live manual (Polish) |
---|
[8476] | 97 | utf8mex: Tools to produce formats that read Polish language input. |
---|
[1533] | 98 | |
---|
| 99 | %description -l ja |
---|
| 100 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 101 | さまざまな Unix, Macintosh, Windows、および |
---|
| 102 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 103 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 104 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 105 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 106 | 同梱しています。 |
---|
| 107 | |
---|
| 108 | このディストリビューションは |
---|
| 109 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 110 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 111 | |
---|
| 112 | このパッケージは以下のようなパッケージ集です。 |
---|
| 113 | Polish: |
---|
[7770] | 114 | Support for Polish. |
---|
[1533] | 115 | |
---|
| 116 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
[8476] | 117 | babel-polish: Babel support for Polish. |
---|
[1533] | 118 | cc-pl: Polish extension of Computer Concrete fonts. |
---|
[8476] | 119 | gustlib: |
---|
[1533] | 120 | gustprog: |
---|
[7770] | 121 | hyphen-polish: Polish hyphenation patterns. |
---|
| 122 | lshort-polish: Introduction to LaTeX in Polish. |
---|
[1533] | 123 | mex: Polish formats for TeX. |
---|
| 124 | mwcls: Polish-oriented document classes. |
---|
[9529] | 125 | pl: Polish extension of Computer Modern fonts. |
---|
[1533] | 126 | polski: Typeset Polish documents with LaTeX and Polish fonts. |
---|
[7148] | 127 | przechlewski-book: Examples from Przechlewski's LaTeX book. |
---|
[1533] | 128 | qpxqtx: |
---|
| 129 | tap: TeX macros for typesetting complex tables. |
---|
[7770] | 130 | tex-virtual-academy-pl: |
---|
| 131 | texlive-pl: TeX Live manual (Polish) |
---|
[8476] | 132 | utf8mex: Tools to produce formats that read Polish language input. |
---|
[1533] | 133 | |
---|
| 134 | %package doc |
---|
| 135 | Summary: TeX Live: Documentation files of %{name} |
---|
| 136 | Group: Applications/Publishing |
---|
| 137 | Requires: %{name} = %{version}-%{release} |
---|
| 138 | |
---|
| 139 | %description doc |
---|
| 140 | This package contains documentation files of %{name}. |
---|
| 141 | |
---|
| 142 | %prep |
---|
[7770] | 143 | %setup -c -n %{name}-%{version} |
---|
| 144 | %__tar -xvf %{SOURCE1} |
---|
| 145 | %__tar -xvf %{SOURCE2} |
---|
| 146 | %__tar -xvf %{SOURCE3} |
---|
| 147 | %__tar -xvf %{SOURCE4} |
---|
| 148 | %__tar -xvf %{SOURCE5} |
---|
| 149 | %__tar -xvf %{SOURCE6} |
---|
| 150 | %__tar -xvf %{SOURCE7} |
---|
| 151 | %__tar -xvf %{SOURCE8} |
---|
| 152 | %__tar -xvf %{SOURCE9} |
---|
| 153 | %__tar -xvf %{SOURCE10} |
---|
| 154 | %__tar -xvf %{SOURCE11} |
---|
| 155 | %__tar -xvf %{SOURCE12} |
---|
| 156 | %__tar -xvf %{SOURCE13} |
---|
| 157 | %__tar -xvf %{SOURCE14} |
---|
| 158 | %__tar -xvf %{SOURCE15} |
---|
| 159 | %__tar -xvf %{SOURCE16} |
---|
| 160 | %__tar -xvf %{SOURCE17} |
---|
| 161 | %__tar -xvf %{SOURCE18} |
---|
| 162 | %__tar -xvf %{SOURCE19} |
---|
| 163 | %__tar -xvf %{SOURCE20} |
---|
| 164 | %__tar -xvf %{SOURCE21} |
---|
| 165 | %__tar -xvf %{SOURCE22} |
---|
| 166 | %__tar -xvf %{SOURCE23} |
---|
| 167 | %__tar -xvf %{SOURCE24} |
---|
| 168 | %__tar -xvf %{SOURCE25} |
---|
| 169 | %__tar -xvf %{SOURCE26} |
---|
| 170 | %__tar -xvf %{SOURCE27} |
---|
| 171 | %__tar -xvf %{SOURCE28} |
---|
| 172 | %__tar -xvf %{SOURCE29} |
---|
| 173 | %__tar -xvf %{SOURCE30} |
---|
| 174 | %__tar -xvf %{SOURCE31} |
---|
| 175 | %__tar -xvf %{SOURCE32} |
---|
| 176 | %__tar -xvf %{SOURCE33} |
---|
| 177 | %__tar -xvf %{SOURCE34} |
---|
[1533] | 178 | |
---|
| 179 | %build |
---|
| 180 | |
---|
| 181 | %install |
---|
| 182 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
| 183 | |
---|
[7770] | 184 | %__mkdir_p %{buildroot}%{_datadir} |
---|
[1533] | 185 | |
---|
[7770] | 186 | ## move texmf-dist to /usr/share/texmf-dist |
---|
| 187 | [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||: |
---|
[1533] | 188 | |
---|
[7770] | 189 | ## move texmf to /usr/share/texmf |
---|
| 190 | [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||: |
---|
[1533] | 191 | |
---|
[7770] | 192 | ## move tlpkg to /usr/share/tlpkg |
---|
| 193 | [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||: |
---|
| 194 | |
---|
| 195 | ## move all non-arch binaries to /usr/bin |
---|
| 196 | [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||: |
---|
| 197 | |
---|
| 198 | ## move others into /usr/share/texmf-dist |
---|
| 199 | %__mkdir_p %{buildroot}%{_tl_texmfdist} |
---|
| 200 | %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||: |
---|
| 201 | %__rm -rf * ||: |
---|
| 202 | |
---|
| 203 | |
---|
| 204 | ## remove duplicated files between texlive and texlive-collection-* |
---|
| 205 | ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive |
---|
| 206 | ## remove unpacked files |
---|
| 207 | x=( |
---|
[9576] | 208 | scripts/context/stubs/unix/mtxrun |
---|
| 209 | scripts/ptex2pdf/ptex2pdf.lua |
---|
| 210 | scripts/texlive/fmtutil.pl |
---|
[9529] | 211 | scripts/texlive/texconfig-dialog.sh |
---|
| 212 | scripts/texlive/texconfig-sys.sh |
---|
| 213 | scripts/texlive/texconfig.sh |
---|
| 214 | scripts/texlive/texlinks.sh |
---|
| 215 | scripts/texlive/tlmgr.pl |
---|
[9576] | 216 | scripts/texlive/updmap.pl |
---|
[9529] | 217 | texconfig/tcfmgr |
---|
[9576] | 218 | web2c/fmtutil.cnf |
---|
[9529] | 219 | web2c/mktex.opt |
---|
| 220 | web2c/mktexdir |
---|
| 221 | web2c/mktexdir.opt |
---|
| 222 | web2c/mktexnam |
---|
| 223 | web2c/mktexnam.opt |
---|
| 224 | web2c/mktexupd |
---|
| 225 | web2c/texmf.cnf |
---|
| 226 | web2c/updmap-hdr.cfg |
---|
| 227 | web2c/updmap.cfg |
---|
[9576] | 228 | install-tl |
---|
[7770] | 229 | ) |
---|
| 230 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
| 231 | pushd %{buildroot}%{_tl_texmfdist} |
---|
| 232 | %__rm -f ${x[@]} ||: |
---|
[5207] | 233 | popd |
---|
[7770] | 234 | fi |
---|
| 235 | |
---|
[1533] | 236 | ## Files list |
---|
| 237 | find %{buildroot} -type f -or -type l | \ |
---|
| 238 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 239 | |
---|
[7770] | 240 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
[1533] | 241 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 242 | -e "s|$|/|" >> filelist.full |
---|
| 243 | |
---|
| 244 | ## subpackages |
---|
| 245 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 246 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 247 | %__mv -f filelist.tmp filelist.full |
---|
| 248 | |
---|
| 249 | %clean |
---|
| 250 | %__rm -rf %{buildroot} |
---|
| 251 | |
---|
| 252 | %post |
---|
[7770] | 253 | %_tl_touch_run texhash |
---|
| 254 | %_tl_touch_run mtxrun |
---|
[1533] | 255 | |
---|
[7770] | 256 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[1533] | 257 | |
---|
[7770] | 258 | %_tl_enable_map MixedMap ccpl.map |
---|
| 259 | %_tl_enable_map MixedMap plother.map |
---|
| 260 | %_tl_enable_map MixedMap pltext.map |
---|
[2505] | 261 | |
---|
[7770] | 262 | %_tl_touch_run fmtutil |
---|
[2505] | 263 | |
---|
[1533] | 264 | exit 0 |
---|
| 265 | |
---|
| 266 | |
---|
| 267 | %postun |
---|
| 268 | if [ "$1" = 0 ]; then |
---|
[7770] | 269 | %_tl_touch_run texhash |
---|
[1533] | 270 | |
---|
[7770] | 271 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[1533] | 272 | |
---|
[7770] | 273 | %_tl_disable_map ccpl.map |
---|
| 274 | %_tl_disable_map plother.map |
---|
| 275 | %_tl_disable_map pltext.map |
---|
[1533] | 276 | |
---|
| 277 | fi |
---|
| 278 | |
---|
| 279 | exit 0 |
---|
| 280 | |
---|
[7148] | 281 | %posttrans |
---|
[7770] | 282 | %{_tl_exec_texhash} |
---|
| 283 | %{_tl_exec_mtxrun} |
---|
| 284 | %{_tl_exec_updmap} |
---|
| 285 | %{_tl_exec_fmtutil} |
---|
[7148] | 286 | exit 0 |
---|
| 287 | |
---|
| 288 | |
---|
[1533] | 289 | %files -f filelist.full |
---|
[5207] | 290 | %defattr(-,root,root,-) |
---|
[1533] | 291 | |
---|
| 292 | %files -f filelist.doc doc |
---|
[5207] | 293 | %defattr(-,root,root,-) |
---|
[1533] | 294 | |
---|
| 295 | %changelog |
---|
[9576] | 296 | * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2 |
---|
| 297 | - TeX Live 2015/pretest |
---|
| 298 | - synced tlnet to 20150522 (TeX Live 2015/pretest) |
---|
[9034] | 299 | |
---|
[9576] | 300 | * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1 |
---|
| 301 | - TeX Live 2015/pretest |
---|
| 302 | - synced tlnet to 20150426 (TeX Live 2015/pretest) |
---|
| 303 | |
---|
| 304 | * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4 |
---|
| 305 | - synced tlnet to 20150401 |
---|
| 306 | |
---|
| 307 | * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3 |
---|
| 308 | - synced tlnet to 20141028 |
---|
| 309 | |
---|
| 310 | * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2 |
---|
| 311 | - synced tlnet to 20140706 |
---|
| 312 | |
---|
| 313 | * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1 |
---|
| 314 | - upgraded to TeX Live 2014 |
---|
| 315 | |
---|
| 316 | * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6 |
---|
| 317 | - synced tlnet to 20140406 |
---|
| 318 | |
---|
| 319 | * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5 |
---|
| 320 | - synced tlnet to 20131218 |
---|
| 321 | |
---|
| 322 | * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4 |
---|
| 323 | - synced tlnet to 20131101 |
---|
| 324 | |
---|
| 325 | * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3 |
---|
| 326 | - synced tlnet to 20131002 |
---|
| 327 | |
---|
| 328 | * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2 |
---|
| 329 | - synced tlnet to 20130919 |
---|
| 330 | |
---|
| 331 | * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1 |
---|
| 332 | - upgraded to TeX Live 2013 |
---|
| 333 | - used tlnet archives |
---|
| 334 | - synced tlnet to 20130823 |
---|
| 335 | - added macros.texlive |
---|
| 336 | |
---|
| 337 | * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1 |
---|
| 338 | - updated to TeX Live 2012 |
---|
| 339 | |
---|
| 340 | * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2 |
---|
| 341 | - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in: |
---|
| 342 | - set external dependencies (texlive-collection-binextra, |
---|
| 343 | texlive-collection-fontutils) |
---|
| 344 | |
---|
| 345 | * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1 |
---|
| 346 | - updated to TeX Live 2011 |
---|
| 347 | - merged texlive-vtlpkg-2009-osx.patch from OSXWS |
---|
| 348 | - added %doc README (%files) |
---|
| 349 | |
---|
| 350 | * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4 |
---|
| 351 | - applied texlive-vtlpkg-2009-vine.patch |
---|
| 352 | - remove arch dependent binaries |
---|
| 353 | - updated tlpdb2rpmspec.sh.in: |
---|
| 354 | - improved tlpdb4a() |
---|
| 355 | - make symlinks of core script utils (texlive-collection-binextra, |
---|
| 356 | texlive-collection-context, texlive-collection-fontutils, |
---|
| 357 | texlive-collection-langgreek, texlive-collection-langindic, |
---|
| 358 | texlive-collection-latex, texlive-collection-latexextra, |
---|
| 359 | texlive-collection-latexrecommended, texlive-collection-pictures, |
---|
| 360 | texlive-collection-pstricks, texlive-collection-science) |
---|
| 361 | |
---|
| 362 | * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3 |
---|
| 363 | - updated tlpdb2rpmspec.sh.in: |
---|
| 364 | - improved %post |
---|
| 365 | |
---|
| 366 | * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2 |
---|
| 367 | - updated tlpdb2rpmspec.sh.in: |
---|
| 368 | - removed arch dependent binaries (texlive-collection-latexextra) |
---|
| 369 | - improved updmap process in %post and %postun |
---|
| 370 | - fixed perl path |
---|
| 371 | |
---|
| 372 | * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1 |
---|
| 373 | - initial build |
---|