texlive-collection-latexrecommended-vl.spec 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-4:
  3. ## tlpdb2rpmspec collection-latexrecommended
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: LaTeX recommended packages
  8. Summary(ja): TeX Live: LaTeX recommended packages
  9. Name: texlive-collection-latexrecommended
  10. Version: 2013
  11. Release: 4%{?_dist_release}
  12. License: Public Domain, GPL+, LPPL 1.3, Freely redistributable without restriction, LPPL, LPPL 1.2
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: anysize.doc.tar.xz
  16. Source1: anysize.tar.xz
  17. Source2: beamer.doc.tar.xz
  18. Source3: beamer.tar.xz
  19. Source4: booktabs.doc.tar.xz
  20. Source5: booktabs.source.tar.xz
  21. Source6: booktabs.tar.xz
  22. Source7: caption.doc.tar.xz
  23. Source8: caption.source.tar.xz
  24. Source9: caption.tar.xz
  25. Source10: cite.doc.tar.xz
  26. Source11: cite.tar.xz
  27. Source12: cmap.doc.tar.xz
  28. Source13: cmap.tar.xz
  29. Source14: crop.doc.tar.xz
  30. Source15: crop.source.tar.xz
  31. Source16: crop.tar.xz
  32. Source17: ctable.doc.tar.xz
  33. Source18: ctable.source.tar.xz
  34. Source19: ctable.tar.xz
  35. Source20: ec.doc.tar.xz
  36. Source21: ec.tar.xz
  37. Source22: eso-pic.doc.tar.xz
  38. Source23: eso-pic.source.tar.xz
  39. Source24: eso-pic.tar.xz
  40. Source25: euler.doc.tar.xz
  41. Source26: euler.source.tar.xz
  42. Source27: euler.tar.xz
  43. Source28: extsizes.doc.tar.xz
  44. Source29: extsizes.tar.xz
  45. Source30: fancybox.doc.tar.xz
  46. Source31: fancybox.tar.xz
  47. Source32: fancyref.doc.tar.xz
  48. Source33: fancyref.source.tar.xz
  49. Source34: fancyref.tar.xz
  50. Source35: fancyvrb.doc.tar.xz
  51. Source36: fancyvrb.source.tar.xz
  52. Source37: fancyvrb.tar.xz
  53. Source38: float.doc.tar.xz
  54. Source39: float.source.tar.xz
  55. Source40: float.tar.xz
  56. Source41: fontspec.doc.tar.xz
  57. Source42: fontspec.source.tar.xz
  58. Source43: fontspec.tar.xz
  59. Source44: fp.doc.tar.xz
  60. Source45: fp.tar.xz
  61. Source46: index.doc.tar.xz
  62. Source47: index.source.tar.xz
  63. Source48: index.tar.xz
  64. Source49: jknapltx.doc.tar.xz
  65. Source50: jknapltx.tar.xz
  66. Source51: koma-script.tar.xz
  67. Source52: l3kernel.doc.tar.xz
  68. Source53: l3kernel.source.tar.xz
  69. Source54: l3kernel.tar.xz
  70. Source55: l3packages.doc.tar.xz
  71. Source56: l3packages.source.tar.xz
  72. Source57: l3packages.tar.xz
  73. Source58: l3experimental.doc.tar.xz
  74. Source59: l3experimental.source.tar.xz
  75. Source60: l3experimental.tar.xz
  76. Source61: listings.doc.tar.xz
  77. Source62: listings.source.tar.xz
  78. Source63: listings.tar.xz
  79. Source64: mdwtools.doc.tar.xz
  80. Source65: mdwtools.source.tar.xz
  81. Source66: mdwtools.tar.xz
  82. Source67: memoir.doc.tar.xz
  83. Source68: memoir.source.tar.xz
  84. Source69: memoir.tar.xz
  85. Source70: metalogo.doc.tar.xz
  86. Source71: metalogo.source.tar.xz
  87. Source72: metalogo.tar.xz
  88. Source73: mh.doc.tar.xz
  89. Source74: mh.source.tar.xz
  90. Source75: mh.tar.xz
  91. Source76: microtype.doc.tar.xz
  92. Source77: microtype.source.tar.xz
  93. Source78: microtype.tar.xz
  94. Source79: ms.doc.tar.xz
  95. Source80: ms.source.tar.xz
  96. Source81: ms.tar.xz
  97. Source82: ntgclass.doc.tar.xz
  98. Source83: ntgclass.source.tar.xz
  99. Source84: ntgclass.tar.xz
  100. Source85: parskip.doc.tar.xz
  101. Source86: parskip.tar.xz
  102. Source87: pdfpages.doc.tar.xz
  103. Source88: pdfpages.source.tar.xz
  104. Source89: pdfpages.tar.xz
  105. Source90: powerdot.doc.tar.xz
  106. Source91: powerdot.tar.xz
  107. Source92: psfrag.doc.tar.xz
  108. Source93: psfrag.source.tar.xz
  109. Source94: psfrag.tar.xz
  110. Source95: rcs.doc.tar.xz
  111. Source96: rcs.source.tar.xz
  112. Source97: rcs.tar.xz
  113. Source98: rotating.doc.tar.xz
  114. Source99: rotating.source.tar.xz
  115. Source100: rotating.tar.xz
  116. Source101: sansmath.doc.tar.xz
  117. Source102: sansmath.tar.xz
  118. Source103: section.doc.tar.xz
  119. Source104: section.tar.xz
  120. Source105: seminar.doc.tar.xz
  121. Source106: seminar.tar.xz
  122. Source107: sepnum.doc.tar.xz
  123. Source108: sepnum.tar.xz
  124. Source109: setspace.doc.tar.xz
  125. Source110: setspace.tar.xz
  126. Source111: subfig.doc.tar.xz
  127. Source112: subfig.source.tar.xz
  128. Source113: subfig.tar.xz
  129. Source114: textcase.doc.tar.xz
  130. Source115: textcase.source.tar.xz
  131. Source116: textcase.tar.xz
  132. Source117: thumbpdf.doc.tar.xz
  133. Source118: thumbpdf.tar.xz
  134. Source119: typehtml.doc.tar.xz
  135. Source120: typehtml.source.tar.xz
  136. Source121: typehtml.tar.xz
  137. Source122: underscore.doc.tar.xz
  138. Source123: underscore.tar.xz
  139. Source124: url.doc.tar.xz
  140. Source125: url.tar.xz
  141. Source126: xcolor.doc.tar.xz
  142. Source127: xcolor.source.tar.xz
  143. Source128: xcolor.tar.xz
  144. Source129: xkeyval.doc.tar.xz
  145. Source130: xkeyval.source.tar.xz
  146. Source131: xkeyval.tar.xz
  147. Requires: texlive = %{version}
  148. Requires: texlive-collection-latex = %{version}
  149. Requires(post): texlive = %{version}
  150. Requires(postun): texlive = %{version}
  151. BuildArch: noarch
  152. Buildroot: %{_tmppath}/%{name}-%{version}-root
  153. Vendor: Project Vine
  154. Distribution: Vine Linux
  155. Packager: munepi
  156. %description
  157. The TeX Live software distribution offers a complete TeX system for a
  158. variety of Unix, Macintosh, Windows and other platforms. It
  159. encompasses programs for editing, typesetting, previewing and printing
  160. of TeX documents in many different languages, and a large collection
  161. of TeX macros and font libraries.
  162. The distribution includes extensive general documentation about TeX,
  163. as well as the documentation for the included software packages.
  164. This package is a collection of LaTeX recommended packages:
  165. A collection of recommended add-on packages for LaTeX which
  166. have widespread use.
  167. This package contains the following CTAN packages:
  168. anysize: A simple package to set up document margins.
  169. beamer: A LaTeX class for producing presentations and slides.
  170. booktabs: Publication quality tables in LaTeX
  171. caption: Customising captions in floating environments.
  172. cite: Improved citation handling in LaTeX.
  173. cmap: Make PDF files searchable and copyable.
  174. crop: Support for cropmarks.
  175. ctable: Flexible typesetting of table and figure floats using key/value directives.
  176. ec: Computer modern fonts in T1 and TS1 encodings.
  177. eso-pic: Add picture commands (or backgrounds) to every page.
  178. euler: Use AMS Euler fonts for math.
  179. extsizes: Extend the standard classes' size options.
  180. fancybox: Variants of fbox and other games with boxes.
  181. fancyref: A LaTeX package for fancy cross-referencing.
  182. fancyvrb: Sophisticated verbatim text.
  183. float: Improved interface for floating objects.
  184. fontspec: Advanced font selection in XeLaTeX and LuaLaTeX.
  185. fp: Fixed point arithmetic.
  186. index: Extended index for LaTeX including multiple indexes.
  187. jknapltx: Miscellaneous packages by Joerg Knappen.
  188. koma-script: A bundle of versatile classes and packages
  189. l3kernel: LaTeX3 programming conventions.
  190. l3packages: High-level LaTeX3 concepts.
  191. l3experimental: Experimental LaTeX3 concepts.
  192. listings: Typeset source code listings using LaTeX.
  193. mdwtools: Miscellaneous tools by Mark Wooding.
  194. memoir: Typeset fiction, non-fiction and mathematical books.
  195. metalogo: Extended TeX logo macros.
  196. mh: The MH bundle
  197. microtype: Subliminal refinements towards typographical perfection.
  198. ms: Various LaTeX packages by Martin Schroder.
  199. ntgclass: "European" versions of standard classes.
  200. parskip: Layout with zero parindent, non-zero parskip.
  201. pdfpages: Include PDF documents in LaTeX.
  202. powerdot: A presentation class.
  203. psfrag: Replace strings in encapsulated PostScript figures.
  204. rcs: Use RCS (revision control system) tags in LaTeX documents.
  205. rotating: Rotation tools, including rotated full-page floats.
  206. sansmath: Maths in a sans font.
  207. section: Modifying section commands in LaTeX.
  208. seminar: Make overhead slides.
  209. sepnum: Print numbers in a "friendly" format.
  210. setspace: Set space between lines.
  211. subfig: Figures broken into subfigures
  212. textcase: Case conversion ignoring mathematics, etc.
  213. thumbpdf: Thumbnails for pdfTeX and dvips/ps2pdf.
  214. typehtml: Typeset HTML directly from LaTeX.
  215. underscore: Control the behaviour of "_" in text.
  216. url: Verbatim with URL-sensitive line breaks.
  217. xcolor: Driver-independent color extensions for LaTeX and pdfLaTeX.
  218. xkeyval: Extension of the keyval package.
  219. %description -l ja
  220. TeX Live ソフトウェアディストリビューションは、
  221. さまざまな Unix, Macintosh, Windows、および
  222. 他のプラットホームに対して完全な TeX システムを提供します。
  223. 多くの異なった言語を含む TeX ドキュメントの
  224. 編集、組版、閲覧、印刷するためのプログラム、
  225. そして、TeX マクロやフォントライブラリの大きなコレクションを
  226. 同梱しています。
  227. このディストリビューションは
  228. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  229. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  230. このパッケージは以下のようなパッケージ集です。
  231. LaTeX recommended packages:
  232. A collection of recommended add-on packages for LaTeX which
  233. have widespread use.
  234. このパッケージは以下の CTAN パッケージを含んでいます:
  235. anysize: A simple package to set up document margins.
  236. beamer: A LaTeX class for producing presentations and slides.
  237. booktabs: Publication quality tables in LaTeX
  238. caption: Customising captions in floating environments.
  239. cite: Improved citation handling in LaTeX.
  240. cmap: Make PDF files searchable and copyable.
  241. crop: Support for cropmarks.
  242. ctable: Flexible typesetting of table and figure floats using key/value directives.
  243. ec: Computer modern fonts in T1 and TS1 encodings.
  244. eso-pic: Add picture commands (or backgrounds) to every page.
  245. euler: Use AMS Euler fonts for math.
  246. extsizes: Extend the standard classes' size options.
  247. fancybox: Variants of fbox and other games with boxes.
  248. fancyref: A LaTeX package for fancy cross-referencing.
  249. fancyvrb: Sophisticated verbatim text.
  250. float: Improved interface for floating objects.
  251. fontspec: Advanced font selection in XeLaTeX and LuaLaTeX.
  252. fp: Fixed point arithmetic.
  253. index: Extended index for LaTeX including multiple indexes.
  254. jknapltx: Miscellaneous packages by Joerg Knappen.
  255. koma-script: A bundle of versatile classes and packages
  256. l3kernel: LaTeX3 programming conventions.
  257. l3packages: High-level LaTeX3 concepts.
  258. l3experimental: Experimental LaTeX3 concepts.
  259. listings: Typeset source code listings using LaTeX.
  260. mdwtools: Miscellaneous tools by Mark Wooding.
  261. memoir: Typeset fiction, non-fiction and mathematical books.
  262. metalogo: Extended TeX logo macros.
  263. mh: The MH bundle
  264. microtype: Subliminal refinements towards typographical perfection.
  265. ms: Various LaTeX packages by Martin Schroder.
  266. ntgclass: "European" versions of standard classes.
  267. parskip: Layout with zero parindent, non-zero parskip.
  268. pdfpages: Include PDF documents in LaTeX.
  269. powerdot: A presentation class.
  270. psfrag: Replace strings in encapsulated PostScript figures.
  271. rcs: Use RCS (revision control system) tags in LaTeX documents.
  272. rotating: Rotation tools, including rotated full-page floats.
  273. sansmath: Maths in a sans font.
  274. section: Modifying section commands in LaTeX.
  275. seminar: Make overhead slides.
  276. sepnum: Print numbers in a "friendly" format.
  277. setspace: Set space between lines.
  278. subfig: Figures broken into subfigures
  279. textcase: Case conversion ignoring mathematics, etc.
  280. thumbpdf: Thumbnails for pdfTeX and dvips/ps2pdf.
  281. typehtml: Typeset HTML directly from LaTeX.
  282. underscore: Control the behaviour of "_" in text.
  283. url: Verbatim with URL-sensitive line breaks.
  284. xcolor: Driver-independent color extensions for LaTeX and pdfLaTeX.
  285. xkeyval: Extension of the keyval package.
  286. %package doc
  287. Summary: TeX Live: Documentation files of %{name}
  288. Group: Applications/Publishing
  289. Requires: %{name} = %{version}-%{release}
  290. %description doc
  291. This package contains documentation files of %{name}.
  292. %prep
  293. %setup -c -n %{name}-%{version}
  294. %__tar -xvf %{SOURCE1}
  295. %__tar -xvf %{SOURCE2}
  296. %__tar -xvf %{SOURCE3}
  297. %__tar -xvf %{SOURCE4}
  298. %__tar -xvf %{SOURCE5}
  299. %__tar -xvf %{SOURCE6}
  300. %__tar -xvf %{SOURCE7}
  301. %__tar -xvf %{SOURCE8}
  302. %__tar -xvf %{SOURCE9}
  303. %__tar -xvf %{SOURCE10}
  304. %__tar -xvf %{SOURCE11}
  305. %__tar -xvf %{SOURCE12}
  306. %__tar -xvf %{SOURCE13}
  307. %__tar -xvf %{SOURCE14}
  308. %__tar -xvf %{SOURCE15}
  309. %__tar -xvf %{SOURCE16}
  310. %__tar -xvf %{SOURCE17}
  311. %__tar -xvf %{SOURCE18}
  312. %__tar -xvf %{SOURCE19}
  313. %__tar -xvf %{SOURCE20}
  314. %__tar -xvf %{SOURCE21}
  315. %__tar -xvf %{SOURCE22}
  316. %__tar -xvf %{SOURCE23}
  317. %__tar -xvf %{SOURCE24}
  318. %__tar -xvf %{SOURCE25}
  319. %__tar -xvf %{SOURCE26}
  320. %__tar -xvf %{SOURCE27}
  321. %__tar -xvf %{SOURCE28}
  322. %__tar -xvf %{SOURCE29}
  323. %__tar -xvf %{SOURCE30}
  324. %__tar -xvf %{SOURCE31}
  325. %__tar -xvf %{SOURCE32}
  326. %__tar -xvf %{SOURCE33}
  327. %__tar -xvf %{SOURCE34}
  328. %__tar -xvf %{SOURCE35}
  329. %__tar -xvf %{SOURCE36}
  330. %__tar -xvf %{SOURCE37}
  331. %__tar -xvf %{SOURCE38}
  332. %__tar -xvf %{SOURCE39}
  333. %__tar -xvf %{SOURCE40}
  334. %__tar -xvf %{SOURCE41}
  335. %__tar -xvf %{SOURCE42}
  336. %__tar -xvf %{SOURCE43}
  337. %__tar -xvf %{SOURCE44}
  338. %__tar -xvf %{SOURCE45}
  339. %__tar -xvf %{SOURCE46}
  340. %__tar -xvf %{SOURCE47}
  341. %__tar -xvf %{SOURCE48}
  342. %__tar -xvf %{SOURCE49}
  343. %__tar -xvf %{SOURCE50}
  344. %__tar -xvf %{SOURCE51}
  345. %__tar -xvf %{SOURCE52}
  346. %__tar -xvf %{SOURCE53}
  347. %__tar -xvf %{SOURCE54}
  348. %__tar -xvf %{SOURCE55}
  349. %__tar -xvf %{SOURCE56}
  350. %__tar -xvf %{SOURCE57}
  351. %__tar -xvf %{SOURCE58}
  352. %__tar -xvf %{SOURCE59}
  353. %__tar -xvf %{SOURCE60}
  354. %__tar -xvf %{SOURCE61}
  355. %__tar -xvf %{SOURCE62}
  356. %__tar -xvf %{SOURCE63}
  357. %__tar -xvf %{SOURCE64}
  358. %__tar -xvf %{SOURCE65}
  359. %__tar -xvf %{SOURCE66}
  360. %__tar -xvf %{SOURCE67}
  361. %__tar -xvf %{SOURCE68}
  362. %__tar -xvf %{SOURCE69}
  363. %__tar -xvf %{SOURCE70}
  364. %__tar -xvf %{SOURCE71}
  365. %__tar -xvf %{SOURCE72}
  366. %__tar -xvf %{SOURCE73}
  367. %__tar -xvf %{SOURCE74}
  368. %__tar -xvf %{SOURCE75}
  369. %__tar -xvf %{SOURCE76}
  370. %__tar -xvf %{SOURCE77}
  371. %__tar -xvf %{SOURCE78}
  372. %__tar -xvf %{SOURCE79}
  373. %__tar -xvf %{SOURCE80}
  374. %__tar -xvf %{SOURCE81}
  375. %__tar -xvf %{SOURCE82}
  376. %__tar -xvf %{SOURCE83}
  377. %__tar -xvf %{SOURCE84}
  378. %__tar -xvf %{SOURCE85}
  379. %__tar -xvf %{SOURCE86}
  380. %__tar -xvf %{SOURCE87}
  381. %__tar -xvf %{SOURCE88}
  382. %__tar -xvf %{SOURCE89}
  383. %__tar -xvf %{SOURCE90}
  384. %__tar -xvf %{SOURCE91}
  385. %__tar -xvf %{SOURCE92}
  386. %__tar -xvf %{SOURCE93}
  387. %__tar -xvf %{SOURCE94}
  388. %__tar -xvf %{SOURCE95}
  389. %__tar -xvf %{SOURCE96}
  390. %__tar -xvf %{SOURCE97}
  391. %__tar -xvf %{SOURCE98}
  392. %__tar -xvf %{SOURCE99}
  393. %__tar -xvf %{SOURCE100}
  394. %__tar -xvf %{SOURCE101}
  395. %__tar -xvf %{SOURCE102}
  396. %__tar -xvf %{SOURCE103}
  397. %__tar -xvf %{SOURCE104}
  398. %__tar -xvf %{SOURCE105}
  399. %__tar -xvf %{SOURCE106}
  400. %__tar -xvf %{SOURCE107}
  401. %__tar -xvf %{SOURCE108}
  402. %__tar -xvf %{SOURCE109}
  403. %__tar -xvf %{SOURCE110}
  404. %__tar -xvf %{SOURCE111}
  405. %__tar -xvf %{SOURCE112}
  406. %__tar -xvf %{SOURCE113}
  407. %__tar -xvf %{SOURCE114}
  408. %__tar -xvf %{SOURCE115}
  409. %__tar -xvf %{SOURCE116}
  410. %__tar -xvf %{SOURCE117}
  411. %__tar -xvf %{SOURCE118}
  412. %__tar -xvf %{SOURCE119}
  413. %__tar -xvf %{SOURCE120}
  414. %__tar -xvf %{SOURCE121}
  415. %__tar -xvf %{SOURCE122}
  416. %__tar -xvf %{SOURCE123}
  417. %__tar -xvf %{SOURCE124}
  418. %__tar -xvf %{SOURCE125}
  419. %__tar -xvf %{SOURCE126}
  420. %__tar -xvf %{SOURCE127}
  421. %__tar -xvf %{SOURCE128}
  422. %__tar -xvf %{SOURCE129}
  423. %__tar -xvf %{SOURCE130}
  424. %__tar -xvf %{SOURCE131}
  425. %build
  426. %install
  427. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  428. %__mkdir_p %{buildroot}%{_datadir}
  429. ## move texmf-dist to /usr/share/texmf-dist
  430. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  431. ## move texmf to /usr/share/texmf
  432. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  433. ## move tlpkg to /usr/share/tlpkg
  434. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  435. ## move all non-arch binaries to /usr/bin
  436. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  437. ## move others into /usr/share/texmf-dist
  438. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  439. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  440. %__rm -rf * ||:
  441. ## remove duplicated files between texlive and texlive-collection-*
  442. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  443. ## remove unpacked files
  444. x=(
  445. scripts/fontools/autoinst
  446. scripts/texlive/tlmgr.pl
  447. scripts/texlive/updmap.pl
  448. texconfig/tcfmgr
  449. texconfig/tcfmgr.map
  450. web2c/fmtutil.cnf
  451. web2c/mktex.opt
  452. web2c/mktexdir
  453. web2c/mktexdir.opt
  454. web2c/mktexnam
  455. web2c/mktexnam.opt
  456. web2c/mktexupd
  457. web2c/texmf.cnf
  458. web2c/updmap.cfg
  459. web2c/updmap-hdr.cfg
  460. doc/chktex/ChkTeX.pdf
  461. install-tl
  462. )
  463. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  464. pushd %{buildroot}%{_tl_texmfdist}
  465. %__rm -f ${x[@]} ||:
  466. popd
  467. fi
  468. ## Files list
  469. find %{buildroot} -type f -or -type l | \
  470. %__sed -e "s|%{buildroot}||g" > filelist.full
  471. find %{buildroot}%{_tl_texmfdist} -type d | \
  472. %__sed -e "s|^%{buildroot}|%dir |" \
  473. -e "s|$|/|" >> filelist.full
  474. ## subpackages
  475. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  476. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  477. %__mv -f filelist.tmp filelist.full
  478. %clean
  479. %__rm -rf %{buildroot}
  480. %post
  481. %_tl_touch_run texhash
  482. %_tl_touch_run mtxrun
  483. exit 0
  484. %postun
  485. if [ "$1" = 0 ]; then
  486. %_tl_touch_run texhash
  487. fi
  488. exit 0
  489. %posttrans
  490. %{_tl_exec_texhash}
  491. %{_tl_exec_mtxrun}
  492. %{_tl_exec_updmap}
  493. %{_tl_exec_fmtutil}
  494. exit 0
  495. %files -f filelist.full
  496. %defattr(-,root,root,-)
  497. %files -f filelist.doc doc
  498. %defattr(-,root,root,-)
  499. %changelog
  500. * Fri Nov 1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  501. - TLNET 20131101
  502. * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  503. - TLNET 20131002
  504. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  505. - TLNET 20130919
  506. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  507. - generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-latexrecommended
  508. - TLNET 20130823