texlive-collection-langspanish-vl.spec 7.2 KB

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