texlive-collection-documentation-portuguese-vl.spec 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1:
  3. ## tlpdb2rpmspec.sh collection-basic
  4. %bcond_with firstbuild
  5. %define tex_destdir %{_datadir}
  6. %define texmf %{tex_destdir}/texmf
  7. %define texlive_src %{tex_destdir}/texlive-sources
  8. %define build_tex_destdir %{buildroot}%{tex_destdir}
  9. %define build_texmf %{buildroot}%{texmf}
  10. %define exec_mktexlsr [ -x %{_bindir}/texconfig-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/texconfig-sys rehash
  11. %define exec_texhash [ -x %{_bindir}/texhash ] && PATH=%{_bindir}:$PATH %{_bindir}/texhash
  12. %define exec_updmap [ -x %{_bindir}/updmap-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/updmap-sys --nostop
  13. %define exec_fmtutil [ -x %{_bindir}/fmtutil-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/fmtutil-sys --all >/dev/null 2>&1
  14. %define exec_upddeffont [ -x %{_sbindir}/update-defaultfont ] && %{_sbindir}/update-defaultfont 2> /dev/null
  15. %define vartexfonts %{_var}/lib/texmf
  16. %define __find_provides %{nil}
  17. %define __find_requires %{nil}
  18. %define __perl_provides %{nil}
  19. %define __perl_requires %{nil}
  20. Autoreq: 0
  21. Summary: TeX Live: Portuguese documentation
  22. Summary(ja): TeX Live: Portuguese documentation
  23. Name: texlive-collection-documentation-portuguese
  24. Version: 2009
  25. Release: 1%{?_dist_release}
  26. License: GPL+, LPPL, Public Domain
  27. Group: Applications/Publishing
  28. URL:http://www.tug.org/texlive/
  29. Requires: texlive = %{version}
  30. Requires(post): texlive = %{version}
  31. Requires(postun): texlive = %{version}
  32. BuildRequires: texlive-sources = %{version}
  33. BuildArch: noarch
  34. Buildroot: %{_tmppath}/%{name}-%{version}-root
  35. Vendor: Project Vine
  36. Distribution: Vine Linux
  37. Packager: munepi
  38. %description
  39. The TeX Live software distribution offers a complete TeX system for a
  40. variety of Unix, Macintosh, Windows and other platforms. It
  41. encompasses programs for editing, typesetting, previewing and printing
  42. of TeX documents in many different languages, and a large collection
  43. of TeX macros and font libraries.
  44. The distribution includes extensive general documentation about TeX,
  45. as well as the documentation for the included software packages.
  46. This package is a collection of Portuguese documentation:
  47. This package contains the following CTAN packages:
  48. beamer-tut-pt: An introduction to the Beamer class, in Portuguese.
  49. cursolatex: A LaTeX tutorial.
  50. latexcheat-ptbr: A LaTeX cheat sheet, in Brazilian Portuguese.
  51. lshort-portuguese: Introduction to LaTeX in Portuguese.
  52. xypic-tut-pt: A tutorial for XY-pic, in Portuguese.
  53. %description -l ja
  54. TeX Live ソフトウェアディストリビューションは、
  55. さまざまな Unix, Macintosh, Windows、および
  56. 他のプラットホームに対して完全な TeX システムを提供します。
  57. 多くの異なった言語を含む TeX ドキュメントの
  58. 編集、組版、閲覧、印刷するためのプログラム、
  59. そして、TeX マクロやフォントライブラリの大きなコレクションを
  60. 同梱しています。
  61. このディストリビューションは
  62. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  63. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  64. このパッケージは以下のようなパッケージ集です。
  65. Portuguese documentation:
  66. このパッケージは以下の CTAN パッケージを含んでいます:
  67. beamer-tut-pt: An introduction to the Beamer class, in Portuguese.
  68. cursolatex: A LaTeX tutorial.
  69. latexcheat-ptbr: A LaTeX cheat sheet, in Brazilian Portuguese.
  70. lshort-portuguese: Introduction to LaTeX in Portuguese.
  71. xypic-tut-pt: A tutorial for XY-pic, in Portuguese.
  72. %prep
  73. %build
  74. %install
  75. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  76. PREF=%{buildroot}%{tex_destdir}
  77. manifest=(
  78. texmf-dist/doc/latex/beamer-tut-pt/AnnArbor1.ps
  79. texmf-dist/doc/latex/beamer-tut-pt/AnnArbor2.ps
  80. texmf-dist/doc/latex/beamer-tut-pt/CambridgeUS1.ps
  81. texmf-dist/doc/latex/beamer-tut-pt/CambridgeUS2.ps
  82. texmf-dist/doc/latex/beamer-tut-pt/LEIAME
  83. texmf-dist/doc/latex/beamer-tut-pt/README
  84. texmf-dist/doc/latex/beamer-tut-pt/anim1.ps
  85. texmf-dist/doc/latex/beamer-tut-pt/anim2.ps
  86. texmf-dist/doc/latex/beamer-tut-pt/anim3.ps
  87. texmf-dist/doc/latex/beamer-tut-pt/anim4.ps
  88. texmf-dist/doc/latex/beamer-tut-pt/automato1.jpg
  89. texmf-dist/doc/latex/beamer-tut-pt/automato2.jpg
  90. texmf-dist/doc/latex/beamer-tut-pt/automato3.jpg
  91. texmf-dist/doc/latex/beamer-tut-pt/automato4.jpg
  92. texmf-dist/doc/latex/beamer-tut-pt/automato5.jpg
  93. texmf-dist/doc/latex/beamer-tut-pt/berkeley1.ps
  94. texmf-dist/doc/latex/beamer-tut-pt/berkeley2.ps
  95. texmf-dist/doc/latex/beamer-tut-pt/blocos.ps
  96. texmf-dist/doc/latex/beamer-tut-pt/boadilla1.ps
  97. texmf-dist/doc/latex/beamer-tut-pt/boadilla2.ps
  98. texmf-dist/doc/latex/beamer-tut-pt/exemplo.tex
  99. texmf-dist/doc/latex/beamer-tut-pt/madrid1.ps
  100. texmf-dist/doc/latex/beamer-tut-pt/madrid2.ps
  101. texmf-dist/doc/latex/beamer-tut-pt/montpellier1.ps
  102. texmf-dist/doc/latex/beamer-tut-pt/montpellier2.ps
  103. texmf-dist/doc/latex/beamer-tut-pt/tutorialbeamer.pdf
  104. texmf-dist/doc/latex/beamer-tut-pt/tutorialbeamer.tex
  105. texmf-dist/doc/latex/beamer-tut-pt/ufpellogo.jpg
  106. texmf-dist/doc/latex/cursolatex/README
  107. texmf-dist/doc/latex/cursolatex/cursolatex.pdf
  108. texmf-dist/doc/latex/cursolatex/src/TeXniccenter.eps
  109. texmf-dist/doc/latex/cursolatex/src/cursolatex.tex
  110. texmf-dist/doc/latex/cursolatex/src/emacstex.eps
  111. texmf-dist/doc/latex/cursolatex/src/integra.eps
  112. texmf-dist/doc/latex/cursolatex/src/lyx.eps
  113. texmf-dist/doc/latex/cursolatex/src/miktex.eps
  114. texmf-dist/doc/latex/cursolatex/src/vitex.eps
  115. texmf-dist/doc/latex/latexcheat-ptbr/README-ptbr
  116. texmf-dist/doc/latex/latexcheat-ptbr/latexsheet-ptbr.pdf
  117. texmf-dist/doc/latex/latexcheat-ptbr/latexsheet-ptbr.tex
  118. texmf-dist/doc/latex/lshort-portuguese/ptlshort-4.20.pt.src.tar.gz
  119. texmf-dist/doc/latex/lshort-portuguese/ptlshort.pdf
  120. texmf-dist/doc/generic/xypic-tut-pt/README
  121. texmf-dist/doc/generic/xypic-tut-pt/grafico.eps
  122. texmf-dist/doc/generic/xypic-tut-pt/xypic-tutorial.pdf
  123. texmf-dist/doc/generic/xypic-tut-pt/xypictutorial.tex
  124. )
  125. %__mkdir_p ${PREF}/texmf-dist
  126. for i in "${manifest[@]}"; do
  127. %__install -D %{texlive_src}/$i ${PREF}/$i
  128. done
  129. ## info
  130. %__rm -f %{buildroot}%{_infodir}/dir
  131. %__gzip -9nf %{buildroot}%{_infodir}/*info* ||:
  132. ## man
  133. ## man t1* files are provided by t1utils
  134. for i in t1ascii t1asm t1binary t1disasm t1mac t1unmac; do
  135. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  136. done
  137. ## man some files are provided by psutils
  138. for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps getafm includeres psbook psmerge psnup psresize psselect pstops; do
  139. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  140. done
  141. ## remove asymptote directries, which provides asymptote package
  142. find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
  143. # find %{buildroot} -name "Makefile" | xargs %__rm -f
  144. # ## remove xindy
  145. # find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf
  146. # ## remove tex4ht
  147. # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
  148. ## remove unpackaging files
  149. find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
  150. find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
  151. ## Files list
  152. find %{buildroot} -type f -or -type l | \
  153. %__sed -e "s|%{buildroot}||g" > filelist.full
  154. find %{buildroot}%{texmf}-dist -type d | \
  155. %__sed -e "s|^%{buildroot}|%dir |" \
  156. -e "s|$|/|" >> filelist.full
  157. %clean
  158. %__rm -rf %{buildroot}
  159. %post
  160. %{exec_texhash}
  161. exit 0
  162. %postun
  163. if [ "$1" = 0 ]; then
  164. %{exec_texhash}
  165. fi
  166. exit 0
  167. %files -f filelist.full
  168. %defattr(-,root,root)
  169. %changelog
  170. * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  171. - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-portuguese