texlive-collection-context-vl.spec 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-2:
  3. ## tlpdb2rpmspec collection-context
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: ConTeXt and packages
  8. Summary(ja): TeX Live: ConTeXt and packages
  9. Name: texlive-collection-context
  10. Version: 2015
  11. Release: 2%{?_dist_release}
  12. License: Freely redistributable without restriction, Public Domain, GPL+, GPLv3+, BSD, GPLv2+
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: context.doc.tar.xz
  16. Source1: context.tar.xz
  17. Source2: jmn.tar.xz
  18. Source3: context-account.doc.tar.xz
  19. Source4: context-account.tar.xz
  20. Source5: context-algorithmic.tar.xz
  21. Source6: context-animation.doc.tar.xz
  22. Source7: context-animation.tar.xz
  23. Source8: context-annotation.doc.tar.xz
  24. Source9: context-annotation.tar.xz
  25. Source10: context-bnf.doc.tar.xz
  26. Source11: context-bnf.tar.xz
  27. Source12: context-chromato.doc.tar.xz
  28. Source13: context-chromato.tar.xz
  29. Source14: context-construction-plan.doc.tar.xz
  30. Source15: context-construction-plan.tar.xz
  31. Source16: context-cyrillicnumbers.doc.tar.xz
  32. Source17: context-cyrillicnumbers.tar.xz
  33. Source18: context-degrade.doc.tar.xz
  34. Source19: context-degrade.tar.xz
  35. Source20: context-fancybreak.doc.tar.xz
  36. Source21: context-fancybreak.tar.xz
  37. Source22: context-filter.doc.tar.xz
  38. Source23: context-filter.tar.xz
  39. Source24: context-fixme.tar.xz
  40. Source25: context-french.doc.tar.xz
  41. Source26: context-french.tar.xz
  42. Source27: context-fullpage.doc.tar.xz
  43. Source28: context-fullpage.tar.xz
  44. Source29: context-games.doc.tar.xz
  45. Source30: context-games.tar.xz
  46. Source31: context-gantt.doc.tar.xz
  47. Source32: context-gantt.tar.xz
  48. Source33: context-gnuplot.doc.tar.xz
  49. Source34: context-gnuplot.tar.xz
  50. Source35: context-letter.doc.tar.xz
  51. Source36: context-letter.tar.xz
  52. Source37: context-lettrine.doc.tar.xz
  53. Source38: context-lettrine.tar.xz
  54. Source39: context-lilypond.doc.tar.xz
  55. Source40: context-lilypond.tar.xz
  56. Source41: context-mathsets.doc.tar.xz
  57. Source42: context-mathsets.tar.xz
  58. Source43: context-notes-zh-cn.doc.tar.xz
  59. Source44: context-notes-zh-cn.tar.xz
  60. Source45: context-rst.doc.tar.xz
  61. Source46: context-rst.tar.xz
  62. Source47: context-ruby.doc.tar.xz
  63. Source48: context-ruby.tar.xz
  64. Source49: context-simplefonts.doc.tar.xz
  65. Source50: context-simplefonts.tar.xz
  66. Source51: context-simpleslides.doc.tar.xz
  67. Source52: context-simpleslides.tar.xz
  68. Source53: context-title.doc.tar.xz
  69. Source54: context-title.tar.xz
  70. Source55: context-transliterator.doc.tar.xz
  71. Source56: context-transliterator.tar.xz
  72. Source57: context-typearea.doc.tar.xz
  73. Source58: context-typearea.tar.xz
  74. Source59: context-typescripts.doc.tar.xz
  75. Source60: context-typescripts.tar.xz
  76. Source61: context-vim.doc.tar.xz
  77. Source62: context-vim.tar.xz
  78. Source63: context-visualcounter.doc.tar.xz
  79. Source64: context-visualcounter.source.tar.xz
  80. Source65: context-visualcounter.tar.xz
  81. Requires: texlive = %{version}
  82. Requires: texlive-collection-basic = %{version}
  83. Requires(post): texlive = %{version}
  84. Requires(postun): texlive = %{version}
  85. BuildArch: noarch
  86. Buildroot: %{_tmppath}/%{name}-%{version}-root
  87. Vendor: Project Vine
  88. Distribution: Vine Linux
  89. Packager: munepi
  90. %description
  91. The TeX Live software distribution offers a complete TeX system for a
  92. variety of Unix, Macintosh, Windows and other platforms. It
  93. encompasses programs for editing, typesetting, previewing and printing
  94. of TeX documents in many different languages, and a large collection
  95. of TeX macros and font libraries.
  96. The distribution includes extensive general documentation about TeX,
  97. as well as the documentation for the included software packages.
  98. This package is a collection of ConTeXt and packages:
  99. Hans Hagen's powerful ConTeXt system, http://pragma-ade.com.
  100. Also includes third-party ConTeXt packages.
  101. This package contains the following CTAN packages:
  102. context: The ConTeXt macro package.
  103. jmn:
  104. context-account: A simple accounting package.
  105. context-algorithmic: Algorithm handling in ConTeXt.
  106. context-animation: Generate fieldstack based animation with ConTeXt.
  107. context-annotation:
  108. context-bnf: A BNF module for Context.
  109. context-chromato: ConTeXt macros for chromatograms.
  110. context-construction-plan: Construction plans in ConTeXt.
  111. context-cyrillicnumbers: Write numbers as cyrillic glyphs.
  112. context-degrade: Degrading JPEG images in ConTeXt.
  113. context-fancybreak: Overfull pages with ConTeXt
  114. context-filter: Run external programs on the contents of a start-stop environment.
  115. context-fixme: Make editorial marks on a document.
  116. context-french: Support for writing French in ConTeXt.
  117. context-fullpage: Overfull pages with ConTeXt
  118. context-games:
  119. context-gantt: GANTT module for ConTeXt.
  120. context-gnuplot: Inclusion of Gnuplot graphs in ConTeXt.
  121. context-letter: Context package for writing letters.
  122. context-lettrine: A ConTeXt implementation of lettrines.
  123. context-lilypond: Lilypond code in ConTeXt.
  124. context-mathsets: Set notation in ConTeXt.
  125. context-notes-zh-cn: Notes on using ConTeXt MkIV.
  126. context-rst: Process reStructuredText with ConTeXt.
  127. context-ruby: Ruby annotations in ConTeXt.
  128. context-simplefonts: Simplified font usage for ConTeXt.
  129. context-simpleslides:
  130. context-title:
  131. context-transliterator: Transliterate text from 'other' alphabets.
  132. context-typearea: Something like Koma-Script typearea.
  133. context-typescripts: Small modules to load various fonts for use in ConTeXt.
  134. context-vim: Generate Context syntax highlighting code from vim.
  135. context-visualcounter:
  136. %description -l ja
  137. TeX Live ソフトウェアディストリビューションは、
  138. さまざまな Unix, Macintosh, Windows、および
  139. 他のプラットホームに対して完全な TeX システムを提供します。
  140. 多くの異なった言語を含む TeX ドキュメントの
  141. 編集、組版、閲覧、印刷するためのプログラム、
  142. そして、TeX マクロやフォントライブラリの大きなコレクションを
  143. 同梱しています。
  144. このディストリビューションは
  145. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  146. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  147. このパッケージは以下のようなパッケージ集です。
  148. ConTeXt and packages:
  149. Hans Hagen's powerful ConTeXt system, http://pragma-ade.com.
  150. Also includes third-party ConTeXt packages.
  151. このパッケージは以下の CTAN パッケージを含んでいます:
  152. context: The ConTeXt macro package.
  153. jmn:
  154. context-account: A simple accounting package.
  155. context-algorithmic: Algorithm handling in ConTeXt.
  156. context-animation: Generate fieldstack based animation with ConTeXt.
  157. context-annotation:
  158. context-bnf: A BNF module for Context.
  159. context-chromato: ConTeXt macros for chromatograms.
  160. context-construction-plan: Construction plans in ConTeXt.
  161. context-cyrillicnumbers: Write numbers as cyrillic glyphs.
  162. context-degrade: Degrading JPEG images in ConTeXt.
  163. context-fancybreak: Overfull pages with ConTeXt
  164. context-filter: Run external programs on the contents of a start-stop environment.
  165. context-fixme: Make editorial marks on a document.
  166. context-french: Support for writing French in ConTeXt.
  167. context-fullpage: Overfull pages with ConTeXt
  168. context-games:
  169. context-gantt: GANTT module for ConTeXt.
  170. context-gnuplot: Inclusion of Gnuplot graphs in ConTeXt.
  171. context-letter: Context package for writing letters.
  172. context-lettrine: A ConTeXt implementation of lettrines.
  173. context-lilypond: Lilypond code in ConTeXt.
  174. context-mathsets: Set notation in ConTeXt.
  175. context-notes-zh-cn: Notes on using ConTeXt MkIV.
  176. context-rst: Process reStructuredText with ConTeXt.
  177. context-ruby: Ruby annotations in ConTeXt.
  178. context-simplefonts: Simplified font usage for ConTeXt.
  179. context-simpleslides:
  180. context-title:
  181. context-transliterator: Transliterate text from 'other' alphabets.
  182. context-typearea: Something like Koma-Script typearea.
  183. context-typescripts: Small modules to load various fonts for use in ConTeXt.
  184. context-vim: Generate Context syntax highlighting code from vim.
  185. context-visualcounter:
  186. %package doc
  187. Summary: TeX Live: Documentation files of %{name}
  188. Group: Applications/Publishing
  189. Requires: %{name} = %{version}-%{release}
  190. %description doc
  191. This package contains documentation files of %{name}.
  192. %prep
  193. %setup -c -n %{name}-%{version}
  194. %__tar -xvf %{SOURCE1}
  195. %__tar -xvf %{SOURCE2}
  196. %__tar -xvf %{SOURCE3}
  197. %__tar -xvf %{SOURCE4}
  198. %__tar -xvf %{SOURCE5}
  199. %__tar -xvf %{SOURCE6}
  200. %__tar -xvf %{SOURCE7}
  201. %__tar -xvf %{SOURCE8}
  202. %__tar -xvf %{SOURCE9}
  203. %__tar -xvf %{SOURCE10}
  204. %__tar -xvf %{SOURCE11}
  205. %__tar -xvf %{SOURCE12}
  206. %__tar -xvf %{SOURCE13}
  207. %__tar -xvf %{SOURCE14}
  208. %__tar -xvf %{SOURCE15}
  209. %__tar -xvf %{SOURCE16}
  210. %__tar -xvf %{SOURCE17}
  211. %__tar -xvf %{SOURCE18}
  212. %__tar -xvf %{SOURCE19}
  213. %__tar -xvf %{SOURCE20}
  214. %__tar -xvf %{SOURCE21}
  215. %__tar -xvf %{SOURCE22}
  216. %__tar -xvf %{SOURCE23}
  217. %__tar -xvf %{SOURCE24}
  218. %__tar -xvf %{SOURCE25}
  219. %__tar -xvf %{SOURCE26}
  220. %__tar -xvf %{SOURCE27}
  221. %__tar -xvf %{SOURCE28}
  222. %__tar -xvf %{SOURCE29}
  223. %__tar -xvf %{SOURCE30}
  224. %__tar -xvf %{SOURCE31}
  225. %__tar -xvf %{SOURCE32}
  226. %__tar -xvf %{SOURCE33}
  227. %__tar -xvf %{SOURCE34}
  228. %__tar -xvf %{SOURCE35}
  229. %__tar -xvf %{SOURCE36}
  230. %__tar -xvf %{SOURCE37}
  231. %__tar -xvf %{SOURCE38}
  232. %__tar -xvf %{SOURCE39}
  233. %__tar -xvf %{SOURCE40}
  234. %__tar -xvf %{SOURCE41}
  235. %__tar -xvf %{SOURCE42}
  236. %__tar -xvf %{SOURCE43}
  237. %__tar -xvf %{SOURCE44}
  238. %__tar -xvf %{SOURCE45}
  239. %__tar -xvf %{SOURCE46}
  240. %__tar -xvf %{SOURCE47}
  241. %__tar -xvf %{SOURCE48}
  242. %__tar -xvf %{SOURCE49}
  243. %__tar -xvf %{SOURCE50}
  244. %__tar -xvf %{SOURCE51}
  245. %__tar -xvf %{SOURCE52}
  246. %__tar -xvf %{SOURCE53}
  247. %__tar -xvf %{SOURCE54}
  248. %__tar -xvf %{SOURCE55}
  249. %__tar -xvf %{SOURCE56}
  250. %__tar -xvf %{SOURCE57}
  251. %__tar -xvf %{SOURCE58}
  252. %__tar -xvf %{SOURCE59}
  253. %__tar -xvf %{SOURCE60}
  254. %__tar -xvf %{SOURCE61}
  255. %__tar -xvf %{SOURCE62}
  256. %__tar -xvf %{SOURCE63}
  257. %__tar -xvf %{SOURCE64}
  258. %__tar -xvf %{SOURCE65}
  259. %build
  260. %install
  261. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  262. %__mkdir_p %{buildroot}%{_datadir}
  263. ## move texmf-dist to /usr/share/texmf-dist
  264. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  265. ## move texmf to /usr/share/texmf
  266. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  267. ## move tlpkg to /usr/share/tlpkg
  268. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  269. ## move all non-arch binaries to /usr/bin
  270. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  271. ## move others into /usr/share/texmf-dist
  272. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  273. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  274. %__rm -rf * ||:
  275. ## remove duplicated files between texlive and texlive-collection-*
  276. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  277. ## remove unpacked files
  278. x=(
  279. scripts/context/stubs/unix/mtxrun
  280. scripts/ptex2pdf/ptex2pdf.lua
  281. scripts/texlive/fmtutil.pl
  282. scripts/texlive/texconfig-dialog.sh
  283. scripts/texlive/texconfig-sys.sh
  284. scripts/texlive/texconfig.sh
  285. scripts/texlive/texlinks.sh
  286. scripts/texlive/tlmgr.pl
  287. scripts/texlive/updmap.pl
  288. texconfig/tcfmgr
  289. web2c/fmtutil.cnf
  290. web2c/mktex.opt
  291. web2c/mktexdir
  292. web2c/mktexdir.opt
  293. web2c/mktexnam
  294. web2c/mktexnam.opt
  295. web2c/mktexupd
  296. web2c/texmf.cnf
  297. web2c/updmap-hdr.cfg
  298. web2c/updmap.cfg
  299. install-tl
  300. )
  301. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  302. pushd %{buildroot}%{_tl_texmfdist}
  303. %__rm -f ${x[@]} ||:
  304. popd
  305. fi
  306. ## Files list
  307. find %{buildroot} -type f -or -type l | \
  308. %__sed -e "s|%{buildroot}||g" > filelist.full
  309. find %{buildroot}%{_tl_texmfdist} -type d | \
  310. %__sed -e "s|^%{buildroot}|%dir |" \
  311. -e "s|$|/|" >> filelist.full
  312. ## subpackages
  313. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  314. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  315. %__mv -f filelist.tmp filelist.full
  316. %clean
  317. %__rm -rf %{buildroot}
  318. %post
  319. %_tl_touch_run texhash
  320. %_tl_touch_run mtxrun
  321. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  322. %_tl_enable_map Map original-context-symbol.map
  323. %_tl_touch_run fmtutil
  324. exit 0
  325. %postun
  326. if [ "$1" = 0 ]; then
  327. %_tl_touch_run texhash
  328. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  329. %_tl_disable_map original-context-symbol.map
  330. fi
  331. exit 0
  332. %posttrans
  333. %{_tl_exec_texhash}
  334. %{_tl_exec_mtxrun}
  335. %{_tl_exec_updmap}
  336. %{_tl_exec_fmtutil}
  337. exit 0
  338. %files -f filelist.full
  339. %defattr(-,root,root,-)
  340. %files -f filelist.doc doc
  341. %defattr(-,root,root,-)
  342. %changelog
  343. * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
  344. - TeX Live 2015/pretest
  345. - synced tlnet to 20150522 (TeX Live 2015/pretest)
  346. * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
  347. - TeX Live 2015/pretest
  348. - synced tlnet to 20150426 (TeX Live 2015/pretest)
  349. * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
  350. - synced tlnet to 20150401
  351. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  352. - synced tlnet to 20141028
  353. * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  354. - synced tlnet to 20140706
  355. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  356. - upgraded to TeX Live 2014
  357. * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
  358. - synced tlnet to 20140406
  359. * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
  360. - synced tlnet to 20131218
  361. * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  362. - synced tlnet to 20131101
  363. * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  364. - synced tlnet to 20131002
  365. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  366. - synced tlnet to 20130919
  367. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  368. - upgraded to TeX Live 2013
  369. - used tlnet archives
  370. - synced tlnet to 20130823
  371. - added macros.texlive
  372. * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  373. - updated to TeX Live 2012
  374. * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  375. - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
  376. - set external dependencies (texlive-collection-binextra,
  377. texlive-collection-fontutils)
  378. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  379. - updated to TeX Live 2011
  380. - merged texlive-vtlpkg-2009-osx.patch from OSXWS
  381. - added %doc README (%files)
  382. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  383. - applied texlive-vtlpkg-2009-vine.patch
  384. - remove arch dependent binaries
  385. - updated tlpdb2rpmspec.sh.in:
  386. - improved tlpdb4a()
  387. - make symlinks of core script utils (texlive-collection-binextra,
  388. texlive-collection-context, texlive-collection-fontutils,
  389. texlive-collection-langgreek, texlive-collection-langindic,
  390. texlive-collection-latex, texlive-collection-latexextra,
  391. texlive-collection-latexrecommended, texlive-collection-pictures,
  392. texlive-collection-pstricks, texlive-collection-science)
  393. * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  394. - updated tlpdb2rpmspec.sh.in:
  395. - improved %post
  396. * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  397. - updated tlpdb2rpmspec.sh.in:
  398. - removed arch dependent binaries (texlive-collection-latexextra)
  399. - improved updmap process in %post and %postun
  400. - fixed perl path
  401. * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  402. - initial build