texlive-collection-science-vl.spec 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-2:
  3. ## tlpdb2rpmspec collection-science
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Natural and computer sciences
  8. Summary(ja): TeX Live: Natural and computer sciences
  9. Name: texlive-collection-science
  10. Version: 2014
  11. Release: 2%{?_dist_release}
  12. License: LPPL, LPPL 1.3, LGPLv2+, GPL+, Public Domain, Freely redistributable without restriction, LPPL 1.2
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: SIstyle.doc.tar.xz
  16. Source1: SIstyle.source.tar.xz
  17. Source2: SIstyle.tar.xz
  18. Source3: SIunits.doc.tar.xz
  19. Source4: SIunits.source.tar.xz
  20. Source5: SIunits.tar.xz
  21. Source6: alg.doc.tar.xz
  22. Source7: alg.source.tar.xz
  23. Source8: alg.tar.xz
  24. Source9: algorithm2e.doc.tar.xz
  25. Source10: algorithm2e.tar.xz
  26. Source11: algorithmicx.doc.tar.xz
  27. Source12: algorithmicx.tar.xz
  28. Source13: algorithms.doc.tar.xz
  29. Source14: algorithms.source.tar.xz
  30. Source15: algorithms.tar.xz
  31. Source16: biocon.doc.tar.xz
  32. Source17: biocon.tar.xz
  33. Source18: bohr.doc.tar.xz
  34. Source19: bohr.tar.xz
  35. Source20: bpchem.doc.tar.xz
  36. Source21: bpchem.source.tar.xz
  37. Source22: bpchem.tar.xz
  38. Source23: bytefield.doc.tar.xz
  39. Source24: bytefield.source.tar.xz
  40. Source25: bytefield.tar.xz
  41. Source26: chemarrow.doc.tar.xz
  42. Source27: chemarrow.source.tar.xz
  43. Source28: chemarrow.tar.xz
  44. Source29: chemcompounds.doc.tar.xz
  45. Source30: chemcompounds.source.tar.xz
  46. Source31: chemcompounds.tar.xz
  47. Source32: chemcono.doc.tar.xz
  48. Source33: chemcono.tar.xz
  49. Source34: chemexec.doc.tar.xz
  50. Source35: chemexec.tar.xz
  51. Source36: chemmacros.doc.tar.xz
  52. Source37: chemmacros.tar.xz
  53. Source38: chemnum.doc.tar.xz
  54. Source39: chemnum.tar.xz
  55. Source40: chemstyle.doc.tar.xz
  56. Source41: chemstyle.source.tar.xz
  57. Source42: chemstyle.tar.xz
  58. Source43: clrscode.doc.tar.xz
  59. Source44: clrscode.tar.xz
  60. Source45: complexity.doc.tar.xz
  61. Source46: complexity.tar.xz
  62. Source47: computational-complexity.doc.tar.xz
  63. Source48: computational-complexity.source.tar.xz
  64. Source49: computational-complexity.tar.xz
  65. Source50: digiconfigs.doc.tar.xz
  66. Source51: digiconfigs.tar.xz
  67. Source52: drawstack.doc.tar.xz
  68. Source53: drawstack.tar.xz
  69. Source54: dyntree.doc.tar.xz
  70. Source55: dyntree.source.tar.xz
  71. Source56: dyntree.tar.xz
  72. Source57: eltex.doc.tar.xz
  73. Source58: eltex.tar.xz
  74. Source59: endiagram.doc.tar.xz
  75. Source60: endiagram.tar.xz
  76. Source61: engtlc.doc.tar.xz
  77. Source62: engtlc.tar.xz
  78. Source63: fouridx.doc.tar.xz
  79. Source64: fouridx.source.tar.xz
  80. Source65: fouridx.tar.xz
  81. Source66: functan.doc.tar.xz
  82. Source67: functan.source.tar.xz
  83. Source68: functan.tar.xz
  84. Source69: galois.doc.tar.xz
  85. Source70: galois.source.tar.xz
  86. Source71: galois.tar.xz
  87. Source72: gastex.doc.tar.xz
  88. Source73: gastex.tar.xz
  89. Source74: gene-logic.doc.tar.xz
  90. Source75: gene-logic.tar.xz
  91. Source76: gu.doc.tar.xz
  92. Source77: gu.tar.xz
  93. Source78: hep.doc.tar.xz
  94. Source79: hep.tar.xz
  95. Source80: hepnames.doc.tar.xz
  96. Source81: hepnames.tar.xz
  97. Source82: hepparticles.doc.tar.xz
  98. Source83: hepparticles.tar.xz
  99. Source84: hepthesis.doc.tar.xz
  100. Source85: hepthesis.tar.xz
  101. Source86: hepunits.doc.tar.xz
  102. Source87: hepunits.tar.xz
  103. Source88: karnaugh.doc.tar.xz
  104. Source89: karnaugh.tar.xz
  105. Source90: matlab-prettifier.doc.tar.xz
  106. Source91: matlab-prettifier.source.tar.xz
  107. Source92: matlab-prettifier.tar.xz
  108. Source93: mhchem.doc.tar.xz
  109. Source94: mhchem.tar.xz
  110. Source95: miller.doc.tar.xz
  111. Source96: miller.source.tar.xz
  112. Source97: miller.tar.xz
  113. Source98: mychemistry.doc.tar.xz
  114. Source99: mychemistry.tar.xz
  115. Source100: nuc.doc.tar.xz
  116. Source101: nuc.tar.xz
  117. Source102: objectz.doc.tar.xz
  118. Source103: objectz.source.tar.xz
  119. Source104: objectz.tar.xz
  120. Source105: physics.doc.tar.xz
  121. Source106: physics.tar.xz
  122. Source107: physymb.doc.tar.xz
  123. Source108: physymb.source.tar.xz
  124. Source109: physymb.tar.xz
  125. Source110: pseudocode.doc.tar.xz
  126. Source111: pseudocode.tar.xz
  127. Source112: sasnrdisplay.doc.tar.xz
  128. Source113: sasnrdisplay.tar.xz
  129. Source114: sciposter.doc.tar.xz
  130. Source115: sciposter.tar.xz
  131. Source116: sfg.doc.tar.xz
  132. Source117: sfg.tar.xz
  133. Source118: siunitx.doc.tar.xz
  134. Source119: siunitx.source.tar.xz
  135. Source120: siunitx.tar.xz
  136. Source121: steinmetz.doc.tar.xz
  137. Source122: steinmetz.source.tar.xz
  138. Source123: steinmetz.tar.xz
  139. Source124: struktex.doc.tar.xz
  140. Source125: struktex.source.tar.xz
  141. Source126: struktex.tar.xz
  142. Source127: substances.doc.tar.xz
  143. Source128: substances.tar.xz
  144. Source129: t-angles.doc.tar.xz
  145. Source130: t-angles.tar.xz
  146. Source131: textopo.doc.tar.xz
  147. Source132: textopo.source.tar.xz
  148. Source133: textopo.tar.xz
  149. Source134: ulqda.doc.tar.xz
  150. Source135: ulqda.source.tar.xz
  151. Source136: ulqda.tar.xz
  152. Source137: unitsdef.doc.tar.xz
  153. Source138: unitsdef.source.tar.xz
  154. Source139: unitsdef.tar.xz
  155. Source140: xymtex.doc.tar.xz
  156. Source141: xymtex.source.tar.xz
  157. Source142: xymtex.tar.xz
  158. Source143: youngtab.doc.tar.xz
  159. Source144: youngtab.source.tar.xz
  160. Source145: youngtab.tar.xz
  161. Requires: texlive = %{version}
  162. Requires: texlive-collection-latex = %{version}
  163. Requires(post): texlive = %{version}
  164. Requires(postun): texlive = %{version}
  165. BuildArch: noarch
  166. Buildroot: %{_tmppath}/%{name}-%{version}-root
  167. Vendor: Project Vine
  168. Distribution: Vine Linux
  169. Packager: munepi
  170. %description
  171. The TeX Live software distribution offers a complete TeX system for a
  172. variety of Unix, Macintosh, Windows and other platforms. It
  173. encompasses programs for editing, typesetting, previewing and printing
  174. of TeX documents in many different languages, and a large collection
  175. of TeX macros and font libraries.
  176. The distribution includes extensive general documentation about TeX,
  177. as well as the documentation for the included software packages.
  178. This package is a collection of Natural and computer sciences:
  179. This package contains the following CTAN packages:
  180. SIstyle: Package to typeset SI units, numbers and angles.
  181. SIunits: International System of Units.
  182. alg: LaTeX environments for typesetting algorithms.
  183. algorithm2e: Floating algorithm environment with algorithmic keywords.
  184. algorithmicx: The algorithmic style you always wanted.
  185. algorithms: A suite of tools for typesetting algorithms in pseudo-code.
  186. biocon: Typesetting biological species names
  187. bohr: Simple atom representation according to the Bohr model.
  188. bpchem: Typeset chemical names, formulae, etc.
  189. bytefield: Create illustrations for network protocol specifications.
  190. chemarrow: Arrows for use in chemistry.
  191. chemcompounds: Simple consecutive numbering of chemical compounds.
  192. chemcono: Support for compound numbers in chemistry documents.
  193. chemexec: Creating (chemical) exercise sheets.
  194. chemmacros: A collection of macros to support typesetting chemistry documents.
  195. chemnum: A method of numbering chemical compounds.
  196. chemstyle: Writing chemistry with style.
  197. clrscode: Typesets pseudocode as in Introduction to Algorithms.
  198. complexity: Computational complexity class names.
  199. computational-complexity: Class for the journal Computational Complexity.
  200. digiconfigs: Writing "configurations"
  201. drawstack: Draw execution stacks.
  202. dyntree: Construct Dynkin tree diagrams.
  203. eltex: Simple circuit diagrams in LaTeX picture mode.
  204. endiagram: Easy creation of potential energy curve diagrams.
  205. engtlc: Support for users in Telecommunications Engineering.
  206. fouridx: Left sub- and superscripts in maths mode.
  207. functan: Macros for functional analysis and PDE theory
  208. galois: Typeset Galois connections.
  209. gastex: Graphs and Automata Simplified in TeX.
  210. gene-logic: Typeset logic formulae, etc.
  211. gu: Typeset crystallographic group-subgroup-schemes.
  212. hep: A "convenience wrapper" for High Energy Physics packages.
  213. hepnames: Pre-defined high energy particle names.
  214. hepparticles: Macros for typesetting high energy physics particle names.
  215. hepthesis: A class for academic reports, especially PhD theses.
  216. hepunits: A set of units useful in high energy physics applications.
  217. karnaugh: Typeset Karnaugh-Veitch-maps.
  218. matlab-prettifier: Pretty-print Matlab source code.
  219. mhchem: Typeset chemical formulae/equations and Risk and Safety phrases.
  220. miller: Typeset miller indices.
  221. mychemistry: Create reaction schemes with LaTeX and ChemFig.
  222. nuc: Notation for nuclear isotopes.
  223. objectz: Macros for typesetting Object Z.
  224. physics: Macros supporting the Mathematics of Physics.
  225. physymb: Assorted macros for Physicists.
  226. pseudocode: LaTeX environment for specifying algorithms in a natural way.
  227. sasnrdisplay: Typeset SAS or R code or output.
  228. sciposter: Make posters of ISO A3 size and larger.
  229. sfg: Draw signal flow graphs.
  230. siunitx: A comprehensive (SI) units package.
  231. steinmetz: Print Steinmetz notation.
  232. struktex: Draw Nassi-Schneidermann charts
  233. substances: A database of chemicals.
  234. t-angles: Draw tangles, trees, Hopf algebra operations and other pictures.
  235. textopo: Annotated membrane protein topology plots.
  236. ulqda: Support of Qualitative Data Analysis.
  237. unitsdef: Typesetting units in LaTeX.
  238. xymtex: Typesetting chemical structures.
  239. youngtab: Typeset Young-Tableaux.
  240. %description -l ja
  241. TeX Live ソフトウェアディストリビューションは、
  242. さまざまな Unix, Macintosh, Windows、および
  243. 他のプラットホームに対して完全な TeX システムを提供します。
  244. 多くの異なった言語を含む TeX ドキュメントの
  245. 編集、組版、閲覧、印刷するためのプログラム、
  246. そして、TeX マクロやフォントライブラリの大きなコレクションを
  247. 同梱しています。
  248. このディストリビューションは
  249. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  250. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  251. このパッケージは以下のようなパッケージ集です。
  252. Natural and computer sciences:
  253. このパッケージは以下の CTAN パッケージを含んでいます:
  254. SIstyle: Package to typeset SI units, numbers and angles.
  255. SIunits: International System of Units.
  256. alg: LaTeX environments for typesetting algorithms.
  257. algorithm2e: Floating algorithm environment with algorithmic keywords.
  258. algorithmicx: The algorithmic style you always wanted.
  259. algorithms: A suite of tools for typesetting algorithms in pseudo-code.
  260. biocon: Typesetting biological species names
  261. bohr: Simple atom representation according to the Bohr model.
  262. bpchem: Typeset chemical names, formulae, etc.
  263. bytefield: Create illustrations for network protocol specifications.
  264. chemarrow: Arrows for use in chemistry.
  265. chemcompounds: Simple consecutive numbering of chemical compounds.
  266. chemcono: Support for compound numbers in chemistry documents.
  267. chemexec: Creating (chemical) exercise sheets.
  268. chemmacros: A collection of macros to support typesetting chemistry documents.
  269. chemnum: A method of numbering chemical compounds.
  270. chemstyle: Writing chemistry with style.
  271. clrscode: Typesets pseudocode as in Introduction to Algorithms.
  272. complexity: Computational complexity class names.
  273. computational-complexity: Class for the journal Computational Complexity.
  274. digiconfigs: Writing "configurations"
  275. drawstack: Draw execution stacks.
  276. dyntree: Construct Dynkin tree diagrams.
  277. eltex: Simple circuit diagrams in LaTeX picture mode.
  278. endiagram: Easy creation of potential energy curve diagrams.
  279. engtlc: Support for users in Telecommunications Engineering.
  280. fouridx: Left sub- and superscripts in maths mode.
  281. functan: Macros for functional analysis and PDE theory
  282. galois: Typeset Galois connections.
  283. gastex: Graphs and Automata Simplified in TeX.
  284. gene-logic: Typeset logic formulae, etc.
  285. gu: Typeset crystallographic group-subgroup-schemes.
  286. hep: A "convenience wrapper" for High Energy Physics packages.
  287. hepnames: Pre-defined high energy particle names.
  288. hepparticles: Macros for typesetting high energy physics particle names.
  289. hepthesis: A class for academic reports, especially PhD theses.
  290. hepunits: A set of units useful in high energy physics applications.
  291. karnaugh: Typeset Karnaugh-Veitch-maps.
  292. matlab-prettifier: Pretty-print Matlab source code.
  293. mhchem: Typeset chemical formulae/equations and Risk and Safety phrases.
  294. miller: Typeset miller indices.
  295. mychemistry: Create reaction schemes with LaTeX and ChemFig.
  296. nuc: Notation for nuclear isotopes.
  297. objectz: Macros for typesetting Object Z.
  298. physics: Macros supporting the Mathematics of Physics.
  299. physymb: Assorted macros for Physicists.
  300. pseudocode: LaTeX environment for specifying algorithms in a natural way.
  301. sasnrdisplay: Typeset SAS or R code or output.
  302. sciposter: Make posters of ISO A3 size and larger.
  303. sfg: Draw signal flow graphs.
  304. siunitx: A comprehensive (SI) units package.
  305. steinmetz: Print Steinmetz notation.
  306. struktex: Draw Nassi-Schneidermann charts
  307. substances: A database of chemicals.
  308. t-angles: Draw tangles, trees, Hopf algebra operations and other pictures.
  309. textopo: Annotated membrane protein topology plots.
  310. ulqda: Support of Qualitative Data Analysis.
  311. unitsdef: Typesetting units in LaTeX.
  312. xymtex: Typesetting chemical structures.
  313. youngtab: Typeset Young-Tableaux.
  314. %package doc
  315. Summary: TeX Live: Documentation files of %{name}
  316. Group: Applications/Publishing
  317. Requires: %{name} = %{version}-%{release}
  318. %description doc
  319. This package contains documentation files of %{name}.
  320. %prep
  321. %setup -c -n %{name}-%{version}
  322. %__tar -xvf %{SOURCE1}
  323. %__tar -xvf %{SOURCE2}
  324. %__tar -xvf %{SOURCE3}
  325. %__tar -xvf %{SOURCE4}
  326. %__tar -xvf %{SOURCE5}
  327. %__tar -xvf %{SOURCE6}
  328. %__tar -xvf %{SOURCE7}
  329. %__tar -xvf %{SOURCE8}
  330. %__tar -xvf %{SOURCE9}
  331. %__tar -xvf %{SOURCE10}
  332. %__tar -xvf %{SOURCE11}
  333. %__tar -xvf %{SOURCE12}
  334. %__tar -xvf %{SOURCE13}
  335. %__tar -xvf %{SOURCE14}
  336. %__tar -xvf %{SOURCE15}
  337. %__tar -xvf %{SOURCE16}
  338. %__tar -xvf %{SOURCE17}
  339. %__tar -xvf %{SOURCE18}
  340. %__tar -xvf %{SOURCE19}
  341. %__tar -xvf %{SOURCE20}
  342. %__tar -xvf %{SOURCE21}
  343. %__tar -xvf %{SOURCE22}
  344. %__tar -xvf %{SOURCE23}
  345. %__tar -xvf %{SOURCE24}
  346. %__tar -xvf %{SOURCE25}
  347. %__tar -xvf %{SOURCE26}
  348. %__tar -xvf %{SOURCE27}
  349. %__tar -xvf %{SOURCE28}
  350. %__tar -xvf %{SOURCE29}
  351. %__tar -xvf %{SOURCE30}
  352. %__tar -xvf %{SOURCE31}
  353. %__tar -xvf %{SOURCE32}
  354. %__tar -xvf %{SOURCE33}
  355. %__tar -xvf %{SOURCE34}
  356. %__tar -xvf %{SOURCE35}
  357. %__tar -xvf %{SOURCE36}
  358. %__tar -xvf %{SOURCE37}
  359. %__tar -xvf %{SOURCE38}
  360. %__tar -xvf %{SOURCE39}
  361. %__tar -xvf %{SOURCE40}
  362. %__tar -xvf %{SOURCE41}
  363. %__tar -xvf %{SOURCE42}
  364. %__tar -xvf %{SOURCE43}
  365. %__tar -xvf %{SOURCE44}
  366. %__tar -xvf %{SOURCE45}
  367. %__tar -xvf %{SOURCE46}
  368. %__tar -xvf %{SOURCE47}
  369. %__tar -xvf %{SOURCE48}
  370. %__tar -xvf %{SOURCE49}
  371. %__tar -xvf %{SOURCE50}
  372. %__tar -xvf %{SOURCE51}
  373. %__tar -xvf %{SOURCE52}
  374. %__tar -xvf %{SOURCE53}
  375. %__tar -xvf %{SOURCE54}
  376. %__tar -xvf %{SOURCE55}
  377. %__tar -xvf %{SOURCE56}
  378. %__tar -xvf %{SOURCE57}
  379. %__tar -xvf %{SOURCE58}
  380. %__tar -xvf %{SOURCE59}
  381. %__tar -xvf %{SOURCE60}
  382. %__tar -xvf %{SOURCE61}
  383. %__tar -xvf %{SOURCE62}
  384. %__tar -xvf %{SOURCE63}
  385. %__tar -xvf %{SOURCE64}
  386. %__tar -xvf %{SOURCE65}
  387. %__tar -xvf %{SOURCE66}
  388. %__tar -xvf %{SOURCE67}
  389. %__tar -xvf %{SOURCE68}
  390. %__tar -xvf %{SOURCE69}
  391. %__tar -xvf %{SOURCE70}
  392. %__tar -xvf %{SOURCE71}
  393. %__tar -xvf %{SOURCE72}
  394. %__tar -xvf %{SOURCE73}
  395. %__tar -xvf %{SOURCE74}
  396. %__tar -xvf %{SOURCE75}
  397. %__tar -xvf %{SOURCE76}
  398. %__tar -xvf %{SOURCE77}
  399. %__tar -xvf %{SOURCE78}
  400. %__tar -xvf %{SOURCE79}
  401. %__tar -xvf %{SOURCE80}
  402. %__tar -xvf %{SOURCE81}
  403. %__tar -xvf %{SOURCE82}
  404. %__tar -xvf %{SOURCE83}
  405. %__tar -xvf %{SOURCE84}
  406. %__tar -xvf %{SOURCE85}
  407. %__tar -xvf %{SOURCE86}
  408. %__tar -xvf %{SOURCE87}
  409. %__tar -xvf %{SOURCE88}
  410. %__tar -xvf %{SOURCE89}
  411. %__tar -xvf %{SOURCE90}
  412. %__tar -xvf %{SOURCE91}
  413. %__tar -xvf %{SOURCE92}
  414. %__tar -xvf %{SOURCE93}
  415. %__tar -xvf %{SOURCE94}
  416. %__tar -xvf %{SOURCE95}
  417. %__tar -xvf %{SOURCE96}
  418. %__tar -xvf %{SOURCE97}
  419. %__tar -xvf %{SOURCE98}
  420. %__tar -xvf %{SOURCE99}
  421. %__tar -xvf %{SOURCE100}
  422. %__tar -xvf %{SOURCE101}
  423. %__tar -xvf %{SOURCE102}
  424. %__tar -xvf %{SOURCE103}
  425. %__tar -xvf %{SOURCE104}
  426. %__tar -xvf %{SOURCE105}
  427. %__tar -xvf %{SOURCE106}
  428. %__tar -xvf %{SOURCE107}
  429. %__tar -xvf %{SOURCE108}
  430. %__tar -xvf %{SOURCE109}
  431. %__tar -xvf %{SOURCE110}
  432. %__tar -xvf %{SOURCE111}
  433. %__tar -xvf %{SOURCE112}
  434. %__tar -xvf %{SOURCE113}
  435. %__tar -xvf %{SOURCE114}
  436. %__tar -xvf %{SOURCE115}
  437. %__tar -xvf %{SOURCE116}
  438. %__tar -xvf %{SOURCE117}
  439. %__tar -xvf %{SOURCE118}
  440. %__tar -xvf %{SOURCE119}
  441. %__tar -xvf %{SOURCE120}
  442. %__tar -xvf %{SOURCE121}
  443. %__tar -xvf %{SOURCE122}
  444. %__tar -xvf %{SOURCE123}
  445. %__tar -xvf %{SOURCE124}
  446. %__tar -xvf %{SOURCE125}
  447. %__tar -xvf %{SOURCE126}
  448. %__tar -xvf %{SOURCE127}
  449. %__tar -xvf %{SOURCE128}
  450. %__tar -xvf %{SOURCE129}
  451. %__tar -xvf %{SOURCE130}
  452. %__tar -xvf %{SOURCE131}
  453. %__tar -xvf %{SOURCE132}
  454. %__tar -xvf %{SOURCE133}
  455. %__tar -xvf %{SOURCE134}
  456. %__tar -xvf %{SOURCE135}
  457. %__tar -xvf %{SOURCE136}
  458. %__tar -xvf %{SOURCE137}
  459. %__tar -xvf %{SOURCE138}
  460. %__tar -xvf %{SOURCE139}
  461. %__tar -xvf %{SOURCE140}
  462. %__tar -xvf %{SOURCE141}
  463. %__tar -xvf %{SOURCE142}
  464. %__tar -xvf %{SOURCE143}
  465. %__tar -xvf %{SOURCE144}
  466. %__tar -xvf %{SOURCE145}
  467. %build
  468. %install
  469. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  470. %__mkdir_p %{buildroot}%{_datadir}
  471. ## move texmf-dist to /usr/share/texmf-dist
  472. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  473. ## move texmf to /usr/share/texmf
  474. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  475. ## move tlpkg to /usr/share/tlpkg
  476. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  477. ## move all non-arch binaries to /usr/bin
  478. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  479. ## move others into /usr/share/texmf-dist
  480. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  481. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  482. %__rm -rf * ||:
  483. ## remove duplicated files between texlive and texlive-collection-*
  484. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  485. ## remove unpacked files
  486. x=(
  487. scripts/texlive/fmtutil.sh
  488. texconfig/tcfmgr
  489. web2c/texmf.cnf
  490. web2c/updmap-hdr.cfg
  491. web2c/updmap.cfg
  492. install-tl
  493. )
  494. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  495. pushd %{buildroot}%{_tl_texmfdist}
  496. %__rm -f ${x[@]} ||:
  497. popd
  498. fi
  499. ## Files list
  500. find %{buildroot} -type f -or -type l | \
  501. %__sed -e "s|%{buildroot}||g" > filelist.full
  502. find %{buildroot}%{_tl_texmfdist} -type d | \
  503. %__sed -e "s|^%{buildroot}|%dir |" \
  504. -e "s|$|/|" >> filelist.full
  505. ## subpackages
  506. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  507. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  508. %__mv -f filelist.tmp filelist.full
  509. %clean
  510. %__rm -rf %{buildroot}
  511. %post
  512. %_tl_touch_run texhash
  513. %_tl_touch_run mtxrun
  514. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  515. %_tl_enable_map Map chemarrow.map
  516. exit 0
  517. %postun
  518. if [ "$1" = 0 ]; then
  519. %_tl_touch_run texhash
  520. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  521. %_tl_disable_map chemarrow.map
  522. fi
  523. exit 0
  524. %posttrans
  525. %{_tl_exec_texhash}
  526. %{_tl_exec_mtxrun}
  527. %{_tl_exec_updmap}
  528. %{_tl_exec_fmtutil}
  529. exit 0
  530. %files -f filelist.full
  531. %defattr(-,root,root,-)
  532. %files -f filelist.doc doc
  533. %defattr(-,root,root,-)
  534. %changelog
  535. * Sun Jul 6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  536. - synced tlnet to 20140706
  537. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  538. - synced tlnet to 20140524