texlive-collection-latexrecommended-vl.spec 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-1:
  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: 2015
  11. Release: 1%{?_dist_release}
  12. License: Public Domain, LPPL 1.3, GPL+, 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: breqn.doc.tar.xz
  23. Source8: breqn.source.tar.xz
  24. Source9: breqn.tar.xz
  25. Source10: caption.doc.tar.xz
  26. Source11: caption.source.tar.xz
  27. Source12: caption.tar.xz
  28. Source13: cite.doc.tar.xz
  29. Source14: cite.tar.xz
  30. Source15: cmap.doc.tar.xz
  31. Source16: cmap.tar.xz
  32. Source17: crop.doc.tar.xz
  33. Source18: crop.source.tar.xz
  34. Source19: crop.tar.xz
  35. Source20: ctable.doc.tar.xz
  36. Source21: ctable.source.tar.xz
  37. Source22: ctable.tar.xz
  38. Source23: eso-pic.doc.tar.xz
  39. Source24: eso-pic.source.tar.xz
  40. Source25: eso-pic.tar.xz
  41. Source26: euenc.doc.tar.xz
  42. Source27: euenc.source.tar.xz
  43. Source28: euenc.tar.xz
  44. Source29: euler.doc.tar.xz
  45. Source30: euler.source.tar.xz
  46. Source31: euler.tar.xz
  47. Source32: extsizes.doc.tar.xz
  48. Source33: extsizes.tar.xz
  49. Source34: fancybox.doc.tar.xz
  50. Source35: fancybox.tar.xz
  51. Source36: fancyref.doc.tar.xz
  52. Source37: fancyref.source.tar.xz
  53. Source38: fancyref.tar.xz
  54. Source39: fancyvrb.doc.tar.xz
  55. Source40: fancyvrb.source.tar.xz
  56. Source41: fancyvrb.tar.xz
  57. Source42: float.doc.tar.xz
  58. Source43: float.source.tar.xz
  59. Source44: float.tar.xz
  60. Source45: fontspec.doc.tar.xz
  61. Source46: fontspec.source.tar.xz
  62. Source47: fontspec.tar.xz
  63. Source48: fp.doc.tar.xz
  64. Source49: fp.tar.xz
  65. Source50: index.doc.tar.xz
  66. Source51: index.source.tar.xz
  67. Source52: index.tar.xz
  68. Source53: jknapltx.doc.tar.xz
  69. Source54: jknapltx.tar.xz
  70. Source55: koma-script.tar.xz
  71. Source56: l3kernel.doc.tar.xz
  72. Source57: l3kernel.source.tar.xz
  73. Source58: l3kernel.tar.xz
  74. Source59: l3packages.doc.tar.xz
  75. Source60: l3packages.source.tar.xz
  76. Source61: l3packages.tar.xz
  77. Source62: l3experimental.doc.tar.xz
  78. Source63: l3experimental.source.tar.xz
  79. Source64: l3experimental.tar.xz
  80. Source65: lineno.doc.tar.xz
  81. Source66: lineno.source.tar.xz
  82. Source67: lineno.tar.xz
  83. Source68: listings.doc.tar.xz
  84. Source69: listings.source.tar.xz
  85. Source70: listings.tar.xz
  86. Source71: mathtools.doc.tar.xz
  87. Source72: mathtools.source.tar.xz
  88. Source73: mathtools.tar.xz
  89. Source74: mdwtools.doc.tar.xz
  90. Source75: mdwtools.source.tar.xz
  91. Source76: mdwtools.tar.xz
  92. Source77: memoir.doc.tar.xz
  93. Source78: memoir.source.tar.xz
  94. Source79: memoir.tar.xz
  95. Source80: metalogo.doc.tar.xz
  96. Source81: metalogo.source.tar.xz
  97. Source82: metalogo.tar.xz
  98. Source83: microtype.doc.tar.xz
  99. Source84: microtype.source.tar.xz
  100. Source85: microtype.tar.xz
  101. Source86: ms.doc.tar.xz
  102. Source87: ms.source.tar.xz
  103. Source88: ms.tar.xz
  104. Source89: ntgclass.doc.tar.xz
  105. Source90: ntgclass.source.tar.xz
  106. Source91: ntgclass.tar.xz
  107. Source92: parskip.doc.tar.xz
  108. Source93: parskip.tar.xz
  109. Source94: pdfpages.doc.tar.xz
  110. Source95: pdfpages.source.tar.xz
  111. Source96: pdfpages.tar.xz
  112. Source97: powerdot.doc.tar.xz
  113. Source98: powerdot.source.tar.xz
  114. Source99: powerdot.tar.xz
  115. Source100: psfrag.doc.tar.xz
  116. Source101: psfrag.source.tar.xz
  117. Source102: psfrag.tar.xz
  118. Source103: rcs.doc.tar.xz
  119. Source104: rcs.source.tar.xz
  120. Source105: rcs.tar.xz
  121. Source106: rotating.doc.tar.xz
  122. Source107: rotating.source.tar.xz
  123. Source108: rotating.tar.xz
  124. Source109: sansmath.doc.tar.xz
  125. Source110: sansmath.tar.xz
  126. Source111: section.doc.tar.xz
  127. Source112: section.tar.xz
  128. Source113: seminar.doc.tar.xz
  129. Source114: seminar.tar.xz
  130. Source115: sepnum.doc.tar.xz
  131. Source116: sepnum.tar.xz
  132. Source117: setspace.doc.tar.xz
  133. Source118: setspace.tar.xz
  134. Source119: subfig.doc.tar.xz
  135. Source120: subfig.source.tar.xz
  136. Source121: subfig.tar.xz
  137. Source122: textcase.doc.tar.xz
  138. Source123: textcase.source.tar.xz
  139. Source124: textcase.tar.xz
  140. Source125: thumbpdf.doc.tar.xz
  141. Source126: thumbpdf.tar.xz
  142. Source127: typehtml.doc.tar.xz
  143. Source128: typehtml.source.tar.xz
  144. Source129: typehtml.tar.xz
  145. Source130: underscore.doc.tar.xz
  146. Source131: underscore.tar.xz
  147. Source132: xcolor.doc.tar.xz
  148. Source133: xcolor.source.tar.xz
  149. Source134: xcolor.tar.xz
  150. Source135: xkeyval.doc.tar.xz
  151. Source136: xkeyval.source.tar.xz
  152. Source137: xkeyval.tar.xz
  153. Requires: texlive = %{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 LaTeX recommended packages:
  171. A collection of recommended add-on packages for LaTeX which
  172. have widespread use.
  173. This package contains the following CTAN packages:
  174. anysize: A simple package to set up document margins.
  175. beamer: A LaTeX class for producing presentations and slides.
  176. booktabs: Publication quality tables in LaTeX
  177. breqn: Automatic line breaking of displayed equations.
  178. caption: Customising captions in floating environments.
  179. cite: Improved citation handling in LaTeX.
  180. cmap: Make PDF files searchable and copyable.
  181. crop: Support for cropmarks.
  182. ctable: Flexible typesetting of table and figure floats using key/value directives.
  183. eso-pic: Add picture commands (or backgrounds) to every page.
  184. euenc: Unicode font encoding definitions for XeTeX.
  185. euler: Use AMS Euler fonts for math.
  186. extsizes: Extend the standard classes' size options.
  187. fancybox: Variants of fbox and other games with boxes.
  188. fancyref: A LaTeX package for fancy cross-referencing.
  189. fancyvrb: Sophisticated verbatim text.
  190. float: Improved interface for floating objects.
  191. fontspec: Advanced font selection in XeLaTeX and LuaLaTeX.
  192. fp: Fixed point arithmetic.
  193. index: Extended index for LaTeX including multiple indexes.
  194. jknapltx: Miscellaneous packages by Joerg Knappen.
  195. koma-script: A bundle of versatile classes and packages
  196. l3kernel: LaTeX3 programming conventions.
  197. l3packages: High-level LaTeX3 concepts.
  198. l3experimental: Experimental LaTeX3 concepts.
  199. lineno: Line numbers on paragraphs.
  200. listings: Typeset source code listings using LaTeX.
  201. mathtools: Mathematical tools to use with amsmath.
  202. mdwtools: Miscellaneous tools by Mark Wooding.
  203. memoir: Typeset fiction, non-fiction and mathematical books.
  204. metalogo: Extended TeX logo macros.
  205. microtype: Subliminal refinements towards typographical perfection.
  206. ms: Various LaTeX packages by Martin Schroder.
  207. ntgclass: "European" versions of standard classes.
  208. parskip: Layout with zero parindent, non-zero parskip.
  209. pdfpages: Include PDF documents in LaTeX.
  210. powerdot: A presentation class.
  211. psfrag: Replace strings in encapsulated PostScript figures.
  212. rcs: Use RCS (revision control system) tags in LaTeX documents.
  213. rotating: Rotation tools, including rotated full-page floats.
  214. sansmath: Maths in a sans font.
  215. section: Modifying section commands in LaTeX.
  216. seminar: Make overhead slides.
  217. sepnum: Print numbers in a "friendly" format.
  218. setspace: Set space between lines.
  219. subfig: Figures broken into subfigures
  220. textcase: Case conversion ignoring mathematics, etc.
  221. thumbpdf: Thumbnails for pdfTeX and dvips/ps2pdf.
  222. typehtml: Typeset HTML directly from LaTeX.
  223. underscore: Control the behaviour of "_" in text.
  224. xcolor: Driver-independent color extensions for LaTeX and pdfLaTeX.
  225. xkeyval: Extension of the keyval package.
  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. LaTeX recommended packages:
  239. A collection of recommended add-on packages for LaTeX which
  240. have widespread use.
  241. このパッケージは以下の CTAN パッケージを含んでいます:
  242. anysize: A simple package to set up document margins.
  243. beamer: A LaTeX class for producing presentations and slides.
  244. booktabs: Publication quality tables in LaTeX
  245. breqn: Automatic line breaking of displayed equations.
  246. caption: Customising captions in floating environments.
  247. cite: Improved citation handling in LaTeX.
  248. cmap: Make PDF files searchable and copyable.
  249. crop: Support for cropmarks.
  250. ctable: Flexible typesetting of table and figure floats using key/value directives.
  251. eso-pic: Add picture commands (or backgrounds) to every page.
  252. euenc: Unicode font encoding definitions for XeTeX.
  253. euler: Use AMS Euler fonts for math.
  254. extsizes: Extend the standard classes' size options.
  255. fancybox: Variants of fbox and other games with boxes.
  256. fancyref: A LaTeX package for fancy cross-referencing.
  257. fancyvrb: Sophisticated verbatim text.
  258. float: Improved interface for floating objects.
  259. fontspec: Advanced font selection in XeLaTeX and LuaLaTeX.
  260. fp: Fixed point arithmetic.
  261. index: Extended index for LaTeX including multiple indexes.
  262. jknapltx: Miscellaneous packages by Joerg Knappen.
  263. koma-script: A bundle of versatile classes and packages
  264. l3kernel: LaTeX3 programming conventions.
  265. l3packages: High-level LaTeX3 concepts.
  266. l3experimental: Experimental LaTeX3 concepts.
  267. lineno: Line numbers on paragraphs.
  268. listings: Typeset source code listings using LaTeX.
  269. mathtools: Mathematical tools to use with amsmath.
  270. mdwtools: Miscellaneous tools by Mark Wooding.
  271. memoir: Typeset fiction, non-fiction and mathematical books.
  272. metalogo: Extended TeX logo macros.
  273. microtype: Subliminal refinements towards typographical perfection.
  274. ms: Various LaTeX packages by Martin Schroder.
  275. ntgclass: "European" versions of standard classes.
  276. parskip: Layout with zero parindent, non-zero parskip.
  277. pdfpages: Include PDF documents in LaTeX.
  278. powerdot: A presentation class.
  279. psfrag: Replace strings in encapsulated PostScript figures.
  280. rcs: Use RCS (revision control system) tags in LaTeX documents.
  281. rotating: Rotation tools, including rotated full-page floats.
  282. sansmath: Maths in a sans font.
  283. section: Modifying section commands in LaTeX.
  284. seminar: Make overhead slides.
  285. sepnum: Print numbers in a "friendly" format.
  286. setspace: Set space between lines.
  287. subfig: Figures broken into subfigures
  288. textcase: Case conversion ignoring mathematics, etc.
  289. thumbpdf: Thumbnails for pdfTeX and dvips/ps2pdf.
  290. typehtml: Typeset HTML directly from LaTeX.
  291. underscore: Control the behaviour of "_" in text.
  292. xcolor: Driver-independent color extensions for LaTeX and pdfLaTeX.
  293. xkeyval: Extension of the keyval package.
  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. %__tar -xvf %{SOURCE137}
  439. %build
  440. %install
  441. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  442. %__mkdir_p %{buildroot}%{_datadir}
  443. ## move texmf-dist to /usr/share/texmf-dist
  444. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  445. ## move texmf to /usr/share/texmf
  446. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  447. ## move tlpkg to /usr/share/tlpkg
  448. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  449. ## move all non-arch binaries to /usr/bin
  450. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  451. ## move others into /usr/share/texmf-dist
  452. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  453. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  454. %__rm -rf * ||:
  455. ## remove duplicated files between texlive and texlive-collection-*
  456. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  457. ## remove unpacked files
  458. x=(
  459. scripts/texlive/texconfig-dialog.sh
  460. scripts/texlive/texconfig-sys.sh
  461. scripts/texlive/texconfig.sh
  462. scripts/texlive/texlinks.sh
  463. scripts/texlive/tlmgr.pl
  464. texconfig/tcfmgr
  465. web2c/mktex.opt
  466. web2c/mktexdir
  467. web2c/mktexdir.opt
  468. web2c/mktexnam
  469. web2c/mktexnam.opt
  470. web2c/mktexupd
  471. web2c/texmf.cnf
  472. web2c/updmap-hdr.cfg
  473. web2c/updmap.cfg
  474. )
  475. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  476. pushd %{buildroot}%{_tl_texmfdist}
  477. %__rm -f ${x[@]} ||:
  478. popd
  479. fi
  480. ## Files list
  481. find %{buildroot} -type f -or -type l | \
  482. %__sed -e "s|%{buildroot}||g" > filelist.full
  483. find %{buildroot}%{_tl_texmfdist} -type d | \
  484. %__sed -e "s|^%{buildroot}|%dir |" \
  485. -e "s|$|/|" >> filelist.full
  486. ## subpackages
  487. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  488. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  489. %__mv -f filelist.tmp filelist.full
  490. %clean
  491. %__rm -rf %{buildroot}
  492. %post
  493. %_tl_touch_run texhash
  494. %_tl_touch_run mtxrun
  495. exit 0
  496. %postun
  497. if [ "$1" = 0 ]; then
  498. %_tl_touch_run texhash
  499. fi
  500. exit 0
  501. %posttrans
  502. %{_tl_exec_texhash}
  503. %{_tl_exec_mtxrun}
  504. %{_tl_exec_updmap}
  505. %{_tl_exec_fmtutil}
  506. exit 0
  507. %files -f filelist.full
  508. %defattr(-,root,root,-)
  509. %files -f filelist.doc doc
  510. %defattr(-,root,root,-)
  511. %changelog