texlive-collection-formatsextra-vl.spec 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-2:
  3. ## tlpdb2rpmspec collection-formatsextra
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Additional formats
  8. Summary(ja): TeX Live: Additional formats
  9. Name: texlive-collection-formatsextra
  10. Version: 2014
  11. Release: 2%{?_dist_release}
  12. License: GPLv2+, GPLv3+, Knuth, LPPL, Public Domain
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: edmac.doc.tar.xz
  16. Source1: edmac.source.tar.xz
  17. Source2: edmac.tar.xz
  18. Source3: eplain.doc.tar.xz
  19. Source4: eplain.source.tar.xz
  20. Source5: eplain.tar.xz
  21. Source6: lollipop.doc.tar.xz
  22. Source7: lollipop.tar.xz
  23. Source8: mltex.doc.tar.xz
  24. Source9: mltex.tar.xz
  25. Source10: psizzl.doc.tar.xz
  26. Source11: psizzl.source.tar.xz
  27. Source12: psizzl.tar.xz
  28. Source13: startex.doc.tar.xz
  29. Source14: startex.source.tar.xz
  30. Source15: startex.tar.xz
  31. Source16: texsis.doc.tar.xz
  32. Source17: texsis.tar.xz
  33. Requires: texlive = %{version}
  34. Requires: texlive-collection-basic = %{version}
  35. Requires(post): texlive = %{version}
  36. Requires(postun): texlive = %{version}
  37. BuildArch: noarch
  38. Buildroot: %{_tmppath}/%{name}-%{version}-root
  39. Vendor: Project Vine
  40. Distribution: Vine Linux
  41. Packager: munepi
  42. %description
  43. The TeX Live software distribution offers a complete TeX system for a
  44. variety of Unix, Macintosh, Windows and other platforms. It
  45. encompasses programs for editing, typesetting, previewing and printing
  46. of TeX documents in many different languages, and a large collection
  47. of TeX macros and font libraries.
  48. The distribution includes extensive general documentation about TeX,
  49. as well as the documentation for the included software packages.
  50. This package is a collection of Additional formats:
  51. Collected TeX `formats', i.e., large-scale macro packages
  52. designed to be dumped into .fmt files -- excluding the most
  53. common ones, such as latex and context, which have their own
  54. package(s).
  55. This package contains the following CTAN packages:
  56. edmac: Typeset critical editions.
  57. eplain: Extended plain tex macros.
  58. lollipop: TeX made easy.
  59. mltex: The MLTeX system.
  60. psizzl: A TeX format for physics papers.
  61. startex: An XML-inspired format for student use.
  62. texsis: Plain TeX macros for Physicists.
  63. %description -l ja
  64. TeX Live ソフトウェアディストリビューションは、
  65. さまざまな Unix, Macintosh, Windows、および
  66. 他のプラットホームに対して完全な TeX システムを提供します。
  67. 多くの異なった言語を含む TeX ドキュメントの
  68. 編集、組版、閲覧、印刷するためのプログラム、
  69. そして、TeX マクロやフォントライブラリの大きなコレクションを
  70. 同梱しています。
  71. このディストリビューションは
  72. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  73. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  74. このパッケージは以下のようなパッケージ集です。
  75. Additional formats:
  76. Collected TeX `formats', i.e., large-scale macro packages
  77. designed to be dumped into .fmt files -- excluding the most
  78. common ones, such as latex and context, which have their own
  79. package(s).
  80. このパッケージは以下の CTAN パッケージを含んでいます:
  81. edmac: Typeset critical editions.
  82. eplain: Extended plain tex macros.
  83. lollipop: TeX made easy.
  84. mltex: The MLTeX system.
  85. psizzl: A TeX format for physics papers.
  86. startex: An XML-inspired format for student use.
  87. texsis: Plain TeX macros for Physicists.
  88. %package doc
  89. Summary: TeX Live: Documentation files of %{name}
  90. Group: Applications/Publishing
  91. Requires: %{name} = %{version}-%{release}
  92. %description doc
  93. This package contains documentation files of %{name}.
  94. %prep
  95. %setup -c -n %{name}-%{version}
  96. %__tar -xvf %{SOURCE1}
  97. %__tar -xvf %{SOURCE2}
  98. %__tar -xvf %{SOURCE3}
  99. %__tar -xvf %{SOURCE4}
  100. %__tar -xvf %{SOURCE5}
  101. %__tar -xvf %{SOURCE6}
  102. %__tar -xvf %{SOURCE7}
  103. %__tar -xvf %{SOURCE8}
  104. %__tar -xvf %{SOURCE9}
  105. %__tar -xvf %{SOURCE10}
  106. %__tar -xvf %{SOURCE11}
  107. %__tar -xvf %{SOURCE12}
  108. %__tar -xvf %{SOURCE13}
  109. %__tar -xvf %{SOURCE14}
  110. %__tar -xvf %{SOURCE15}
  111. %__tar -xvf %{SOURCE16}
  112. %__tar -xvf %{SOURCE17}
  113. %build
  114. %install
  115. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  116. %__mkdir_p %{buildroot}%{_datadir}
  117. ## move texmf-dist to /usr/share/texmf-dist
  118. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  119. ## move texmf to /usr/share/texmf
  120. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  121. ## move tlpkg to /usr/share/tlpkg
  122. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  123. ## move all non-arch binaries to /usr/bin
  124. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  125. ## move others into /usr/share/texmf-dist
  126. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  127. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  128. %__rm -rf * ||:
  129. ## remove duplicated files between texlive and texlive-collection-*
  130. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  131. ## remove unpacked files
  132. x=(
  133. scripts/texlive/fmtutil.sh
  134. texconfig/tcfmgr
  135. web2c/texmf.cnf
  136. web2c/updmap-hdr.cfg
  137. web2c/updmap.cfg
  138. install-tl
  139. )
  140. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  141. pushd %{buildroot}%{_tl_texmfdist}
  142. %__rm -f ${x[@]} ||:
  143. popd
  144. fi
  145. ## Files list
  146. find %{buildroot} -type f -or -type l | \
  147. %__sed -e "s|%{buildroot}||g" > filelist.full
  148. find %{buildroot}%{_tl_texmfdist} -type d | \
  149. %__sed -e "s|^%{buildroot}|%dir |" \
  150. -e "s|$|/|" >> filelist.full
  151. ## subpackages
  152. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  153. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  154. %__mv -f filelist.tmp filelist.full
  155. %clean
  156. %__rm -rf %{buildroot}
  157. %post
  158. %_tl_touch_run texhash
  159. %_tl_touch_run mtxrun
  160. %_tl_touch_run fmtutil
  161. exit 0
  162. %postun
  163. if [ "$1" = 0 ]; then
  164. %_tl_touch_run texhash
  165. fi
  166. exit 0
  167. %posttrans
  168. %{_tl_exec_texhash}
  169. %{_tl_exec_mtxrun}
  170. %{_tl_exec_updmap}
  171. %{_tl_exec_fmtutil}
  172. exit 0
  173. %files -f filelist.full
  174. %defattr(-,root,root,-)
  175. %files -f filelist.doc doc
  176. %defattr(-,root,root,-)
  177. %changelog
  178. * Sun Jul 6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  179. - synced tlnet to 20140706
  180. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  181. - synced tlnet to 20140524