texlive-collection-context-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-1:
  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: 1%{?_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/texlive/texconfig-dialog.sh
  280. scripts/texlive/texconfig-sys.sh
  281. scripts/texlive/texconfig.sh
  282. scripts/texlive/texlinks.sh
  283. scripts/texlive/tlmgr.pl
  284. texconfig/tcfmgr
  285. web2c/mktex.opt
  286. web2c/mktexdir
  287. web2c/mktexdir.opt
  288. web2c/mktexnam
  289. web2c/mktexnam.opt
  290. web2c/mktexupd
  291. web2c/texmf.cnf
  292. web2c/updmap-hdr.cfg
  293. web2c/updmap.cfg
  294. )
  295. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  296. pushd %{buildroot}%{_tl_texmfdist}
  297. %__rm -f ${x[@]} ||:
  298. popd
  299. fi
  300. ## Files list
  301. find %{buildroot} -type f -or -type l | \
  302. %__sed -e "s|%{buildroot}||g" > filelist.full
  303. find %{buildroot}%{_tl_texmfdist} -type d | \
  304. %__sed -e "s|^%{buildroot}|%dir |" \
  305. -e "s|$|/|" >> filelist.full
  306. ## subpackages
  307. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  308. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  309. %__mv -f filelist.tmp filelist.full
  310. %clean
  311. %__rm -rf %{buildroot}
  312. %post
  313. %_tl_touch_run texhash
  314. %_tl_touch_run mtxrun
  315. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  316. %_tl_enable_map Map original-context-symbol.map
  317. %_tl_touch_run fmtutil
  318. exit 0
  319. %postun
  320. if [ "$1" = 0 ]; then
  321. %_tl_touch_run texhash
  322. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  323. %_tl_disable_map original-context-symbol.map
  324. fi
  325. exit 0
  326. %posttrans
  327. %{_tl_exec_texhash}
  328. %{_tl_exec_mtxrun}
  329. %{_tl_exec_updmap}
  330. %{_tl_exec_fmtutil}
  331. exit 0
  332. %files -f filelist.full
  333. %defattr(-,root,root,-)
  334. %files -f filelist.doc doc
  335. %defattr(-,root,root,-)
  336. %changelog