texlive-collection-basic-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-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: 2013
  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: 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. scripts/texlive/tlmgr.pl
  289. texconfig/tcfmgr
  290. texconfig/tcfmgr.map
  291. web2c/fmtutil.cnf
  292. web2c/mktex.opt
  293. web2c/mktexdir
  294. web2c/mktexdir.opt
  295. web2c/mktexnam
  296. web2c/mktexnam.opt
  297. web2c/mktexupd
  298. web2c/texmf.cnf
  299. web2c/updmap.cfg
  300. web2c/updmap-hdr.cfg
  301. doc/chktex/ChkTeX.pdf
  302. install-tl
  303. )
  304. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  305. pushd %{buildroot}%{_tl_texmfdist}
  306. %__rm -f ${x[@]} ||:
  307. popd
  308. fi
  309. ## Files list
  310. find %{buildroot} -type f -or -type l | \
  311. %__sed -e "s|%{buildroot}||g" > filelist.full
  312. find %{buildroot}%{_tl_texmfdist} -type d | \
  313. %__sed -e "s|^%{buildroot}|%dir |" \
  314. -e "s|$|/|" >> filelist.full
  315. ## subpackages
  316. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  317. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  318. %__mv -f filelist.tmp filelist.full
  319. %clean
  320. %__rm -rf %{buildroot}
  321. %post
  322. %_tl_touch_run texhash
  323. %_tl_touch_run mtxrun
  324. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  325. %_tl_enable_map MixedMap cm.map
  326. %_tl_enable_map MixedMap cmextra.map
  327. %_tl_enable_map MixedMap cyrillic.map
  328. %_tl_enable_map Map euler.map
  329. %_tl_enable_map MixedMap latxfont.map
  330. %_tl_enable_map MixedMap symbols.map
  331. %_tl_enable_map MixedMap cmtext-bsr-interpolated.map
  332. %_tl_enable_map MixedMap mflogo.map
  333. %_tl_enable_map Map mathpple.map
  334. %_tl_touch_run fmtutil
  335. exit 0
  336. %postun
  337. if [ "$1" = 0 ]; then
  338. %_tl_touch_run texhash
  339. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  340. %_tl_disable_map cm.map
  341. %_tl_disable_map cmextra.map
  342. %_tl_disable_map cyrillic.map
  343. %_tl_disable_map euler.map
  344. %_tl_disable_map latxfont.map
  345. %_tl_disable_map symbols.map
  346. %_tl_disable_map cmtext-bsr-interpolated.map
  347. %_tl_disable_map mflogo.map
  348. %_tl_disable_map mathpple.map
  349. fi
  350. exit 0
  351. %posttrans
  352. %{_tl_exec_texhash}
  353. %{_tl_exec_mtxrun}
  354. %{_tl_exec_updmap}
  355. %{_tl_exec_fmtutil}
  356. exit 0
  357. %files -f filelist.full
  358. %defattr(-,root,root,-)
  359. %files -f filelist.doc doc
  360. %defattr(-,root,root,-)
  361. %changelog
  362. * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  363. - TLNET 20131002
  364. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  365. - TLNET 20130919
  366. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  367. - generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-basic
  368. - TLNET 20130823