texlive-collection-latex-vl.spec 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-2:
  3. ## tlpdb2rpmspec collection-latex
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: LaTeX fundamental packages
  8. Summary(ja): TeX Live: LaTeX fundamental packages
  9. Name: texlive-collection-latex
  10. Version: 2015
  11. Release: 2%{?_dist_release}
  12. License: LPPL, LPPL 1.3, Public Domain
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: ae.doc.tar.xz
  16. Source1: ae.source.tar.xz
  17. Source2: ae.tar.xz
  18. Source3: amscls.doc.tar.xz
  19. Source4: amscls.source.tar.xz
  20. Source5: amscls.tar.xz
  21. Source6: amsmath.doc.tar.xz
  22. Source7: amsmath.source.tar.xz
  23. Source8: amsmath.tar.xz
  24. Source9: babel.doc.tar.xz
  25. Source10: babel.source.tar.xz
  26. Source11: babel.tar.xz
  27. Source12: babel-english.doc.tar.xz
  28. Source13: babel-english.source.tar.xz
  29. Source14: babel-english.tar.xz
  30. Source15: babelbib.doc.tar.xz
  31. Source16: babelbib.tar.xz
  32. Source17: carlisle.doc.tar.xz
  33. Source18: carlisle.source.tar.xz
  34. Source19: carlisle.tar.xz
  35. Source20: colortbl.doc.tar.xz
  36. Source21: colortbl.source.tar.xz
  37. Source22: colortbl.tar.xz
  38. Source23: fancyhdr.doc.tar.xz
  39. Source24: fancyhdr.tar.xz
  40. Source25: fix2col.doc.tar.xz
  41. Source26: fix2col.source.tar.xz
  42. Source27: fix2col.tar.xz
  43. Source28: geometry.doc.tar.xz
  44. Source29: geometry.source.tar.xz
  45. Source30: geometry.tar.xz
  46. Source31: graphics.doc.tar.xz
  47. Source32: graphics.source.tar.xz
  48. Source33: graphics.tar.xz
  49. Source34: hyperref.doc.tar.xz
  50. Source35: hyperref.source.tar.xz
  51. Source36: hyperref.tar.xz
  52. Source37: latex.doc.tar.xz
  53. Source38: latex.source.tar.xz
  54. Source39: latex.tar.xz
  55. Source40: latex-bin.doc.tar.xz
  56. Source41: latex-bin.tar.xz
  57. Source42: latex-fonts.doc.tar.xz
  58. Source43: latex-fonts.tar.xz
  59. Source44: latexconfig.tar.xz
  60. Source45: ltxmisc.tar.xz
  61. Source46: mfnfss.doc.tar.xz
  62. Source47: mfnfss.source.tar.xz
  63. Source48: mfnfss.tar.xz
  64. Source49: mptopdf.doc.tar.xz
  65. Source50: mptopdf.tar.xz
  66. Source51: natbib.doc.tar.xz
  67. Source52: natbib.source.tar.xz
  68. Source53: natbib.tar.xz
  69. Source54: oberdiek.doc.tar.xz
  70. Source55: oberdiek.source.tar.xz
  71. Source56: oberdiek.tar.xz
  72. Source57: pdftex-def.tar.xz
  73. Source58: pslatex.source.tar.xz
  74. Source59: pslatex.tar.xz
  75. Source60: psnfss.doc.tar.xz
  76. Source61: psnfss.source.tar.xz
  77. Source62: psnfss.tar.xz
  78. Source63: pspicture.doc.tar.xz
  79. Source64: pspicture.source.tar.xz
  80. Source65: pspicture.tar.xz
  81. Source66: tools.doc.tar.xz
  82. Source67: tools.source.tar.xz
  83. Source68: tools.tar.xz
  84. Source69: url.doc.tar.xz
  85. Source70: url.tar.xz
  86. Requires: texlive = %{version}
  87. Requires: texlive-collection-basic = %{version}
  88. Requires(post): texlive = %{version}
  89. Requires(postun): texlive = %{version}
  90. BuildArch: noarch
  91. Buildroot: %{_tmppath}/%{name}-%{version}-root
  92. Vendor: Project Vine
  93. Distribution: Vine Linux
  94. Packager: munepi
  95. %description
  96. The TeX Live software distribution offers a complete TeX system for a
  97. variety of Unix, Macintosh, Windows and other platforms. It
  98. encompasses programs for editing, typesetting, previewing and printing
  99. of TeX documents in many different languages, and a large collection
  100. of TeX macros and font libraries.
  101. The distribution includes extensive general documentation about TeX,
  102. as well as the documentation for the included software packages.
  103. This package is a collection of LaTeX fundamental packages:
  104. These packages are either mandated by the core LaTeX team, or
  105. very widely used and strongly recommended in practice.
  106. This package contains the following CTAN packages:
  107. ae: Virtual fonts for T1 encoded CMR-fonts.
  108. amscls: AMS document classes for LaTeX.
  109. amsmath: AMS mathematical facilities for LaTeX.
  110. babel: Multilingual support for Plain TeX or LaTeX.
  111. babel-english: Babel support for English.
  112. babelbib: Multilingual bibliographies.
  113. carlisle: David Carlisle's small packages.
  114. colortbl: Add colour to LaTeX tables.
  115. fancyhdr: Extensive control of page headers and footers in LaTeX2e.
  116. fix2col: Fix miscellaneous two column mode features.
  117. geometry: Flexible and complete interface to document dimensions.
  118. graphics: Standard LaTeX graphics.
  119. hyperref: Extensive support for hypertext in LaTeX.
  120. latex: A TeX macro package that defines LaTeX.
  121. latex-bin: LaTeX executables and man pages.
  122. latex-fonts: A collection of fonts used in LaTeX distributions.
  123. latexconfig:
  124. ltxmisc: Miscellaneous LaTeX packages, etc.
  125. mfnfss: Packages to typeset oldgerman and pandora fonts in LaTeX.
  126. mptopdf: mpost to PDF, native MetaPost graphics inclusion
  127. natbib: Flexible bibliography support.
  128. oberdiek: A bundle of packages submitted by Heiko Oberdiek.
  129. pdftex-def: Colour and Graphics support for PDFTeX.
  130. pslatex: Use PostScript fonts by default.
  131. psnfss: Font support for common PostScript fonts.
  132. pspicture: PostScript picture support.
  133. tools: The LaTeX standard tools bundle.
  134. url: Verbatim with URL-sensitive line breaks.
  135. %description -l ja
  136. TeX Live ソフトウェアディストリビューションは、
  137. さまざまな Unix, Macintosh, Windows、および
  138. 他のプラットホームに対して完全な TeX システムを提供します。
  139. 多くの異なった言語を含む TeX ドキュメントの
  140. 編集、組版、閲覧、印刷するためのプログラム、
  141. そして、TeX マクロやフォントライブラリの大きなコレクションを
  142. 同梱しています。
  143. このディストリビューションは
  144. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  145. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  146. このパッケージは以下のようなパッケージ集です。
  147. LaTeX fundamental packages:
  148. These packages are either mandated by the core LaTeX team, or
  149. very widely used and strongly recommended in practice.
  150. このパッケージは以下の CTAN パッケージを含んでいます:
  151. ae: Virtual fonts for T1 encoded CMR-fonts.
  152. amscls: AMS document classes for LaTeX.
  153. amsmath: AMS mathematical facilities for LaTeX.
  154. babel: Multilingual support for Plain TeX or LaTeX.
  155. babel-english: Babel support for English.
  156. babelbib: Multilingual bibliographies.
  157. carlisle: David Carlisle's small packages.
  158. colortbl: Add colour to LaTeX tables.
  159. fancyhdr: Extensive control of page headers and footers in LaTeX2e.
  160. fix2col: Fix miscellaneous two column mode features.
  161. geometry: Flexible and complete interface to document dimensions.
  162. graphics: Standard LaTeX graphics.
  163. hyperref: Extensive support for hypertext in LaTeX.
  164. latex: A TeX macro package that defines LaTeX.
  165. latex-bin: LaTeX executables and man pages.
  166. latex-fonts: A collection of fonts used in LaTeX distributions.
  167. latexconfig:
  168. ltxmisc: Miscellaneous LaTeX packages, etc.
  169. mfnfss: Packages to typeset oldgerman and pandora fonts in LaTeX.
  170. mptopdf: mpost to PDF, native MetaPost graphics inclusion
  171. natbib: Flexible bibliography support.
  172. oberdiek: A bundle of packages submitted by Heiko Oberdiek.
  173. pdftex-def: Colour and Graphics support for PDFTeX.
  174. pslatex: Use PostScript fonts by default.
  175. psnfss: Font support for common PostScript fonts.
  176. pspicture: PostScript picture support.
  177. tools: The LaTeX standard tools bundle.
  178. url: Verbatim with URL-sensitive line breaks.
  179. %package doc
  180. Summary: TeX Live: Documentation files of %{name}
  181. Group: Applications/Publishing
  182. Requires: %{name} = %{version}-%{release}
  183. %description doc
  184. This package contains documentation files of %{name}.
  185. %prep
  186. %setup -c -n %{name}-%{version}
  187. %__tar -xvf %{SOURCE1}
  188. %__tar -xvf %{SOURCE2}
  189. %__tar -xvf %{SOURCE3}
  190. %__tar -xvf %{SOURCE4}
  191. %__tar -xvf %{SOURCE5}
  192. %__tar -xvf %{SOURCE6}
  193. %__tar -xvf %{SOURCE7}
  194. %__tar -xvf %{SOURCE8}
  195. %__tar -xvf %{SOURCE9}
  196. %__tar -xvf %{SOURCE10}
  197. %__tar -xvf %{SOURCE11}
  198. %__tar -xvf %{SOURCE12}
  199. %__tar -xvf %{SOURCE13}
  200. %__tar -xvf %{SOURCE14}
  201. %__tar -xvf %{SOURCE15}
  202. %__tar -xvf %{SOURCE16}
  203. %__tar -xvf %{SOURCE17}
  204. %__tar -xvf %{SOURCE18}
  205. %__tar -xvf %{SOURCE19}
  206. %__tar -xvf %{SOURCE20}
  207. %__tar -xvf %{SOURCE21}
  208. %__tar -xvf %{SOURCE22}
  209. %__tar -xvf %{SOURCE23}
  210. %__tar -xvf %{SOURCE24}
  211. %__tar -xvf %{SOURCE25}
  212. %__tar -xvf %{SOURCE26}
  213. %__tar -xvf %{SOURCE27}
  214. %__tar -xvf %{SOURCE28}
  215. %__tar -xvf %{SOURCE29}
  216. %__tar -xvf %{SOURCE30}
  217. %__tar -xvf %{SOURCE31}
  218. %__tar -xvf %{SOURCE32}
  219. %__tar -xvf %{SOURCE33}
  220. %__tar -xvf %{SOURCE34}
  221. %__tar -xvf %{SOURCE35}
  222. %__tar -xvf %{SOURCE36}
  223. %__tar -xvf %{SOURCE37}
  224. %__tar -xvf %{SOURCE38}
  225. %__tar -xvf %{SOURCE39}
  226. %__tar -xvf %{SOURCE40}
  227. %__tar -xvf %{SOURCE41}
  228. %__tar -xvf %{SOURCE42}
  229. %__tar -xvf %{SOURCE43}
  230. %__tar -xvf %{SOURCE44}
  231. %__tar -xvf %{SOURCE45}
  232. %__tar -xvf %{SOURCE46}
  233. %__tar -xvf %{SOURCE47}
  234. %__tar -xvf %{SOURCE48}
  235. %__tar -xvf %{SOURCE49}
  236. %__tar -xvf %{SOURCE50}
  237. %__tar -xvf %{SOURCE51}
  238. %__tar -xvf %{SOURCE52}
  239. %__tar -xvf %{SOURCE53}
  240. %__tar -xvf %{SOURCE54}
  241. %__tar -xvf %{SOURCE55}
  242. %__tar -xvf %{SOURCE56}
  243. %__tar -xvf %{SOURCE57}
  244. %__tar -xvf %{SOURCE58}
  245. %__tar -xvf %{SOURCE59}
  246. %__tar -xvf %{SOURCE60}
  247. %__tar -xvf %{SOURCE61}
  248. %__tar -xvf %{SOURCE62}
  249. %__tar -xvf %{SOURCE63}
  250. %__tar -xvf %{SOURCE64}
  251. %__tar -xvf %{SOURCE65}
  252. %__tar -xvf %{SOURCE66}
  253. %__tar -xvf %{SOURCE67}
  254. %__tar -xvf %{SOURCE68}
  255. %__tar -xvf %{SOURCE69}
  256. %__tar -xvf %{SOURCE70}
  257. %build
  258. %install
  259. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  260. %__mkdir_p %{buildroot}%{_datadir}
  261. ## move texmf-dist to /usr/share/texmf-dist
  262. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  263. ## move texmf to /usr/share/texmf
  264. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  265. ## move tlpkg to /usr/share/tlpkg
  266. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  267. ## move all non-arch binaries to /usr/bin
  268. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  269. ## move others into /usr/share/texmf-dist
  270. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  271. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  272. %__rm -rf * ||:
  273. ## remove duplicated files between texlive and texlive-collection-*
  274. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  275. ## remove unpacked files
  276. x=(
  277. scripts/context/stubs/unix/mtxrun
  278. scripts/ptex2pdf/ptex2pdf.lua
  279. scripts/texlive/fmtutil.pl
  280. scripts/texlive/texconfig-dialog.sh
  281. scripts/texlive/texconfig-sys.sh
  282. scripts/texlive/texconfig.sh
  283. scripts/texlive/texlinks.sh
  284. scripts/texlive/tlmgr.pl
  285. scripts/texlive/updmap.pl
  286. texconfig/tcfmgr
  287. web2c/fmtutil.cnf
  288. web2c/mktex.opt
  289. web2c/mktexdir
  290. web2c/mktexdir.opt
  291. web2c/mktexnam
  292. web2c/mktexnam.opt
  293. web2c/mktexupd
  294. web2c/texmf.cnf
  295. web2c/updmap-hdr.cfg
  296. web2c/updmap.cfg
  297. install-tl
  298. )
  299. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  300. pushd %{buildroot}%{_tl_texmfdist}
  301. %__rm -f ${x[@]} ||:
  302. popd
  303. fi
  304. ## Files list
  305. find %{buildroot} -type f -or -type l | \
  306. %__sed -e "s|%{buildroot}||g" > filelist.full
  307. find %{buildroot}%{_tl_texmfdist} -type d | \
  308. %__sed -e "s|^%{buildroot}|%dir |" \
  309. -e "s|$|/|" >> filelist.full
  310. ## subpackages
  311. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  312. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  313. %__mv -f filelist.tmp filelist.full
  314. %clean
  315. %__rm -rf %{buildroot}
  316. %post
  317. %_tl_touch_run texhash
  318. %_tl_touch_run mtxrun
  319. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  320. %_tl_enable_map Map charter.map
  321. %_tl_enable_map Map fpls.map
  322. %_tl_enable_map Map pazo.map
  323. %_tl_enable_map Map utopia.map
  324. %_tl_touch_run fmtutil
  325. exit 0
  326. %postun
  327. if [ "$1" = 0 ]; then
  328. %_tl_touch_run texhash
  329. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  330. %_tl_disable_map charter.map
  331. %_tl_disable_map fpls.map
  332. %_tl_disable_map pazo.map
  333. %_tl_disable_map utopia.map
  334. fi
  335. exit 0
  336. %posttrans
  337. %{_tl_exec_texhash}
  338. %{_tl_exec_mtxrun}
  339. %{_tl_exec_updmap}
  340. %{_tl_exec_fmtutil}
  341. exit 0
  342. %files -f filelist.full
  343. %defattr(-,root,root,-)
  344. %files -f filelist.doc doc
  345. %defattr(-,root,root,-)
  346. %changelog
  347. * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
  348. - TeX Live 2015/pretest
  349. - synced tlnet to 20150522 (TeX Live 2015/pretest)
  350. * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
  351. - TeX Live 2015/pretest
  352. - synced tlnet to 20150426 (TeX Live 2015/pretest)
  353. * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
  354. - synced tlnet to 20150401
  355. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  356. - synced tlnet to 20141028
  357. * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  358. - synced tlnet to 20140706
  359. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  360. - upgraded to TeX Live 2014
  361. * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
  362. - synced tlnet to 20140406
  363. * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
  364. - synced tlnet to 20131218
  365. * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  366. - synced tlnet to 20131101
  367. * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  368. - synced tlnet to 20131002
  369. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  370. - synced tlnet to 20130919
  371. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  372. - upgraded to TeX Live 2013
  373. - used tlnet archives
  374. - synced tlnet to 20130823
  375. - added macros.texlive
  376. * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  377. - updated to TeX Live 2012
  378. * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  379. - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
  380. - set external dependencies (texlive-collection-binextra,
  381. texlive-collection-fontutils)
  382. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  383. - updated to TeX Live 2011
  384. - merged texlive-vtlpkg-2009-osx.patch from OSXWS
  385. - added %doc README (%files)
  386. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  387. - applied texlive-vtlpkg-2009-vine.patch
  388. - remove arch dependent binaries
  389. - updated tlpdb2rpmspec.sh.in:
  390. - improved tlpdb4a()
  391. - make symlinks of core script utils (texlive-collection-binextra,
  392. texlive-collection-context, texlive-collection-fontutils,
  393. texlive-collection-langgreek, texlive-collection-langindic,
  394. texlive-collection-latex, texlive-collection-latexextra,
  395. texlive-collection-latexrecommended, texlive-collection-pictures,
  396. texlive-collection-pstricks, texlive-collection-science)
  397. * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  398. - updated tlpdb2rpmspec.sh.in:
  399. - improved %post
  400. * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  401. - updated tlpdb2rpmspec.sh.in:
  402. - removed arch dependent binaries (texlive-collection-latexextra)
  403. - improved updmap process in %post and %postun
  404. - fixed perl path
  405. * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  406. - initial build