texlive-collection-genericrecommended-vl.spec 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-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: 2014
  11. Release: 3%{?_dist_release}
  12. License: Public Domain, GPL+, Freely redistributable without restriction, LPPL
  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: Convert numbers into binary, octal and hexadecimal.
  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: Convert numbers into binary, octal and hexadecimal.
  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/epstopdf/epstopdf.pl
  128. scripts/texlive/fmtutil.sh
  129. texconfig/tcfmgr
  130. web2c/texmf.cnf
  131. web2c/updmap-hdr.cfg
  132. web2c/updmap.cfg
  133. install-tl
  134. )
  135. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  136. pushd %{buildroot}%{_tl_texmfdist}
  137. %__rm -f ${x[@]} ||:
  138. popd
  139. fi
  140. ## Files list
  141. find %{buildroot} -type f -or -type l | \
  142. %__sed -e "s|%{buildroot}||g" > filelist.full
  143. find %{buildroot}%{_tl_texmfdist} -type d | \
  144. %__sed -e "s|^%{buildroot}|%dir |" \
  145. -e "s|$|/|" >> filelist.full
  146. ## subpackages
  147. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  148. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  149. %__mv -f filelist.tmp filelist.full
  150. %clean
  151. %__rm -rf %{buildroot}
  152. %post
  153. %_tl_touch_run texhash
  154. %_tl_touch_run mtxrun
  155. exit 0
  156. %postun
  157. if [ "$1" = 0 ]; then
  158. %_tl_touch_run texhash
  159. fi
  160. exit 0
  161. %posttrans
  162. %{_tl_exec_texhash}
  163. %{_tl_exec_mtxrun}
  164. %{_tl_exec_updmap}
  165. %{_tl_exec_fmtutil}
  166. exit 0
  167. %files -f filelist.full
  168. %defattr(-,root,root,-)
  169. %files -f filelist.doc doc
  170. %defattr(-,root,root,-)
  171. %changelog
  172. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  173. - synced tlnet to 20141028
  174. * Sun Jul 6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  175. - synced tlnet to 20140706
  176. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  177. - synced tlnet to 20140524