Browse Source

updated all texlive-collection-* packages: improved %%post

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2505 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 13 years ago
parent
commit
5e39a13633
74 changed files with 2358 additions and 1469 deletions
  1. 75 52
      t/texlive-collection-basic/texlive-collection-basic-vl.spec
  2. 13 6
      t/texlive-collection-bibtexextra/texlive-collection-bibtexextra-vl.spec
  3. 13 6
      t/texlive-collection-binextra/texlive-collection-binextra-vl.spec
  4. 15 6
      t/texlive-collection-context/texlive-collection-context-vl.spec
  5. 13 6
      t/texlive-collection-documentation-arabic/texlive-collection-documentation-arabic-vl.spec
  6. 13 6
      t/texlive-collection-documentation-bulgarian/texlive-collection-documentation-bulgarian-vl.spec
  7. 13 6
      t/texlive-collection-documentation-chinese/texlive-collection-documentation-chinese-vl.spec
  8. 13 6
      t/texlive-collection-documentation-czechslovak/texlive-collection-documentation-czechslovak-vl.spec
  9. 13 6
      t/texlive-collection-documentation-dutch/texlive-collection-documentation-dutch-vl.spec
  10. 13 6
      t/texlive-collection-documentation-english/texlive-collection-documentation-english-vl.spec
  11. 13 6
      t/texlive-collection-documentation-finnish/texlive-collection-documentation-finnish-vl.spec
  12. 13 6
      t/texlive-collection-documentation-french/texlive-collection-documentation-french-vl.spec
  13. 13 6
      t/texlive-collection-documentation-german/texlive-collection-documentation-german-vl.spec
  14. 13 6
      t/texlive-collection-documentation-italian/texlive-collection-documentation-italian-vl.spec
  15. 13 6
      t/texlive-collection-documentation-japanese/texlive-collection-documentation-japanese-vl.spec
  16. 13 6
      t/texlive-collection-documentation-korean/texlive-collection-documentation-korean-vl.spec
  17. 13 6
      t/texlive-collection-documentation-mongolian/texlive-collection-documentation-mongolian-vl.spec
  18. 13 6
      t/texlive-collection-documentation-polish/texlive-collection-documentation-polish-vl.spec
  19. 13 6
      t/texlive-collection-documentation-portuguese/texlive-collection-documentation-portuguese-vl.spec
  20. 13 6
      t/texlive-collection-documentation-russian/texlive-collection-documentation-russian-vl.spec
  21. 13 6
      t/texlive-collection-documentation-slovenian/texlive-collection-documentation-slovenian-vl.spec
  22. 13 6
      t/texlive-collection-documentation-spanish/texlive-collection-documentation-spanish-vl.spec
  23. 13 6
      t/texlive-collection-documentation-thai/texlive-collection-documentation-thai-vl.spec
  24. 13 6
      t/texlive-collection-documentation-turkish/texlive-collection-documentation-turkish-vl.spec
  25. 13 6
      t/texlive-collection-documentation-ukrainian/texlive-collection-documentation-ukrainian-vl.spec
  26. 13 6
      t/texlive-collection-documentation-vietnamese/texlive-collection-documentation-vietnamese-vl.spec
  27. 563 463
      t/texlive-collection-fontsextra/texlive-collection-fontsextra-vl.spec
  28. 127 97
      t/texlive-collection-fontsrecommended/texlive-collection-fontsrecommended-vl.spec
  29. 13 6
      t/texlive-collection-fontutils/texlive-collection-fontutils-vl.spec
  30. 15 6
      t/texlive-collection-formatsextra/texlive-collection-formatsextra-vl.spec
  31. 31 17
      t/texlive-collection-games/texlive-collection-games-vl.spec
  32. 13 6
      t/texlive-collection-genericextra/texlive-collection-genericextra-vl.spec
  33. 13 6
      t/texlive-collection-genericrecommended/texlive-collection-genericrecommended-vl.spec
  34. 15 6
      t/texlive-collection-htmlxml/texlive-collection-htmlxml-vl.spec
  35. 13 6
      t/texlive-collection-humanities/texlive-collection-humanities-vl.spec
  36. 31 17
      t/texlive-collection-langafrican/texlive-collection-langafrican-vl.spec
  37. 39 22
      t/texlive-collection-langarabic/texlive-collection-langarabic-vl.spec
  38. 13 6
      t/texlive-collection-langarmenian/texlive-collection-langarmenian-vl.spec
  39. 105 77
      t/texlive-collection-langcjk/texlive-collection-langcjk-vl.spec
  40. 15 6
      t/texlive-collection-langcroatian/texlive-collection-langcroatian-vl.spec
  41. 33 17
      t/texlive-collection-langcyrillic/texlive-collection-langcyrillic-vl.spec
  42. 39 22
      t/texlive-collection-langczechslovak/texlive-collection-langczechslovak-vl.spec
  43. 15 6
      t/texlive-collection-langfinnish/texlive-collection-langfinnish-vl.spec
  44. 33 17
      t/texlive-collection-langfrench/texlive-collection-langfrench-vl.spec
  45. 15 6
      t/texlive-collection-langgerman/texlive-collection-langgerman-vl.spec
  46. 63 42
      t/texlive-collection-langgreek/texlive-collection-langgreek-vl.spec
  47. 31 17
      t/texlive-collection-langhebrew/texlive-collection-langhebrew-vl.spec
  48. 15 6
      t/texlive-collection-langhungarian/texlive-collection-langhungarian-vl.spec
  49. 45 27
      t/texlive-collection-langindic/texlive-collection-langindic-vl.spec
  50. 15 6
      t/texlive-collection-langitalian/texlive-collection-langitalian-vl.spec
  51. 33 17
      t/texlive-collection-langlithuanian/texlive-collection-langlithuanian-vl.spec
  52. 33 17
      t/texlive-collection-langmongolian/texlive-collection-langmongolian-vl.spec
  53. 45 27
      t/texlive-collection-langpolish/texlive-collection-langpolish-vl.spec
  54. 15 6
      t/texlive-collection-langportuguese/texlive-collection-langportuguese-vl.spec
  55. 15 6
      t/texlive-collection-langspanish/texlive-collection-langspanish-vl.spec
  56. 15 6
      t/texlive-collection-langswedish/texlive-collection-langswedish-vl.spec
  57. 13 6
      t/texlive-collection-langtibetan/texlive-collection-langtibetan-vl.spec
  58. 97 72
      t/texlive-collection-langvietnamese/texlive-collection-langvietnamese-vl.spec
  59. 51 32
      t/texlive-collection-latex/texlive-collection-latex-vl.spec
  60. 13 6
      t/texlive-collection-latex3/texlive-collection-latex3-vl.spec
  61. 43 27
      t/texlive-collection-latexextra/texlive-collection-latexextra-vl.spec
  62. 13 6
      t/texlive-collection-latexrecommended/texlive-collection-latexrecommended-vl.spec
  63. 13 6
      t/texlive-collection-luatex/texlive-collection-luatex-vl.spec
  64. 39 22
      t/texlive-collection-mathextra/texlive-collection-mathextra-vl.spec
  65. 15 6
      t/texlive-collection-metapost/texlive-collection-metapost-vl.spec
  66. 31 17
      t/texlive-collection-music/texlive-collection-music-vl.spec
  67. 33 17
      t/texlive-collection-omega/texlive-collection-omega-vl.spec
  68. 31 17
      t/texlive-collection-pictures/texlive-collection-pictures-vl.spec
  69. 13 6
      t/texlive-collection-plainextra/texlive-collection-plainextra-vl.spec
  70. 13 6
      t/texlive-collection-pstricks/texlive-collection-pstricks-vl.spec
  71. 13 6
      t/texlive-collection-publishers/texlive-collection-publishers-vl.spec
  72. 31 17
      t/texlive-collection-science/texlive-collection-science-vl.spec
  73. 13 6
      t/texlive-collection-texinfo/texlive-collection-texinfo-vl.spec
  74. 15 6
      t/texlive-collection-xetex/texlive-collection-xetex-vl.spec

+ 75 - 52
t/texlive-collection-basic/texlive-collection-basic-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-basic
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Essential programs and files
 Summary(ja): TeX Live: Essential programs and files
 Name: texlive-collection-basic
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: OFSFLD, Public Domain, Freely redistributable without restriction, Knuth, LPPL, GPL+, LGPLv2+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -1533,8 +1533,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -1575,50 +1578,66 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap cm.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable cm.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap cm.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap cmextra.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable cmextra.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap cmextra.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap cyrillic.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable cyrillic.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap cyrillic.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map euler.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable euler.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map euler.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap latxfont.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable latxfont.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap latxfont.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap symbols.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable symbols.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap symbols.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap cmtext-bsr-interpolated.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable cmtext-bsr-interpolated.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap cmtext-bsr-interpolated.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap mflogo.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable mflogo.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap mflogo.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap cm.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable cm.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap cm.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap cmextra.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable cmextra.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap cmextra.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap cyrillic.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable cyrillic.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap cyrillic.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map euler.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable euler.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map euler.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap latxfont.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable latxfont.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap latxfont.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap symbols.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable symbols.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap symbols.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap cmtext-bsr-interpolated.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable cmtext-bsr-interpolated.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap cmtext-bsr-interpolated.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap mflogo.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable mflogo.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap mflogo.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
 
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -1672,10 +1691,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable mflogo.map ... " && \
         %{exec_updmap} --nomkmap --disable mflogo.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -1688,6 +1707,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-basic
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-basic
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-bibtexextra/texlive-collection-bibtexextra-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-bibtexextra
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Extra BibTeX styles
 Summary(ja): TeX Live: Extra BibTeX styles
 Name: texlive-collection-bibtexextra
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, Freely redistributable without restriction, GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -649,8 +649,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -707,6 +710,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-bibtexextra
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-bibtexextra
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-binextra/texlive-collection-binextra-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-binextra
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: TeX auxiliary programs
 Summary(ja): TeX Live: TeX auxiliary programs
 Name: texlive-collection-binextra
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: GPL+, LGPLv2+, Knuth, Freely redistributable without restriction, Public Domain, No Info, LPPL, Artistic
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -353,8 +353,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -411,6 +414,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-binextra
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-binextra
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 15 - 6
t/texlive-collection-context/texlive-collection-context-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-context
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: ConTeXt format
 Summary(ja): TeX Live: ConTeXt format
 Name: texlive-collection-context
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Freely redistributable without restriction, Public Domain, GPL+, No Info, GFDL, GPLv2+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -2184,8 +2184,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -2224,6 +2227,8 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 %post
 %{exec_texhash}
 
+rpm -q --quiet texlive-common || exit 0
+
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
 
@@ -2245,6 +2250,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-context
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-context
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-arabic/texlive-collection-documentation-arabic-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-arabic
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Arabic documentation
 Summary(ja): TeX Live: Arabic documentation
 Name: texlive-collection-documentation-arabic
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -137,8 +137,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -187,6 +190,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-arabic
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-arabic
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-bulgarian/texlive-collection-documentation-bulgarian-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-bulgarian
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Bulgarian documentation
 Summary(ja): TeX Live: Bulgarian documentation
 Name: texlive-collection-documentation-bulgarian
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -119,8 +119,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -169,6 +172,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-bulgarian
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-bulgarian
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-chinese/texlive-collection-documentation-chinese-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-chinese
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Chinese documentation
 Summary(ja): TeX Live: Chinese documentation
 Name: texlive-collection-documentation-chinese
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, GPL+, LGPLv2+, GFDL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -352,8 +352,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -402,6 +405,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-chinese
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-chinese
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-czechslovak/texlive-collection-documentation-czechslovak-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-czechslovak
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Czech/Slovak documentation
 Summary(ja): TeX Live: Czech/Slovak documentation
 Name: texlive-collection-documentation-czechslovak
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -120,8 +120,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -170,6 +173,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-czechslovak
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-czechslovak
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-dutch/texlive-collection-documentation-dutch-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-dutch
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Dutch documentation
 Summary(ja): TeX Live: Dutch documentation
 Name: texlive-collection-documentation-dutch
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -121,8 +121,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -171,6 +174,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-dutch
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-dutch
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-english/texlive-collection-documentation-english-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-english
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: English documentation
 Summary(ja): TeX Live: English documentation
 Name: texlive-collection-documentation-english
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Public Domain, LPPL, Freely redistributable without restriction, No Info, GPL+, GFDL, Knuth
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -2893,8 +2893,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -2943,6 +2946,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-english
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-english
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-finnish/texlive-collection-documentation-finnish-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-finnish
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Finnish documentation
 Summary(ja): TeX Live: Finnish documentation
 Name: texlive-collection-documentation-finnish
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -134,8 +134,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -184,6 +187,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-finnish
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-finnish
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-french/texlive-collection-documentation-french-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-french
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: French documentation
 Summary(ja): TeX Live: French documentation
 Name: texlive-collection-documentation-french
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: GPL+, GFDL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -218,8 +218,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -268,6 +271,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-french
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-french
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-german/texlive-collection-documentation-german-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-german
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: German documentation
 Summary(ja): TeX Live: German documentation
 Name: texlive-collection-documentation-german
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: GFDL, GPL+, Freely redistributable without restriction, LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -481,8 +481,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -531,6 +534,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-german
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-german
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-italian/texlive-collection-documentation-italian-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-italian
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Italian documentation
 Summary(ja): TeX Live: Italian documentation
 Name: texlive-collection-documentation-italian
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -152,8 +152,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -202,6 +205,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-italian
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-italian
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-japanese/texlive-collection-documentation-japanese-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-japanese
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Japanese documentation
 Summary(ja): TeX Live: Japanese documentation
 Name: texlive-collection-documentation-japanese
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -121,8 +121,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -171,6 +174,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-japanese
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-japanese
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-korean/texlive-collection-documentation-korean-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-korean
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Korean documentation
 Summary(ja): TeX Live: Korean documentation
 Name: texlive-collection-documentation-korean
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: GFDL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -119,8 +119,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -169,6 +172,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-korean
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-korean
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-mongolian/texlive-collection-documentation-mongolian-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-mongolian
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Mongolian documentation
 Summary(ja): TeX Live: Mongolian documentation
 Name: texlive-collection-documentation-mongolian
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -143,8 +143,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -193,6 +196,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-mongolian
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-mongolian
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-polish/texlive-collection-documentation-polish-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-polish
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Polish documentation
 Summary(ja): TeX Live: Polish documentation
 Name: texlive-collection-documentation-polish
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -573,8 +573,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -623,6 +626,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-polish
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-polish
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-portuguese/texlive-collection-documentation-portuguese-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-portuguese
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Portuguese documentation
 Summary(ja): TeX Live: Portuguese documentation
 Name: texlive-collection-documentation-portuguese
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: GPL+, LPPL, Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -170,8 +170,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -220,6 +223,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-portuguese
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-portuguese
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-russian/texlive-collection-documentation-russian-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-russian
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Russian documentation
 Summary(ja): TeX Live: Russian documentation
 Name: texlive-collection-documentation-russian
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: GPL+, Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -162,8 +162,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -212,6 +215,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-russian
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-russian
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-slovenian/texlive-collection-documentation-slovenian-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-slovenian
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Slovenian documentation
 Summary(ja): TeX Live: Slovenian documentation
 Name: texlive-collection-documentation-slovenian
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -135,8 +135,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -185,6 +188,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-slovenian
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-slovenian
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-spanish/texlive-collection-documentation-spanish-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-spanish
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Spanish documentation
 Summary(ja): TeX Live: Spanish documentation
 Name: texlive-collection-documentation-spanish
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, Public Domain, Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -136,8 +136,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -186,6 +189,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-spanish
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-spanish
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-thai/texlive-collection-documentation-thai-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-thai
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Thai documentation
 Summary(ja): TeX Live: Thai documentation
 Name: texlive-collection-documentation-thai
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -119,8 +119,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -169,6 +172,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-thai
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-thai
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-turkish/texlive-collection-documentation-turkish-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-turkish
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Turkish documentation
 Summary(ja): TeX Live: Turkish documentation
 Name: texlive-collection-documentation-turkish
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -119,8 +119,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -169,6 +172,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-turkish
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-turkish
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-ukrainian/texlive-collection-documentation-ukrainian-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-ukrainian
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Ukrainian documentation
 Summary(ja): TeX Live: Ukrainian documentation
 Name: texlive-collection-documentation-ukrainian
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -118,8 +118,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -168,6 +171,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-ukrainian
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-ukrainian
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-documentation-vietnamese/texlive-collection-documentation-vietnamese-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-documentation-vietnamese
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Vietnamese documentation
 Summary(ja): TeX Live: Vietnamese documentation
 Name: texlive-collection-documentation-vietnamese
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LGPLv2+, LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -170,8 +170,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -220,6 +223,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-documentation-vietnamese
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-documentation-vietnamese
 - removed arch dependent binaries (texlive-collection-latexextra)

File diff suppressed because it is too large
+ 563 - 463
t/texlive-collection-fontsextra/texlive-collection-fontsextra-vl.spec


+ 127 - 97
t/texlive-collection-fontsrecommended/texlive-collection-fontsrecommended-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-fontsrecommended
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Recommended fonts
 Summary(ja): TeX Live: Recommended fonts
 Name: texlive-collection-fontsrecommended
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Freely redistributable without restriction, LPPL, GPL+, No Info, Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -5113,8 +5113,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -5155,95 +5158,118 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map zpeu.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable zpeu.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map zpeu.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap eurosym.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable eurosym.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap eurosym.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map lm.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable lm.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map lm.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map marvosym.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable marvosym.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map marvosym.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map pxfonts.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable pxfonts.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map pxfonts.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap rsfs.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable rsfs.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap rsfs.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map qag.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable qag.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map qag.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map qbk.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable qbk.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map qbk.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map qcr.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable qcr.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map qcr.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map qcs.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable qcs.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map qcs.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map qhv.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable qhv.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map qhv.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map qpl.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable qpl.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map qpl.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map qtm.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable qtm.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map qtm.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map qzc.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable qzc.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map qzc.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap tipa.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable tipa.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap tipa.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map txfonts.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable txfonts.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map txfonts.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap wasy.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable wasy.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap wasy.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map zpeu.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable zpeu.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map zpeu.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap eurosym.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable eurosym.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap eurosym.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map lm.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable lm.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map lm.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map marvosym.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable marvosym.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map marvosym.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map pxfonts.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable pxfonts.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map pxfonts.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap rsfs.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable rsfs.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap rsfs.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map qag.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable qag.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map qag.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map qbk.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable qbk.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map qbk.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map qcr.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable qcr.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map qcr.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map qcs.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable qcs.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map qcs.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map qhv.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable qhv.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map qhv.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map qpl.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable qpl.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map qpl.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map qtm.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable qtm.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map qtm.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map qzc.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable qzc.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map qzc.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap tipa.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable tipa.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap tipa.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map txfonts.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable txfonts.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map txfonts.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap wasy.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable wasy.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap wasy.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
 
 exit 0
 
@@ -5339,10 +5365,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable wasy.map ... " && \
         %{exec_updmap} --nomkmap --disable wasy.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -5355,6 +5381,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-fontsrecommended
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-fontsrecommended
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-fontutils/texlive-collection-fontutils-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-fontutils
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: TeX and Outline font utilities
 Summary(ja): TeX Live: TeX and Outline font utilities
 Name: texlive-collection-fontutils
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: GPL+, Freely redistributable without restriction, No Info, LPPL, Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -400,8 +400,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -458,6 +461,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-fontutils
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-fontutils
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 15 - 6
t/texlive-collection-formatsextra/texlive-collection-formatsextra-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-formatsextra
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Extra formats
 Summary(ja): TeX Live: Extra formats
 Name: texlive-collection-formatsextra
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: GPL+, LPPL, Freely redistributable without restriction, Knuth, No Info, Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -349,8 +349,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -389,6 +392,8 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 %post
 %{exec_texhash}
 
+rpm -q --quiet texlive-common || exit 0
+
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
 
@@ -410,6 +415,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-formatsextra
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-formatsextra
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 31 - 17
t/texlive-collection-games/texlive-collection-games-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-games
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Games typesetting
 Summary(ja): TeX Live: Games typesetting
 Name: texlive-collection-games
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: No Info, Public Domain, Freely redistributable without restriction, LPPL, GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -483,8 +483,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -525,15 +528,22 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map SkakNew.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable SkakNew.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map SkakNew.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map SkakNew.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable SkakNew.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map SkakNew.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
 
 exit 0
 
@@ -549,10 +559,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable SkakNew.map ... " && \
         %{exec_updmap} --nomkmap --disable SkakNew.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -565,6 +575,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-games
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-games
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-genericextra/texlive-collection-genericextra-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-genericextra
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Extra generic packages
 Summary(ja): TeX Live: Extra generic packages
 Name: texlive-collection-genericextra
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Public Domain, Freely redistributable without restriction, No Info, LPPL, GPL+, Knuth
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -384,8 +384,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -442,6 +445,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-genericextra
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-genericextra
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-genericrecommended/texlive-collection-genericrecommended-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-genericrecommended
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Recommended generic packages
 Summary(ja): TeX Live: Recommended generic packages
 Name: texlive-collection-genericrecommended
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Public Domain, GPL+, LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -288,8 +288,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -346,6 +349,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-genericrecommended
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-genericrecommended
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 15 - 6
t/texlive-collection-htmlxml/texlive-collection-htmlxml-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-htmlxml
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: HTML/SGML/XML support
 Summary(ja): TeX Live: HTML/SGML/XML support
 Name: texlive-collection-htmlxml
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Freely redistributable without restriction, LPPL, Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -4019,8 +4019,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -4059,6 +4062,8 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 %post
 %{exec_texhash}
 
+rpm -q --quiet texlive-common || exit 0
+
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
 
@@ -4080,6 +4085,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-htmlxml
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-htmlxml
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-humanities/texlive-collection-humanities-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-humanities
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Humanities packages
 Summary(ja): TeX Live: Humanities packages
 Name: texlive-collection-humanities
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, Public Domain, GPL+, No Info
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -440,8 +440,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -498,6 +501,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-humanities
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-humanities
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 31 - 17
t/texlive-collection-langafrican/texlive-collection-langafrican-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langafrican
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: African scripts
 Summary(ja): TeX Live: African scripts
 Name: texlive-collection-langafrican
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: GPL+, GPLv2+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -847,8 +847,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -889,15 +892,22 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap ethiop.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable ethiop.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap ethiop.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap ethiop.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable ethiop.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap ethiop.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
 
 exit 0
 
@@ -913,10 +923,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable ethiop.map ... " && \
         %{exec_updmap} --nomkmap --disable ethiop.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -929,6 +939,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langafrican
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langafrican
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 39 - 22
t/texlive-collection-langarabic/texlive-collection-langarabic-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langarabic
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Arabic
 Summary(ja): TeX Live: Arabic
 Name: texlive-collection-langarabic
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -494,8 +494,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -536,20 +539,30 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map arabi.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable arabi.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map arabi.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap arabtex.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable arabtex.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap arabtex.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map arabi.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable arabi.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map arabi.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap arabtex.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable arabtex.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap arabtex.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
 
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -573,10 +586,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable arabtex.map ... " && \
         %{exec_updmap} --nomkmap --disable arabtex.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -589,6 +602,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langarabic
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langarabic
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-langarmenian/texlive-collection-langarmenian-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langarmenian
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Armenian
 Summary(ja): TeX Live: Armenian
 Name: texlive-collection-langarmenian
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -158,8 +158,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -216,6 +219,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langarmenian
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langarmenian
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 105 - 77
t/texlive-collection-langcjk/texlive-collection-langcjk-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langcjk
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Chinese, Japanese, Korean
 Summary(ja): TeX Live: Chinese, Japanese, Korean
 Name: texlive-collection-langcjk
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Freely redistributable without restriction, GPL+, LPPL, No Info
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -11553,8 +11553,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -11595,75 +11598,96 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map bkaiu.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable bkaiu.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map bkaiu.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map bsmiu.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable bsmiu.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map bsmiu.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map gbsnu.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable gbsnu.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map gbsnu.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map gkaiu.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable gkaiu.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map gkaiu.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map garuda-c90.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable garuda-c90.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map garuda-c90.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map norasi-c90.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable norasi-c90.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map norasi-c90.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map umj.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable umj.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map umj.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map dgj.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable dgj.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map dgj.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map dmj.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable dmj.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map dmj.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map mc2j.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable mc2j.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map mc2j.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map mcj.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable mcj.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map mcj.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map mr2j.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable mr2j.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map mr2j.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map mrj.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable mrj.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map mrj.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map bkaiu.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable bkaiu.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map bkaiu.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map bsmiu.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable bsmiu.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map bsmiu.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map gbsnu.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable gbsnu.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map gbsnu.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map gkaiu.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable gkaiu.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map gkaiu.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map garuda-c90.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable garuda-c90.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map garuda-c90.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map norasi-c90.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable norasi-c90.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map norasi-c90.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map umj.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable umj.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map umj.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map dgj.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable dgj.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map dgj.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map dmj.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable dmj.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map dmj.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map mc2j.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable mc2j.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map mc2j.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map mcj.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable mcj.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map mcj.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map mr2j.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable mr2j.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map mr2j.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map mrj.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable mrj.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map mrj.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
 
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -11742,10 +11766,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable mrj.map ... " && \
         %{exec_updmap} --nomkmap --disable mrj.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -11758,6 +11782,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langcjk
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langcjk
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 15 - 6
t/texlive-collection-langcroatian/texlive-collection-langcroatian-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langcroatian
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Croatian
 Summary(ja): TeX Live: Croatian
 Name: texlive-collection-langcroatian
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: No Info, LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -186,8 +186,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -226,6 +229,8 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 %post
 %{exec_texhash}
 
+rpm -q --quiet texlive-common || exit 0
+
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
 
@@ -247,6 +252,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langcroatian
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langcroatian
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 33 - 17
t/texlive-collection-langcyrillic/texlive-collection-langcyrillic-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langcyrillic
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Cyrillic
 Summary(ja): TeX Live: Cyrillic
 Name: texlive-collection-langcyrillic
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Public Domain, No Info, LPPL, Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -2212,8 +2212,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -2254,15 +2257,24 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map cmcyr.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable cmcyr.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map cmcyr.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map cmcyr.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable cmcyr.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map cmcyr.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
 
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -2281,10 +2293,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable cmcyr.map ... " && \
         %{exec_updmap} --nomkmap --disable cmcyr.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -2297,6 +2309,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langcyrillic
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langcyrillic
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 39 - 22
t/texlive-collection-langczechslovak/texlive-collection-langczechslovak-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langczechslovak
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Czech/Slovak
 Summary(ja): TeX Live: Czech/Slovak
 Name: texlive-collection-langczechslovak
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, GPL+, Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -548,8 +548,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -590,20 +593,30 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap csother.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable csother.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap csother.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap cstext.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable cstext.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap cstext.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap csother.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable csother.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap csother.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap cstext.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable cstext.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap cstext.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
 
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -627,10 +640,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable cstext.map ... " && \
         %{exec_updmap} --nomkmap --disable cstext.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -643,6 +656,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langczechslovak
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langczechslovak
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 15 - 6
t/texlive-collection-langfinnish/texlive-collection-langfinnish-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langfinnish
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Finnish
 Summary(ja): TeX Live: Finnish
 Name: texlive-collection-langfinnish
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Freely redistributable without restriction, Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -119,8 +119,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -154,6 +157,8 @@ find %{buildroot}%{texmf}-dist -type d | \
 %post
 %{exec_texhash}
 
+rpm -q --quiet texlive-common || exit 0
+
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
 
@@ -172,6 +177,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langfinnish
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langfinnish
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 33 - 17
t/texlive-collection-langfrench/texlive-collection-langfrench-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langfrench
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: French
 Summary(ja): TeX Live: French
 Name: texlive-collection-langfrench
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, Public Domain, GPL+, Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -212,8 +212,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -254,15 +257,24 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map tabvar.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable tabvar.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map tabvar.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map tabvar.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable tabvar.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map tabvar.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
 
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -281,10 +293,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable tabvar.map ... " && \
         %{exec_updmap} --nomkmap --disable tabvar.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -297,6 +309,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langfrench
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langfrench
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 15 - 6
t/texlive-collection-langgerman/texlive-collection-langgerman-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langgerman
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: German
 Summary(ja): TeX Live: German
 Name: texlive-collection-langgerman
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, No Info, GPL+, Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -218,8 +218,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -258,6 +261,8 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 %post
 %{exec_texhash}
 
+rpm -q --quiet texlive-common || exit 0
+
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
 
@@ -279,6 +284,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langgerman
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langgerman
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 63 - 42
t/texlive-collection-langgreek/texlive-collection-langgreek-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langgreek
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Greek
 Summary(ja): TeX Live: Greek
 Name: texlive-collection-langgreek
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, Freely redistributable without restriction, Public Domain, GPL+, No Info
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -3906,8 +3906,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -3948,40 +3951,54 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap cbgreek-full.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable cbgreek-full.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap cbgreek-full.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map gfsbaskerville.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable gfsbaskerville.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map gfsbaskerville.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map gfsporson.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable gfsporson.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map gfsporson.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map grverb.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable grverb.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map grverb.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap iby.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable iby.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap iby.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map kerkis.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable kerkis.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map kerkis.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap cbgreek-full.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable cbgreek-full.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap cbgreek-full.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map gfsbaskerville.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable gfsbaskerville.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map gfsbaskerville.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map gfsporson.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable gfsporson.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map gfsporson.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map grverb.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable grverb.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map grverb.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap iby.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable iby.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap iby.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map kerkis.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable kerkis.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map kerkis.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
 
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -4025,10 +4042,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable kerkis.map ... " && \
         %{exec_updmap} --nomkmap --disable kerkis.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -4041,6 +4058,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langgreek
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langgreek
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 31 - 17
t/texlive-collection-langhebrew/texlive-collection-langhebrew-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langhebrew
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Hebrew
 Summary(ja): TeX Live: Hebrew
 Name: texlive-collection-langhebrew
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -141,8 +141,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -183,15 +186,22 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map cjhebrew.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable cjhebrew.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map cjhebrew.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map cjhebrew.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable cjhebrew.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map cjhebrew.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
 
 exit 0
 
@@ -207,10 +217,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable cjhebrew.map ... " && \
         %{exec_updmap} --nomkmap --disable cjhebrew.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -223,6 +233,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langhebrew
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langhebrew
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 15 - 6
t/texlive-collection-langhungarian/texlive-collection-langhungarian-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langhungarian
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Hungarian
 Summary(ja): TeX Live: Hungarian
 Name: texlive-collection-langhungarian
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -127,8 +127,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -167,6 +170,8 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 %post
 %{exec_texhash}
 
+rpm -q --quiet texlive-common || exit 0
+
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
 
@@ -188,6 +193,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langhungarian
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langhungarian
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 45 - 27
t/texlive-collection-langindic/texlive-collection-langindic-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langindic
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Indic scripts
 Summary(ja): TeX Live: Indic scripts
 Name: texlive-collection-langindic
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, No Info, Public Domain, Freely redistributable without restriction, GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -948,8 +948,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -990,25 +993,36 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map burmese.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable burmese.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map burmese.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map skt.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable skt.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map skt.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap dvng.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable dvng.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap dvng.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map burmese.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable burmese.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map burmese.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map skt.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable skt.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map skt.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap dvng.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable dvng.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap dvng.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
 
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -1037,10 +1051,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable dvng.map ... " && \
         %{exec_updmap} --nomkmap --disable dvng.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -1053,6 +1067,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langindic
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langindic
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 15 - 6
t/texlive-collection-langitalian/texlive-collection-langitalian-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langitalian
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Italian
 Summary(ja): TeX Live: Italian
 Name: texlive-collection-langitalian
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, LGPLv2+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -142,8 +142,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -182,6 +185,8 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 %post
 %{exec_texhash}
 
+rpm -q --quiet texlive-common || exit 0
+
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
 
@@ -203,6 +208,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langitalian
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langitalian
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 33 - 17
t/texlive-collection-langlithuanian/texlive-collection-langlithuanian-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langlithuanian
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Lithuanian
 Summary(ja): TeX Live: Lithuanian
 Name: texlive-collection-langlithuanian
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -193,8 +193,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -235,15 +238,24 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map l7x-urwvn.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable l7x-urwvn.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map l7x-urwvn.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map l7x-urwvn.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable l7x-urwvn.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map l7x-urwvn.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
 
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -262,10 +274,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable l7x-urwvn.map ... " && \
         %{exec_updmap} --nomkmap --disable l7x-urwvn.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -278,6 +290,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langlithuanian
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langlithuanian
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 33 - 17
t/texlive-collection-langmongolian/texlive-collection-langmongolian-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langmongolian
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Mongolian
 Summary(ja): TeX Live: Mongolian
 Name: texlive-collection-langmongolian
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, GPL+, No Info
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -460,8 +460,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -502,15 +505,24 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap mongolian.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable mongolian.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap mongolian.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap mongolian.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable mongolian.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap mongolian.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
 
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -529,10 +541,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable mongolian.map ... " && \
         %{exec_updmap} --nomkmap --disable mongolian.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -545,6 +557,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langmongolian
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langmongolian
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 45 - 27
t/texlive-collection-langpolish/texlive-collection-langpolish-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langpolish
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Polish
 Summary(ja): TeX Live: Polish
 Name: texlive-collection-langpolish
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Public Domain, LPPL, Knuth
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -779,8 +779,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -821,25 +824,36 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap ccpl.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable ccpl.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap ccpl.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap plother.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable plother.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap plother.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap pltext.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable pltext.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap pltext.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap ccpl.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable ccpl.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap ccpl.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap plother.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable plother.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap plother.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap pltext.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable pltext.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap pltext.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
 
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -868,10 +882,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable pltext.map ... " && \
         %{exec_updmap} --nomkmap --disable pltext.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -884,6 +898,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langpolish
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langpolish
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 15 - 6
t/texlive-collection-langportuguese/texlive-collection-langportuguese-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langportuguese
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Portuguese
 Summary(ja): TeX Live: Portuguese
 Name: texlive-collection-langportuguese
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -131,8 +131,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -171,6 +174,8 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 %post
 %{exec_texhash}
 
+rpm -q --quiet texlive-common || exit 0
+
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
 
@@ -192,6 +197,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langportuguese
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langportuguese
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 15 - 6
t/texlive-collection-langspanish/texlive-collection-langspanish-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langspanish
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Spanish
 Summary(ja): TeX Live: Spanish
 Name: texlive-collection-langspanish
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -142,8 +142,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -182,6 +185,8 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 %post
 %{exec_texhash}
 
+rpm -q --quiet texlive-common || exit 0
+
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
 
@@ -203,6 +208,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langspanish
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langspanish
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 15 - 6
t/texlive-collection-langswedish/texlive-collection-langswedish-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langswedish
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Swedish
 Summary(ja): TeX Live: Swedish
 Name: texlive-collection-langswedish
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -132,8 +132,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -172,6 +175,8 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 %post
 %{exec_texhash}
 
+rpm -q --quiet texlive-common || exit 0
+
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
 
@@ -193,6 +198,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langswedish
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langswedish
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-langtibetan/texlive-collection-langtibetan-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langtibetan
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Tibetan
 Summary(ja): TeX Live: Tibetan
 Name: texlive-collection-langtibetan
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -198,8 +198,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -256,6 +259,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langtibetan
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langtibetan
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 97 - 72
t/texlive-collection-langvietnamese/texlive-collection-langvietnamese-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-langvietnamese
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Vietnamese
 Summary(ja): TeX Live: Vietnamese
 Name: texlive-collection-langvietnamese
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -788,8 +788,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -830,70 +833,88 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map arevvn.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable arevvn.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map arevvn.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map chartervn.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable chartervn.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map chartervn.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map cmbrightvn.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable cmbrightvn.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map cmbrightvn.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map comicvn.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable comicvn.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map comicvn.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map concretevn.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable concretevn.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map concretevn.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map grotesqvn.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable grotesqvn.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map grotesqvn.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map mscorevn.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable mscorevn.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map mscorevn.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map txttvn.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable txttvn.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map txttvn.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map urwvn.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable urwvn.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map urwvn.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap vnrother.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable vnrother.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap vnrother.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap vnrtext.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable vnrtext.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap vnrtext.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map vntopia.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable vntopia.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map vntopia.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map arevvn.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable arevvn.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map arevvn.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map chartervn.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable chartervn.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map chartervn.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map cmbrightvn.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable cmbrightvn.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map cmbrightvn.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map comicvn.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable comicvn.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map comicvn.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map concretevn.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable concretevn.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map concretevn.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map grotesqvn.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable grotesqvn.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map grotesqvn.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map mscorevn.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable mscorevn.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map mscorevn.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map txttvn.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable txttvn.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map txttvn.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map urwvn.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable urwvn.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map urwvn.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap vnrother.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable vnrother.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap vnrother.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap vnrtext.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable vnrtext.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap vnrtext.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map vntopia.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable vntopia.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map vntopia.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
 
 exit 0
 
@@ -964,10 +985,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable vntopia.map ... " && \
         %{exec_updmap} --nomkmap --disable vntopia.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -980,6 +1001,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langvietnamese
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langvietnamese
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 51 - 32
t/texlive-collection-latex/texlive-collection-latex-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-latex
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Basic LaTeX packages
 Summary(ja): TeX Live: Basic LaTeX packages
 Name: texlive-collection-latex
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, Public Domain, GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -2138,8 +2138,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -2180,30 +2183,42 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map charter.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable charter.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map charter.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map fpls.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable fpls.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map fpls.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map pazo.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable pazo.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map pazo.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map utopia.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable utopia.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map utopia.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map charter.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable charter.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map charter.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map fpls.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable fpls.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map fpls.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map pazo.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable pazo.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map pazo.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map utopia.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable utopia.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map utopia.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
 
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -2237,10 +2252,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable utopia.map ... " && \
         %{exec_updmap} --nomkmap --disable utopia.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -2253,6 +2268,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-latex
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-latex
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-latex3/texlive-collection-latex3-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-latex3
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: LaTeX3 packages
 Summary(ja): TeX Live: LaTeX3 packages
 Name: texlive-collection-latex3
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -252,8 +252,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -310,6 +313,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-latex3
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-latex3
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 43 - 27
t/texlive-collection-latexextra/texlive-collection-latexextra-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-latexextra
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: LaTeX supplementary packages
 Summary(ja): TeX Live: LaTeX supplementary packages
 Name: texlive-collection-latexextra
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, No Info, GPL+, Freely redistributable without restriction, GPLv2+, Public Domain, LGPLv2+, No Source, GPLv3+, BSD
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -8534,8 +8534,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -8576,25 +8579,34 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map epiolmec.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable epiolmec.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map epiolmec.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap esint.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable esint.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap esint.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap manfnt.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable manfnt.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap manfnt.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map epiolmec.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable epiolmec.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map epiolmec.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap esint.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable esint.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap esint.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap manfnt.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable manfnt.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap manfnt.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
 
 exit 0
 
@@ -8620,10 +8632,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable manfnt.map ... " && \
         %{exec_updmap} --nomkmap --disable manfnt.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -8636,6 +8648,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-latexextra
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-latexextra
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-latexrecommended/texlive-collection-latexrecommended-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-latexrecommended
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: LaTeX recommended packages
 Summary(ja): TeX Live: LaTeX recommended packages
 Name: texlive-collection-latexrecommended
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Public Domain, GPL+, LPPL, Freely redistributable without restriction, No Info, Artistic 2.0
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -2408,8 +2408,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -2466,6 +2469,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-latexrecommended
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-latexrecommended
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-luatex/texlive-collection-luatex-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-luatex
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: LuaTeX packages
 Summary(ja): TeX Live: LuaTeX packages
 Name: texlive-collection-luatex
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Public Domain, Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -196,8 +196,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -254,6 +257,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-luatex
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-luatex
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 39 - 22
t/texlive-collection-mathextra/texlive-collection-mathextra-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-mathextra
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Advanced math typesetting
 Summary(ja): TeX Live: Advanced math typesetting
 Name: texlive-collection-mathextra
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, GPL+, Knuth, LGPLv2+, Freely redistributable without restriction, Public Domain, BSD
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -650,8 +650,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -692,20 +695,30 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap stmaryrd.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable stmaryrd.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap stmaryrd.map >/dev/null 2>&1 && \
-        echo "done."
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap yhmath.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable yhmath.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap yhmath.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap stmaryrd.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable stmaryrd.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap stmaryrd.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap yhmath.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable yhmath.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap yhmath.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
 
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -729,10 +742,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable yhmath.map ... " && \
         %{exec_updmap} --nomkmap --disable yhmath.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -745,6 +758,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-mathextra
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-mathextra
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 15 - 6
t/texlive-collection-metapost/texlive-collection-metapost-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-metapost
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: MetaPost (and Metafont) drawing packages
 Summary(ja): TeX Live: MetaPost (and Metafont) drawing packages
 Name: texlive-collection-metapost
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, Public Domain, GPL+, LGPLv2+, No Info, Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -909,8 +909,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -949,6 +952,8 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 %post
 %{exec_texhash}
 
+rpm -q --quiet texlive-common || exit 0
+
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
 
@@ -970,6 +975,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-metapost
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-metapost
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 31 - 17
t/texlive-collection-music/texlive-collection-music-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-music
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Music typesetting
 Summary(ja): TeX Live: Music typesetting
 Name: texlive-collection-music
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, GPL+, No Info
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -695,8 +695,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -737,15 +740,22 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap musix.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable musix.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap musix.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap musix.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable musix.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap musix.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
 
 exit 0
 
@@ -761,10 +771,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable musix.map ... " && \
         %{exec_updmap} --nomkmap --disable musix.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -777,6 +787,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-music
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-music
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 33 - 17
t/texlive-collection-omega/texlive-collection-omega-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-omega
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Omega
 Summary(ja): TeX Live: Omega
 Name: texlive-collection-omega
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, No Info, GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -678,8 +678,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -720,15 +723,24 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map omega.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable omega.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map omega.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map omega.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable omega.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map omega.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
 
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -747,10 +759,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable omega.map ... " && \
         %{exec_updmap} --nomkmap --disable omega.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -763,6 +775,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-omega
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-omega
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 31 - 17
t/texlive-collection-pictures/texlive-collection-pictures-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-pictures
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Graphics packages and programs
 Summary(ja): TeX Live: Graphics packages and programs
 Name: texlive-collection-pictures
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, GPL+, Freely redistributable without restriction, Public Domain, GPLv3+, No Info, ASL 2.0
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -1318,8 +1318,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -1360,15 +1363,22 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap xypic.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable xypic.map ... " && \
-        %{exec_updmap} --nomkmap --enable MixedMap xypic.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap xypic.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable xypic.map ... " && \
+    %{exec_updmap} --nomkmap --enable MixedMap xypic.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
 
 exit 0
 
@@ -1384,10 +1394,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable xypic.map ... " && \
         %{exec_updmap} --nomkmap --disable xypic.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -1400,6 +1410,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-pictures
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-pictures
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-plainextra/texlive-collection-plainextra-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-plainextra
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Plain TeX supplementary packages
 Summary(ja): TeX Live: Plain TeX supplementary packages
 Name: texlive-collection-plainextra
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: No Info, Public Domain, Freely redistributable without restriction, LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -322,8 +322,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -380,6 +383,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-plainextra
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-plainextra
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-pstricks/texlive-collection-pstricks-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-pstricks
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: PSTricks packages
 Summary(ja): TeX Live: PSTricks packages
 Name: texlive-collection-pstricks
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, GPL+, LGPLv2+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -1434,8 +1434,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -1492,6 +1495,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-pstricks
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-pstricks
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-publishers/texlive-collection-publishers-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-publishers
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Support for publishers, theses, standards, conferences, etc.
 Summary(ja): TeX Live: Support for publishers, theses, standards, conferences, etc.
 Name: texlive-collection-publishers
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Freely redistributable without restriction, LPPL, No Info, Public Domain, GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -1393,8 +1393,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -1451,6 +1454,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-publishers
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-publishers
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 31 - 17
t/texlive-collection-science/texlive-collection-science-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-science
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Typesetting for natural and computer sciences
 Summary(ja): TeX Live: Typesetting for natural and computer sciences
 Name: texlive-collection-science
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, LGPLv2+, GPL+, Public Domain, Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -672,8 +672,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -714,15 +717,22 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 [ -f %{texmf}/web2c/updmap.cfg ] || exit 0
 
-    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map chemarrow.map" && \
-        echo -n "    " && \
-        echo -n "Running updmap: enable chemarrow.map ... " && \
-        %{exec_updmap} --nomkmap --enable Map chemarrow.map >/dev/null 2>&1 && \
-        echo "done."
-echo -n "    " && \
+updmap_lock=%{texmf}/updmap.lock
+%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map chemarrow.map" && \
+    echo -n "    " && \
+    echo -n "Running updmap: enable chemarrow.map ... " && \
+    %{exec_updmap} --nomkmap --enable Map chemarrow.map >/dev/null 2>&1 && \
+    echo "done." && \
+    touch ${updmap_lock}
+
+rpm -q --quiet texlive-common || exit 0
+
+[ -f ${updmap_lock} ] && \
+    echo -n "    " && \
     echo -n "Running updmap: recreate map files ... " && \
     %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo "done." && \
+    rm -f ${updmap_lock}
 
 exit 0
 
@@ -738,10 +748,10 @@ if [ "$1" = 0 ]; then
         echo -n "Running updmap: disable chemarrow.map ... " && \
         %{exec_updmap} --nomkmap --disable chemarrow.map >/dev/null 2>&1 && \
         echo "done."
-echo -n "    " && \
-    echo -n "Running updmap: recreate map files ... " && \
-    %{exec_updmap} >/dev/null 2>&1 && \
-    echo "done."
+    echo -n "    " && \
+        echo -n "Running updmap: recreate map files ... " && \
+        %{exec_updmap} >/dev/null 2>&1 && \
+        echo "done."
 
 fi
 
@@ -754,6 +764,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-science
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-science
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 13 - 6
t/texlive-collection-texinfo/texlive-collection-texinfo-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-texinfo
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: GNU Texinfo
 Summary(ja): TeX Live: GNU Texinfo
 Name: texlive-collection-texinfo
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -137,8 +137,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -187,6 +190,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-texinfo
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-texinfo
 - removed arch dependent binaries (texlive-collection-latexextra)

+ 15 - 6
t/texlive-collection-xetex/texlive-collection-xetex-vl.spec

@@ -1,5 +1,5 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-3: 
 ## tlpdb2rpmspec collection-xetex
 
 %bcond_with firstbuild
@@ -19,8 +19,8 @@
 
 %define __find_provides	%{nil}
 %define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
+%define __perl_provides	%{nil}
+%define __perl_requires	%{nil}
 
 Autoreq: 0
 
@@ -28,7 +28,7 @@ Summary: TeX Live: XeTeX packages
 Summary(ja): TeX Live: XeTeX packages
 Name: texlive-collection-xetex
 Version: 2009
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LPPL, GPL+, OFSFLD, Public Domain, ASL 2.0, Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -634,8 +634,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
 done
 
 ## fix perl path
-for i in source/metapost/expressg/expressg.dtx          doc/metapost/expressg/n2mpsprl.prl          doc/latex/songbook/contrib/crd2sb/crd2sb; do 
-    [ -f %{build_texmf}-dist/${i} ] &&         %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
+for i in source/metapost/expressg/expressg.dtx \
+         doc/metapost/expressg/n2mpsprl.prl \
+         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
+    [ -f %{build_texmf}-dist/${i} ] && \
+        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
 done
 
 ## remove asymptote directries, which provides asymptote package
@@ -674,6 +677,8 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 %post
 %{exec_texhash}
 
+rpm -q --quiet texlive-common || exit 0
+
 echo -n "    "
 echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."
 
@@ -695,6 +700,10 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
+- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-xetex
+- improved %%post
+
 * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-xetex
 - removed arch dependent binaries (texlive-collection-latexextra)

Some files were not shown because too many files changed in this diff