texlive-collection-basic-vl.spec 16 KB

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