texlive-collection-documentation-french-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3:
  3. ## tlpdb2rpmspec collection-documentation-french
  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: French documentation
  22. Summary(ja): TeX Live: French documentation
  23. Name: texlive-collection-documentation-french
  24. Version: 2009
  25. Release: 3%{?_dist_release}
  26. License: GPL+, GFDL
  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 French documentation:
  47. This package contains the following CTAN packages:
  48. epslatex-fr: French version of "graphics in LaTeX".
  49. impatient-fr: Free edition of the book "TeX for the Impatient"
  50. l2tabu-french: French translation of l2tabu.
  51. lshort-french: Short introduction to LaTeX, French translation.
  52. texlive-fr: TeX Live manual (French)
  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. French documentation:
  66. このパッケージは以下の CTAN パッケージを含んでいます:
  67. epslatex-fr: French version of "graphics in LaTeX".
  68. impatient-fr: Free edition of the book "TeX for the Impatient"
  69. l2tabu-french: French translation of l2tabu.
  70. lshort-french: Short introduction to LaTeX, French translation.
  71. texlive-fr: TeX Live manual (French)
  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/epslatex-fr/Ball.eps
  79. texmf-dist/doc/latex/epslatex-fr/CHAP2.sty
  80. texmf-dist/doc/latex/epslatex-fr/Construction.eps
  81. texmf-dist/doc/latex/epslatex-fr/Franc-chap.sty
  82. texmf-dist/doc/latex/epslatex-fr/README
  83. texmf-dist/doc/latex/epslatex-fr/README.TEXLIVE
  84. texmf-dist/doc/latex/epslatex-fr/Warning.eps
  85. texmf-dist/doc/latex/epslatex-fr/alltex.sty
  86. texmf-dist/doc/latex/epslatex-fr/auteurs.sty
  87. texmf-dist/doc/latex/epslatex-fr/bases.sty
  88. texmf-dist/doc/latex/epslatex-fr/block.sty
  89. texmf-dist/doc/latex/epslatex-fr/box1.eps
  90. texmf-dist/doc/latex/epslatex-fr/box2.eps
  91. texmf-dist/doc/latex/epslatex-fr/boxes.sty
  92. texmf-dist/doc/latex/epslatex-fr/btxdoc.bib
  93. texmf-dist/doc/latex/epslatex-fr/cm.eps
  94. texmf-dist/doc/latex/epslatex-fr/cm.ps
  95. texmf-dist/doc/latex/epslatex-fr/danger.eps
  96. texmf-dist/doc/latex/epslatex-fr/divers.sty
  97. texmf-dist/doc/latex/epslatex-fr/ebnf.sty
  98. texmf-dist/doc/latex/epslatex-fr/export.sty
  99. texmf-dist/doc/latex/epslatex-fr/fepslatex.pdf
  100. texmf-dist/doc/latex/epslatex-fr/fepslatex.tex
  101. texmf-dist/doc/latex/epslatex-fr/fill.sty
  102. texmf-dist/doc/latex/epslatex-fr/fmparhack.sty
  103. texmf-dist/doc/latex/epslatex-fr/foot.sty
  104. texmf-dist/doc/latex/epslatex-fr/fr.sty
  105. texmf-dist/doc/latex/epslatex-fr/franc.sty
  106. texmf-dist/doc/latex/epslatex-fr/frnew.sty
  107. texmf-dist/doc/latex/epslatex-fr/g_toc_entry.sty
  108. texmf-dist/doc/latex/epslatex-fr/graphic.eps
  109. texmf-dist/doc/latex/epslatex-fr/hands.sty
  110. texmf-dist/doc/latex/epslatex-fr/header.tex
  111. texmf-dist/doc/latex/epslatex-fr/indentondemand.sty
  112. texmf-dist/doc/latex/epslatex-fr/makecmds.sty
  113. texmf-dist/doc/latex/epslatex-fr/makerobust.sty
  114. texmf-dist/doc/latex/epslatex-fr/mass.eps
  115. texmf-dist/doc/latex/epslatex-fr/mypatches.sty
  116. texmf-dist/doc/latex/epslatex-fr/myvarioref.sty
  117. texmf-dist/doc/latex/epslatex-fr/nrfoot.sty
  118. texmf-dist/doc/latex/epslatex-fr/origin.eps
  119. texmf-dist/doc/latex/epslatex-fr/overlay.sty
  120. texmf-dist/doc/latex/epslatex-fr/pale.eps
  121. texmf-dist/doc/latex/epslatex-fr/pend.eps
  122. texmf-dist/doc/latex/epslatex-fr/pretzel.eps
  123. texmf-dist/doc/latex/epslatex-fr/pretzel.ps
  124. texmf-dist/doc/latex/epslatex-fr/rdanger.eps
  125. texmf-dist/doc/latex/epslatex-fr/rosette.eps
  126. texmf-dist/doc/latex/epslatex-fr/rosette.ps
  127. texmf-dist/doc/latex/epslatex-fr/sgte.sty
  128. texmf-dist/doc/latex/epslatex-fr/smaller.sty
  129. texmf-dist/doc/latex/epslatex-fr/square.eps
  130. texmf-dist/doc/latex/epslatex-fr/topcapt.sty
  131. texmf-dist/doc/latex/epslatex-fr/topfig.sty
  132. texmf-dist/doc/latex/epslatex-fr/warn.sty
  133. texmf-dist/doc/latex/epslatex-fr/wdesc.sty
  134. texmf-dist/doc/latex/epslatex-fr/whitecdp.sty
  135. texmf-dist/doc/latex/epslatex-fr/wide.eps
  136. texmf-dist/doc/latex/epslatex-fr/widecenter.sty
  137. texmf-dist/doc/latex/epslatex-fr/xb.sty
  138. texmf-dist/doc/plain/impatient-fr/README
  139. texmf-dist/doc/plain/impatient-fr/config.tex
  140. texmf-dist/doc/plain/impatient-fr/eplain.tex
  141. texmf-dist/doc/plain/impatient-fr/fbackm.tex
  142. texmf-dist/doc/plain/impatient-fr/fbook.pdf
  143. texmf-dist/doc/plain/impatient-fr/fbook.tex
  144. texmf-dist/doc/plain/impatient-fr/fcapsule.tex
  145. texmf-dist/doc/plain/impatient-fr/fconcept.tex
  146. texmf-dist/doc/plain/impatient-fr/fcopyrgh.tex
  147. texmf-dist/doc/plain/impatient-fr/fdl.tex
  148. texmf-dist/doc/plain/impatient-fr/ferrors.tex
  149. texmf-dist/doc/plain/impatient-fr/fexamples.tex
  150. texmf-dist/doc/plain/impatient-fr/ffrontm.tex
  151. texmf-dist/doc/plain/impatient-fr/fgenops.tex
  152. texmf-dist/doc/plain/impatient-fr/fmacros.tex
  153. texmf-dist/doc/plain/impatient-fr/fmath.tex
  154. texmf-dist/doc/plain/impatient-fr/fmodes.tex
  155. texmf-dist/doc/plain/impatient-fr/fonts.tex
  156. texmf-dist/doc/plain/impatient-fr/fpages.tex
  157. texmf-dist/doc/plain/impatient-fr/fparas.tex
  158. texmf-dist/doc/plain/impatient-fr/fpreface.tex
  159. texmf-dist/doc/plain/impatient-fr/fread1st.tex
  160. texmf-dist/doc/plain/impatient-fr/ftips.tex
  161. texmf-dist/doc/plain/impatient-fr/fusebook.tex
  162. texmf-dist/doc/plain/impatient-fr/fusermacs.tex
  163. texmf-dist/doc/plain/impatient-fr/fusingtex.tex
  164. texmf-dist/doc/plain/impatient-fr/fxmptext.tex
  165. texmf-dist/doc/latex/l2tabu-french/README
  166. texmf-dist/doc/latex/l2tabu-french/l2tabufr-heavy.pdf
  167. texmf-dist/doc/latex/l2tabu-french/l2tabufr-light.pdf
  168. texmf-dist/doc/latex/l2tabu-french/l2tabufr.tex
  169. texmf-dist/doc/latex/lshort-french/README
  170. texmf-dist/doc/latex/lshort-french/flshort-3.20.pdf
  171. texmf-dist/doc/latex/lshort-french/flshort-3.20.zip
  172. )
  173. %__mkdir_p ${PREF}/texmf-dist
  174. for i in "${manifest[@]}"; do
  175. %__install -D %{texlive_src}/$i ${PREF}/$i
  176. done
  177. ## info
  178. %__rm -f %{buildroot}%{_infodir}/dir
  179. %__gzip -9nf %{buildroot}%{_infodir}/*info* ||:
  180. ## man
  181. ## man t1* files are provided by t1utils
  182. for i in t1ascii t1asm t1binary t1disasm t1mac t1unmac; do
  183. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  184. done
  185. ## man some files are provided by psutils
  186. for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps getafm includeres psbook psmerge psnup psresize psselect pstops; do
  187. %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
  188. done
  189. ## fix perl path
  190. for i in source/metapost/expressg/expressg.dtx \
  191. doc/metapost/expressg/n2mpsprl.prl \
  192. doc/latex/songbook/contrib/crd2sb/crd2sb; do
  193. [ -f %{build_texmf}-dist/${i} ] && \
  194. %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
  195. done
  196. ## remove asymptote directries, which provides asymptote package
  197. find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
  198. # find %{buildroot} -name "Makefile" | xargs %__rm -f
  199. # ## remove xindy
  200. # find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf
  201. # ## remove tex4ht
  202. # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
  203. ## remove arch dependent binaries
  204. %__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
  205. ## remove unpackaging files
  206. find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
  207. find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
  208. ## Files list
  209. find %{buildroot} -type f -or -type l | \
  210. %__sed -e "s|%{buildroot}||g" > filelist.full
  211. find %{buildroot}%{texmf}-dist -type d | \
  212. %__sed -e "s|^%{buildroot}|%dir |" \
  213. -e "s|$|/|" >> filelist.full
  214. %clean
  215. %__rm -rf %{buildroot}
  216. %post
  217. %{exec_texhash}
  218. exit 0
  219. %postun
  220. if [ "$1" = 0 ]; then
  221. %{exec_texhash}
  222. fi
  223. exit 0
  224. %files -f filelist.full
  225. %defattr(-,root,root)
  226. %changelog
  227. * Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  228. - generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-french
  229. - improved %%post
  230. * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  231. - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-french
  232. - removed arch dependent binaries (texlive-collection-latexextra)
  233. - fixed perl path
  234. - improved updmap process in %%post and %%postun
  235. * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  236. - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-french