texlive-collection-science-vl.spec 19 KB

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