texlive-collection-science-vl.spec 18 KB

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