texlive-collection-langspanish-vl.spec 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-1:
  3. ## tlpdb2rpmspec collection-langspanish
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Spanish
  8. Summary(ja): TeX Live: Spanish
  9. Name: texlive-collection-langspanish
  10. Version: 2013
  11. Release: 1%{?_dist_release}
  12. License: LPPL, Public Domain, Freely redistributable without restriction
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: babel-catalan.doc.tar.xz
  16. Source1: babel-catalan.source.tar.xz
  17. Source2: babel-catalan.tar.xz
  18. Source3: babel-galician.doc.tar.xz
  19. Source4: babel-galician.source.tar.xz
  20. Source5: babel-galician.tar.xz
  21. Source6: babel-spanish.doc.tar.xz
  22. Source7: babel-spanish.source.tar.xz
  23. Source8: babel-spanish.tar.xz
  24. Source9: es-tex-faq.doc.tar.xz
  25. Source10: es-tex-faq.tar.xz
  26. Source11: hyphen-catalan.tar.xz
  27. Source12: hyphen-galician.tar.xz
  28. Source13: hyphen-spanish.tar.xz
  29. Source14: l2tabu-spanish.doc.tar.xz
  30. Source15: l2tabu-spanish.tar.xz
  31. Source16: latex2e-help-texinfo-spanish.doc.tar.xz
  32. Source17: latex2e-help-texinfo-spanish.tar.xz
  33. Source18: latexcheat-esmx.doc.tar.xz
  34. Source19: latexcheat-esmx.tar.xz
  35. Source20: lshort-spanish.doc.tar.xz
  36. Source21: lshort-spanish.tar.xz
  37. Source22: spanish-mx.doc.tar.xz
  38. Source23: spanish-mx.tar.xz
  39. Requires: texlive = %{version}
  40. Requires: texlive-collection-basic = %{version}
  41. Requires(post): texlive = %{version}
  42. Requires(postun): texlive = %{version}
  43. BuildArch: noarch
  44. Buildroot: %{_tmppath}/%{name}-%{version}-root
  45. Vendor: Project Vine
  46. Distribution: Vine Linux
  47. Packager: munepi
  48. %description
  49. The TeX Live software distribution offers a complete TeX system for a
  50. variety of Unix, Macintosh, Windows and other platforms. It
  51. encompasses programs for editing, typesetting, previewing and printing
  52. of TeX documents in many different languages, and a large collection
  53. of TeX macros and font libraries.
  54. The distribution includes extensive general documentation about TeX,
  55. as well as the documentation for the included software packages.
  56. This package is a collection of Spanish:
  57. Support for Spanish.
  58. This package contains the following CTAN packages:
  59. babel-catalan:
  60. babel-galician:
  61. babel-spanish: Babel support for Spanish.
  62. es-tex-faq: CervanTeX (Spanish TeX Group) FAQ
  63. hyphen-catalan: Catalan hyphenation patterns.
  64. hyphen-galician: Galician hyphenation patterns.
  65. hyphen-spanish: Spanish hyphenation patterns.
  66. l2tabu-spanish: Spanish translation of "Obsolete packages and commands".
  67. latex2e-help-texinfo-spanish:
  68. latexcheat-esmx: A LaTeX cheat sheet, in Spanish.
  69. lshort-spanish: Short introduction to LaTeX, Spanish translation.
  70. spanish-mx: Typeset Spanish as in Mexico.
  71. %description -l ja
  72. TeX Live ソフトウェアディストリビューションは、
  73. さまざまな Unix, Macintosh, Windows、および
  74. 他のプラットホームに対して完全な TeX システムを提供します。
  75. 多くの異なった言語を含む TeX ドキュメントの
  76. 編集、組版、閲覧、印刷するためのプログラム、
  77. そして、TeX マクロやフォントライブラリの大きなコレクションを
  78. 同梱しています。
  79. このディストリビューションは
  80. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  81. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  82. このパッケージは以下のようなパッケージ集です。
  83. Spanish:
  84. Support for Spanish.
  85. このパッケージは以下の CTAN パッケージを含んでいます:
  86. babel-catalan:
  87. babel-galician:
  88. babel-spanish: Babel support for Spanish.
  89. es-tex-faq: CervanTeX (Spanish TeX Group) FAQ
  90. hyphen-catalan: Catalan hyphenation patterns.
  91. hyphen-galician: Galician hyphenation patterns.
  92. hyphen-spanish: Spanish hyphenation patterns.
  93. l2tabu-spanish: Spanish translation of "Obsolete packages and commands".
  94. latex2e-help-texinfo-spanish:
  95. latexcheat-esmx: A LaTeX cheat sheet, in Spanish.
  96. lshort-spanish: Short introduction to LaTeX, Spanish translation.
  97. spanish-mx: Typeset Spanish as in Mexico.
  98. %package doc
  99. Summary: TeX Live: Documentation files of %{name}
  100. Group: Applications/Publishing
  101. Requires: %{name} = %{version}-%{release}
  102. %description doc
  103. This package contains documentation files of %{name}.
  104. %prep
  105. %setup -c -n %{name}-%{version}
  106. %__tar -xvf %{SOURCE1}
  107. %__tar -xvf %{SOURCE2}
  108. %__tar -xvf %{SOURCE3}
  109. %__tar -xvf %{SOURCE4}
  110. %__tar -xvf %{SOURCE5}
  111. %__tar -xvf %{SOURCE6}
  112. %__tar -xvf %{SOURCE7}
  113. %__tar -xvf %{SOURCE8}
  114. %__tar -xvf %{SOURCE9}
  115. %__tar -xvf %{SOURCE10}
  116. %__tar -xvf %{SOURCE11}
  117. %__tar -xvf %{SOURCE12}
  118. %__tar -xvf %{SOURCE13}
  119. %__tar -xvf %{SOURCE14}
  120. %__tar -xvf %{SOURCE15}
  121. %__tar -xvf %{SOURCE16}
  122. %__tar -xvf %{SOURCE17}
  123. %__tar -xvf %{SOURCE18}
  124. %__tar -xvf %{SOURCE19}
  125. %__tar -xvf %{SOURCE20}
  126. %__tar -xvf %{SOURCE21}
  127. %__tar -xvf %{SOURCE22}
  128. %__tar -xvf %{SOURCE23}
  129. %build
  130. %install
  131. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  132. %__mkdir_p %{buildroot}%{_datadir}
  133. ## move texmf-dist to /usr/share/texmf-dist
  134. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  135. ## move texmf to /usr/share/texmf
  136. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  137. ## move tlpkg to /usr/share/tlpkg
  138. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  139. ## move all non-arch binaries to /usr/bin
  140. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  141. ## move others into /usr/share/texmf-dist
  142. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  143. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  144. %__rm -rf * ||:
  145. ## remove duplicated files between texlive and texlive-collection-*
  146. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  147. ## remove unpacked files
  148. x=(
  149. texconfig/tcfmgr
  150. texconfig/tcfmgr.map
  151. web2c/fmtutil.cnf
  152. web2c/mktex.opt
  153. web2c/mktexdir
  154. web2c/mktexdir.opt
  155. web2c/mktexnam
  156. web2c/mktexnam.opt
  157. web2c/mktexupd
  158. web2c/texmf.cnf
  159. web2c/updmap.cfg
  160. web2c/updmap-hdr.cfg
  161. doc/chktex/ChkTeX.pdf
  162. install-tl
  163. )
  164. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  165. pushd %{buildroot}%{_tl_texmfdist}
  166. %__rm -f ${x[@]} ||:
  167. popd
  168. fi
  169. ## Files list
  170. find %{buildroot} -type f -or -type l | \
  171. %__sed -e "s|%{buildroot}||g" > filelist.full
  172. find %{buildroot}%{_tl_texmfdist} -type d | \
  173. %__sed -e "s|^%{buildroot}|%dir |" \
  174. -e "s|$|/|" >> filelist.full
  175. ## subpackages
  176. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  177. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  178. %__mv -f filelist.tmp filelist.full
  179. %clean
  180. %__rm -rf %{buildroot}
  181. %post
  182. %_tl_touch_run texhash
  183. %_tl_touch_run mtxrun
  184. %_tl_touch_run fmtutil
  185. exit 0
  186. %postun
  187. if [ "$1" = 0 ]; then
  188. %_tl_touch_run texhash
  189. fi
  190. exit 0
  191. %posttrans
  192. %{_tl_exec_texhash}
  193. %{_tl_exec_mtxrun}
  194. %{_tl_exec_updmap}
  195. %{_tl_exec_fmtutil}
  196. exit 0
  197. %files -f filelist.full
  198. %defattr(-,root,root,-)
  199. %files -f filelist.doc doc
  200. %defattr(-,root,root,-)
  201. %changelog
  202. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  203. - generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-langspanish
  204. - TLNET 20130823
  205. * Fri Nov 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  206. - generated by tlpdb2rpmspec 2012-1: tlpdb2rpmspec collection-langspanish
  207. * Sat Dec 3 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  208. - generated by tlpdb2rpmspec 2011-2: tlpdb2rpmspec collection-langspanish
  209. - set external dependencies (texlive-collection-binextra,
  210. texlive-collection-fontutils)
  211. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  212. - generated by tlpdb2rpmspec 2011-1: tlpdb2rpmspec collection-langspanish
  213. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  214. - generated by tlpdb2rpmspec 2009-4: tlpdb2rpmspec collection-langspanish
  215. - make symlinks of core script utils (texlive-collection-binextra,
  216. texlive-collection-context, texlive-collection-fontutils,
  217. texlive-collection-langgreek, texlive-collection-langindic,
  218. texlive-collection-latex, texlive-collection-latexextra,
  219. texlive-collection-latexrecommended, texlive-collection-pictures,
  220. texlive-collection-pstricks, texlive-collection-science)
  221. * Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  222. - generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langspanish
  223. - improved %%post
  224. * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  225. - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langspanish
  226. - removed arch dependent binaries (texlive-collection-latexextra)
  227. - fixed perl path
  228. - improved updmap process in %%post and %%postun
  229. * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  230. - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langspanish