texlive-collection-langenglish-vl.spec 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1:
  3. ## tlpdb2rpmspec collection-langenglish
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: US and UK English
  8. Summary(ja): TeX Live: US and UK English
  9. Name: texlive-collection-langenglish
  10. Version: 2014
  11. Release: 1%{?_dist_release}
  12. License: Public Domain, LPPL, GFDL, LPPL 1.3, GPL+, Freely redistributable without restriction, Knuth, GPLv2+
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: hyphen-english.tar.xz
  16. Source1: FAQ-en.doc.tar.xz
  17. Source2: FAQ-en.tar.xz
  18. Source3: MemoirChapStyles.doc.tar.xz
  19. Source4: MemoirChapStyles.tar.xz
  20. Source5: Type1fonts.doc.tar.xz
  21. Source6: Type1fonts.tar.xz
  22. Source7: amslatex-primer.doc.tar.xz
  23. Source8: amslatex-primer.tar.xz
  24. Source9: around-the-bend.doc.tar.xz
  25. Source10: around-the-bend.tar.xz
  26. Source11: ascii-chart.doc.tar.xz
  27. Source12: ascii-chart.tar.xz
  28. Source13: components-of-TeX.doc.tar.xz
  29. Source14: components-of-TeX.tar.xz
  30. Source15: comprehensive.doc.tar.xz
  31. Source16: comprehensive.tar.xz
  32. Source17: dickimaw.doc.tar.xz
  33. Source18: dickimaw.tar.xz
  34. Source19: dtxtut.doc.tar.xz
  35. Source20: dtxtut.tar.xz
  36. Source21: first-latex-doc.doc.tar.xz
  37. Source22: first-latex-doc.tar.xz
  38. Source23: gentle.doc.tar.xz
  39. Source24: gentle.tar.xz
  40. Source25: guide-to-latex.doc.tar.xz
  41. Source26: guide-to-latex.tar.xz
  42. Source27: happy4th.doc.tar.xz
  43. Source28: happy4th.tar.xz
  44. Source29: impatient.doc.tar.xz
  45. Source30: impatient.tar.xz
  46. Source31: intro-scientific.doc.tar.xz
  47. Source32: intro-scientific.tar.xz
  48. Source33: knuth.doc.tar.xz
  49. Source34: knuth.source.tar.xz
  50. Source35: knuth.tar.xz
  51. Source36: l2tabu-english.doc.tar.xz
  52. Source37: l2tabu-english.tar.xz
  53. Source38: latex-brochure.doc.tar.xz
  54. Source39: latex-brochure.tar.xz
  55. Source40: latex-course.doc.tar.xz
  56. Source41: latex-course.tar.xz
  57. Source42: latex-doc-ptr.doc.tar.xz
  58. Source43: latex-doc-ptr.tar.xz
  59. Source44: latex-graphics-companion.doc.tar.xz
  60. Source45: latex-graphics-companion.tar.xz
  61. Source46: latex-veryshortguide.doc.tar.xz
  62. Source47: latex-veryshortguide.tar.xz
  63. Source48: latex-web-companion.doc.tar.xz
  64. Source49: latex-web-companion.tar.xz
  65. Source50: latex2e-help-texinfo.doc.tar.xz
  66. Source51: latex2e-help-texinfo.tar.xz
  67. Source52: latex4wp.doc.tar.xz
  68. Source53: latex4wp.tar.xz
  69. Source54: latexcheat.doc.tar.xz
  70. Source55: latexcheat.tar.xz
  71. Source56: latexfileinfo-pkgs.doc.tar.xz
  72. Source57: latexfileinfo-pkgs.source.tar.xz
  73. Source58: latexfileinfo-pkgs.tar.xz
  74. Source59: lshort-english.doc.tar.xz
  75. Source60: lshort-english.tar.xz
  76. Source61: macros2e.doc.tar.xz
  77. Source62: macros2e.tar.xz
  78. Source63: math-e.doc.tar.xz
  79. Source64: math-e.tar.xz
  80. Source65: memdesign.doc.tar.xz
  81. Source66: memdesign.tar.xz
  82. Source67: metafont-beginners.doc.tar.xz
  83. Source68: metafont-beginners.tar.xz
  84. Source69: metapost-examples.doc.tar.xz
  85. Source70: metapost-examples.tar.xz
  86. Source71: mil3.doc.tar.xz
  87. Source72: mil3.tar.xz
  88. Source73: patgen2-tutorial.doc.tar.xz
  89. Source74: patgen2-tutorial.tar.xz
  90. Source75: pictexsum.doc.tar.xz
  91. Source76: pictexsum.tar.xz
  92. Source77: plain-doc.doc.tar.xz
  93. Source78: plain-doc.tar.xz
  94. Source79: presentations-en.doc.tar.xz
  95. Source80: presentations-en.tar.xz
  96. Source81: pstricks-examples-en.doc.tar.xz
  97. Source82: pstricks-examples-en.tar.xz
  98. Source83: simplified-latex.doc.tar.xz
  99. Source84: simplified-latex.tar.xz
  100. Source85: svg-inkscape.doc.tar.xz
  101. Source86: svg-inkscape.tar.xz
  102. Source87: tabulars-e.doc.tar.xz
  103. Source88: tabulars-e.tar.xz
  104. Source89: tamethebeast.doc.tar.xz
  105. Source90: tamethebeast.tar.xz
  106. Source91: tds.doc.tar.xz
  107. Source92: tds.tar.xz
  108. Source93: tex-font-errors-cheatsheet.doc.tar.xz
  109. Source94: tex-font-errors-cheatsheet.tar.xz
  110. Source95: tex-overview.doc.tar.xz
  111. Source96: tex-overview.tar.xz
  112. Source97: tex-refs.doc.tar.xz
  113. Source98: tex-refs.tar.xz
  114. Source99: texbytopic.doc.tar.xz
  115. Source100: texbytopic.tar.xz
  116. Source101: titlepages.doc.tar.xz
  117. Source102: titlepages.tar.xz
  118. Source103: tlc2.doc.tar.xz
  119. Source104: tlc2.tar.xz
  120. Source105: visualfaq.doc.tar.xz
  121. Source106: visualfaq.tar.xz
  122. Source107: voss-mathmode.doc.tar.xz
  123. Source108: voss-mathmode.tar.xz
  124. Source109: webguide.doc.tar.xz
  125. Source110: webguide.tar.xz
  126. Source111: xetexref.doc.tar.xz
  127. Source112: xetexref.tar.xz
  128. Requires: texlive = %{version}
  129. Requires: texlive-collection-basic = %{version}
  130. Requires(post): texlive = %{version}
  131. Requires(postun): texlive = %{version}
  132. BuildArch: noarch
  133. Buildroot: %{_tmppath}/%{name}-%{version}-root
  134. Vendor: Project Vine
  135. Distribution: Vine Linux
  136. Packager: munepi
  137. %description
  138. The TeX Live software distribution offers a complete TeX system for a
  139. variety of Unix, Macintosh, Windows and other platforms. It
  140. encompasses programs for editing, typesetting, previewing and printing
  141. of TeX documents in many different languages, and a large collection
  142. of TeX macros and font libraries.
  143. The distribution includes extensive general documentation about TeX,
  144. as well as the documentation for the included software packages.
  145. This package is a collection of US and UK English:
  146. Support for (and documentation in) English.
  147. This package contains the following CTAN packages:
  148. hyphen-english: English hyphenation patterns.
  149. FAQ-en: A compilation of Frequently Asked Questions with answers.
  150. MemoirChapStyles: Chapter styles in memoir class.
  151. Type1fonts: Font installation guide.
  152. amslatex-primer: Getting up and running with AMS-LaTeX.
  153. around-the-bend: Typeset exercises in TeX, with answers.
  154. ascii-chart: An ASCII wall chart.
  155. components-of-TeX: Components of TeX.
  156. comprehensive: Symbols accessible from LaTeX.
  157. dickimaw: Books and tutorials from the "Dickimaw LaTeX Series".
  158. dtxtut: Tutorial on writing .dtx and .ins files
  159. first-latex-doc: A document for absolute LaTeX beginners.
  160. gentle: A Gentle Introduction to TeX.
  161. guide-to-latex:
  162. happy4th: A firework display in obfuscated TeX.
  163. impatient: Free edition of the book "TeX for the Impatient"
  164. intro-scientific: Introducing scientific/mathematical documents using LaTeX.
  165. knuth: Knuth's published errata.
  166. l2tabu-english: English translation of "Obsolete packages and commands".
  167. latex-brochure: A publicity flyer for LaTeX.
  168. latex-course: A LaTeX course as a projected presentation.
  169. latex-doc-ptr: A direction-finder for LaTeX documentation.
  170. latex-graphics-companion: Examples from The LaTeX Graphics Companion.
  171. latex-veryshortguide: The Very Short Guide to LaTeX.
  172. latex-web-companion: Examples from The LaTeX Web Companion.
  173. latex2e-help-texinfo: Unoffical reference manual covering LaTeX2e.
  174. latex4wp: A LaTeX guide specifically designed for word processor users.
  175. latexcheat: A LaTeX cheat sheet.
  176. latexfileinfo-pkgs: A comparison of packages showing LaTeX file information.
  177. lshort-english: A (Not So) Short Introduction to LaTeX2e.
  178. macros2e: A list of internal LaTeX2e macros.
  179. math-e: Examples from the book Typesetting Mathematics with LaTeX.
  180. memdesign: Notes on book design
  181. metafont-beginners: An introductory tutorial for Metafont.
  182. metapost-examples: Example drawings using MetaPost.
  183. mil3: Samples from Math into LaTeX, third edition.
  184. patgen2-tutorial: A tutorial on the use of Patgen 2.
  185. pictexsum: A summary of PicTeX commands.
  186. plain-doc: A list of plain.tex cs names.
  187. presentations-en: Examples from the book Presentations with LaTeX.
  188. pstricks-examples-en: Examples from PSTricks book (English edition).
  189. simplified-latex: A Simplified Introduction to LaTeX.
  190. svg-inkscape: How to include an SVG image in LaTeX using Inkscape.
  191. tabulars-e: Examples from the book "Typesetting tables with LaTeX".
  192. tamethebeast: A manual about bibliographies and especially BibTeX.
  193. tds: The TeX Directory Structure standard.
  194. tex-font-errors-cheatsheet: Cheat sheet outlining the most common TeX font errors.
  195. tex-overview: An overview of the development of TeX.
  196. tex-refs: References for TeX and Friends
  197. texbytopic: Freed version of the book TeX by Topic.
  198. titlepages: Sample titlepages, and how to code them.
  199. tlc2: Examples from "The LaTeX Companion", second edition.
  200. visualfaq: A Visual LaTeX FAQ.
  201. voss-mathmode: A comprehensive review of mathematics in (La)TeX.
  202. webguide: Brief Guide to LaTeX Tools for Web publishing.
  203. xetexref: Reference documentation of XeTeX.
  204. %description -l ja
  205. TeX Live ソフトウェアディストリビューションは、
  206. さまざまな Unix, Macintosh, Windows、および
  207. 他のプラットホームに対して完全な TeX システムを提供します。
  208. 多くの異なった言語を含む TeX ドキュメントの
  209. 編集、組版、閲覧、印刷するためのプログラム、
  210. そして、TeX マクロやフォントライブラリの大きなコレクションを
  211. 同梱しています。
  212. このディストリビューションは
  213. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  214. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  215. このパッケージは以下のようなパッケージ集です。
  216. US and UK English:
  217. Support for (and documentation in) English.
  218. このパッケージは以下の CTAN パッケージを含んでいます:
  219. hyphen-english: English hyphenation patterns.
  220. FAQ-en: A compilation of Frequently Asked Questions with answers.
  221. MemoirChapStyles: Chapter styles in memoir class.
  222. Type1fonts: Font installation guide.
  223. amslatex-primer: Getting up and running with AMS-LaTeX.
  224. around-the-bend: Typeset exercises in TeX, with answers.
  225. ascii-chart: An ASCII wall chart.
  226. components-of-TeX: Components of TeX.
  227. comprehensive: Symbols accessible from LaTeX.
  228. dickimaw: Books and tutorials from the "Dickimaw LaTeX Series".
  229. dtxtut: Tutorial on writing .dtx and .ins files
  230. first-latex-doc: A document for absolute LaTeX beginners.
  231. gentle: A Gentle Introduction to TeX.
  232. guide-to-latex:
  233. happy4th: A firework display in obfuscated TeX.
  234. impatient: Free edition of the book "TeX for the Impatient"
  235. intro-scientific: Introducing scientific/mathematical documents using LaTeX.
  236. knuth: Knuth's published errata.
  237. l2tabu-english: English translation of "Obsolete packages and commands".
  238. latex-brochure: A publicity flyer for LaTeX.
  239. latex-course: A LaTeX course as a projected presentation.
  240. latex-doc-ptr: A direction-finder for LaTeX documentation.
  241. latex-graphics-companion: Examples from The LaTeX Graphics Companion.
  242. latex-veryshortguide: The Very Short Guide to LaTeX.
  243. latex-web-companion: Examples from The LaTeX Web Companion.
  244. latex2e-help-texinfo: Unoffical reference manual covering LaTeX2e.
  245. latex4wp: A LaTeX guide specifically designed for word processor users.
  246. latexcheat: A LaTeX cheat sheet.
  247. latexfileinfo-pkgs: A comparison of packages showing LaTeX file information.
  248. lshort-english: A (Not So) Short Introduction to LaTeX2e.
  249. macros2e: A list of internal LaTeX2e macros.
  250. math-e: Examples from the book Typesetting Mathematics with LaTeX.
  251. memdesign: Notes on book design
  252. metafont-beginners: An introductory tutorial for Metafont.
  253. metapost-examples: Example drawings using MetaPost.
  254. mil3: Samples from Math into LaTeX, third edition.
  255. patgen2-tutorial: A tutorial on the use of Patgen 2.
  256. pictexsum: A summary of PicTeX commands.
  257. plain-doc: A list of plain.tex cs names.
  258. presentations-en: Examples from the book Presentations with LaTeX.
  259. pstricks-examples-en: Examples from PSTricks book (English edition).
  260. simplified-latex: A Simplified Introduction to LaTeX.
  261. svg-inkscape: How to include an SVG image in LaTeX using Inkscape.
  262. tabulars-e: Examples from the book "Typesetting tables with LaTeX".
  263. tamethebeast: A manual about bibliographies and especially BibTeX.
  264. tds: The TeX Directory Structure standard.
  265. tex-font-errors-cheatsheet: Cheat sheet outlining the most common TeX font errors.
  266. tex-overview: An overview of the development of TeX.
  267. tex-refs: References for TeX and Friends
  268. texbytopic: Freed version of the book TeX by Topic.
  269. titlepages: Sample titlepages, and how to code them.
  270. tlc2: Examples from "The LaTeX Companion", second edition.
  271. visualfaq: A Visual LaTeX FAQ.
  272. voss-mathmode: A comprehensive review of mathematics in (La)TeX.
  273. webguide: Brief Guide to LaTeX Tools for Web publishing.
  274. xetexref: Reference documentation of XeTeX.
  275. %package doc
  276. Summary: TeX Live: Documentation files of %{name}
  277. Group: Applications/Publishing
  278. Requires: %{name} = %{version}-%{release}
  279. %description doc
  280. This package contains documentation files of %{name}.
  281. %prep
  282. %setup -c -n %{name}-%{version}
  283. %__tar -xvf %{SOURCE1}
  284. %__tar -xvf %{SOURCE2}
  285. %__tar -xvf %{SOURCE3}
  286. %__tar -xvf %{SOURCE4}
  287. %__tar -xvf %{SOURCE5}
  288. %__tar -xvf %{SOURCE6}
  289. %__tar -xvf %{SOURCE7}
  290. %__tar -xvf %{SOURCE8}
  291. %__tar -xvf %{SOURCE9}
  292. %__tar -xvf %{SOURCE10}
  293. %__tar -xvf %{SOURCE11}
  294. %__tar -xvf %{SOURCE12}
  295. %__tar -xvf %{SOURCE13}
  296. %__tar -xvf %{SOURCE14}
  297. %__tar -xvf %{SOURCE15}
  298. %__tar -xvf %{SOURCE16}
  299. %__tar -xvf %{SOURCE17}
  300. %__tar -xvf %{SOURCE18}
  301. %__tar -xvf %{SOURCE19}
  302. %__tar -xvf %{SOURCE20}
  303. %__tar -xvf %{SOURCE21}
  304. %__tar -xvf %{SOURCE22}
  305. %__tar -xvf %{SOURCE23}
  306. %__tar -xvf %{SOURCE24}
  307. %__tar -xvf %{SOURCE25}
  308. %__tar -xvf %{SOURCE26}
  309. %__tar -xvf %{SOURCE27}
  310. %__tar -xvf %{SOURCE28}
  311. %__tar -xvf %{SOURCE29}
  312. %__tar -xvf %{SOURCE30}
  313. %__tar -xvf %{SOURCE31}
  314. %__tar -xvf %{SOURCE32}
  315. %__tar -xvf %{SOURCE33}
  316. %__tar -xvf %{SOURCE34}
  317. %__tar -xvf %{SOURCE35}
  318. %__tar -xvf %{SOURCE36}
  319. %__tar -xvf %{SOURCE37}
  320. %__tar -xvf %{SOURCE38}
  321. %__tar -xvf %{SOURCE39}
  322. %__tar -xvf %{SOURCE40}
  323. %__tar -xvf %{SOURCE41}
  324. %__tar -xvf %{SOURCE42}
  325. %__tar -xvf %{SOURCE43}
  326. %__tar -xvf %{SOURCE44}
  327. %__tar -xvf %{SOURCE45}
  328. %__tar -xvf %{SOURCE46}
  329. %__tar -xvf %{SOURCE47}
  330. %__tar -xvf %{SOURCE48}
  331. %__tar -xvf %{SOURCE49}
  332. %__tar -xvf %{SOURCE50}
  333. %__tar -xvf %{SOURCE51}
  334. %__tar -xvf %{SOURCE52}
  335. %__tar -xvf %{SOURCE53}
  336. %__tar -xvf %{SOURCE54}
  337. %__tar -xvf %{SOURCE55}
  338. %__tar -xvf %{SOURCE56}
  339. %__tar -xvf %{SOURCE57}
  340. %__tar -xvf %{SOURCE58}
  341. %__tar -xvf %{SOURCE59}
  342. %__tar -xvf %{SOURCE60}
  343. %__tar -xvf %{SOURCE61}
  344. %__tar -xvf %{SOURCE62}
  345. %__tar -xvf %{SOURCE63}
  346. %__tar -xvf %{SOURCE64}
  347. %__tar -xvf %{SOURCE65}
  348. %__tar -xvf %{SOURCE66}
  349. %__tar -xvf %{SOURCE67}
  350. %__tar -xvf %{SOURCE68}
  351. %__tar -xvf %{SOURCE69}
  352. %__tar -xvf %{SOURCE70}
  353. %__tar -xvf %{SOURCE71}
  354. %__tar -xvf %{SOURCE72}
  355. %__tar -xvf %{SOURCE73}
  356. %__tar -xvf %{SOURCE74}
  357. %__tar -xvf %{SOURCE75}
  358. %__tar -xvf %{SOURCE76}
  359. %__tar -xvf %{SOURCE77}
  360. %__tar -xvf %{SOURCE78}
  361. %__tar -xvf %{SOURCE79}
  362. %__tar -xvf %{SOURCE80}
  363. %__tar -xvf %{SOURCE81}
  364. %__tar -xvf %{SOURCE82}
  365. %__tar -xvf %{SOURCE83}
  366. %__tar -xvf %{SOURCE84}
  367. %__tar -xvf %{SOURCE85}
  368. %__tar -xvf %{SOURCE86}
  369. %__tar -xvf %{SOURCE87}
  370. %__tar -xvf %{SOURCE88}
  371. %__tar -xvf %{SOURCE89}
  372. %__tar -xvf %{SOURCE90}
  373. %__tar -xvf %{SOURCE91}
  374. %__tar -xvf %{SOURCE92}
  375. %__tar -xvf %{SOURCE93}
  376. %__tar -xvf %{SOURCE94}
  377. %__tar -xvf %{SOURCE95}
  378. %__tar -xvf %{SOURCE96}
  379. %__tar -xvf %{SOURCE97}
  380. %__tar -xvf %{SOURCE98}
  381. %__tar -xvf %{SOURCE99}
  382. %__tar -xvf %{SOURCE100}
  383. %__tar -xvf %{SOURCE101}
  384. %__tar -xvf %{SOURCE102}
  385. %__tar -xvf %{SOURCE103}
  386. %__tar -xvf %{SOURCE104}
  387. %__tar -xvf %{SOURCE105}
  388. %__tar -xvf %{SOURCE106}
  389. %__tar -xvf %{SOURCE107}
  390. %__tar -xvf %{SOURCE108}
  391. %__tar -xvf %{SOURCE109}
  392. %__tar -xvf %{SOURCE110}
  393. %__tar -xvf %{SOURCE111}
  394. %__tar -xvf %{SOURCE112}
  395. %build
  396. %install
  397. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  398. %__mkdir_p %{buildroot}%{_datadir}
  399. ## move texmf-dist to /usr/share/texmf-dist
  400. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  401. ## move texmf to /usr/share/texmf
  402. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  403. ## move tlpkg to /usr/share/tlpkg
  404. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  405. ## move all non-arch binaries to /usr/bin
  406. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  407. ## move others into /usr/share/texmf-dist
  408. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  409. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  410. %__rm -rf * ||:
  411. ## remove duplicated files between texlive and texlive-collection-*
  412. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  413. ## remove unpacked files
  414. x=(
  415. # scripts/texlive/tlmgr.pl
  416. # scripts/texlive/updmap.pl
  417. # scripts/fontools/autoinst
  418. # scripts/glossaries/makeglossaries
  419. # scripts/m-tx/m-tx.lua
  420. # scripts/musixtex/musixtex.lua
  421. # scripts/pmx/pmx2pdf.lua
  422. # scripts/latexmk/latexmk.pl
  423. # scripts/jfontmaps/kanji-config-updmap.pl
  424. # scripts/jfontmaps/kanji-fontmap-creator.pl
  425. # scripts/latexpand/latexpand
  426. # scripts/epstopdf/epstopdf.pl
  427. # scripts/convbkmk/convbkmk.rb
  428. # scripts/jfontmaps/kanji-config-updmap-sys.sh
  429. # scripts/luaotfload/luaotfload-tool.lua
  430. # texconfig/tcfmgr
  431. # texconfig/tcfmgr.map
  432. # web2c/fmtutil.cnf
  433. # web2c/mktex.opt
  434. # web2c/mktexdir
  435. # web2c/mktexdir.opt
  436. # web2c/mktexnam
  437. # web2c/mktexnam.opt
  438. # web2c/mktexupd
  439. # web2c/texmf.cnf
  440. # web2c/updmap.cfg
  441. # web2c/updmap-hdr.cfg
  442. # doc/chktex/ChkTeX.pdf
  443. install-tl
  444. )
  445. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  446. pushd %{buildroot}%{_tl_texmfdist}
  447. %__rm -f ${x[@]} ||:
  448. popd
  449. fi
  450. ## Files list
  451. find %{buildroot} -type f -or -type l | \
  452. %__sed -e "s|%{buildroot}||g" > filelist.full
  453. find %{buildroot}%{_tl_texmfdist} -type d | \
  454. %__sed -e "s|^%{buildroot}|%dir |" \
  455. -e "s|$|/|" >> filelist.full
  456. ## subpackages
  457. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  458. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  459. %__mv -f filelist.tmp filelist.full
  460. %clean
  461. %__rm -rf %{buildroot}
  462. %post
  463. %_tl_touch_run texhash
  464. %_tl_touch_run mtxrun
  465. %_tl_touch_run fmtutil
  466. exit 0
  467. %postun
  468. if [ "$1" = 0 ]; then
  469. %_tl_touch_run texhash
  470. fi
  471. exit 0
  472. %posttrans
  473. %{_tl_exec_texhash}
  474. %{_tl_exec_mtxrun}
  475. %{_tl_exec_updmap}
  476. %{_tl_exec_fmtutil}
  477. exit 0
  478. %files -f filelist.full
  479. %defattr(-,root,root,-)
  480. %files -f filelist.doc doc
  481. %defattr(-,root,root,-)
  482. %changelog
  483. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  484. - TLNET 20140524