texlive-collection-basic-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-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: 2014
  11. Release: 3%{?_dist_release}
  12. License: OFSFLD, Knuth, GPL+, LPPL, Freely redistributable without restriction, LPPL 1.3, 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: Process index output to produce typesettable code.
  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: Process index output to produce typesettable code.
  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/epstopdf/epstopdf.pl
  293. scripts/texlive/fmtutil.sh
  294. scripts/texlive/fmtutil-sys.sh
  295. scripts/texlive/texconfig-dialog.sh
  296. scripts/texlive/texconfig-sys.sh
  297. scripts/texlive/texconfig.sh
  298. scripts/texlive/updmap.pl
  299. scripts/thumbpdf/thumbpdf.pl
  300. scripts/glossaries/makeglossaries
  301. scripts/pst2pdf/pst2pdf.pl
  302. scripts/bundledoc/bundledoc
  303. scripts/bundledoc/arlatex
  304. scripts/dviasm/dviasm.py
  305. scripts/latexdiff/latexdiff-vc.pl
  306. scripts/latexdiff/latexdiff.pl
  307. scripts/latexdiff/latexrevise.pl
  308. scripts/pythontex/depythontex.py
  309. scripts/pythontex/pythontex.py
  310. scripts/texfot/texfot.pl
  311. scripts/luaotfload/luaotfload-tool.lua
  312. texconfig/tcfmgr
  313. web2c/texmf.cnf
  314. web2c/updmap-hdr.cfg
  315. web2c/updmap.cfg
  316. install-tl
  317. )
  318. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  319. pushd %{buildroot}%{_tl_texmfdist}
  320. %__rm -f ${x[@]} ||:
  321. popd
  322. fi
  323. ## Files list
  324. find %{buildroot} -type f -or -type l | \
  325. %__sed -e "s|%{buildroot}||g" > filelist.full
  326. find %{buildroot}%{_tl_texmfdist} -type d | \
  327. %__sed -e "s|^%{buildroot}|%dir |" \
  328. -e "s|$|/|" >> filelist.full
  329. ## subpackages
  330. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  331. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  332. %__mv -f filelist.tmp filelist.full
  333. %clean
  334. %__rm -rf %{buildroot}
  335. %post
  336. %_tl_touch_run texhash
  337. %_tl_touch_run mtxrun
  338. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  339. %_tl_enable_map MixedMap cm.map
  340. %_tl_enable_map MixedMap cmextra.map
  341. %_tl_enable_map MixedMap cyrillic.map
  342. %_tl_enable_map Map euler.map
  343. %_tl_enable_map MixedMap latxfont.map
  344. %_tl_enable_map MixedMap symbols.map
  345. %_tl_enable_map MixedMap cmtext-bsr-interpolated.map
  346. %_tl_enable_map MixedMap mflogo.map
  347. %_tl_enable_map Map dummy-space.map
  348. %_tl_enable_map Map mathpple.map
  349. %_tl_touch_run fmtutil
  350. exit 0
  351. %postun
  352. if [ "$1" = 0 ]; then
  353. %_tl_touch_run texhash
  354. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  355. %_tl_disable_map cm.map
  356. %_tl_disable_map cmextra.map
  357. %_tl_disable_map cyrillic.map
  358. %_tl_disable_map euler.map
  359. %_tl_disable_map latxfont.map
  360. %_tl_disable_map symbols.map
  361. %_tl_disable_map cmtext-bsr-interpolated.map
  362. %_tl_disable_map mflogo.map
  363. %_tl_disable_map dummy-space.map
  364. %_tl_disable_map mathpple.map
  365. fi
  366. exit 0
  367. %posttrans
  368. %{_tl_exec_texhash}
  369. %{_tl_exec_mtxrun}
  370. %{_tl_exec_updmap}
  371. %{_tl_exec_fmtutil}
  372. exit 0
  373. %files -f filelist.full
  374. %defattr(-,root,root,-)
  375. %files -f filelist.doc doc
  376. %defattr(-,root,root,-)
  377. %changelog
  378. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  379. - synced tlnet to 20141028
  380. * Sun Jul 6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  381. - synced tlnet to 20140706
  382. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  383. - synced tlnet to 20140524