texlive-collection-humanities-vl.spec 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1:
  3. ## tlpdb2rpmspec collection-humanities
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Humanities packages
  8. Summary(ja): TeX Live: Humanities packages
  9. Name: texlive-collection-humanities
  10. Version: 2014
  11. Release: 1%{?_dist_release}
  12. License: LPPL, LPPL 1.3, Public Domain, GPL+, LPPL 1.2
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: alnumsec.doc.tar.xz
  16. Source1: alnumsec.source.tar.xz
  17. Source2: alnumsec.tar.xz
  18. Source3: arydshln.doc.tar.xz
  19. Source4: arydshln.source.tar.xz
  20. Source5: arydshln.tar.xz
  21. Source6: bibleref.doc.tar.xz
  22. Source7: bibleref.source.tar.xz
  23. Source8: bibleref.tar.xz
  24. Source9: bibleref-lds.doc.tar.xz
  25. Source10: bibleref-lds.source.tar.xz
  26. Source11: bibleref-lds.tar.xz
  27. Source12: bibleref-mouth.doc.tar.xz
  28. Source13: bibleref-mouth.source.tar.xz
  29. Source14: bibleref-mouth.tar.xz
  30. Source15: bibleref-parse.doc.tar.xz
  31. Source16: bibleref-parse.tar.xz
  32. Source17: covington.doc.tar.xz
  33. Source18: covington.tar.xz
  34. Source19: dramatist.doc.tar.xz
  35. Source20: dramatist.source.tar.xz
  36. Source21: dramatist.tar.xz
  37. Source22: dvgloss.doc.tar.xz
  38. Source23: dvgloss.source.tar.xz
  39. Source24: dvgloss.tar.xz
  40. Source25: ecltree.doc.tar.xz
  41. Source26: ecltree.tar.xz
  42. Source27: edfnotes.doc.tar.xz
  43. Source28: edfnotes.source.tar.xz
  44. Source29: edfnotes.tar.xz
  45. Source30: ednotes.doc.tar.xz
  46. Source31: ednotes.tar.xz
  47. Source32: eledform.doc.tar.xz
  48. Source33: eledform.source.tar.xz
  49. Source34: eledform.tar.xz
  50. Source35: eledmac.doc.tar.xz
  51. Source36: eledmac.source.tar.xz
  52. Source37: eledmac.tar.xz
  53. Source38: expex.doc.tar.xz
  54. Source39: expex.tar.xz
  55. Source40: gb4e.doc.tar.xz
  56. Source41: gb4e.tar.xz
  57. Source42: gmverse.doc.tar.xz
  58. Source43: gmverse.tar.xz
  59. Source44: jura.doc.tar.xz
  60. Source45: jura.source.tar.xz
  61. Source46: jura.tar.xz
  62. Source47: juraabbrev.doc.tar.xz
  63. Source48: juraabbrev.source.tar.xz
  64. Source49: juraabbrev.tar.xz
  65. Source50: juramisc.doc.tar.xz
  66. Source51: juramisc.tar.xz
  67. Source52: jurarsp.doc.tar.xz
  68. Source53: jurarsp.source.tar.xz
  69. Source54: jurarsp.tar.xz
  70. Source55: ledmac.doc.tar.xz
  71. Source56: ledmac.source.tar.xz
  72. Source57: ledmac.tar.xz
  73. Source58: leipzig.doc.tar.xz
  74. Source59: leipzig.source.tar.xz
  75. Source60: leipzig.tar.xz
  76. Source61: lexikon.doc.tar.xz
  77. Source62: lexikon.tar.xz
  78. Source63: lexref.doc.tar.xz
  79. Source64: lexref.tar.xz
  80. Source65: lineno.doc.tar.xz
  81. Source66: lineno.source.tar.xz
  82. Source67: lineno.tar.xz
  83. Source68: linguex.doc.tar.xz
  84. Source69: linguex.tar.xz
  85. Source70: liturg.doc.tar.xz
  86. Source71: liturg.source.tar.xz
  87. Source72: liturg.tar.xz
  88. Source73: metrix.doc.tar.xz
  89. Source74: metrix.source.tar.xz
  90. Source75: metrix.tar.xz
  91. Source76: parallel.doc.tar.xz
  92. Source77: parallel.source.tar.xz
  93. Source78: parallel.tar.xz
  94. Source79: parrun.doc.tar.xz
  95. Source80: parrun.source.tar.xz
  96. Source81: parrun.tar.xz
  97. Source82: phonrule.doc.tar.xz
  98. Source83: phonrule.tar.xz
  99. Source84: plari.doc.tar.xz
  100. Source85: plari.source.tar.xz
  101. Source86: plari.tar.xz
  102. Source87: play.doc.tar.xz
  103. Source88: play.source.tar.xz
  104. Source89: play.tar.xz
  105. Source90: poemscol.doc.tar.xz
  106. Source91: poemscol.source.tar.xz
  107. Source92: poemscol.tar.xz
  108. Source93: poetrytex.doc.tar.xz
  109. Source94: poetrytex.source.tar.xz
  110. Source95: poetrytex.tar.xz
  111. Source96: qobitree.doc.tar.xz
  112. Source97: qobitree.tar.xz
  113. Source98: qtree.doc.tar.xz
  114. Source99: qtree.tar.xz
  115. Source100: rrgtrees.doc.tar.xz
  116. Source101: rrgtrees.source.tar.xz
  117. Source102: rrgtrees.tar.xz
  118. Source103: rtklage.doc.tar.xz
  119. Source104: rtklage.tar.xz
  120. Source105: screenplay.doc.tar.xz
  121. Source106: screenplay.source.tar.xz
  122. Source107: screenplay.tar.xz
  123. Source108: sides.doc.tar.xz
  124. Source109: sides.tar.xz
  125. Source110: stage.doc.tar.xz
  126. Source111: stage.tar.xz
  127. Source112: textglos.doc.tar.xz
  128. Source113: textglos.source.tar.xz
  129. Source114: textglos.tar.xz
  130. Source115: thalie.doc.tar.xz
  131. Source116: thalie.source.tar.xz
  132. Source117: thalie.tar.xz
  133. Source118: tree-dvips.doc.tar.xz
  134. Source119: tree-dvips.tar.xz
  135. Source120: verse.doc.tar.xz
  136. Source121: verse.source.tar.xz
  137. Source122: verse.tar.xz
  138. Source123: xyling.doc.tar.xz
  139. Source124: xyling.tar.xz
  140. Requires: texlive = %{version}
  141. Requires: texlive-collection-latex = %{version}
  142. Requires(post): texlive = %{version}
  143. Requires(postun): texlive = %{version}
  144. BuildArch: noarch
  145. Buildroot: %{_tmppath}/%{name}-%{version}-root
  146. Vendor: Project Vine
  147. Distribution: Vine Linux
  148. Packager: munepi
  149. %description
  150. The TeX Live software distribution offers a complete TeX system for a
  151. variety of Unix, Macintosh, Windows and other platforms. It
  152. encompasses programs for editing, typesetting, previewing and printing
  153. of TeX documents in many different languages, and a large collection
  154. of TeX macros and font libraries.
  155. The distribution includes extensive general documentation about TeX,
  156. as well as the documentation for the included software packages.
  157. This package is a collection of Humanities packages:
  158. Packages for law, linguistics, social sciences, humanities,
  159. etc.
  160. This package contains the following CTAN packages:
  161. alnumsec: Alphanumeric section numbering.
  162. arydshln: Horizontal and vertical dashed lines in arrays and tabulars.
  163. bibleref: Format bible citations.
  164. bibleref-lds: Bible references, including those to the scriptures of the Church of Jesus Christ of Latter Day Saints.
  165. bibleref-mouth: Consistent formatting of Bible references.
  166. bibleref-parse: Specify Bible passages in human-readable format.
  167. covington: Linguistic support.
  168. dramatist: Typeset dramas, both in verse and in prose.
  169. dvgloss: Facilities for setting interlinear glossed text.
  170. ecltree: Trees using epic and eepic macros.
  171. edfnotes: Critical annotations to footnotes with ednotes.
  172. ednotes: Typeset scholarly editions.
  173. eledform: Define textual variants.
  174. eledmac: Typeset scholarly editions.
  175. expex: Format linguistic examples and glosses, with reference capabilities.
  176. gb4e: Linguistic tools.
  177. gmverse: A package for typesetting (short) poems.
  178. jura: A document class for German legal texts.
  179. juraabbrev: Abbreviations for typesetting (German) juridical documents.
  180. juramisc: Typesetting German juridical documents.
  181. jurarsp: Citations of judgements and official documents in (German) juridical documents.
  182. ledmac: Typeset scholarly editions.
  183. leipzig: Typeset and index linguistic gloss abbreviations.
  184. lexikon: Macros for a two language dictionary.
  185. lexref: Convenient and uniform references to legal provisions.
  186. lineno: Line numbers on paragraphs.
  187. linguex: Format linguists' examples.
  188. liturg: Support for typesetting Catholic liturgical texts.
  189. metrix: Typeset metric marks for Latin text.
  190. parallel: Typeset parallel texts.
  191. parrun: Typesets (two) streams of text running parallel.
  192. phonrule: Typeset linear phonological rules.
  193. plari: Typesetting stageplay scripts.
  194. play: Typeset drama using LaTeX.
  195. poemscol: Typesetting Critical Editions of Poetry.
  196. poetrytex: Typeset anthologies of poetry.
  197. qobitree: LaTeX macros for typesetting trees.
  198. qtree: Draw tree structures.
  199. rrgtrees: Linguistic tree diagrams for Role and Reference Grammar (RRG) with LaTeX.
  200. rtklage: A package for German lawyers
  201. screenplay: A class file to typeset screenplays.
  202. sides: A LaTeX class for typesetting stage plays.
  203. stage: A LaTeX class for stage plays
  204. textglos: Typeset and index linguistic gloss abbreviations.
  205. thalie: Typeset drama plays.
  206. tree-dvips: Trees and other linguists' macros.
  207. verse: Aids for typesetting simple verse.
  208. xyling: Draw syntactic trees, etc., for linguistics literature, using xy-pic.
  209. %description -l ja
  210. TeX Live ソフトウェアディストリビューションは、
  211. さまざまな Unix, Macintosh, Windows、および
  212. 他のプラットホームに対して完全な TeX システムを提供します。
  213. 多くの異なった言語を含む TeX ドキュメントの
  214. 編集、組版、閲覧、印刷するためのプログラム、
  215. そして、TeX マクロやフォントライブラリの大きなコレクションを
  216. 同梱しています。
  217. このディストリビューションは
  218. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  219. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  220. このパッケージは以下のようなパッケージ集です。
  221. Humanities packages:
  222. Packages for law, linguistics, social sciences, humanities,
  223. etc.
  224. このパッケージは以下の CTAN パッケージを含んでいます:
  225. alnumsec: Alphanumeric section numbering.
  226. arydshln: Horizontal and vertical dashed lines in arrays and tabulars.
  227. bibleref: Format bible citations.
  228. bibleref-lds: Bible references, including those to the scriptures of the Church of Jesus Christ of Latter Day Saints.
  229. bibleref-mouth: Consistent formatting of Bible references.
  230. bibleref-parse: Specify Bible passages in human-readable format.
  231. covington: Linguistic support.
  232. dramatist: Typeset dramas, both in verse and in prose.
  233. dvgloss: Facilities for setting interlinear glossed text.
  234. ecltree: Trees using epic and eepic macros.
  235. edfnotes: Critical annotations to footnotes with ednotes.
  236. ednotes: Typeset scholarly editions.
  237. eledform: Define textual variants.
  238. eledmac: Typeset scholarly editions.
  239. expex: Format linguistic examples and glosses, with reference capabilities.
  240. gb4e: Linguistic tools.
  241. gmverse: A package for typesetting (short) poems.
  242. jura: A document class for German legal texts.
  243. juraabbrev: Abbreviations for typesetting (German) juridical documents.
  244. juramisc: Typesetting German juridical documents.
  245. jurarsp: Citations of judgements and official documents in (German) juridical documents.
  246. ledmac: Typeset scholarly editions.
  247. leipzig: Typeset and index linguistic gloss abbreviations.
  248. lexikon: Macros for a two language dictionary.
  249. lexref: Convenient and uniform references to legal provisions.
  250. lineno: Line numbers on paragraphs.
  251. linguex: Format linguists' examples.
  252. liturg: Support for typesetting Catholic liturgical texts.
  253. metrix: Typeset metric marks for Latin text.
  254. parallel: Typeset parallel texts.
  255. parrun: Typesets (two) streams of text running parallel.
  256. phonrule: Typeset linear phonological rules.
  257. plari: Typesetting stageplay scripts.
  258. play: Typeset drama using LaTeX.
  259. poemscol: Typesetting Critical Editions of Poetry.
  260. poetrytex: Typeset anthologies of poetry.
  261. qobitree: LaTeX macros for typesetting trees.
  262. qtree: Draw tree structures.
  263. rrgtrees: Linguistic tree diagrams for Role and Reference Grammar (RRG) with LaTeX.
  264. rtklage: A package for German lawyers
  265. screenplay: A class file to typeset screenplays.
  266. sides: A LaTeX class for typesetting stage plays.
  267. stage: A LaTeX class for stage plays
  268. textglos: Typeset and index linguistic gloss abbreviations.
  269. thalie: Typeset drama plays.
  270. tree-dvips: Trees and other linguists' macros.
  271. verse: Aids for typesetting simple verse.
  272. xyling: Draw syntactic trees, etc., for linguistics literature, using xy-pic.
  273. %package doc
  274. Summary: TeX Live: Documentation files of %{name}
  275. Group: Applications/Publishing
  276. Requires: %{name} = %{version}-%{release}
  277. %description doc
  278. This package contains documentation files of %{name}.
  279. %prep
  280. %setup -c -n %{name}-%{version}
  281. %__tar -xvf %{SOURCE1}
  282. %__tar -xvf %{SOURCE2}
  283. %__tar -xvf %{SOURCE3}
  284. %__tar -xvf %{SOURCE4}
  285. %__tar -xvf %{SOURCE5}
  286. %__tar -xvf %{SOURCE6}
  287. %__tar -xvf %{SOURCE7}
  288. %__tar -xvf %{SOURCE8}
  289. %__tar -xvf %{SOURCE9}
  290. %__tar -xvf %{SOURCE10}
  291. %__tar -xvf %{SOURCE11}
  292. %__tar -xvf %{SOURCE12}
  293. %__tar -xvf %{SOURCE13}
  294. %__tar -xvf %{SOURCE14}
  295. %__tar -xvf %{SOURCE15}
  296. %__tar -xvf %{SOURCE16}
  297. %__tar -xvf %{SOURCE17}
  298. %__tar -xvf %{SOURCE18}
  299. %__tar -xvf %{SOURCE19}
  300. %__tar -xvf %{SOURCE20}
  301. %__tar -xvf %{SOURCE21}
  302. %__tar -xvf %{SOURCE22}
  303. %__tar -xvf %{SOURCE23}
  304. %__tar -xvf %{SOURCE24}
  305. %__tar -xvf %{SOURCE25}
  306. %__tar -xvf %{SOURCE26}
  307. %__tar -xvf %{SOURCE27}
  308. %__tar -xvf %{SOURCE28}
  309. %__tar -xvf %{SOURCE29}
  310. %__tar -xvf %{SOURCE30}
  311. %__tar -xvf %{SOURCE31}
  312. %__tar -xvf %{SOURCE32}
  313. %__tar -xvf %{SOURCE33}
  314. %__tar -xvf %{SOURCE34}
  315. %__tar -xvf %{SOURCE35}
  316. %__tar -xvf %{SOURCE36}
  317. %__tar -xvf %{SOURCE37}
  318. %__tar -xvf %{SOURCE38}
  319. %__tar -xvf %{SOURCE39}
  320. %__tar -xvf %{SOURCE40}
  321. %__tar -xvf %{SOURCE41}
  322. %__tar -xvf %{SOURCE42}
  323. %__tar -xvf %{SOURCE43}
  324. %__tar -xvf %{SOURCE44}
  325. %__tar -xvf %{SOURCE45}
  326. %__tar -xvf %{SOURCE46}
  327. %__tar -xvf %{SOURCE47}
  328. %__tar -xvf %{SOURCE48}
  329. %__tar -xvf %{SOURCE49}
  330. %__tar -xvf %{SOURCE50}
  331. %__tar -xvf %{SOURCE51}
  332. %__tar -xvf %{SOURCE52}
  333. %__tar -xvf %{SOURCE53}
  334. %__tar -xvf %{SOURCE54}
  335. %__tar -xvf %{SOURCE55}
  336. %__tar -xvf %{SOURCE56}
  337. %__tar -xvf %{SOURCE57}
  338. %__tar -xvf %{SOURCE58}
  339. %__tar -xvf %{SOURCE59}
  340. %__tar -xvf %{SOURCE60}
  341. %__tar -xvf %{SOURCE61}
  342. %__tar -xvf %{SOURCE62}
  343. %__tar -xvf %{SOURCE63}
  344. %__tar -xvf %{SOURCE64}
  345. %__tar -xvf %{SOURCE65}
  346. %__tar -xvf %{SOURCE66}
  347. %__tar -xvf %{SOURCE67}
  348. %__tar -xvf %{SOURCE68}
  349. %__tar -xvf %{SOURCE69}
  350. %__tar -xvf %{SOURCE70}
  351. %__tar -xvf %{SOURCE71}
  352. %__tar -xvf %{SOURCE72}
  353. %__tar -xvf %{SOURCE73}
  354. %__tar -xvf %{SOURCE74}
  355. %__tar -xvf %{SOURCE75}
  356. %__tar -xvf %{SOURCE76}
  357. %__tar -xvf %{SOURCE77}
  358. %__tar -xvf %{SOURCE78}
  359. %__tar -xvf %{SOURCE79}
  360. %__tar -xvf %{SOURCE80}
  361. %__tar -xvf %{SOURCE81}
  362. %__tar -xvf %{SOURCE82}
  363. %__tar -xvf %{SOURCE83}
  364. %__tar -xvf %{SOURCE84}
  365. %__tar -xvf %{SOURCE85}
  366. %__tar -xvf %{SOURCE86}
  367. %__tar -xvf %{SOURCE87}
  368. %__tar -xvf %{SOURCE88}
  369. %__tar -xvf %{SOURCE89}
  370. %__tar -xvf %{SOURCE90}
  371. %__tar -xvf %{SOURCE91}
  372. %__tar -xvf %{SOURCE92}
  373. %__tar -xvf %{SOURCE93}
  374. %__tar -xvf %{SOURCE94}
  375. %__tar -xvf %{SOURCE95}
  376. %__tar -xvf %{SOURCE96}
  377. %__tar -xvf %{SOURCE97}
  378. %__tar -xvf %{SOURCE98}
  379. %__tar -xvf %{SOURCE99}
  380. %__tar -xvf %{SOURCE100}
  381. %__tar -xvf %{SOURCE101}
  382. %__tar -xvf %{SOURCE102}
  383. %__tar -xvf %{SOURCE103}
  384. %__tar -xvf %{SOURCE104}
  385. %__tar -xvf %{SOURCE105}
  386. %__tar -xvf %{SOURCE106}
  387. %__tar -xvf %{SOURCE107}
  388. %__tar -xvf %{SOURCE108}
  389. %__tar -xvf %{SOURCE109}
  390. %__tar -xvf %{SOURCE110}
  391. %__tar -xvf %{SOURCE111}
  392. %__tar -xvf %{SOURCE112}
  393. %__tar -xvf %{SOURCE113}
  394. %__tar -xvf %{SOURCE114}
  395. %__tar -xvf %{SOURCE115}
  396. %__tar -xvf %{SOURCE116}
  397. %__tar -xvf %{SOURCE117}
  398. %__tar -xvf %{SOURCE118}
  399. %__tar -xvf %{SOURCE119}
  400. %__tar -xvf %{SOURCE120}
  401. %__tar -xvf %{SOURCE121}
  402. %__tar -xvf %{SOURCE122}
  403. %__tar -xvf %{SOURCE123}
  404. %__tar -xvf %{SOURCE124}
  405. %build
  406. %install
  407. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  408. %__mkdir_p %{buildroot}%{_datadir}
  409. ## move texmf-dist to /usr/share/texmf-dist
  410. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  411. ## move texmf to /usr/share/texmf
  412. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  413. ## move tlpkg to /usr/share/tlpkg
  414. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  415. ## move all non-arch binaries to /usr/bin
  416. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  417. ## move others into /usr/share/texmf-dist
  418. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  419. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  420. %__rm -rf * ||:
  421. ## remove duplicated files between texlive and texlive-collection-*
  422. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  423. ## remove unpacked files
  424. x=(
  425. # scripts/texlive/tlmgr.pl
  426. # scripts/texlive/updmap.pl
  427. # scripts/fontools/autoinst
  428. # scripts/glossaries/makeglossaries
  429. # scripts/m-tx/m-tx.lua
  430. # scripts/musixtex/musixtex.lua
  431. # scripts/pmx/pmx2pdf.lua
  432. # scripts/latexmk/latexmk.pl
  433. # scripts/jfontmaps/kanji-config-updmap.pl
  434. # scripts/jfontmaps/kanji-fontmap-creator.pl
  435. # scripts/latexpand/latexpand
  436. # scripts/epstopdf/epstopdf.pl
  437. # scripts/convbkmk/convbkmk.rb
  438. # scripts/jfontmaps/kanji-config-updmap-sys.sh
  439. # scripts/luaotfload/luaotfload-tool.lua
  440. # texconfig/tcfmgr
  441. # texconfig/tcfmgr.map
  442. # web2c/fmtutil.cnf
  443. # web2c/mktex.opt
  444. # web2c/mktexdir
  445. # web2c/mktexdir.opt
  446. # web2c/mktexnam
  447. # web2c/mktexnam.opt
  448. # web2c/mktexupd
  449. # web2c/texmf.cnf
  450. # web2c/updmap.cfg
  451. # web2c/updmap-hdr.cfg
  452. # doc/chktex/ChkTeX.pdf
  453. install-tl
  454. )
  455. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  456. pushd %{buildroot}%{_tl_texmfdist}
  457. %__rm -f ${x[@]} ||:
  458. popd
  459. fi
  460. ## Files list
  461. find %{buildroot} -type f -or -type l | \
  462. %__sed -e "s|%{buildroot}||g" > filelist.full
  463. find %{buildroot}%{_tl_texmfdist} -type d | \
  464. %__sed -e "s|^%{buildroot}|%dir |" \
  465. -e "s|$|/|" >> filelist.full
  466. ## subpackages
  467. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  468. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  469. %__mv -f filelist.tmp filelist.full
  470. %clean
  471. %__rm -rf %{buildroot}
  472. %post
  473. %_tl_touch_run texhash
  474. %_tl_touch_run mtxrun
  475. exit 0
  476. %postun
  477. if [ "$1" = 0 ]; then
  478. %_tl_touch_run texhash
  479. fi
  480. exit 0
  481. %posttrans
  482. %{_tl_exec_texhash}
  483. %{_tl_exec_mtxrun}
  484. %{_tl_exec_updmap}
  485. %{_tl_exec_fmtutil}
  486. exit 0
  487. %files -f filelist.full
  488. %defattr(-,root,root,-)
  489. %files -f filelist.doc doc
  490. %defattr(-,root,root,-)
  491. %changelog
  492. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  493. - TLNET 20140524