texlive-collection-plainextra-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-1:
  3. ## tlpdb2rpmspec collection-plainextra
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Plain TeX packages
  8. Summary(ja): TeX Live: Plain TeX packages
  9. Name: texlive-collection-plainextra
  10. Version: 2013
  11. Release: 1%{?_dist_release}
  12. License: Freely redistributable without restriction, Public Domain, LPPL, No Source, GPL+
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: figflow.doc.tar.xz
  16. Source1: figflow.tar.xz
  17. Source2: fixpdfmag.tar.xz
  18. Source3: font-change.doc.tar.xz
  19. Source4: font-change.tar.xz
  20. Source5: fontch.doc.tar.xz
  21. Source6: fontch.tar.xz
  22. Source7: getoptk.doc.tar.xz
  23. Source8: getoptk.tar.xz
  24. Source9: graphics-pln.doc.tar.xz
  25. Source10: graphics-pln.source.tar.xz
  26. Source11: graphics-pln.tar.xz
  27. Source12: hyplain.doc.tar.xz
  28. Source13: hyplain.tar.xz
  29. Source14: js-misc.doc.tar.xz
  30. Source15: js-misc.tar.xz
  31. Source16: mkpattern.doc.tar.xz
  32. Source17: mkpattern.tar.xz
  33. Source18: newsletr.doc.tar.xz
  34. Source19: newsletr.tar.xz
  35. Source20: pitex.doc.tar.xz
  36. Source21: pitex.tar.xz
  37. Source22: placeins-plain.tar.xz
  38. Source23: plipsum.doc.tar.xz
  39. Source24: plipsum.tar.xz
  40. Source25: plnfss.doc.tar.xz
  41. Source26: plnfss.tar.xz
  42. Source27: plstmary.doc.tar.xz
  43. Source28: plstmary.tar.xz
  44. Source29: present.doc.tar.xz
  45. Source30: present.tar.xz
  46. Source31: resumemac.doc.tar.xz
  47. Source32: resumemac.tar.xz
  48. Source33: texinfo.tar.xz
  49. Source34: timetable.tar.xz
  50. Source35: treetex.doc.tar.xz
  51. Source36: treetex.tar.xz
  52. Source37: varisize.doc.tar.xz
  53. Source38: varisize.tar.xz
  54. Requires: texlive = %{version}
  55. Requires: texlive-collection-basic = %{version}
  56. Requires(post): texlive = %{version}
  57. Requires(postun): texlive = %{version}
  58. BuildArch: noarch
  59. Buildroot: %{_tmppath}/%{name}-%{version}-root
  60. Vendor: Project Vine
  61. Distribution: Vine Linux
  62. Packager: munepi
  63. %description
  64. The TeX Live software distribution offers a complete TeX system for a
  65. variety of Unix, Macintosh, Windows and other platforms. It
  66. encompasses programs for editing, typesetting, previewing and printing
  67. of TeX documents in many different languages, and a large collection
  68. of TeX macros and font libraries.
  69. The distribution includes extensive general documentation about TeX,
  70. as well as the documentation for the included software packages.
  71. This package is a collection of Plain TeX packages:
  72. Add-on packages and macros that work with plain TeX.
  73. This package contains the following CTAN packages:
  74. figflow: Flow text around a figure.
  75. fixpdfmag: Fix magnification in PDFTeX.
  76. font-change: Macros to Change Text and Math fonts in plain TeX.
  77. fontch: Changing fonts, sizes and encodings in Plain TeX.
  78. getoptk: Define macros with sophisticated options.
  79. graphics-pln: LaTeX-style graphics for Plain TeX users.
  80. hyplain: Basic support for multiple languages in Plain TeX.
  81. js-misc: Miscellaneous macros from Joachim Schrod.
  82. mkpattern: A utility for making hyphenation patterns.
  83. newsletr: Macros for making newsletters with Plain TeX.
  84. pitex: Documentation macros.
  85. placeins-plain: Insertions that keep their place.
  86. plipsum: 'Lorem ipsum' for Plain TeX developers.
  87. plnfss: Font selection for Plain TeX.
  88. plstmary: St. Mary's Road font support for plain TeX.
  89. present: Presentations with Plain TeX.
  90. resumemac: Plain TeX macros for resumes.
  91. texinfo: Texinfo documentation system.
  92. timetable: Generate timetables.
  93. treetex: Draw trees.
  94. varisize: Change font size in Plain TeX.
  95. %description -l ja
  96. TeX Live ソフトウェアディストリビューションは、
  97. さまざまな Unix, Macintosh, Windows、および
  98. 他のプラットホームに対して完全な TeX システムを提供します。
  99. 多くの異なった言語を含む TeX ドキュメントの
  100. 編集、組版、閲覧、印刷するためのプログラム、
  101. そして、TeX マクロやフォントライブラリの大きなコレクションを
  102. 同梱しています。
  103. このディストリビューションは
  104. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  105. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  106. このパッケージは以下のようなパッケージ集です。
  107. Plain TeX packages:
  108. Add-on packages and macros that work with plain TeX.
  109. このパッケージは以下の CTAN パッケージを含んでいます:
  110. figflow: Flow text around a figure.
  111. fixpdfmag: Fix magnification in PDFTeX.
  112. font-change: Macros to Change Text and Math fonts in plain TeX.
  113. fontch: Changing fonts, sizes and encodings in Plain TeX.
  114. getoptk: Define macros with sophisticated options.
  115. graphics-pln: LaTeX-style graphics for Plain TeX users.
  116. hyplain: Basic support for multiple languages in Plain TeX.
  117. js-misc: Miscellaneous macros from Joachim Schrod.
  118. mkpattern: A utility for making hyphenation patterns.
  119. newsletr: Macros for making newsletters with Plain TeX.
  120. pitex: Documentation macros.
  121. placeins-plain: Insertions that keep their place.
  122. plipsum: 'Lorem ipsum' for Plain TeX developers.
  123. plnfss: Font selection for Plain TeX.
  124. plstmary: St. Mary's Road font support for plain TeX.
  125. present: Presentations with Plain TeX.
  126. resumemac: Plain TeX macros for resumes.
  127. texinfo: Texinfo documentation system.
  128. timetable: Generate timetables.
  129. treetex: Draw trees.
  130. varisize: Change font size in Plain TeX.
  131. %package doc
  132. Summary: TeX Live: Documentation files of %{name}
  133. Group: Applications/Publishing
  134. Requires: %{name} = %{version}-%{release}
  135. %description doc
  136. This package contains documentation files of %{name}.
  137. %prep
  138. %setup -c -n %{name}-%{version}
  139. %__tar -xvf %{SOURCE1}
  140. %__tar -xvf %{SOURCE2}
  141. %__tar -xvf %{SOURCE3}
  142. %__tar -xvf %{SOURCE4}
  143. %__tar -xvf %{SOURCE5}
  144. %__tar -xvf %{SOURCE6}
  145. %__tar -xvf %{SOURCE7}
  146. %__tar -xvf %{SOURCE8}
  147. %__tar -xvf %{SOURCE9}
  148. %__tar -xvf %{SOURCE10}
  149. %__tar -xvf %{SOURCE11}
  150. %__tar -xvf %{SOURCE12}
  151. %__tar -xvf %{SOURCE13}
  152. %__tar -xvf %{SOURCE14}
  153. %__tar -xvf %{SOURCE15}
  154. %__tar -xvf %{SOURCE16}
  155. %__tar -xvf %{SOURCE17}
  156. %__tar -xvf %{SOURCE18}
  157. %__tar -xvf %{SOURCE19}
  158. %__tar -xvf %{SOURCE20}
  159. %__tar -xvf %{SOURCE21}
  160. %__tar -xvf %{SOURCE22}
  161. %__tar -xvf %{SOURCE23}
  162. %__tar -xvf %{SOURCE24}
  163. %__tar -xvf %{SOURCE25}
  164. %__tar -xvf %{SOURCE26}
  165. %__tar -xvf %{SOURCE27}
  166. %__tar -xvf %{SOURCE28}
  167. %__tar -xvf %{SOURCE29}
  168. %__tar -xvf %{SOURCE30}
  169. %__tar -xvf %{SOURCE31}
  170. %__tar -xvf %{SOURCE32}
  171. %__tar -xvf %{SOURCE33}
  172. %__tar -xvf %{SOURCE34}
  173. %__tar -xvf %{SOURCE35}
  174. %__tar -xvf %{SOURCE36}
  175. %__tar -xvf %{SOURCE37}
  176. %__tar -xvf %{SOURCE38}
  177. %build
  178. %install
  179. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  180. %__mkdir_p %{buildroot}%{_datadir}
  181. ## move texmf-dist to /usr/share/texmf-dist
  182. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  183. ## move texmf to /usr/share/texmf
  184. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  185. ## move tlpkg to /usr/share/tlpkg
  186. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  187. ## move all non-arch binaries to /usr/bin
  188. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  189. ## move others into /usr/share/texmf-dist
  190. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  191. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  192. %__rm -rf * ||:
  193. ## remove duplicated files between texlive and texlive-collection-*
  194. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  195. ## remove unpacked files
  196. x=(
  197. texconfig/tcfmgr
  198. texconfig/tcfmgr.map
  199. web2c/fmtutil.cnf
  200. web2c/mktex.opt
  201. web2c/mktexdir
  202. web2c/mktexdir.opt
  203. web2c/mktexnam
  204. web2c/mktexnam.opt
  205. web2c/mktexupd
  206. web2c/texmf.cnf
  207. web2c/updmap.cfg
  208. web2c/updmap-hdr.cfg
  209. doc/chktex/ChkTeX.pdf
  210. install-tl
  211. )
  212. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  213. pushd %{buildroot}%{_tl_texmfdist}
  214. %__rm -f ${x[@]} ||:
  215. popd
  216. fi
  217. ## Files list
  218. find %{buildroot} -type f -or -type l | \
  219. %__sed -e "s|%{buildroot}||g" > filelist.full
  220. find %{buildroot}%{_tl_texmfdist} -type d | \
  221. %__sed -e "s|^%{buildroot}|%dir |" \
  222. -e "s|$|/|" >> filelist.full
  223. ## subpackages
  224. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  225. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  226. %__mv -f filelist.tmp filelist.full
  227. %clean
  228. %__rm -rf %{buildroot}
  229. %post
  230. %_tl_touch_run texhash
  231. %_tl_touch_run mtxrun
  232. exit 0
  233. %postun
  234. if [ "$1" = 0 ]; then
  235. %_tl_touch_run texhash
  236. fi
  237. exit 0
  238. %posttrans
  239. %{_tl_exec_texhash}
  240. %{_tl_exec_mtxrun}
  241. %{_tl_exec_updmap}
  242. %{_tl_exec_fmtutil}
  243. exit 0
  244. %files -f filelist.full
  245. %defattr(-,root,root,-)
  246. %files -f filelist.doc doc
  247. %defattr(-,root,root,-)
  248. %changelog
  249. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  250. - generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-plainextra
  251. - TLNET 20130823
  252. * Fri Nov 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  253. - generated by tlpdb2rpmspec 2012-1: tlpdb2rpmspec collection-plainextra
  254. * Sat Dec 3 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  255. - generated by tlpdb2rpmspec 2011-2: tlpdb2rpmspec collection-plainextra
  256. - set external dependencies (texlive-collection-binextra,
  257. texlive-collection-fontutils)
  258. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  259. - generated by tlpdb2rpmspec 2011-1: tlpdb2rpmspec collection-plainextra
  260. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  261. - generated by tlpdb2rpmspec 2009-4: tlpdb2rpmspec collection-plainextra
  262. - make symlinks of core script utils (texlive-collection-binextra,
  263. texlive-collection-context, texlive-collection-fontutils,
  264. texlive-collection-langgreek, texlive-collection-langindic,
  265. texlive-collection-latex, texlive-collection-latexextra,
  266. texlive-collection-latexrecommended, texlive-collection-pictures,
  267. texlive-collection-pstricks, texlive-collection-science)
  268. * Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  269. - generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-plainextra
  270. - improved %%post
  271. * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  272. - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-plainextra
  273. - removed arch dependent binaries (texlive-collection-latexextra)
  274. - fixed perl path
  275. - improved updmap process in %%post and %%postun
  276. * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  277. - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-plainextra