texlive-collection-mathextra-vl.spec 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-3:
  3. ## tlpdb2rpmspec collection-mathextra
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Mathematics packages
  8. Summary(ja): TeX Live: Mathematics packages
  9. Name: texlive-collection-mathextra
  10. Version: 2014
  11. Release: 3%{?_dist_release}
  12. License: LPPL, LPPL 1.3, GPL+, Knuth, GPLv3+, LGPLv2+, Freely redistributable without restriction, Public Domain, BSD, LPPL 1.2
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: 12many.doc.tar.xz
  16. Source1: 12many.source.tar.xz
  17. Source2: 12many.tar.xz
  18. Source3: amstex.doc.tar.xz
  19. Source4: amstex.tar.xz
  20. Source5: backnaur.doc.tar.xz
  21. Source6: backnaur.source.tar.xz
  22. Source7: backnaur.tar.xz
  23. Source8: begriff.doc.tar.xz
  24. Source9: begriff.tar.xz
  25. Source10: binomexp.doc.tar.xz
  26. Source11: binomexp.source.tar.xz
  27. Source12: binomexp.tar.xz
  28. Source13: boldtensors.doc.tar.xz
  29. Source14: boldtensors.tar.xz
  30. Source15: bosisio.doc.tar.xz
  31. Source16: bosisio.source.tar.xz
  32. Source17: bosisio.tar.xz
  33. Source18: bropd.doc.tar.xz
  34. Source19: bropd.source.tar.xz
  35. Source20: bropd.tar.xz
  36. Source21: ccfonts.doc.tar.xz
  37. Source22: ccfonts.source.tar.xz
  38. Source23: ccfonts.tar.xz
  39. Source24: commath.doc.tar.xz
  40. Source25: commath.tar.xz
  41. Source26: concmath.doc.tar.xz
  42. Source27: concmath.source.tar.xz
  43. Source28: concmath.tar.xz
  44. Source29: concrete.doc.tar.xz
  45. Source30: concrete.tar.xz
  46. Source31: conteq.doc.tar.xz
  47. Source32: conteq.source.tar.xz
  48. Source33: conteq.tar.xz
  49. Source34: eqnarray.doc.tar.xz
  50. Source35: eqnarray.source.tar.xz
  51. Source36: eqnarray.tar.xz
  52. Source37: extarrows.doc.tar.xz
  53. Source38: extarrows.tar.xz
  54. Source39: extpfeil.doc.tar.xz
  55. Source40: extpfeil.source.tar.xz
  56. Source41: extpfeil.tar.xz
  57. Source42: faktor.doc.tar.xz
  58. Source43: faktor.source.tar.xz
  59. Source44: faktor.tar.xz
  60. Source45: grundgesetze.doc.tar.xz
  61. Source46: grundgesetze.source.tar.xz
  62. Source47: grundgesetze.tar.xz
  63. Source48: interval.doc.tar.xz
  64. Source49: interval.tar.xz
  65. Source50: ionumbers.doc.tar.xz
  66. Source51: ionumbers.source.tar.xz
  67. Source52: ionumbers.tar.xz
  68. Source53: isomath.doc.tar.xz
  69. Source54: isomath.tar.xz
  70. Source55: logicproof.doc.tar.xz
  71. Source56: logicproof.source.tar.xz
  72. Source57: logicproof.tar.xz
  73. Source58: lpform.doc.tar.xz
  74. Source59: lpform.tar.xz
  75. Source60: lplfitch.doc.tar.xz
  76. Source61: lplfitch.source.tar.xz
  77. Source62: lplfitch.tar.xz
  78. Source63: mathcomp.doc.tar.xz
  79. Source64: mathcomp.source.tar.xz
  80. Source65: mathcomp.tar.xz
  81. Source66: mattens.doc.tar.xz
  82. Source67: mattens.source.tar.xz
  83. Source68: mattens.tar.xz
  84. Source69: mhequ.doc.tar.xz
  85. Source70: mhequ.tar.xz
  86. Source71: multiobjective.doc.tar.xz
  87. Source72: multiobjective.source.tar.xz
  88. Source73: multiobjective.tar.xz
  89. Source74: natded.doc.tar.xz
  90. Source75: natded.tar.xz
  91. Source76: nath.doc.tar.xz
  92. Source77: nath.tar.xz
  93. Source78: ot-tableau.doc.tar.xz
  94. Source79: ot-tableau.tar.xz
  95. Source80: oubraces.doc.tar.xz
  96. Source81: oubraces.tar.xz
  97. Source82: proba.doc.tar.xz
  98. Source83: proba.source.tar.xz
  99. Source84: proba.tar.xz
  100. Source85: rec-thy.doc.tar.xz
  101. Source86: rec-thy.tar.xz
  102. Source87: ribbonproofs.doc.tar.xz
  103. Source88: ribbonproofs.tar.xz
  104. Source89: shuffle.doc.tar.xz
  105. Source90: shuffle.source.tar.xz
  106. Source91: shuffle.tar.xz
  107. Source92: skmath.doc.tar.xz
  108. Source93: skmath.source.tar.xz
  109. Source94: skmath.tar.xz
  110. Source95: statex.doc.tar.xz
  111. Source96: statex.tar.xz
  112. Source97: statex2.doc.tar.xz
  113. Source98: statex2.tar.xz
  114. Source99: stmaryrd.doc.tar.xz
  115. Source100: stmaryrd.source.tar.xz
  116. Source101: stmaryrd.tar.xz
  117. Source102: subsupscripts.doc.tar.xz
  118. Source103: subsupscripts.tar.xz
  119. Source104: susy.doc.tar.xz
  120. Source105: susy.tar.xz
  121. Source106: syllogism.doc.tar.xz
  122. Source107: syllogism.tar.xz
  123. Source108: sympytexpackage.doc.tar.xz
  124. Source109: sympytexpackage.source.tar.xz
  125. Source110: sympytexpackage.tar.xz
  126. Source111: synproof.doc.tar.xz
  127. Source112: synproof.tar.xz
  128. Source113: tablor.doc.tar.xz
  129. Source114: tablor.tar.xz
  130. Source115: tensor.doc.tar.xz
  131. Source116: tensor.source.tar.xz
  132. Source117: tensor.tar.xz
  133. Source118: tex-ewd.doc.tar.xz
  134. Source119: tex-ewd.tar.xz
  135. Source120: thmbox.doc.tar.xz
  136. Source121: thmbox.source.tar.xz
  137. Source122: thmbox.tar.xz
  138. Source123: turnstile.doc.tar.xz
  139. Source124: turnstile.source.tar.xz
  140. Source125: turnstile.tar.xz
  141. Source126: unicode-math.doc.tar.xz
  142. Source127: unicode-math.source.tar.xz
  143. Source128: unicode-math.tar.xz
  144. Source129: venn.doc.tar.xz
  145. Source130: venn.tar.xz
  146. Source131: yhmath.doc.tar.xz
  147. Source132: yhmath.source.tar.xz
  148. Source133: yhmath.tar.xz
  149. Source134: ytableau.doc.tar.xz
  150. Source135: ytableau.source.tar.xz
  151. Source136: ytableau.tar.xz
  152. Requires: texlive = %{version}
  153. Requires: texlive-collection-fontsrecommended = %{version}
  154. Requires: texlive-collection-latex = %{version}
  155. Requires(post): texlive = %{version}
  156. Requires(postun): texlive = %{version}
  157. BuildArch: noarch
  158. Buildroot: %{_tmppath}/%{name}-%{version}-root
  159. Vendor: Project Vine
  160. Distribution: Vine Linux
  161. Packager: munepi
  162. %description
  163. The TeX Live software distribution offers a complete TeX system for a
  164. variety of Unix, Macintosh, Windows and other platforms. It
  165. encompasses programs for editing, typesetting, previewing and printing
  166. of TeX documents in many different languages, and a large collection
  167. of TeX macros and font libraries.
  168. The distribution includes extensive general documentation about TeX,
  169. as well as the documentation for the included software packages.
  170. This package is a collection of Mathematics packages:
  171. This package contains the following CTAN packages:
  172. 12many: Generalising mathematical index sets.
  173. amstex: American Mathematical Society plain TeX macros.
  174. backnaur: Typeset Backus Naur Form definitions.
  175. begriff: Typeset Begriffschrift.
  176. binomexp: Calculate Pascal's triangle.
  177. boldtensors: Bold latin and greek characters through simple prefix characters.
  178. bosisio: A collection of packages by Francesco Bosisio.
  179. bropd: Simplified brackets and differentials in LaTeX.
  180. ccfonts: Support for Concrete text and math fonts in LaTeX.
  181. commath: Mathematics typesetting support.
  182. concmath: Concrete Math fonts.
  183. concrete: Concrete Roman fonts.
  184. conteq: Typeset multiline continued equalities.
  185. eqnarray: More generalised equation arrays with numbering.
  186. extarrows: Extra Arrows beyond those provided in AMSmath
  187. extpfeil: Extensible arrows in mathematics.
  188. faktor: Typeset quotient structures with LaTeX.
  189. grundgesetze: Typeset Frege's Grundgesetze der Arithmetik
  190. interval: Format mathematical intervals, ensuring proper spacing.
  191. ionumbers: Restyle numbers in maths mode.
  192. isomath: Mathematics style for science and technology.
  193. logicproof: Box proofs for propositional and predicate logic.
  194. lpform: Typesetting linear programming formulations and sets of equations
  195. lplfitch: Fitch-style natural deduction proofs.
  196. mathcomp: Text symbols in maths mode.
  197. mattens: Matrices/tensor typesetting.
  198. mhequ: Multicolumn equations, tags, labels, sub-numbering.
  199. multiobjective: Symbols for multiobjective optimisation etc.
  200. natded: Typeset natural deduction proofs.
  201. nath: Natural mathematics notation.
  202. ot-tableau: Optimality Theory tableaux in LaTeX.
  203. oubraces: Braces over and under a formula.
  204. proba: Shortcuts commands to symbols used in probability texts.
  205. rec-thy: Commands to typeset recursion theory papers.
  206. ribbonproofs: Drawing ribbon proofs.
  207. shuffle: A symbol for the shuffle product.
  208. skmath: Extensions to the maths command repertoir.
  209. statex: Statistics style.
  210. statex2: Statistics style.
  211. stmaryrd: St Mary Road symbols for theoretical computer science.
  212. subsupscripts: A range of sub- and superscript commands.
  213. susy: Macros for SuperSymmetry-related work.
  214. syllogism: Typeset syllogisms in LaTeX.
  215. sympytexpackage:
  216. synproof: Easy drawing of syntactic proofs.
  217. tablor: Create tables of signs and of variations.
  218. tensor: Typeset tensors.
  219. tex-ewd: Macros to typeset calculational proofs and programs in Dijkstra's style.
  220. thmbox: Decorate theorem statements.
  221. turnstile: Typeset the (logic) turnstile notation.
  222. unicode-math: Unicode mathematics support for XeTeX and LuaTeX.
  223. venn: Creating Venn diagrams with MetaPost.
  224. yhmath: Extended maths fonts for LaTeX.
  225. ytableau: Many-featured Young tableaux and Young diagrams.
  226. %description -l ja
  227. TeX Live ソフトウェアディストリビューションは、
  228. さまざまな Unix, Macintosh, Windows、および
  229. 他のプラットホームに対して完全な TeX システムを提供します。
  230. 多くの異なった言語を含む TeX ドキュメントの
  231. 編集、組版、閲覧、印刷するためのプログラム、
  232. そして、TeX マクロやフォントライブラリの大きなコレクションを
  233. 同梱しています。
  234. このディストリビューションは
  235. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  236. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  237. このパッケージは以下のようなパッケージ集です。
  238. Mathematics packages:
  239. このパッケージは以下の CTAN パッケージを含んでいます:
  240. 12many: Generalising mathematical index sets.
  241. amstex: American Mathematical Society plain TeX macros.
  242. backnaur: Typeset Backus Naur Form definitions.
  243. begriff: Typeset Begriffschrift.
  244. binomexp: Calculate Pascal's triangle.
  245. boldtensors: Bold latin and greek characters through simple prefix characters.
  246. bosisio: A collection of packages by Francesco Bosisio.
  247. bropd: Simplified brackets and differentials in LaTeX.
  248. ccfonts: Support for Concrete text and math fonts in LaTeX.
  249. commath: Mathematics typesetting support.
  250. concmath: Concrete Math fonts.
  251. concrete: Concrete Roman fonts.
  252. conteq: Typeset multiline continued equalities.
  253. eqnarray: More generalised equation arrays with numbering.
  254. extarrows: Extra Arrows beyond those provided in AMSmath
  255. extpfeil: Extensible arrows in mathematics.
  256. faktor: Typeset quotient structures with LaTeX.
  257. grundgesetze: Typeset Frege's Grundgesetze der Arithmetik
  258. interval: Format mathematical intervals, ensuring proper spacing.
  259. ionumbers: Restyle numbers in maths mode.
  260. isomath: Mathematics style for science and technology.
  261. logicproof: Box proofs for propositional and predicate logic.
  262. lpform: Typesetting linear programming formulations and sets of equations
  263. lplfitch: Fitch-style natural deduction proofs.
  264. mathcomp: Text symbols in maths mode.
  265. mattens: Matrices/tensor typesetting.
  266. mhequ: Multicolumn equations, tags, labels, sub-numbering.
  267. multiobjective: Symbols for multiobjective optimisation etc.
  268. natded: Typeset natural deduction proofs.
  269. nath: Natural mathematics notation.
  270. ot-tableau: Optimality Theory tableaux in LaTeX.
  271. oubraces: Braces over and under a formula.
  272. proba: Shortcuts commands to symbols used in probability texts.
  273. rec-thy: Commands to typeset recursion theory papers.
  274. ribbonproofs: Drawing ribbon proofs.
  275. shuffle: A symbol for the shuffle product.
  276. skmath: Extensions to the maths command repertoir.
  277. statex: Statistics style.
  278. statex2: Statistics style.
  279. stmaryrd: St Mary Road symbols for theoretical computer science.
  280. subsupscripts: A range of sub- and superscript commands.
  281. susy: Macros for SuperSymmetry-related work.
  282. syllogism: Typeset syllogisms in LaTeX.
  283. sympytexpackage:
  284. synproof: Easy drawing of syntactic proofs.
  285. tablor: Create tables of signs and of variations.
  286. tensor: Typeset tensors.
  287. tex-ewd: Macros to typeset calculational proofs and programs in Dijkstra's style.
  288. thmbox: Decorate theorem statements.
  289. turnstile: Typeset the (logic) turnstile notation.
  290. unicode-math: Unicode mathematics support for XeTeX and LuaTeX.
  291. venn: Creating Venn diagrams with MetaPost.
  292. yhmath: Extended maths fonts for LaTeX.
  293. ytableau: Many-featured Young tableaux and Young diagrams.
  294. %package doc
  295. Summary: TeX Live: Documentation files of %{name}
  296. Group: Applications/Publishing
  297. Requires: %{name} = %{version}-%{release}
  298. %description doc
  299. This package contains documentation files of %{name}.
  300. %prep
  301. %setup -c -n %{name}-%{version}
  302. %__tar -xvf %{SOURCE1}
  303. %__tar -xvf %{SOURCE2}
  304. %__tar -xvf %{SOURCE3}
  305. %__tar -xvf %{SOURCE4}
  306. %__tar -xvf %{SOURCE5}
  307. %__tar -xvf %{SOURCE6}
  308. %__tar -xvf %{SOURCE7}
  309. %__tar -xvf %{SOURCE8}
  310. %__tar -xvf %{SOURCE9}
  311. %__tar -xvf %{SOURCE10}
  312. %__tar -xvf %{SOURCE11}
  313. %__tar -xvf %{SOURCE12}
  314. %__tar -xvf %{SOURCE13}
  315. %__tar -xvf %{SOURCE14}
  316. %__tar -xvf %{SOURCE15}
  317. %__tar -xvf %{SOURCE16}
  318. %__tar -xvf %{SOURCE17}
  319. %__tar -xvf %{SOURCE18}
  320. %__tar -xvf %{SOURCE19}
  321. %__tar -xvf %{SOURCE20}
  322. %__tar -xvf %{SOURCE21}
  323. %__tar -xvf %{SOURCE22}
  324. %__tar -xvf %{SOURCE23}
  325. %__tar -xvf %{SOURCE24}
  326. %__tar -xvf %{SOURCE25}
  327. %__tar -xvf %{SOURCE26}
  328. %__tar -xvf %{SOURCE27}
  329. %__tar -xvf %{SOURCE28}
  330. %__tar -xvf %{SOURCE29}
  331. %__tar -xvf %{SOURCE30}
  332. %__tar -xvf %{SOURCE31}
  333. %__tar -xvf %{SOURCE32}
  334. %__tar -xvf %{SOURCE33}
  335. %__tar -xvf %{SOURCE34}
  336. %__tar -xvf %{SOURCE35}
  337. %__tar -xvf %{SOURCE36}
  338. %__tar -xvf %{SOURCE37}
  339. %__tar -xvf %{SOURCE38}
  340. %__tar -xvf %{SOURCE39}
  341. %__tar -xvf %{SOURCE40}
  342. %__tar -xvf %{SOURCE41}
  343. %__tar -xvf %{SOURCE42}
  344. %__tar -xvf %{SOURCE43}
  345. %__tar -xvf %{SOURCE44}
  346. %__tar -xvf %{SOURCE45}
  347. %__tar -xvf %{SOURCE46}
  348. %__tar -xvf %{SOURCE47}
  349. %__tar -xvf %{SOURCE48}
  350. %__tar -xvf %{SOURCE49}
  351. %__tar -xvf %{SOURCE50}
  352. %__tar -xvf %{SOURCE51}
  353. %__tar -xvf %{SOURCE52}
  354. %__tar -xvf %{SOURCE53}
  355. %__tar -xvf %{SOURCE54}
  356. %__tar -xvf %{SOURCE55}
  357. %__tar -xvf %{SOURCE56}
  358. %__tar -xvf %{SOURCE57}
  359. %__tar -xvf %{SOURCE58}
  360. %__tar -xvf %{SOURCE59}
  361. %__tar -xvf %{SOURCE60}
  362. %__tar -xvf %{SOURCE61}
  363. %__tar -xvf %{SOURCE62}
  364. %__tar -xvf %{SOURCE63}
  365. %__tar -xvf %{SOURCE64}
  366. %__tar -xvf %{SOURCE65}
  367. %__tar -xvf %{SOURCE66}
  368. %__tar -xvf %{SOURCE67}
  369. %__tar -xvf %{SOURCE68}
  370. %__tar -xvf %{SOURCE69}
  371. %__tar -xvf %{SOURCE70}
  372. %__tar -xvf %{SOURCE71}
  373. %__tar -xvf %{SOURCE72}
  374. %__tar -xvf %{SOURCE73}
  375. %__tar -xvf %{SOURCE74}
  376. %__tar -xvf %{SOURCE75}
  377. %__tar -xvf %{SOURCE76}
  378. %__tar -xvf %{SOURCE77}
  379. %__tar -xvf %{SOURCE78}
  380. %__tar -xvf %{SOURCE79}
  381. %__tar -xvf %{SOURCE80}
  382. %__tar -xvf %{SOURCE81}
  383. %__tar -xvf %{SOURCE82}
  384. %__tar -xvf %{SOURCE83}
  385. %__tar -xvf %{SOURCE84}
  386. %__tar -xvf %{SOURCE85}
  387. %__tar -xvf %{SOURCE86}
  388. %__tar -xvf %{SOURCE87}
  389. %__tar -xvf %{SOURCE88}
  390. %__tar -xvf %{SOURCE89}
  391. %__tar -xvf %{SOURCE90}
  392. %__tar -xvf %{SOURCE91}
  393. %__tar -xvf %{SOURCE92}
  394. %__tar -xvf %{SOURCE93}
  395. %__tar -xvf %{SOURCE94}
  396. %__tar -xvf %{SOURCE95}
  397. %__tar -xvf %{SOURCE96}
  398. %__tar -xvf %{SOURCE97}
  399. %__tar -xvf %{SOURCE98}
  400. %__tar -xvf %{SOURCE99}
  401. %__tar -xvf %{SOURCE100}
  402. %__tar -xvf %{SOURCE101}
  403. %__tar -xvf %{SOURCE102}
  404. %__tar -xvf %{SOURCE103}
  405. %__tar -xvf %{SOURCE104}
  406. %__tar -xvf %{SOURCE105}
  407. %__tar -xvf %{SOURCE106}
  408. %__tar -xvf %{SOURCE107}
  409. %__tar -xvf %{SOURCE108}
  410. %__tar -xvf %{SOURCE109}
  411. %__tar -xvf %{SOURCE110}
  412. %__tar -xvf %{SOURCE111}
  413. %__tar -xvf %{SOURCE112}
  414. %__tar -xvf %{SOURCE113}
  415. %__tar -xvf %{SOURCE114}
  416. %__tar -xvf %{SOURCE115}
  417. %__tar -xvf %{SOURCE116}
  418. %__tar -xvf %{SOURCE117}
  419. %__tar -xvf %{SOURCE118}
  420. %__tar -xvf %{SOURCE119}
  421. %__tar -xvf %{SOURCE120}
  422. %__tar -xvf %{SOURCE121}
  423. %__tar -xvf %{SOURCE122}
  424. %__tar -xvf %{SOURCE123}
  425. %__tar -xvf %{SOURCE124}
  426. %__tar -xvf %{SOURCE125}
  427. %__tar -xvf %{SOURCE126}
  428. %__tar -xvf %{SOURCE127}
  429. %__tar -xvf %{SOURCE128}
  430. %__tar -xvf %{SOURCE129}
  431. %__tar -xvf %{SOURCE130}
  432. %__tar -xvf %{SOURCE131}
  433. %__tar -xvf %{SOURCE132}
  434. %__tar -xvf %{SOURCE133}
  435. %__tar -xvf %{SOURCE134}
  436. %__tar -xvf %{SOURCE135}
  437. %__tar -xvf %{SOURCE136}
  438. %build
  439. %install
  440. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  441. %__mkdir_p %{buildroot}%{_datadir}
  442. ## move texmf-dist to /usr/share/texmf-dist
  443. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  444. ## move texmf to /usr/share/texmf
  445. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  446. ## move tlpkg to /usr/share/tlpkg
  447. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  448. ## move all non-arch binaries to /usr/bin
  449. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  450. ## move others into /usr/share/texmf-dist
  451. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  452. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  453. %__rm -rf * ||:
  454. ## remove duplicated files between texlive and texlive-collection-*
  455. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  456. ## remove unpacked files
  457. x=(
  458. scripts/epstopdf/epstopdf.pl
  459. scripts/texlive/fmtutil.sh
  460. texconfig/tcfmgr
  461. web2c/texmf.cnf
  462. web2c/updmap-hdr.cfg
  463. web2c/updmap.cfg
  464. install-tl
  465. )
  466. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  467. pushd %{buildroot}%{_tl_texmfdist}
  468. %__rm -f ${x[@]} ||:
  469. popd
  470. fi
  471. ## Files list
  472. find %{buildroot} -type f -or -type l | \
  473. %__sed -e "s|%{buildroot}||g" > filelist.full
  474. find %{buildroot}%{_tl_texmfdist} -type d | \
  475. %__sed -e "s|^%{buildroot}|%dir |" \
  476. -e "s|$|/|" >> filelist.full
  477. ## subpackages
  478. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  479. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  480. %__mv -f filelist.tmp filelist.full
  481. %clean
  482. %__rm -rf %{buildroot}
  483. %post
  484. %_tl_touch_run texhash
  485. %_tl_touch_run mtxrun
  486. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  487. %_tl_enable_map MixedMap stmaryrd.map
  488. %_tl_enable_map MixedMap yhmath.map
  489. %_tl_touch_run fmtutil
  490. exit 0
  491. %postun
  492. if [ "$1" = 0 ]; then
  493. %_tl_touch_run texhash
  494. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  495. %_tl_disable_map stmaryrd.map
  496. %_tl_disable_map yhmath.map
  497. fi
  498. exit 0
  499. %posttrans
  500. %{_tl_exec_texhash}
  501. %{_tl_exec_mtxrun}
  502. %{_tl_exec_updmap}
  503. %{_tl_exec_fmtutil}
  504. exit 0
  505. %files -f filelist.full
  506. %defattr(-,root,root,-)
  507. %files -f filelist.doc doc
  508. %defattr(-,root,root,-)
  509. %changelog
  510. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  511. - synced tlnet to 20141028
  512. * Sun Jul 6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  513. - synced tlnet to 20140706
  514. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  515. - synced tlnet to 20140524