texlive-collection-documentation-russian-vl.spec 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  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: Russian documentation
  22. Summary(ja): TeX Live: Russian documentation
  23. Name: texlive-collection-documentation-russian
  24. Version: 2009
  25. Release: 1%{?_dist_release}
  26. License: GPL+, Freely redistributable without restriction
  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 Russian documentation:
  47. This package contains the following CTAN packages:
  48. lshort-russian: Russian introduction to LaTeX.
  49. mpman-ru: A Russian translation of the MetaPost manual.
  50. texlive-ru: TeX Live manual (Russian)
  51. %description -l ja
  52. TeX Live ソフトウェアディストリビューションは、
  53. さまざまな Unix, Macintosh, Windows、および
  54. 他のプラットホームに対して完全な TeX システムを提供します。
  55. 多くの異なった言語を含む TeX ドキュメントの
  56. 編集、組版、閲覧、印刷するためのプログラム、
  57. そして、TeX マクロやフォントライブラリの大きなコレクションを
  58. 同梱しています。
  59. このディストリビューションは
  60. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  61. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  62. このパッケージは以下のようなパッケージ集です。
  63. Russian documentation:
  64. このパッケージは以下の CTAN パッケージを含んでいます:
  65. lshort-russian: Russian introduction to LaTeX.
  66. mpman-ru: A Russian translation of the MetaPost manual.
  67. texlive-ru: TeX Live manual (Russian)
  68. %prep
  69. %build
  70. %install
  71. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  72. PREF=%{buildroot}%{tex_destdir}
  73. manifest=(
  74. texmf-dist/doc/latex/lshort-russian/CHANGES
  75. texmf-dist/doc/latex/lshort-russian/MANIFEST
  76. texmf-dist/doc/latex/lshort-russian/Makefile
  77. texmf-dist/doc/latex/lshort-russian/README
  78. texmf-dist/doc/latex/lshort-russian/fixdate.pl
  79. texmf-dist/doc/latex/lshort-russian/lshort.dvi
  80. texmf-dist/doc/latex/lshort-russian/lshortru.pdf
  81. texmf-dist/doc/latex/lshort-russian/src/biblio.tex
  82. texmf-dist/doc/latex/lshort-russian/src/contrib.tex
  83. texmf-dist/doc/latex/lshort-russian/src/custom.tex
  84. texmf-dist/doc/latex/lshort-russian/src/fancyhea.sty
  85. texmf-dist/doc/latex/lshort-russian/src/fancyvrb.cfg
  86. texmf-dist/doc/latex/lshort-russian/src/fancyvrb.sty
  87. texmf-dist/doc/latex/lshort-russian/src/graphic.tex
  88. texmf-dist/doc/latex/lshort-russian/src/hbaw.sty
  89. texmf-dist/doc/latex/lshort-russian/src/hcolor.sty
  90. texmf-dist/doc/latex/lshort-russian/src/lshort.out
  91. texmf-dist/doc/latex/lshort-russian/src/lshort.sty
  92. texmf-dist/doc/latex/lshort-russian/src/lshort.tex
  93. texmf-dist/doc/latex/lshort-russian/src/lssym.tex
  94. texmf-dist/doc/latex/lshort-russian/src/math.tex
  95. texmf-dist/doc/latex/lshort-russian/src/mylayout.sty
  96. texmf-dist/doc/latex/lshort-russian/src/overview.tex
  97. texmf-dist/doc/latex/lshort-russian/src/spec.tex
  98. texmf-dist/doc/latex/lshort-russian/src/t-fvrbex.tex
  99. texmf-dist/doc/latex/lshort-russian/src/things.tex
  100. texmf-dist/doc/latex/lshort-russian/src/title.tex
  101. texmf-dist/doc/latex/lshort-russian/src/typeset.tex
  102. texmf-dist/doc/metapost/mpman-ru/Makefile
  103. texmf-dist/doc/metapost/mpman-ru/README
  104. texmf-dist/doc/metapost/mpman-ru/README.ru.koi8-r
  105. texmf-dist/doc/metapost/mpman-ru/bm-to-utf16be.awk
  106. texmf-dist/doc/metapost/mpman-ru/ctabbing.sty
  107. texmf-dist/doc/metapost/mpman-ru/extract-bm.awk
  108. texmf-dist/doc/metapost/mpman-ru/idx1.awk
  109. texmf-dist/doc/metapost/mpman-ru/idx2.awk
  110. texmf-dist/doc/metapost/mpman-ru/idx3.awk
  111. texmf-dist/doc/metapost/mpman-ru/manfig-ru.mp
  112. texmf-dist/doc/metapost/mpman-ru/mpman-optab-ru.tex
  113. texmf-dist/doc/metapost/mpman-ru/mpman-ru.pdf
  114. texmf-dist/doc/metapost/mpman-ru/mpman-ru.tex
  115. texmf-dist/doc/metapost/mpman-ru/mpman.ist
  116. )
  117. %__mkdir_p ${PREF}/texmf-dist
  118. for i in "${manifest[@]}"; do
  119. %__install -D %{texlive_src}/$i ${PREF}/$i
  120. done
  121. ## info
  122. %__rm -f %{buildroot}%{_infodir}/dir
  123. %__gzip -9nf %{buildroot}%{_infodir}/*info* ||:
  124. ## man
  125. ## man t1* files are provided by t1utils
  126. for i in t1ascii t1asm t1binary t1disasm t1mac t1unmac; do
  127. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  128. done
  129. ## man some files are provided by psutils
  130. for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps getafm includeres psbook psmerge psnup psresize psselect pstops; do
  131. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  132. done
  133. ## remove asymptote directries, which provides asymptote package
  134. find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
  135. # find %{buildroot} -name "Makefile" | xargs %__rm -f
  136. # ## remove xindy
  137. # find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf
  138. # ## remove tex4ht
  139. # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
  140. ## remove unpackaging files
  141. find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
  142. find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
  143. ## Files list
  144. find %{buildroot} -type f -or -type l | \
  145. %__sed -e "s|%{buildroot}||g" > filelist.full
  146. find %{buildroot}%{texmf}-dist -type d | \
  147. %__sed -e "s|^%{buildroot}|%dir |" \
  148. -e "s|$|/|" >> filelist.full
  149. %clean
  150. %__rm -rf %{buildroot}
  151. %post
  152. %{exec_texhash}
  153. exit 0
  154. %postun
  155. if [ "$1" = 0 ]; then
  156. %{exec_texhash}
  157. fi
  158. exit 0
  159. %files -f filelist.full
  160. %defattr(-,root,root)
  161. %changelog
  162. * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  163. - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-russian