texlive-collection-genericextra-vl.spec 14 KB

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