texlive-collection-basic-vl.spec 14 KB

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