texlive-collection-genericextra-vl.spec 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-1:
  3. ## tlpdb2rpmspec collection-genericextra
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Generic additional packages
  8. Summary(ja): TeX Live: Generic additional packages
  9. Name: texlive-collection-genericextra
  10. Version: 2015
  11. Release: 1%{?_dist_release}
  12. License: Public Domain, Freely redistributable without restriction, LPPL, LPPL 1.3, GPL+, Knuth
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: abbr.doc.tar.xz
  16. Source1: abbr.tar.xz
  17. Source2: abstyles.doc.tar.xz
  18. Source3: abstyles.tar.xz
  19. Source4: barr.doc.tar.xz
  20. Source5: barr.tar.xz
  21. Source6: bitelist.doc.tar.xz
  22. Source7: bitelist.source.tar.xz
  23. Source8: bitelist.tar.xz
  24. Source9: borceux.doc.tar.xz
  25. Source10: borceux.tar.xz
  26. Source11: c-pascal.doc.tar.xz
  27. Source12: c-pascal.tar.xz
  28. Source13: catcodes.doc.tar.xz
  29. Source14: catcodes.source.tar.xz
  30. Source15: catcodes.tar.xz
  31. Source16: chronosys.doc.tar.xz
  32. Source17: chronosys.tar.xz
  33. Source18: colorsep.tar.xz
  34. Source19: dinat.doc.tar.xz
  35. Source20: dinat.tar.xz
  36. Source21: dirtree.doc.tar.xz
  37. Source22: dirtree.source.tar.xz
  38. Source23: dirtree.tar.xz
  39. Source24: docbytex.doc.tar.xz
  40. Source25: docbytex.tar.xz
  41. Source26: dowith.doc.tar.xz
  42. Source27: dowith.source.tar.xz
  43. Source28: dowith.tar.xz
  44. Source29: eijkhout.tar.xz
  45. Source30: encxvlna.doc.tar.xz
  46. Source31: encxvlna.tar.xz
  47. Source32: epigram.tar.xz
  48. Source33: etoc.doc.tar.xz
  49. Source34: etoc.source.tar.xz
  50. Source35: etoc.tar.xz
  51. Source36: fenixpar.doc.tar.xz
  52. Source37: fenixpar.tar.xz
  53. Source38: fltpoint.doc.tar.xz
  54. Source39: fltpoint.source.tar.xz
  55. Source40: fltpoint.tar.xz
  56. Source41: fntproof.doc.tar.xz
  57. Source42: fntproof.tar.xz
  58. Source43: gates.doc.tar.xz
  59. Source44: gates.tar.xz
  60. Source45: ifetex.doc.tar.xz
  61. Source46: ifetex.source.tar.xz
  62. Source47: ifetex.tar.xz
  63. Source48: iftex.doc.tar.xz
  64. Source49: iftex.tar.xz
  65. Source50: insbox.doc.tar.xz
  66. Source51: insbox.tar.xz
  67. Source52: lambda-lists.doc.tar.xz
  68. Source53: lambda-lists.tar.xz
  69. Source54: langcode.doc.tar.xz
  70. Source55: langcode.source.tar.xz
  71. Source56: langcode.tar.xz
  72. Source57: lecturer.doc.tar.xz
  73. Source58: lecturer.tar.xz
  74. Source59: librarian.doc.tar.xz
  75. Source60: librarian.tar.xz
  76. Source61: mathdots.doc.tar.xz
  77. Source62: mathdots.source.tar.xz
  78. Source63: mathdots.tar.xz
  79. Source64: metatex.doc.tar.xz
  80. Source65: metatex.tar.xz
  81. Source66: midnight.doc.tar.xz
  82. Source67: midnight.tar.xz
  83. Source68: navigator.doc.tar.xz
  84. Source69: navigator.tar.xz
  85. Source70: ofs.doc.tar.xz
  86. Source71: ofs.tar.xz
  87. Source72: pdf-trans.doc.tar.xz
  88. Source73: pdf-trans.tar.xz
  89. Source74: plainpkg.doc.tar.xz
  90. Source75: plainpkg.source.tar.xz
  91. Source76: plainpkg.tar.xz
  92. Source77: schemata.doc.tar.xz
  93. Source78: schemata.source.tar.xz
  94. Source79: schemata.tar.xz
  95. Source80: shade.doc.tar.xz
  96. Source81: shade.tar.xz
  97. Source82: systeme.doc.tar.xz
  98. Source83: systeme.tar.xz
  99. Source84: tabto-generic.tar.xz
  100. Source85: tracklang.doc.tar.xz
  101. Source86: tracklang.source.tar.xz
  102. Source87: tracklang.tar.xz
  103. Source88: texapi.doc.tar.xz
  104. Source89: texapi.tar.xz
  105. Source90: upca.doc.tar.xz
  106. Source91: upca.tar.xz
  107. Source92: xlop.doc.tar.xz
  108. Source93: xlop.source.tar.xz
  109. Source94: xlop.tar.xz
  110. Source95: yax.doc.tar.xz
  111. Source96: yax.tar.xz
  112. Requires: texlive = %{version}
  113. Requires: texlive-collection-basic = %{version}
  114. Requires(post): texlive = %{version}
  115. Requires(postun): texlive = %{version}
  116. BuildArch: noarch
  117. Buildroot: %{_tmppath}/%{name}-%{version}-root
  118. Vendor: Project Vine
  119. Distribution: Vine Linux
  120. Packager: munepi
  121. %description
  122. The TeX Live software distribution offers a complete TeX system for a
  123. variety of Unix, Macintosh, Windows and other platforms. It
  124. encompasses programs for editing, typesetting, previewing and printing
  125. of TeX documents in many different languages, and a large collection
  126. of TeX macros and font libraries.
  127. The distribution includes extensive general documentation about TeX,
  128. as well as the documentation for the included software packages.
  129. This package is a collection of Generic additional packages:
  130. Extra packages that work with multiple formats, typically both
  131. TeX and LaTeX.
  132. This package contains the following CTAN packages:
  133. abbr: Simple macros supporting abreviations for Plain and LaTeX.
  134. abstyles: Adaptable BibTeX styles.
  135. barr: Diagram macros by Michael Barr.
  136. bitelist: Split list, in TeX's mouth.
  137. borceux: Diagram macros by Francois Borceux.
  138. c-pascal: Typeset Python, C and Pascal programs.
  139. catcodes: Generic handling of TeX category codes.
  140. chronosys: Drawing time-line diagrams.
  141. colorsep: Color separation.
  142. dinat: Bibliography style for German texts.
  143. dirtree: Display trees in the style of windows explorer.
  144. docbytex: Creating documentation from source code
  145. dowith: Apply a command to a list of items.
  146. eijkhout: Victor Eijkhout's packages.
  147. encxvlna: Insert nonbreakable spaces, using encTeX.
  148. epigram: Display short quotations.
  149. etoc: Completely customisable TOCs.
  150. fenixpar: One-shot changes to token registers such as everypar.
  151. fltpoint: Simple floating point arithmetic.
  152. fntproof: A programmable font test pattern generator.
  153. gates: Support for writing modular and customisable code.
  154. ifetex: Provides ifetex switch.
  155. iftex: Am I running under pdfTeX, XeTeX or LuaTeX?
  156. insbox: Insert pictures/boxes into paragraphs.
  157. lambda-lists: Lists in TeX's mouth.
  158. langcode: Simple language-dependent settings based on language codes.
  159. lecturer: On-screen presentations for (almost) all formats.
  160. librarian: Tools to create bibliographies in TeX.
  161. mathdots: Commands to produce dots in math that respect font size.
  162. metatex: Incorporate Metafont pictures in TeX source.
  163. midnight: A set of useful macro tools.
  164. navigator: PDF features across formats and engines.
  165. ofs: Macros for managing large font collections.
  166. pdf-trans: A set of macros for various transformations of TeX boxes.
  167. plainpkg: A minimal method for making generic packages.
  168. schemata: Print topical diagrams.
  169. shade: Shade pieces of text.
  170. systeme: Format systems of equations.
  171. tabto-generic: "Tab" to a measured position in the line.
  172. tracklang: Language and dialect tracker.
  173. texapi: Macros to write format-independent packages.
  174. upca: Print UPC-A barcodes.
  175. xlop: Calculates and displays arithmetic operations.
  176. yax: Yet Another Key System.
  177. %description -l ja
  178. TeX Live ソフトウェアディストリビューションは、
  179. さまざまな Unix, Macintosh, Windows、および
  180. 他のプラットホームに対して完全な TeX システムを提供します。
  181. 多くの異なった言語を含む TeX ドキュメントの
  182. 編集、組版、閲覧、印刷するためのプログラム、
  183. そして、TeX マクロやフォントライブラリの大きなコレクションを
  184. 同梱しています。
  185. このディストリビューションは
  186. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  187. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  188. このパッケージは以下のようなパッケージ集です。
  189. Generic additional packages:
  190. Extra packages that work with multiple formats, typically both
  191. TeX and LaTeX.
  192. このパッケージは以下の CTAN パッケージを含んでいます:
  193. abbr: Simple macros supporting abreviations for Plain and LaTeX.
  194. abstyles: Adaptable BibTeX styles.
  195. barr: Diagram macros by Michael Barr.
  196. bitelist: Split list, in TeX's mouth.
  197. borceux: Diagram macros by Francois Borceux.
  198. c-pascal: Typeset Python, C and Pascal programs.
  199. catcodes: Generic handling of TeX category codes.
  200. chronosys: Drawing time-line diagrams.
  201. colorsep: Color separation.
  202. dinat: Bibliography style for German texts.
  203. dirtree: Display trees in the style of windows explorer.
  204. docbytex: Creating documentation from source code
  205. dowith: Apply a command to a list of items.
  206. eijkhout: Victor Eijkhout's packages.
  207. encxvlna: Insert nonbreakable spaces, using encTeX.
  208. epigram: Display short quotations.
  209. etoc: Completely customisable TOCs.
  210. fenixpar: One-shot changes to token registers such as everypar.
  211. fltpoint: Simple floating point arithmetic.
  212. fntproof: A programmable font test pattern generator.
  213. gates: Support for writing modular and customisable code.
  214. ifetex: Provides ifetex switch.
  215. iftex: Am I running under pdfTeX, XeTeX or LuaTeX?
  216. insbox: Insert pictures/boxes into paragraphs.
  217. lambda-lists: Lists in TeX's mouth.
  218. langcode: Simple language-dependent settings based on language codes.
  219. lecturer: On-screen presentations for (almost) all formats.
  220. librarian: Tools to create bibliographies in TeX.
  221. mathdots: Commands to produce dots in math that respect font size.
  222. metatex: Incorporate Metafont pictures in TeX source.
  223. midnight: A set of useful macro tools.
  224. navigator: PDF features across formats and engines.
  225. ofs: Macros for managing large font collections.
  226. pdf-trans: A set of macros for various transformations of TeX boxes.
  227. plainpkg: A minimal method for making generic packages.
  228. schemata: Print topical diagrams.
  229. shade: Shade pieces of text.
  230. systeme: Format systems of equations.
  231. tabto-generic: "Tab" to a measured position in the line.
  232. tracklang: Language and dialect tracker.
  233. texapi: Macros to write format-independent packages.
  234. upca: Print UPC-A barcodes.
  235. xlop: Calculates and displays arithmetic operations.
  236. yax: Yet Another Key System.
  237. %package doc
  238. Summary: TeX Live: Documentation files of %{name}
  239. Group: Applications/Publishing
  240. Requires: %{name} = %{version}-%{release}
  241. %description doc
  242. This package contains documentation files of %{name}.
  243. %prep
  244. %setup -c -n %{name}-%{version}
  245. %__tar -xvf %{SOURCE1}
  246. %__tar -xvf %{SOURCE2}
  247. %__tar -xvf %{SOURCE3}
  248. %__tar -xvf %{SOURCE4}
  249. %__tar -xvf %{SOURCE5}
  250. %__tar -xvf %{SOURCE6}
  251. %__tar -xvf %{SOURCE7}
  252. %__tar -xvf %{SOURCE8}
  253. %__tar -xvf %{SOURCE9}
  254. %__tar -xvf %{SOURCE10}
  255. %__tar -xvf %{SOURCE11}
  256. %__tar -xvf %{SOURCE12}
  257. %__tar -xvf %{SOURCE13}
  258. %__tar -xvf %{SOURCE14}
  259. %__tar -xvf %{SOURCE15}
  260. %__tar -xvf %{SOURCE16}
  261. %__tar -xvf %{SOURCE17}
  262. %__tar -xvf %{SOURCE18}
  263. %__tar -xvf %{SOURCE19}
  264. %__tar -xvf %{SOURCE20}
  265. %__tar -xvf %{SOURCE21}
  266. %__tar -xvf %{SOURCE22}
  267. %__tar -xvf %{SOURCE23}
  268. %__tar -xvf %{SOURCE24}
  269. %__tar -xvf %{SOURCE25}
  270. %__tar -xvf %{SOURCE26}
  271. %__tar -xvf %{SOURCE27}
  272. %__tar -xvf %{SOURCE28}
  273. %__tar -xvf %{SOURCE29}
  274. %__tar -xvf %{SOURCE30}
  275. %__tar -xvf %{SOURCE31}
  276. %__tar -xvf %{SOURCE32}
  277. %__tar -xvf %{SOURCE33}
  278. %__tar -xvf %{SOURCE34}
  279. %__tar -xvf %{SOURCE35}
  280. %__tar -xvf %{SOURCE36}
  281. %__tar -xvf %{SOURCE37}
  282. %__tar -xvf %{SOURCE38}
  283. %__tar -xvf %{SOURCE39}
  284. %__tar -xvf %{SOURCE40}
  285. %__tar -xvf %{SOURCE41}
  286. %__tar -xvf %{SOURCE42}
  287. %__tar -xvf %{SOURCE43}
  288. %__tar -xvf %{SOURCE44}
  289. %__tar -xvf %{SOURCE45}
  290. %__tar -xvf %{SOURCE46}
  291. %__tar -xvf %{SOURCE47}
  292. %__tar -xvf %{SOURCE48}
  293. %__tar -xvf %{SOURCE49}
  294. %__tar -xvf %{SOURCE50}
  295. %__tar -xvf %{SOURCE51}
  296. %__tar -xvf %{SOURCE52}
  297. %__tar -xvf %{SOURCE53}
  298. %__tar -xvf %{SOURCE54}
  299. %__tar -xvf %{SOURCE55}
  300. %__tar -xvf %{SOURCE56}
  301. %__tar -xvf %{SOURCE57}
  302. %__tar -xvf %{SOURCE58}
  303. %__tar -xvf %{SOURCE59}
  304. %__tar -xvf %{SOURCE60}
  305. %__tar -xvf %{SOURCE61}
  306. %__tar -xvf %{SOURCE62}
  307. %__tar -xvf %{SOURCE63}
  308. %__tar -xvf %{SOURCE64}
  309. %__tar -xvf %{SOURCE65}
  310. %__tar -xvf %{SOURCE66}
  311. %__tar -xvf %{SOURCE67}
  312. %__tar -xvf %{SOURCE68}
  313. %__tar -xvf %{SOURCE69}
  314. %__tar -xvf %{SOURCE70}
  315. %__tar -xvf %{SOURCE71}
  316. %__tar -xvf %{SOURCE72}
  317. %__tar -xvf %{SOURCE73}
  318. %__tar -xvf %{SOURCE74}
  319. %__tar -xvf %{SOURCE75}
  320. %__tar -xvf %{SOURCE76}
  321. %__tar -xvf %{SOURCE77}
  322. %__tar -xvf %{SOURCE78}
  323. %__tar -xvf %{SOURCE79}
  324. %__tar -xvf %{SOURCE80}
  325. %__tar -xvf %{SOURCE81}
  326. %__tar -xvf %{SOURCE82}
  327. %__tar -xvf %{SOURCE83}
  328. %__tar -xvf %{SOURCE84}
  329. %__tar -xvf %{SOURCE85}
  330. %__tar -xvf %{SOURCE86}
  331. %__tar -xvf %{SOURCE87}
  332. %__tar -xvf %{SOURCE88}
  333. %__tar -xvf %{SOURCE89}
  334. %__tar -xvf %{SOURCE90}
  335. %__tar -xvf %{SOURCE91}
  336. %__tar -xvf %{SOURCE92}
  337. %__tar -xvf %{SOURCE93}
  338. %__tar -xvf %{SOURCE94}
  339. %__tar -xvf %{SOURCE95}
  340. %__tar -xvf %{SOURCE96}
  341. %build
  342. %install
  343. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  344. %__mkdir_p %{buildroot}%{_datadir}
  345. ## move texmf-dist to /usr/share/texmf-dist
  346. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  347. ## move texmf to /usr/share/texmf
  348. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  349. ## move tlpkg to /usr/share/tlpkg
  350. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  351. ## move all non-arch binaries to /usr/bin
  352. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  353. ## move others into /usr/share/texmf-dist
  354. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  355. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  356. %__rm -rf * ||:
  357. ## remove duplicated files between texlive and texlive-collection-*
  358. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  359. ## remove unpacked files
  360. x=(
  361. scripts/texlive/texconfig-dialog.sh
  362. scripts/texlive/texconfig-sys.sh
  363. scripts/texlive/texconfig.sh
  364. scripts/texlive/texlinks.sh
  365. scripts/texlive/tlmgr.pl
  366. texconfig/tcfmgr
  367. web2c/mktex.opt
  368. web2c/mktexdir
  369. web2c/mktexdir.opt
  370. web2c/mktexnam
  371. web2c/mktexnam.opt
  372. web2c/mktexupd
  373. web2c/texmf.cnf
  374. web2c/updmap-hdr.cfg
  375. web2c/updmap.cfg
  376. )
  377. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  378. pushd %{buildroot}%{_tl_texmfdist}
  379. %__rm -f ${x[@]} ||:
  380. popd
  381. fi
  382. ## Files list
  383. find %{buildroot} -type f -or -type l | \
  384. %__sed -e "s|%{buildroot}||g" > filelist.full
  385. find %{buildroot}%{_tl_texmfdist} -type d | \
  386. %__sed -e "s|^%{buildroot}|%dir |" \
  387. -e "s|$|/|" >> filelist.full
  388. ## subpackages
  389. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  390. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  391. %__mv -f filelist.tmp filelist.full
  392. %clean
  393. %__rm -rf %{buildroot}
  394. %post
  395. %_tl_touch_run texhash
  396. %_tl_touch_run mtxrun
  397. exit 0
  398. %postun
  399. if [ "$1" = 0 ]; then
  400. %_tl_touch_run texhash
  401. fi
  402. exit 0
  403. %posttrans
  404. %{_tl_exec_texhash}
  405. %{_tl_exec_mtxrun}
  406. %{_tl_exec_updmap}
  407. %{_tl_exec_fmtutil}
  408. exit 0
  409. %files -f filelist.full
  410. %defattr(-,root,root,-)
  411. %files -f filelist.doc doc
  412. %defattr(-,root,root,-)
  413. %changelog