texlive-collection-genericrecommended-vl.spec 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-3:
  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: 3%{?_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/texlive/tlmgr.pl
  128. texconfig/tcfmgr
  129. texconfig/tcfmgr.map
  130. web2c/fmtutil.cnf
  131. web2c/mktex.opt
  132. web2c/mktexdir
  133. web2c/mktexdir.opt
  134. web2c/mktexnam
  135. web2c/mktexnam.opt
  136. web2c/mktexupd
  137. web2c/texmf.cnf
  138. web2c/updmap.cfg
  139. web2c/updmap-hdr.cfg
  140. doc/chktex/ChkTeX.pdf
  141. install-tl
  142. )
  143. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  144. pushd %{buildroot}%{_tl_texmfdist}
  145. %__rm -f ${x[@]} ||:
  146. popd
  147. fi
  148. ## Files list
  149. find %{buildroot} -type f -or -type l | \
  150. %__sed -e "s|%{buildroot}||g" > filelist.full
  151. find %{buildroot}%{_tl_texmfdist} -type d | \
  152. %__sed -e "s|^%{buildroot}|%dir |" \
  153. -e "s|$|/|" >> filelist.full
  154. ## subpackages
  155. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  156. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  157. %__mv -f filelist.tmp filelist.full
  158. %clean
  159. %__rm -rf %{buildroot}
  160. %post
  161. %_tl_touch_run texhash
  162. %_tl_touch_run mtxrun
  163. exit 0
  164. %postun
  165. if [ "$1" = 0 ]; then
  166. %_tl_touch_run texhash
  167. fi
  168. exit 0
  169. %posttrans
  170. %{_tl_exec_texhash}
  171. %{_tl_exec_mtxrun}
  172. %{_tl_exec_updmap}
  173. %{_tl_exec_fmtutil}
  174. exit 0
  175. %files -f filelist.full
  176. %defattr(-,root,root,-)
  177. %files -f filelist.doc doc
  178. %defattr(-,root,root,-)
  179. %changelog
  180. * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  181. - TLNET 20131002
  182. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  183. - TLNET 20130919
  184. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  185. - generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-genericrecommended
  186. - TLNET 20130823