texlive-collection-genericrecommended-vl.spec 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-4:
  3. ## tlpdb2rpmspec collection-genericrecommended
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Generic recommended packages
  8. Summary(ja): TeX Live: Generic recommended packages
  9. Name: texlive-collection-genericrecommended
  10. Version: 2013
  11. Release: 4%{?_dist_release}
  12. License: Public Domain, GPL+, LPPL, Freely redistributable without restriction
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: epsf.doc.tar.xz
  16. Source1: epsf.tar.xz
  17. Source2: fontname.doc.tar.xz
  18. Source3: fontname.tar.xz
  19. Source4: genmisc.tar.xz
  20. Source5: kastrup.doc.tar.xz
  21. Source6: kastrup.source.tar.xz
  22. Source7: kastrup.tar.xz
  23. Source8: multido.doc.tar.xz
  24. Source9: multido.source.tar.xz
  25. Source10: multido.tar.xz
  26. Source11: path.doc.tar.xz
  27. Source12: path.tar.xz
  28. Source13: tex-ps.doc.tar.xz
  29. Source14: tex-ps.tar.xz
  30. Source15: ulem.doc.tar.xz
  31. Source16: ulem.tar.xz
  32. Requires: texlive = %{version}
  33. Requires: texlive-collection-basic = %{version}
  34. Requires(post): texlive = %{version}
  35. Requires(postun): texlive = %{version}
  36. BuildArch: noarch
  37. Buildroot: %{_tmppath}/%{name}-%{version}-root
  38. Vendor: Project Vine
  39. Distribution: Vine Linux
  40. Packager: munepi
  41. %description
  42. The TeX Live software distribution offers a complete TeX system for a
  43. variety of Unix, Macintosh, Windows and other platforms. It
  44. encompasses programs for editing, typesetting, previewing and printing
  45. of TeX documents in many different languages, and a large collection
  46. of TeX macros and font libraries.
  47. The distribution includes extensive general documentation about TeX,
  48. as well as the documentation for the included software packages.
  49. This package is a collection of Generic recommended packages:
  50. Recommended packages that work with multiple formats.
  51. This package contains the following CTAN packages:
  52. epsf: Simple macros for EPS inclusion.
  53. fontname: Scheme for naming fonts in TeX.
  54. genmisc:
  55. kastrup:
  56. multido: A loop facility for Generic TeX.
  57. path: Typeset paths, making them breakable.
  58. tex-ps: TeX to PostScript generic macros and add-ons.
  59. ulem: Package for underlining.
  60. %description -l ja
  61. TeX Live ソフトウェアディストリビューションは、
  62. さまざまな Unix, Macintosh, Windows、および
  63. 他のプラットホームに対して完全な TeX システムを提供します。
  64. 多くの異なった言語を含む TeX ドキュメントの
  65. 編集、組版、閲覧、印刷するためのプログラム、
  66. そして、TeX マクロやフォントライブラリの大きなコレクションを
  67. 同梱しています。
  68. このディストリビューションは
  69. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  70. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  71. このパッケージは以下のようなパッケージ集です。
  72. Generic recommended packages:
  73. Recommended packages that work with multiple formats.
  74. このパッケージは以下の CTAN パッケージを含んでいます:
  75. epsf: Simple macros for EPS inclusion.
  76. fontname: Scheme for naming fonts in TeX.
  77. genmisc:
  78. kastrup:
  79. multido: A loop facility for Generic TeX.
  80. path: Typeset paths, making them breakable.
  81. tex-ps: TeX to PostScript generic macros and add-ons.
  82. ulem: Package for underlining.
  83. %package doc
  84. Summary: TeX Live: Documentation files of %{name}
  85. Group: Applications/Publishing
  86. Requires: %{name} = %{version}-%{release}
  87. %description doc
  88. This package contains documentation files of %{name}.
  89. %prep
  90. %setup -c -n %{name}-%{version}
  91. %__tar -xvf %{SOURCE1}
  92. %__tar -xvf %{SOURCE2}
  93. %__tar -xvf %{SOURCE3}
  94. %__tar -xvf %{SOURCE4}
  95. %__tar -xvf %{SOURCE5}
  96. %__tar -xvf %{SOURCE6}
  97. %__tar -xvf %{SOURCE7}
  98. %__tar -xvf %{SOURCE8}
  99. %__tar -xvf %{SOURCE9}
  100. %__tar -xvf %{SOURCE10}
  101. %__tar -xvf %{SOURCE11}
  102. %__tar -xvf %{SOURCE12}
  103. %__tar -xvf %{SOURCE13}
  104. %__tar -xvf %{SOURCE14}
  105. %__tar -xvf %{SOURCE15}
  106. %__tar -xvf %{SOURCE16}
  107. %build
  108. %install
  109. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  110. %__mkdir_p %{buildroot}%{_datadir}
  111. ## move texmf-dist to /usr/share/texmf-dist
  112. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  113. ## move texmf to /usr/share/texmf
  114. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  115. ## move tlpkg to /usr/share/tlpkg
  116. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  117. ## move all non-arch binaries to /usr/bin
  118. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  119. ## move others into /usr/share/texmf-dist
  120. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  121. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  122. %__rm -rf * ||:
  123. ## remove duplicated files between texlive and texlive-collection-*
  124. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  125. ## remove unpacked files
  126. x=(
  127. scripts/fontools/autoinst
  128. scripts/texlive/tlmgr.pl
  129. scripts/texlive/updmap.pl
  130. texconfig/tcfmgr
  131. texconfig/tcfmgr.map
  132. web2c/fmtutil.cnf
  133. web2c/mktex.opt
  134. web2c/mktexdir
  135. web2c/mktexdir.opt
  136. web2c/mktexnam
  137. web2c/mktexnam.opt
  138. web2c/mktexupd
  139. web2c/texmf.cnf
  140. web2c/updmap.cfg
  141. web2c/updmap-hdr.cfg
  142. doc/chktex/ChkTeX.pdf
  143. install-tl
  144. )
  145. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  146. pushd %{buildroot}%{_tl_texmfdist}
  147. %__rm -f ${x[@]} ||:
  148. popd
  149. fi
  150. ## Files list
  151. find %{buildroot} -type f -or -type l | \
  152. %__sed -e "s|%{buildroot}||g" > filelist.full
  153. find %{buildroot}%{_tl_texmfdist} -type d | \
  154. %__sed -e "s|^%{buildroot}|%dir |" \
  155. -e "s|$|/|" >> filelist.full
  156. ## subpackages
  157. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  158. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  159. %__mv -f filelist.tmp filelist.full
  160. %clean
  161. %__rm -rf %{buildroot}
  162. %post
  163. %_tl_touch_run texhash
  164. %_tl_touch_run mtxrun
  165. exit 0
  166. %postun
  167. if [ "$1" = 0 ]; then
  168. %_tl_touch_run texhash
  169. fi
  170. exit 0
  171. %posttrans
  172. %{_tl_exec_texhash}
  173. %{_tl_exec_mtxrun}
  174. %{_tl_exec_updmap}
  175. %{_tl_exec_fmtutil}
  176. exit 0
  177. %files -f filelist.full
  178. %defattr(-,root,root,-)
  179. %files -f filelist.doc doc
  180. %defattr(-,root,root,-)
  181. %changelog
  182. * Fri Nov 1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  183. - TLNET 20131101
  184. * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  185. - TLNET 20131002
  186. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  187. - TLNET 20130919
  188. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  189. - generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-genericrecommended
  190. - TLNET 20130823