texlive-collection-genericextra-vl.spec 14 KB

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