texlive-collection-langspanish-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-2:
  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: 2%{?_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/context/stubs/unix/mtxrun
  156. scripts/ptex2pdf/ptex2pdf.lua
  157. scripts/texlive/fmtutil.pl
  158. scripts/texlive/texconfig-dialog.sh
  159. scripts/texlive/texconfig-sys.sh
  160. scripts/texlive/texconfig.sh
  161. scripts/texlive/texlinks.sh
  162. scripts/texlive/tlmgr.pl
  163. scripts/texlive/updmap.pl
  164. texconfig/tcfmgr
  165. web2c/fmtutil.cnf
  166. web2c/mktex.opt
  167. web2c/mktexdir
  168. web2c/mktexdir.opt
  169. web2c/mktexnam
  170. web2c/mktexnam.opt
  171. web2c/mktexupd
  172. web2c/texmf.cnf
  173. web2c/updmap-hdr.cfg
  174. web2c/updmap.cfg
  175. install-tl
  176. )
  177. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  178. pushd %{buildroot}%{_tl_texmfdist}
  179. %__rm -f ${x[@]} ||:
  180. popd
  181. fi
  182. ## Files list
  183. find %{buildroot} -type f -or -type l | \
  184. %__sed -e "s|%{buildroot}||g" > filelist.full
  185. find %{buildroot}%{_tl_texmfdist} -type d | \
  186. %__sed -e "s|^%{buildroot}|%dir |" \
  187. -e "s|$|/|" >> filelist.full
  188. ## subpackages
  189. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  190. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  191. %__mv -f filelist.tmp filelist.full
  192. %clean
  193. %__rm -rf %{buildroot}
  194. %post
  195. %_tl_touch_run texhash
  196. %_tl_touch_run mtxrun
  197. %_tl_touch_run fmtutil
  198. exit 0
  199. %postun
  200. if [ "$1" = 0 ]; then
  201. %_tl_touch_run texhash
  202. fi
  203. exit 0
  204. %posttrans
  205. %{_tl_exec_texhash}
  206. %{_tl_exec_mtxrun}
  207. %{_tl_exec_updmap}
  208. %{_tl_exec_fmtutil}
  209. exit 0
  210. %files -f filelist.full
  211. %defattr(-,root,root,-)
  212. %files -f filelist.doc doc
  213. %defattr(-,root,root,-)
  214. %changelog
  215. * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
  216. - TeX Live 2015/pretest
  217. - synced tlnet to 20150522 (TeX Live 2015/pretest)
  218. * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
  219. - TeX Live 2015/pretest
  220. - synced tlnet to 20150426 (TeX Live 2015/pretest)
  221. * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
  222. - synced tlnet to 20150401
  223. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  224. - synced tlnet to 20141028
  225. * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  226. - synced tlnet to 20140706
  227. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  228. - upgraded to TeX Live 2014
  229. * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
  230. - synced tlnet to 20140406
  231. * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
  232. - synced tlnet to 20131218
  233. * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  234. - synced tlnet to 20131101
  235. * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  236. - synced tlnet to 20131002
  237. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  238. - synced tlnet to 20130919
  239. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  240. - upgraded to TeX Live 2013
  241. - used tlnet archives
  242. - synced tlnet to 20130823
  243. - added macros.texlive
  244. * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  245. - updated to TeX Live 2012
  246. * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  247. - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
  248. - set external dependencies (texlive-collection-binextra,
  249. texlive-collection-fontutils)
  250. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  251. - updated to TeX Live 2011
  252. - merged texlive-vtlpkg-2009-osx.patch from OSXWS
  253. - added %doc README (%files)
  254. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  255. - applied texlive-vtlpkg-2009-vine.patch
  256. - remove arch dependent binaries
  257. - updated tlpdb2rpmspec.sh.in:
  258. - improved tlpdb4a()
  259. - make symlinks of core script utils (texlive-collection-binextra,
  260. texlive-collection-context, texlive-collection-fontutils,
  261. texlive-collection-langgreek, texlive-collection-langindic,
  262. texlive-collection-latex, texlive-collection-latexextra,
  263. texlive-collection-latexrecommended, texlive-collection-pictures,
  264. texlive-collection-pstricks, texlive-collection-science)
  265. * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  266. - updated tlpdb2rpmspec.sh.in:
  267. - improved %post
  268. * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  269. - updated tlpdb2rpmspec.sh.in:
  270. - removed arch dependent binaries (texlive-collection-latexextra)
  271. - improved updmap process in %post and %postun
  272. - fixed perl path
  273. * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  274. - initial build