texlive-collection-basic-vl.spec 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-2:
  3. ## tlpdb2rpmspec collection-basic
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Essential programs and files
  8. Summary(ja): TeX Live: Essential programs and files
  9. Name: texlive-collection-basic
  10. Version: 2015
  11. Release: 2%{?_dist_release}
  12. License: OFSFLD, Knuth, GPL+, LPPL, LPPL 1.3, Freely redistributable without restriction, LGPLv2+
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: texlive.infra.doc.tar.xz
  16. Source1: texlive.infra.tar.xz
  17. Source2: amsfonts.doc.tar.xz
  18. Source3: amsfonts.source.tar.xz
  19. Source4: amsfonts.tar.xz
  20. Source5: bibtex.doc.tar.xz
  21. Source6: bibtex.tar.xz
  22. Source7: cm.doc.tar.xz
  23. Source8: cm.tar.xz
  24. Source9: dvipdfmx.doc.tar.xz
  25. Source10: dvipdfmx.tar.xz
  26. Source11: dvipdfmx-def.tar.xz
  27. Source12: dvips.doc.tar.xz
  28. Source13: dvips.tar.xz
  29. Source14: enctex.doc.tar.xz
  30. Source15: enctex.tar.xz
  31. Source16: etex.doc.tar.xz
  32. Source17: etex.tar.xz
  33. Source18: etex-pkg.doc.tar.xz
  34. Source19: etex-pkg.tar.xz
  35. Source20: glyphlist.tar.xz
  36. Source21: gsftopk.doc.tar.xz
  37. Source22: gsftopk.tar.xz
  38. Source23: hyph-utf8.doc.tar.xz
  39. Source24: hyph-utf8.source.tar.xz
  40. Source25: hyph-utf8.tar.xz
  41. Source26: hyphen-base.tar.xz
  42. Source27: ifluatex.doc.tar.xz
  43. Source28: ifluatex.source.tar.xz
  44. Source29: ifluatex.tar.xz
  45. Source30: ifxetex.doc.tar.xz
  46. Source31: ifxetex.source.tar.xz
  47. Source32: ifxetex.tar.xz
  48. Source33: knuth-lib.tar.xz
  49. Source34: knuth-local.tar.xz
  50. Source35: kpathsea.doc.tar.xz
  51. Source36: kpathsea.tar.xz
  52. Source37: lua-alt-getopt.doc.tar.xz
  53. Source38: lua-alt-getopt.tar.xz
  54. Source39: luatex.doc.tar.xz
  55. Source40: luatex.tar.xz
  56. Source41: makeindex.doc.tar.xz
  57. Source42: makeindex.tar.xz
  58. Source43: metafont.doc.tar.xz
  59. Source44: metafont.tar.xz
  60. Source45: mflogo.doc.tar.xz
  61. Source46: mflogo.source.tar.xz
  62. Source47: mflogo.tar.xz
  63. Source48: mfware.doc.tar.xz
  64. Source49: mfware.tar.xz
  65. Source50: pdftex.doc.tar.xz
  66. Source51: pdftex.tar.xz
  67. Source52: plain.tar.xz
  68. Source53: tetex.doc.tar.xz
  69. Source54: tetex.tar.xz
  70. Source55: tex.doc.tar.xz
  71. Source56: tex.tar.xz
  72. Source57: texconfig.doc.tar.xz
  73. Source58: texconfig.tar.xz
  74. Source59: texlive-common.doc.tar.xz
  75. Source60: texlive-common.tar.xz
  76. Source61: texlive-docindex.doc.tar.xz
  77. Source62: texlive-docindex.tar.xz
  78. Source63: texlive-en.doc.tar.xz
  79. Source64: texlive-en.tar.xz
  80. Source65: texlive-msg-translations.tar.xz
  81. Source66: texlive-scripts.doc.tar.xz
  82. Source67: texlive-scripts.tar.xz
  83. Source68: xdvi.doc.tar.xz
  84. Source69: xdvi.tar.xz
  85. Requires: texlive = %{version}
  86. Requires(post): texlive = %{version}
  87. Requires(postun): texlive = %{version}
  88. BuildArch: noarch
  89. Buildroot: %{_tmppath}/%{name}-%{version}-root
  90. Vendor: Project Vine
  91. Distribution: Vine Linux
  92. Packager: munepi
  93. %description
  94. The TeX Live software distribution offers a complete TeX system for a
  95. variety of Unix, Macintosh, Windows and other platforms. It
  96. encompasses programs for editing, typesetting, previewing and printing
  97. of TeX documents in many different languages, and a large collection
  98. of TeX macros and font libraries.
  99. The distribution includes extensive general documentation about TeX,
  100. as well as the documentation for the included software packages.
  101. This package is a collection of Essential programs and files:
  102. These files are regarded as basic for any TeX system, covering
  103. plain TeX macros, Computer Modern fonts, and configuration for
  104. common drivers; no LaTeX.
  105. This package contains the following CTAN packages:
  106. texlive.infra: basic TeX Live infrastructure
  107. amsfonts: TeX fonts from the American Mathematical Society.
  108. bibtex: Process bibliographies for LaTeX, etc.
  109. cm: Computer Modern fonts.
  110. dvipdfmx: An extended version of dvipdfm.
  111. dvipdfmx-def: Configuration file for dvipdfmx graphics.
  112. dvips: A DVI to PostScript driver.
  113. enctex: A TeX extension that translates input on its way into TeX.
  114. etex: An extended version of TeX, from the NTS project.
  115. etex-pkg: E-TeX support package.
  116. glyphlist:
  117. gsftopk: Convert "ghostscript fonts" to PK files.
  118. hyph-utf8: Hyphenation patterns expressed in UTF-8.
  119. hyphen-base:
  120. ifluatex: Provides the ifluatex switch.
  121. ifxetex: Am I running under XeTeX?
  122. knuth-lib: A small library of MetaFont sources.
  123. knuth-local: Knuth's local information.
  124. kpathsea: Path searching library for TeX-related files.
  125. lua-alt-getopt: Process application arguments the same way as getopt_long.
  126. luatex: The LuaTeX engine.
  127. makeindex: Makeindex development sources.
  128. metafont: A system for specifying fonts.
  129. mflogo: LaTeX support for Metafont logo fonts.
  130. mfware: Supporting tools for use with Metafont.
  131. pdftex: A TeX extension for direct creation of PDF.
  132. plain: The Plain TeX format.
  133. tetex: scripts and files originally written for or included in teTeX
  134. tex: A sophisticated typesetting engine.
  135. texconfig:
  136. texlive-common: TeX Live documentation (common elements)
  137. texlive-docindex: top-level TeX Live doc.html, etc.
  138. texlive-en: TeX Live manual (English)
  139. texlive-msg-translations: translations of the TeX Live installer and TeX Live Manager
  140. texlive-scripts: TeX Live infrastructure programs
  141. xdvi: A DVI previewer for the X Window System.
  142. %description -l ja
  143. TeX Live ソフトウェアディストリビューションは、
  144. さまざまな Unix, Macintosh, Windows、および
  145. 他のプラットホームに対して完全な TeX システムを提供します。
  146. 多くの異なった言語を含む TeX ドキュメントの
  147. 編集、組版、閲覧、印刷するためのプログラム、
  148. そして、TeX マクロやフォントライブラリの大きなコレクションを
  149. 同梱しています。
  150. このディストリビューションは
  151. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  152. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  153. このパッケージは以下のようなパッケージ集です。
  154. Essential programs and files:
  155. These files are regarded as basic for any TeX system, covering
  156. plain TeX macros, Computer Modern fonts, and configuration for
  157. common drivers; no LaTeX.
  158. このパッケージは以下の CTAN パッケージを含んでいます:
  159. texlive.infra: basic TeX Live infrastructure
  160. amsfonts: TeX fonts from the American Mathematical Society.
  161. bibtex: Process bibliographies for LaTeX, etc.
  162. cm: Computer Modern fonts.
  163. dvipdfmx: An extended version of dvipdfm.
  164. dvipdfmx-def: Configuration file for dvipdfmx graphics.
  165. dvips: A DVI to PostScript driver.
  166. enctex: A TeX extension that translates input on its way into TeX.
  167. etex: An extended version of TeX, from the NTS project.
  168. etex-pkg: E-TeX support package.
  169. glyphlist:
  170. gsftopk: Convert "ghostscript fonts" to PK files.
  171. hyph-utf8: Hyphenation patterns expressed in UTF-8.
  172. hyphen-base:
  173. ifluatex: Provides the ifluatex switch.
  174. ifxetex: Am I running under XeTeX?
  175. knuth-lib: A small library of MetaFont sources.
  176. knuth-local: Knuth's local information.
  177. kpathsea: Path searching library for TeX-related files.
  178. lua-alt-getopt: Process application arguments the same way as getopt_long.
  179. luatex: The LuaTeX engine.
  180. makeindex: Makeindex development sources.
  181. metafont: A system for specifying fonts.
  182. mflogo: LaTeX support for Metafont logo fonts.
  183. mfware: Supporting tools for use with Metafont.
  184. pdftex: A TeX extension for direct creation of PDF.
  185. plain: The Plain TeX format.
  186. tetex: scripts and files originally written for or included in teTeX
  187. tex: A sophisticated typesetting engine.
  188. texconfig:
  189. texlive-common: TeX Live documentation (common elements)
  190. texlive-docindex: top-level TeX Live doc.html, etc.
  191. texlive-en: TeX Live manual (English)
  192. texlive-msg-translations: translations of the TeX Live installer and TeX Live Manager
  193. texlive-scripts: TeX Live infrastructure programs
  194. xdvi: A DVI previewer for the X Window System.
  195. %package doc
  196. Summary: TeX Live: Documentation files of %{name}
  197. Group: Applications/Publishing
  198. Requires: %{name} = %{version}-%{release}
  199. %description doc
  200. This package contains documentation files of %{name}.
  201. %prep
  202. %setup -c -n %{name}-%{version}
  203. %__tar -xvf %{SOURCE1}
  204. %__tar -xvf %{SOURCE2}
  205. %__tar -xvf %{SOURCE3}
  206. %__tar -xvf %{SOURCE4}
  207. %__tar -xvf %{SOURCE5}
  208. %__tar -xvf %{SOURCE6}
  209. %__tar -xvf %{SOURCE7}
  210. %__tar -xvf %{SOURCE8}
  211. %__tar -xvf %{SOURCE9}
  212. %__tar -xvf %{SOURCE10}
  213. %__tar -xvf %{SOURCE11}
  214. %__tar -xvf %{SOURCE12}
  215. %__tar -xvf %{SOURCE13}
  216. %__tar -xvf %{SOURCE14}
  217. %__tar -xvf %{SOURCE15}
  218. %__tar -xvf %{SOURCE16}
  219. %__tar -xvf %{SOURCE17}
  220. %__tar -xvf %{SOURCE18}
  221. %__tar -xvf %{SOURCE19}
  222. %__tar -xvf %{SOURCE20}
  223. %__tar -xvf %{SOURCE21}
  224. %__tar -xvf %{SOURCE22}
  225. %__tar -xvf %{SOURCE23}
  226. %__tar -xvf %{SOURCE24}
  227. %__tar -xvf %{SOURCE25}
  228. %__tar -xvf %{SOURCE26}
  229. %__tar -xvf %{SOURCE27}
  230. %__tar -xvf %{SOURCE28}
  231. %__tar -xvf %{SOURCE29}
  232. %__tar -xvf %{SOURCE30}
  233. %__tar -xvf %{SOURCE31}
  234. %__tar -xvf %{SOURCE32}
  235. %__tar -xvf %{SOURCE33}
  236. %__tar -xvf %{SOURCE34}
  237. %__tar -xvf %{SOURCE35}
  238. %__tar -xvf %{SOURCE36}
  239. %__tar -xvf %{SOURCE37}
  240. %__tar -xvf %{SOURCE38}
  241. %__tar -xvf %{SOURCE39}
  242. %__tar -xvf %{SOURCE40}
  243. %__tar -xvf %{SOURCE41}
  244. %__tar -xvf %{SOURCE42}
  245. %__tar -xvf %{SOURCE43}
  246. %__tar -xvf %{SOURCE44}
  247. %__tar -xvf %{SOURCE45}
  248. %__tar -xvf %{SOURCE46}
  249. %__tar -xvf %{SOURCE47}
  250. %__tar -xvf %{SOURCE48}
  251. %__tar -xvf %{SOURCE49}
  252. %__tar -xvf %{SOURCE50}
  253. %__tar -xvf %{SOURCE51}
  254. %__tar -xvf %{SOURCE52}
  255. %__tar -xvf %{SOURCE53}
  256. %__tar -xvf %{SOURCE54}
  257. %__tar -xvf %{SOURCE55}
  258. %__tar -xvf %{SOURCE56}
  259. %__tar -xvf %{SOURCE57}
  260. %__tar -xvf %{SOURCE58}
  261. %__tar -xvf %{SOURCE59}
  262. %__tar -xvf %{SOURCE60}
  263. %__tar -xvf %{SOURCE61}
  264. %__tar -xvf %{SOURCE62}
  265. %__tar -xvf %{SOURCE63}
  266. %__tar -xvf %{SOURCE64}
  267. %__tar -xvf %{SOURCE65}
  268. %__tar -xvf %{SOURCE66}
  269. %__tar -xvf %{SOURCE67}
  270. %__tar -xvf %{SOURCE68}
  271. %__tar -xvf %{SOURCE69}
  272. %build
  273. %install
  274. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  275. %__mkdir_p %{buildroot}%{_datadir}
  276. ## move texmf-dist to /usr/share/texmf-dist
  277. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  278. ## move texmf to /usr/share/texmf
  279. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  280. ## move tlpkg to /usr/share/tlpkg
  281. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  282. ## move all non-arch binaries to /usr/bin
  283. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  284. ## move others into /usr/share/texmf-dist
  285. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  286. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  287. %__rm -rf * ||:
  288. ## remove duplicated files between texlive and texlive-collection-*
  289. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  290. ## remove unpacked files
  291. x=(
  292. scripts/context/stubs/unix/mtxrun
  293. scripts/ptex2pdf/ptex2pdf.lua
  294. scripts/texlive/fmtutil.pl
  295. scripts/texlive/texconfig-dialog.sh
  296. scripts/texlive/texconfig-sys.sh
  297. scripts/texlive/texconfig.sh
  298. scripts/texlive/texlinks.sh
  299. scripts/texlive/tlmgr.pl
  300. scripts/texlive/updmap.pl
  301. texconfig/tcfmgr
  302. web2c/fmtutil.cnf
  303. web2c/mktex.opt
  304. web2c/mktexdir
  305. web2c/mktexdir.opt
  306. web2c/mktexnam
  307. web2c/mktexnam.opt
  308. web2c/mktexupd
  309. web2c/texmf.cnf
  310. web2c/updmap-hdr.cfg
  311. web2c/updmap.cfg
  312. install-tl
  313. )
  314. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  315. pushd %{buildroot}%{_tl_texmfdist}
  316. %__rm -f ${x[@]} ||:
  317. popd
  318. fi
  319. ## Files list
  320. find %{buildroot} -type f -or -type l | \
  321. %__sed -e "s|%{buildroot}||g" > filelist.full
  322. find %{buildroot}%{_tl_texmfdist} -type d | \
  323. %__sed -e "s|^%{buildroot}|%dir |" \
  324. -e "s|$|/|" >> filelist.full
  325. ## subpackages
  326. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  327. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  328. %__mv -f filelist.tmp filelist.full
  329. %clean
  330. %__rm -rf %{buildroot}
  331. %post
  332. %_tl_touch_run texhash
  333. %_tl_touch_run mtxrun
  334. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  335. %_tl_enable_map MixedMap cm.map
  336. %_tl_enable_map MixedMap cmextra.map
  337. %_tl_enable_map MixedMap cyrillic.map
  338. %_tl_enable_map Map euler.map
  339. %_tl_enable_map MixedMap latxfont.map
  340. %_tl_enable_map MixedMap symbols.map
  341. %_tl_enable_map MixedMap cmtext-bsr-interpolated.map
  342. %_tl_enable_map Map dummy-space.map
  343. %_tl_enable_map Map mathpple.map
  344. %_tl_touch_run fmtutil
  345. exit 0
  346. %postun
  347. if [ "$1" = 0 ]; then
  348. %_tl_touch_run texhash
  349. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  350. %_tl_disable_map cm.map
  351. %_tl_disable_map cmextra.map
  352. %_tl_disable_map cyrillic.map
  353. %_tl_disable_map euler.map
  354. %_tl_disable_map latxfont.map
  355. %_tl_disable_map symbols.map
  356. %_tl_disable_map cmtext-bsr-interpolated.map
  357. %_tl_disable_map dummy-space.map
  358. %_tl_disable_map mathpple.map
  359. fi
  360. exit 0
  361. %posttrans
  362. %{_tl_exec_texhash}
  363. %{_tl_exec_mtxrun}
  364. %{_tl_exec_updmap}
  365. %{_tl_exec_fmtutil}
  366. exit 0
  367. %files -f filelist.full
  368. %defattr(-,root,root,-)
  369. %files -f filelist.doc doc
  370. %defattr(-,root,root,-)
  371. %changelog
  372. * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
  373. - TeX Live 2015/pretest
  374. - synced tlnet to 20150522 (TeX Live 2015/pretest)
  375. * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
  376. - TeX Live 2015/pretest
  377. - synced tlnet to 20150426 (TeX Live 2015/pretest)
  378. * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
  379. - synced tlnet to 20150401
  380. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  381. - synced tlnet to 20141028
  382. * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  383. - synced tlnet to 20140706
  384. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  385. - upgraded to TeX Live 2014
  386. * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
  387. - synced tlnet to 20140406
  388. * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
  389. - synced tlnet to 20131218
  390. * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  391. - synced tlnet to 20131101
  392. * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  393. - synced tlnet to 20131002
  394. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  395. - synced tlnet to 20130919
  396. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  397. - upgraded to TeX Live 2013
  398. - used tlnet archives
  399. - synced tlnet to 20130823
  400. - added macros.texlive
  401. * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  402. - updated to TeX Live 2012
  403. * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  404. - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
  405. - set external dependencies (texlive-collection-binextra,
  406. texlive-collection-fontutils)
  407. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  408. - updated to TeX Live 2011
  409. - merged texlive-vtlpkg-2009-osx.patch from OSXWS
  410. - added %doc README (%files)
  411. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  412. - applied texlive-vtlpkg-2009-vine.patch
  413. - remove arch dependent binaries
  414. - updated tlpdb2rpmspec.sh.in:
  415. - improved tlpdb4a()
  416. - make symlinks of core script utils (texlive-collection-binextra,
  417. texlive-collection-context, texlive-collection-fontutils,
  418. texlive-collection-langgreek, texlive-collection-langindic,
  419. texlive-collection-latex, texlive-collection-latexextra,
  420. texlive-collection-latexrecommended, texlive-collection-pictures,
  421. texlive-collection-pstricks, texlive-collection-science)
  422. * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  423. - updated tlpdb2rpmspec.sh.in:
  424. - improved %post
  425. * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  426. - updated tlpdb2rpmspec.sh.in:
  427. - removed arch dependent binaries (texlive-collection-latexextra)
  428. - improved updmap process in %post and %postun
  429. - fixed perl path
  430. * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  431. - initial build