texlive-collection-plainextra-vl.spec 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-3:
  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: 3%{?_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. Source39: xii.doc.tar.xz
  55. Source40: xii.tar.xz
  56. Requires: texlive = %{version}
  57. Requires: texlive-collection-basic = %{version}
  58. Requires(post): texlive = %{version}
  59. Requires(postun): texlive = %{version}
  60. BuildArch: noarch
  61. Buildroot: %{_tmppath}/%{name}-%{version}-root
  62. Vendor: Project Vine
  63. Distribution: Vine Linux
  64. Packager: munepi
  65. %description
  66. The TeX Live software distribution offers a complete TeX system for a
  67. variety of Unix, Macintosh, Windows and other platforms. It
  68. encompasses programs for editing, typesetting, previewing and printing
  69. of TeX documents in many different languages, and a large collection
  70. of TeX macros and font libraries.
  71. The distribution includes extensive general documentation about TeX,
  72. as well as the documentation for the included software packages.
  73. This package is a collection of Plain TeX packages:
  74. Add-on packages and macros that work with plain TeX.
  75. This package contains the following CTAN packages:
  76. figflow: Flow text around a figure.
  77. fixpdfmag: Fix magnification in PDFTeX.
  78. font-change: Macros to Change Text and Math fonts in plain TeX.
  79. fontch: Changing fonts, sizes and encodings in Plain TeX.
  80. getoptk: Define macros with sophisticated options.
  81. graphics-pln: LaTeX-style graphics for Plain TeX users.
  82. hyplain: Basic support for multiple languages in Plain TeX.
  83. js-misc: Miscellaneous macros from Joachim Schrod.
  84. mkpattern: A utility for making hyphenation patterns.
  85. newsletr: Macros for making newsletters with Plain TeX.
  86. pitex: Documentation macros.
  87. placeins-plain: Insertions that keep their place.
  88. plipsum: 'Lorem ipsum' for Plain TeX developers.
  89. plnfss: Font selection for Plain TeX.
  90. plstmary: St. Mary's Road font support for plain TeX.
  91. present: Presentations with Plain TeX.
  92. resumemac: Plain TeX macros for resumes.
  93. texinfo: Texinfo documentation system.
  94. timetable: Generate timetables.
  95. treetex: Draw trees.
  96. varisize: Change font size in Plain TeX.
  97. xii: Christmas silliness.
  98. %description -l ja
  99. TeX Live ソフトウェアディストリビューションは、
  100. さまざまな Unix, Macintosh, Windows、および
  101. 他のプラットホームに対して完全な TeX システムを提供します。
  102. 多くの異なった言語を含む TeX ドキュメントの
  103. 編集、組版、閲覧、印刷するためのプログラム、
  104. そして、TeX マクロやフォントライブラリの大きなコレクションを
  105. 同梱しています。
  106. このディストリビューションは
  107. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  108. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  109. このパッケージは以下のようなパッケージ集です。
  110. Plain TeX packages:
  111. Add-on packages and macros that work with plain TeX.
  112. このパッケージは以下の CTAN パッケージを含んでいます:
  113. figflow: Flow text around a figure.
  114. fixpdfmag: Fix magnification in PDFTeX.
  115. font-change: Macros to Change Text and Math fonts in plain TeX.
  116. fontch: Changing fonts, sizes and encodings in Plain TeX.
  117. getoptk: Define macros with sophisticated options.
  118. graphics-pln: LaTeX-style graphics for Plain TeX users.
  119. hyplain: Basic support for multiple languages in Plain TeX.
  120. js-misc: Miscellaneous macros from Joachim Schrod.
  121. mkpattern: A utility for making hyphenation patterns.
  122. newsletr: Macros for making newsletters with Plain TeX.
  123. pitex: Documentation macros.
  124. placeins-plain: Insertions that keep their place.
  125. plipsum: 'Lorem ipsum' for Plain TeX developers.
  126. plnfss: Font selection for Plain TeX.
  127. plstmary: St. Mary's Road font support for plain TeX.
  128. present: Presentations with Plain TeX.
  129. resumemac: Plain TeX macros for resumes.
  130. texinfo: Texinfo documentation system.
  131. timetable: Generate timetables.
  132. treetex: Draw trees.
  133. varisize: Change font size in Plain TeX.
  134. xii: Christmas silliness.
  135. %package doc
  136. Summary: TeX Live: Documentation files of %{name}
  137. Group: Applications/Publishing
  138. Requires: %{name} = %{version}-%{release}
  139. %description doc
  140. This package contains documentation files of %{name}.
  141. %prep
  142. %setup -c -n %{name}-%{version}
  143. %__tar -xvf %{SOURCE1}
  144. %__tar -xvf %{SOURCE2}
  145. %__tar -xvf %{SOURCE3}
  146. %__tar -xvf %{SOURCE4}
  147. %__tar -xvf %{SOURCE5}
  148. %__tar -xvf %{SOURCE6}
  149. %__tar -xvf %{SOURCE7}
  150. %__tar -xvf %{SOURCE8}
  151. %__tar -xvf %{SOURCE9}
  152. %__tar -xvf %{SOURCE10}
  153. %__tar -xvf %{SOURCE11}
  154. %__tar -xvf %{SOURCE12}
  155. %__tar -xvf %{SOURCE13}
  156. %__tar -xvf %{SOURCE14}
  157. %__tar -xvf %{SOURCE15}
  158. %__tar -xvf %{SOURCE16}
  159. %__tar -xvf %{SOURCE17}
  160. %__tar -xvf %{SOURCE18}
  161. %__tar -xvf %{SOURCE19}
  162. %__tar -xvf %{SOURCE20}
  163. %__tar -xvf %{SOURCE21}
  164. %__tar -xvf %{SOURCE22}
  165. %__tar -xvf %{SOURCE23}
  166. %__tar -xvf %{SOURCE24}
  167. %__tar -xvf %{SOURCE25}
  168. %__tar -xvf %{SOURCE26}
  169. %__tar -xvf %{SOURCE27}
  170. %__tar -xvf %{SOURCE28}
  171. %__tar -xvf %{SOURCE29}
  172. %__tar -xvf %{SOURCE30}
  173. %__tar -xvf %{SOURCE31}
  174. %__tar -xvf %{SOURCE32}
  175. %__tar -xvf %{SOURCE33}
  176. %__tar -xvf %{SOURCE34}
  177. %__tar -xvf %{SOURCE35}
  178. %__tar -xvf %{SOURCE36}
  179. %__tar -xvf %{SOURCE37}
  180. %__tar -xvf %{SOURCE38}
  181. %__tar -xvf %{SOURCE39}
  182. %__tar -xvf %{SOURCE40}
  183. %build
  184. %install
  185. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  186. %__mkdir_p %{buildroot}%{_datadir}
  187. ## move texmf-dist to /usr/share/texmf-dist
  188. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  189. ## move texmf to /usr/share/texmf
  190. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  191. ## move tlpkg to /usr/share/tlpkg
  192. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  193. ## move all non-arch binaries to /usr/bin
  194. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  195. ## move others into /usr/share/texmf-dist
  196. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  197. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  198. %__rm -rf * ||:
  199. ## remove duplicated files between texlive and texlive-collection-*
  200. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  201. ## remove unpacked files
  202. x=(
  203. scripts/texlive/tlmgr.pl
  204. texconfig/tcfmgr
  205. texconfig/tcfmgr.map
  206. web2c/fmtutil.cnf
  207. web2c/mktex.opt
  208. web2c/mktexdir
  209. web2c/mktexdir.opt
  210. web2c/mktexnam
  211. web2c/mktexnam.opt
  212. web2c/mktexupd
  213. web2c/texmf.cnf
  214. web2c/updmap.cfg
  215. web2c/updmap-hdr.cfg
  216. doc/chktex/ChkTeX.pdf
  217. install-tl
  218. )
  219. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  220. pushd %{buildroot}%{_tl_texmfdist}
  221. %__rm -f ${x[@]} ||:
  222. popd
  223. fi
  224. ## Files list
  225. find %{buildroot} -type f -or -type l | \
  226. %__sed -e "s|%{buildroot}||g" > filelist.full
  227. find %{buildroot}%{_tl_texmfdist} -type d | \
  228. %__sed -e "s|^%{buildroot}|%dir |" \
  229. -e "s|$|/|" >> filelist.full
  230. ## subpackages
  231. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  232. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  233. %__mv -f filelist.tmp filelist.full
  234. %clean
  235. %__rm -rf %{buildroot}
  236. %post
  237. %_tl_touch_run texhash
  238. %_tl_touch_run mtxrun
  239. exit 0
  240. %postun
  241. if [ "$1" = 0 ]; then
  242. %_tl_touch_run texhash
  243. fi
  244. exit 0
  245. %posttrans
  246. %{_tl_exec_texhash}
  247. %{_tl_exec_mtxrun}
  248. %{_tl_exec_updmap}
  249. %{_tl_exec_fmtutil}
  250. exit 0
  251. %files -f filelist.full
  252. %defattr(-,root,root,-)
  253. %files -f filelist.doc doc
  254. %defattr(-,root,root,-)
  255. %changelog
  256. * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  257. - TLNET 20131002
  258. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  259. - TLNET 20130919
  260. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  261. - generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-plainextra
  262. - TLNET 20130823