Browse Source

updated all texlive-collection packages: generated by tlpdb2rpmspec 2009-2; removed arch dependent binaries (for rpm-4.8.1); fixed perl path (for rpm-4.8.1); improved updmap process in %%post and %%postun

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

+ 41 - 19
t/texlive-collection-basic/texlive-collection-basic-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-basic
 
 %bcond_with firstbuild
 
@@ -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: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: OFSFLD, Public Domain, Freely redistributable without restriction, Knuth, LPPL, GPL+, LGPLv2+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -1532,6 +1532,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -1542,6 +1547,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -1570,43 +1578,47 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap cm.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable cm.map ... " && \
-        %{exec_updmap} --enable MixedMap cm.map >/dev/null 2>&1 && \
+        %{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} --enable MixedMap cmextra.map >/dev/null 2>&1 && \
+        %{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} --enable MixedMap cyrillic.map >/dev/null 2>&1 && \
+        %{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} --enable Map euler.map >/dev/null 2>&1 && \
+        %{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} --enable MixedMap latxfont.map >/dev/null 2>&1 && \
+        %{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} --enable MixedMap symbols.map >/dev/null 2>&1 && \
+        %{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} --enable MixedMap cmtext-bsr-interpolated.map >/dev/null 2>&1 && \
+        %{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} --enable MixedMap mflogo.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable MixedMap 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 fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -1623,43 +1635,47 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^MixedMap cm.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable cm.map ... " && \
-        %{exec_updmap} --disable cm.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable cmextra.map ... " && \
-        %{exec_updmap} --disable cmextra.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable cyrillic.map ... " && \
-        %{exec_updmap} --disable cyrillic.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable euler.map ... " && \
-        %{exec_updmap} --disable euler.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable latxfont.map ... " && \
-        %{exec_updmap} --disable latxfont.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable symbols.map ... " && \
-        %{exec_updmap} --disable symbols.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable cmtext-bsr-interpolated.map ... " && \
-        %{exec_updmap} --disable cmtext-bsr-interpolated.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable mflogo.map ... " && \
-        %{exec_updmap} --disable mflogo.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -1672,5 +1688,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-basic

+ 17 - 3
t/texlive-collection-bibtexextra/texlive-collection-bibtexextra-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-bibtexextra
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Extra BibTeX styles
 Summary(ja): TeX Live: Extra BibTeX styles
 Name: texlive-collection-bibtexextra
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL, Freely redistributable without restriction, GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -648,6 +648,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -658,6 +663,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -699,5 +707,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-bibtexextra

+ 17 - 3
t/texlive-collection-binextra/texlive-collection-binextra-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-binextra
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: TeX auxiliary programs
 Summary(ja): TeX Live: TeX auxiliary programs
 Name: texlive-collection-binextra
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_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/
@@ -352,6 +352,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -362,6 +367,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -403,5 +411,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-binextra

+ 17 - 3
t/texlive-collection-context/texlive-collection-context-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-context
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: ConTeXt format
 Summary(ja): TeX Live: ConTeXt format
 Name: texlive-collection-context
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: Freely redistributable without restriction, Public Domain, GPL+, No Info, GFDL, GPLv2+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -2183,6 +2183,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -2193,6 +2198,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -2237,5 +2245,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-context

+ 17 - 3
t/texlive-collection-documentation-arabic/texlive-collection-documentation-arabic-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-arabic
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Arabic documentation
 Summary(ja): TeX Live: Arabic documentation
 Name: texlive-collection-documentation-arabic
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -136,6 +136,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -146,6 +151,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -179,5 +187,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-arabic

+ 17 - 3
t/texlive-collection-documentation-bulgarian/texlive-collection-documentation-bulgarian-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-bulgarian
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Bulgarian documentation
 Summary(ja): TeX Live: Bulgarian documentation
 Name: texlive-collection-documentation-bulgarian
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -118,6 +118,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -128,6 +133,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -161,5 +169,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-bulgarian

+ 17 - 3
t/texlive-collection-documentation-chinese/texlive-collection-documentation-chinese-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-chinese
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Chinese documentation
 Summary(ja): TeX Live: Chinese documentation
 Name: texlive-collection-documentation-chinese
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL, GPL+, LGPLv2+, GFDL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -351,6 +351,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -361,6 +366,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -394,5 +402,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-chinese

+ 17 - 3
t/texlive-collection-documentation-czechslovak/texlive-collection-documentation-czechslovak-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-czechslovak
 
 %bcond_with firstbuild
 
@@ -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: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -119,6 +119,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -129,6 +134,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -162,5 +170,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-czechslovak

+ 17 - 3
t/texlive-collection-documentation-dutch/texlive-collection-documentation-dutch-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-dutch
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Dutch documentation
 Summary(ja): TeX Live: Dutch documentation
 Name: texlive-collection-documentation-dutch
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -120,6 +120,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -130,6 +135,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -163,5 +171,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-dutch

+ 17 - 3
t/texlive-collection-documentation-english/texlive-collection-documentation-english-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-english
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: English documentation
 Summary(ja): TeX Live: English documentation
 Name: texlive-collection-documentation-english
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: Public Domain, LPPL, Freely redistributable without restriction, No Info, GPL+, GFDL, Knuth
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -2892,6 +2892,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -2902,6 +2907,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -2935,5 +2943,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-english

+ 17 - 3
t/texlive-collection-documentation-finnish/texlive-collection-documentation-finnish-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-finnish
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Finnish documentation
 Summary(ja): TeX Live: Finnish documentation
 Name: texlive-collection-documentation-finnish
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -133,6 +133,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -143,6 +148,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -176,5 +184,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-finnish

+ 17 - 3
t/texlive-collection-documentation-french/texlive-collection-documentation-french-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-french
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: French documentation
 Summary(ja): TeX Live: French documentation
 Name: texlive-collection-documentation-french
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: GPL+, GFDL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -217,6 +217,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -227,6 +232,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -260,5 +268,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-french

+ 17 - 3
t/texlive-collection-documentation-german/texlive-collection-documentation-german-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-german
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: German documentation
 Summary(ja): TeX Live: German documentation
 Name: texlive-collection-documentation-german
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: GFDL, GPL+, Freely redistributable without restriction, LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -480,6 +480,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -490,6 +495,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -523,5 +531,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-german

+ 17 - 3
t/texlive-collection-documentation-italian/texlive-collection-documentation-italian-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-italian
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Italian documentation
 Summary(ja): TeX Live: Italian documentation
 Name: texlive-collection-documentation-italian
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -151,6 +151,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -161,6 +166,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -194,5 +202,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-italian

+ 17 - 3
t/texlive-collection-documentation-japanese/texlive-collection-documentation-japanese-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-japanese
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Japanese documentation
 Summary(ja): TeX Live: Japanese documentation
 Name: texlive-collection-documentation-japanese
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -120,6 +120,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -130,6 +135,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -163,5 +171,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-japanese

+ 17 - 3
t/texlive-collection-documentation-korean/texlive-collection-documentation-korean-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-korean
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Korean documentation
 Summary(ja): TeX Live: Korean documentation
 Name: texlive-collection-documentation-korean
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: GFDL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -118,6 +118,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -128,6 +133,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -161,5 +169,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-korean

+ 17 - 3
t/texlive-collection-documentation-mongolian/texlive-collection-documentation-mongolian-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-mongolian
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Mongolian documentation
 Summary(ja): TeX Live: Mongolian documentation
 Name: texlive-collection-documentation-mongolian
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -142,6 +142,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -152,6 +157,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -185,5 +193,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-mongolian

+ 17 - 3
t/texlive-collection-documentation-polish/texlive-collection-documentation-polish-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-polish
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Polish documentation
 Summary(ja): TeX Live: Polish documentation
 Name: texlive-collection-documentation-polish
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -572,6 +572,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -582,6 +587,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -615,5 +623,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-polish

+ 17 - 3
t/texlive-collection-documentation-portuguese/texlive-collection-documentation-portuguese-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-portuguese
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Portuguese documentation
 Summary(ja): TeX Live: Portuguese documentation
 Name: texlive-collection-documentation-portuguese
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: GPL+, LPPL, Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -169,6 +169,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -179,6 +184,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -212,5 +220,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-portuguese

+ 17 - 3
t/texlive-collection-documentation-russian/texlive-collection-documentation-russian-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-russian
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Russian documentation
 Summary(ja): TeX Live: Russian documentation
 Name: texlive-collection-documentation-russian
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: GPL+, Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -161,6 +161,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -171,6 +176,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -204,5 +212,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-russian

+ 17 - 3
t/texlive-collection-documentation-slovenian/texlive-collection-documentation-slovenian-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-slovenian
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Slovenian documentation
 Summary(ja): TeX Live: Slovenian documentation
 Name: texlive-collection-documentation-slovenian
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -134,6 +134,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -144,6 +149,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -177,5 +185,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-slovenian

+ 17 - 3
t/texlive-collection-documentation-spanish/texlive-collection-documentation-spanish-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-spanish
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Spanish documentation
 Summary(ja): TeX Live: Spanish documentation
 Name: texlive-collection-documentation-spanish
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL, Public Domain, Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -135,6 +135,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -145,6 +150,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -178,5 +186,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-spanish

+ 17 - 3
t/texlive-collection-documentation-thai/texlive-collection-documentation-thai-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-thai
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Thai documentation
 Summary(ja): TeX Live: Thai documentation
 Name: texlive-collection-documentation-thai
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -118,6 +118,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -128,6 +133,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -161,5 +169,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-thai

+ 17 - 3
t/texlive-collection-documentation-turkish/texlive-collection-documentation-turkish-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-turkish
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Turkish documentation
 Summary(ja): TeX Live: Turkish documentation
 Name: texlive-collection-documentation-turkish
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -118,6 +118,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -128,6 +133,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -161,5 +169,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-turkish

+ 17 - 3
t/texlive-collection-documentation-ukrainian/texlive-collection-documentation-ukrainian-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-ukrainian
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Ukrainian documentation
 Summary(ja): TeX Live: Ukrainian documentation
 Name: texlive-collection-documentation-ukrainian
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -117,6 +117,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -127,6 +132,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -160,5 +168,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-ukrainian

+ 17 - 3
t/texlive-collection-documentation-vietnamese/texlive-collection-documentation-vietnamese-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-documentation-vietnamese
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Vietnamese documentation
 Summary(ja): TeX Live: Vietnamese documentation
 Name: texlive-collection-documentation-vietnamese
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LGPLv2+, LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -169,6 +169,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -179,6 +184,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -212,5 +220,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-documentation-vietnamese

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


+ 59 - 37
t/texlive-collection-fontsrecommended/texlive-collection-fontsrecommended-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-fontsrecommended
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Recommended fonts
 Summary(ja): TeX Live: Recommended fonts
 Name: texlive-collection-fontsrecommended
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: Freely redistributable without restriction, LPPL, GPL+, No Info, Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -5112,6 +5112,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -5122,6 +5127,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -5150,88 +5158,92 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map zpeu.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable zpeu.map ... " && \
-        %{exec_updmap} --enable Map zpeu.map >/dev/null 2>&1 && \
+        %{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} --enable MixedMap eurosym.map >/dev/null 2>&1 && \
+        %{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} --enable Map lm.map >/dev/null 2>&1 && \
+        %{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} --enable Map marvosym.map >/dev/null 2>&1 && \
+        %{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} --enable Map pxfonts.map >/dev/null 2>&1 && \
+        %{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} --enable MixedMap rsfs.map >/dev/null 2>&1 && \
+        %{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} --enable Map qag.map >/dev/null 2>&1 && \
+        %{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} --enable Map qbk.map >/dev/null 2>&1 && \
+        %{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} --enable Map qcr.map >/dev/null 2>&1 && \
+        %{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} --enable Map qcs.map >/dev/null 2>&1 && \
+        %{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} --enable Map qhv.map >/dev/null 2>&1 && \
+        %{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} --enable Map qpl.map >/dev/null 2>&1 && \
+        %{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} --enable Map qtm.map >/dev/null 2>&1 && \
+        %{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} --enable Map qzc.map >/dev/null 2>&1 && \
+        %{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} --enable MixedMap tipa.map >/dev/null 2>&1 && \
+        %{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} --enable Map txfonts.map >/dev/null 2>&1 && \
+        %{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} --enable MixedMap wasy.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable MixedMap 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."
 
 exit 0
 
@@ -5245,88 +5257,92 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^Map zpeu.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable zpeu.map ... " && \
-        %{exec_updmap} --disable zpeu.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable eurosym.map ... " && \
-        %{exec_updmap} --disable eurosym.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable lm.map ... " && \
-        %{exec_updmap} --disable lm.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable marvosym.map ... " && \
-        %{exec_updmap} --disable marvosym.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable pxfonts.map ... " && \
-        %{exec_updmap} --disable pxfonts.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable rsfs.map ... " && \
-        %{exec_updmap} --disable rsfs.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable qag.map ... " && \
-        %{exec_updmap} --disable qag.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable qbk.map ... " && \
-        %{exec_updmap} --disable qbk.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable qcr.map ... " && \
-        %{exec_updmap} --disable qcr.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable qcs.map ... " && \
-        %{exec_updmap} --disable qcs.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable qhv.map ... " && \
-        %{exec_updmap} --disable qhv.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable qpl.map ... " && \
-        %{exec_updmap} --disable qpl.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable qtm.map ... " && \
-        %{exec_updmap} --disable qtm.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable qzc.map ... " && \
-        %{exec_updmap} --disable qzc.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable tipa.map ... " && \
-        %{exec_updmap} --disable tipa.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable txfonts.map ... " && \
-        %{exec_updmap} --disable txfonts.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable wasy.map ... " && \
-        %{exec_updmap} --disable wasy.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -5339,5 +5355,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-fontsrecommended

+ 17 - 3
t/texlive-collection-fontutils/texlive-collection-fontutils-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-fontutils
 
 %bcond_with firstbuild
 
@@ -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: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: GPL+, Freely redistributable without restriction, No Info, LPPL, Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -399,6 +399,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -409,6 +414,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -450,5 +458,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-fontutils

+ 17 - 3
t/texlive-collection-formatsextra/texlive-collection-formatsextra-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-formatsextra
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Extra formats
 Summary(ja): TeX Live: Extra formats
 Name: texlive-collection-formatsextra
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: GPL+, LPPL, Freely redistributable without restriction, Knuth, No Info, Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -348,6 +348,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -358,6 +363,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -402,5 +410,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-formatsextra

+ 27 - 5
t/texlive-collection-games/texlive-collection-games-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-games
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Games typesetting
 Summary(ja): TeX Live: Games typesetting
 Name: texlive-collection-games
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: No Info, Public Domain, Freely redistributable without restriction, LPPL, GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -482,6 +482,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -492,6 +497,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -520,8 +528,12 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map SkakNew.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable SkakNew.map ... " && \
-        %{exec_updmap} --enable Map SkakNew.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable Map 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."
 
 exit 0
 
@@ -535,8 +547,12 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^Map SkakNew.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable SkakNew.map ... " && \
-        %{exec_updmap} --disable SkakNew.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -549,5 +565,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-games

+ 17 - 3
t/texlive-collection-genericextra/texlive-collection-genericextra-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-genericextra
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Extra generic packages
 Summary(ja): TeX Live: Extra generic packages
 Name: texlive-collection-genericextra
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: Public Domain, Freely redistributable without restriction, No Info, LPPL, GPL+, Knuth
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -383,6 +383,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -393,6 +398,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -434,5 +442,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-genericextra

+ 17 - 3
t/texlive-collection-genericrecommended/texlive-collection-genericrecommended-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-genericrecommended
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Recommended generic packages
 Summary(ja): TeX Live: Recommended generic packages
 Name: texlive-collection-genericrecommended
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: Public Domain, GPL+, LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -287,6 +287,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -297,6 +302,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -338,5 +346,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-genericrecommended

+ 17 - 3
t/texlive-collection-htmlxml/texlive-collection-htmlxml-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-htmlxml
 
 %bcond_with firstbuild
 
@@ -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: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: Freely redistributable without restriction, LPPL, Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -4018,6 +4018,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -4028,6 +4033,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -4072,5 +4080,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-htmlxml

+ 17 - 3
t/texlive-collection-humanities/texlive-collection-humanities-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-humanities
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Humanities packages
 Summary(ja): TeX Live: Humanities packages
 Name: texlive-collection-humanities
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL, Public Domain, GPL+, No Info
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -439,6 +439,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -449,6 +454,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -490,5 +498,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-humanities

+ 27 - 5
t/texlive-collection-langafrican/texlive-collection-langafrican-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langafrican
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: African scripts
 Summary(ja): TeX Live: African scripts
 Name: texlive-collection-langafrican
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: GPL+, GPLv2+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -846,6 +846,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -856,6 +861,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -884,8 +892,12 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap ethiop.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable ethiop.map ... " && \
-        %{exec_updmap} --enable MixedMap ethiop.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable MixedMap 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."
 
 exit 0
 
@@ -899,8 +911,12 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^MixedMap ethiop.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable ethiop.map ... " && \
-        %{exec_updmap} --disable ethiop.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -913,5 +929,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langafrican

+ 29 - 7
t/texlive-collection-langarabic/texlive-collection-langarabic-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langarabic
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Arabic
 Summary(ja): TeX Live: Arabic
 Name: texlive-collection-langarabic
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -493,6 +493,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -503,6 +508,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -531,13 +539,17 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map arabi.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable arabi.map ... " && \
-        %{exec_updmap} --enable Map arabi.map >/dev/null 2>&1 && \
+        %{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} --enable MixedMap arabtex.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable MixedMap 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 fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -554,13 +566,17 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^Map arabi.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable arabi.map ... " && \
-        %{exec_updmap} --disable arabi.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable arabtex.map ... " && \
-        %{exec_updmap} --disable arabtex.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -573,5 +589,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langarabic

+ 17 - 3
t/texlive-collection-langarmenian/texlive-collection-langarmenian-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langarmenian
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Armenian
 Summary(ja): TeX Live: Armenian
 Name: texlive-collection-langarmenian
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -157,6 +157,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -167,6 +172,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -208,5 +216,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langarmenian

+ 51 - 29
t/texlive-collection-langcjk/texlive-collection-langcjk-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langcjk
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Chinese, Japanese, Korean
 Summary(ja): TeX Live: Chinese, Japanese, Korean
 Name: texlive-collection-langcjk
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: Freely redistributable without restriction, GPL+, LPPL, No Info
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -11552,6 +11552,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -11562,6 +11567,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -11590,68 +11598,72 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map bkaiu.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable bkaiu.map ... " && \
-        %{exec_updmap} --enable Map bkaiu.map >/dev/null 2>&1 && \
+        %{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} --enable Map bsmiu.map >/dev/null 2>&1 && \
+        %{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} --enable Map gbsnu.map >/dev/null 2>&1 && \
+        %{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} --enable Map gkaiu.map >/dev/null 2>&1 && \
+        %{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} --enable Map garuda-c90.map >/dev/null 2>&1 && \
+        %{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} --enable Map norasi-c90.map >/dev/null 2>&1 && \
+        %{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} --enable Map umj.map >/dev/null 2>&1 && \
+        %{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} --enable Map dgj.map >/dev/null 2>&1 && \
+        %{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} --enable Map dmj.map >/dev/null 2>&1 && \
+        %{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} --enable Map mc2j.map >/dev/null 2>&1 && \
+        %{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} --enable Map mcj.map >/dev/null 2>&1 && \
+        %{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} --enable Map mr2j.map >/dev/null 2>&1 && \
+        %{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} --enable Map mrj.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable Map 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 fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -11668,68 +11680,72 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^Map bkaiu.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable bkaiu.map ... " && \
-        %{exec_updmap} --disable bkaiu.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable bsmiu.map ... " && \
-        %{exec_updmap} --disable bsmiu.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable gbsnu.map ... " && \
-        %{exec_updmap} --disable gbsnu.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable gkaiu.map ... " && \
-        %{exec_updmap} --disable gkaiu.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable garuda-c90.map ... " && \
-        %{exec_updmap} --disable garuda-c90.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable norasi-c90.map ... " && \
-        %{exec_updmap} --disable norasi-c90.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable umj.map ... " && \
-        %{exec_updmap} --disable umj.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable dgj.map ... " && \
-        %{exec_updmap} --disable dgj.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable dmj.map ... " && \
-        %{exec_updmap} --disable dmj.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable mc2j.map ... " && \
-        %{exec_updmap} --disable mc2j.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable mcj.map ... " && \
-        %{exec_updmap} --disable mcj.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable mr2j.map ... " && \
-        %{exec_updmap} --disable mr2j.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable mrj.map ... " && \
-        %{exec_updmap} --disable mrj.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -11742,5 +11758,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langcjk

+ 17 - 3
t/texlive-collection-langcroatian/texlive-collection-langcroatian-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langcroatian
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Croatian
 Summary(ja): TeX Live: Croatian
 Name: texlive-collection-langcroatian
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: No Info, LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -185,6 +185,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -195,6 +200,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -239,5 +247,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langcroatian

+ 27 - 5
t/texlive-collection-langcyrillic/texlive-collection-langcyrillic-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langcyrillic
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Cyrillic
 Summary(ja): TeX Live: Cyrillic
 Name: texlive-collection-langcyrillic
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: Public Domain, No Info, LPPL, Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -2211,6 +2211,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -2221,6 +2226,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -2249,8 +2257,12 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map cmcyr.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable cmcyr.map ... " && \
-        %{exec_updmap} --enable Map cmcyr.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable Map 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 fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -2267,8 +2279,12 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^Map cmcyr.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable cmcyr.map ... " && \
-        %{exec_updmap} --disable cmcyr.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -2281,5 +2297,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langcyrillic

+ 29 - 7
t/texlive-collection-langczechslovak/texlive-collection-langczechslovak-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langczechslovak
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Czech/Slovak
 Summary(ja): TeX Live: Czech/Slovak
 Name: texlive-collection-langczechslovak
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL, GPL+, Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -547,6 +547,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -557,6 +562,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -585,13 +593,17 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap csother.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable csother.map ... " && \
-        %{exec_updmap} --enable MixedMap csother.map >/dev/null 2>&1 && \
+        %{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} --enable MixedMap cstext.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable MixedMap 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 fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -608,13 +620,17 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^MixedMap csother.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable csother.map ... " && \
-        %{exec_updmap} --disable csother.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable cstext.map ... " && \
-        %{exec_updmap} --disable cstext.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -627,5 +643,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langczechslovak

+ 17 - 3
t/texlive-collection-langfinnish/texlive-collection-langfinnish-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langfinnish
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Finnish
 Summary(ja): TeX Live: Finnish
 Name: texlive-collection-langfinnish
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: Freely redistributable without restriction, Public Domain
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -118,6 +118,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -128,6 +133,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -164,5 +172,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langfinnish

+ 27 - 5
t/texlive-collection-langfrench/texlive-collection-langfrench-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langfrench
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: French
 Summary(ja): TeX Live: French
 Name: texlive-collection-langfrench
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL, Public Domain, GPL+, Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -211,6 +211,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -221,6 +226,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -249,8 +257,12 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map tabvar.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable tabvar.map ... " && \
-        %{exec_updmap} --enable Map tabvar.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable Map 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 fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -267,8 +279,12 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^Map tabvar.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable tabvar.map ... " && \
-        %{exec_updmap} --disable tabvar.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -281,5 +297,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langfrench

+ 17 - 3
t/texlive-collection-langgerman/texlive-collection-langgerman-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langgerman
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: German
 Summary(ja): TeX Live: German
 Name: texlive-collection-langgerman
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL, No Info, GPL+, Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -217,6 +217,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -227,6 +232,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -271,5 +279,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langgerman

+ 37 - 15
t/texlive-collection-langgreek/texlive-collection-langgreek-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langgreek
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Greek
 Summary(ja): TeX Live: Greek
 Name: texlive-collection-langgreek
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL, Freely redistributable without restriction, Public Domain, GPL+, No Info
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -3905,6 +3905,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -3915,6 +3920,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -3943,33 +3951,37 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap cbgreek-full.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable cbgreek-full.map ... " && \
-        %{exec_updmap} --enable MixedMap cbgreek-full.map >/dev/null 2>&1 && \
+        %{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} --enable Map gfsbaskerville.map >/dev/null 2>&1 && \
+        %{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} --enable Map gfsporson.map >/dev/null 2>&1 && \
+        %{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} --enable Map grverb.map >/dev/null 2>&1 && \
+        %{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} --enable MixedMap iby.map >/dev/null 2>&1 && \
+        %{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} --enable Map kerkis.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable Map 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 fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -3986,33 +3998,37 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^MixedMap cbgreek-full.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable cbgreek-full.map ... " && \
-        %{exec_updmap} --disable cbgreek-full.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable gfsbaskerville.map ... " && \
-        %{exec_updmap} --disable gfsbaskerville.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable gfsporson.map ... " && \
-        %{exec_updmap} --disable gfsporson.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable grverb.map ... " && \
-        %{exec_updmap} --disable grverb.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable iby.map ... " && \
-        %{exec_updmap} --disable iby.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable kerkis.map ... " && \
-        %{exec_updmap} --disable kerkis.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -4025,5 +4041,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langgreek

+ 27 - 5
t/texlive-collection-langhebrew/texlive-collection-langhebrew-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langhebrew
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Hebrew
 Summary(ja): TeX Live: Hebrew
 Name: texlive-collection-langhebrew
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -140,6 +140,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -150,6 +155,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -178,8 +186,12 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map cjhebrew.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable cjhebrew.map ... " && \
-        %{exec_updmap} --enable Map cjhebrew.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable Map 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."
 
 exit 0
 
@@ -193,8 +205,12 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^Map cjhebrew.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable cjhebrew.map ... " && \
-        %{exec_updmap} --disable cjhebrew.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -207,5 +223,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langhebrew

+ 17 - 3
t/texlive-collection-langhungarian/texlive-collection-langhungarian-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langhungarian
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Hungarian
 Summary(ja): TeX Live: Hungarian
 Name: texlive-collection-langhungarian
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL, GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -126,6 +126,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -136,6 +141,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -180,5 +188,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langhungarian

+ 31 - 9
t/texlive-collection-langindic/texlive-collection-langindic-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langindic
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Indic scripts
 Summary(ja): TeX Live: Indic scripts
 Name: texlive-collection-langindic
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL, No Info, Public Domain, Freely redistributable without restriction, GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -947,6 +947,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -957,6 +962,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -985,18 +993,22 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map burmese.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable burmese.map ... " && \
-        %{exec_updmap} --enable Map burmese.map >/dev/null 2>&1 && \
+        %{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} --enable Map skt.map >/dev/null 2>&1 && \
+        %{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} --enable MixedMap dvng.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable MixedMap 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 fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -1013,18 +1025,22 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^Map burmese.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable burmese.map ... " && \
-        %{exec_updmap} --disable burmese.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable skt.map ... " && \
-        %{exec_updmap} --disable skt.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable dvng.map ... " && \
-        %{exec_updmap} --disable dvng.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -1037,5 +1053,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langindic

+ 17 - 3
t/texlive-collection-langitalian/texlive-collection-langitalian-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langitalian
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Italian
 Summary(ja): TeX Live: Italian
 Name: texlive-collection-langitalian
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL, LGPLv2+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -141,6 +141,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -151,6 +156,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -195,5 +203,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langitalian

+ 27 - 5
t/texlive-collection-langlithuanian/texlive-collection-langlithuanian-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langlithuanian
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Lithuanian
 Summary(ja): TeX Live: Lithuanian
 Name: texlive-collection-langlithuanian
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -192,6 +192,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -202,6 +207,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -230,8 +238,12 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map l7x-urwvn.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable l7x-urwvn.map ... " && \
-        %{exec_updmap} --enable Map l7x-urwvn.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable Map 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 fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -248,8 +260,12 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^Map l7x-urwvn.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable l7x-urwvn.map ... " && \
-        %{exec_updmap} --disable l7x-urwvn.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -262,5 +278,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langlithuanian

+ 27 - 5
t/texlive-collection-langmongolian/texlive-collection-langmongolian-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langmongolian
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Mongolian
 Summary(ja): TeX Live: Mongolian
 Name: texlive-collection-langmongolian
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL, GPL+, No Info
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -459,6 +459,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -469,6 +474,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -497,8 +505,12 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap mongolian.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable mongolian.map ... " && \
-        %{exec_updmap} --enable MixedMap mongolian.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable MixedMap 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 fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -515,8 +527,12 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^MixedMap mongolian.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable mongolian.map ... " && \
-        %{exec_updmap} --disable mongolian.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -529,5 +545,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langmongolian

+ 31 - 9
t/texlive-collection-langpolish/texlive-collection-langpolish-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langpolish
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Polish
 Summary(ja): TeX Live: Polish
 Name: texlive-collection-langpolish
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: Public Domain, LPPL, Knuth
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -778,6 +778,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -788,6 +793,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -816,18 +824,22 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap ccpl.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable ccpl.map ... " && \
-        %{exec_updmap} --enable MixedMap ccpl.map >/dev/null 2>&1 && \
+        %{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} --enable MixedMap plother.map >/dev/null 2>&1 && \
+        %{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} --enable MixedMap pltext.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable MixedMap 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 fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -844,18 +856,22 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^MixedMap ccpl.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable ccpl.map ... " && \
-        %{exec_updmap} --disable ccpl.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable plother.map ... " && \
-        %{exec_updmap} --disable plother.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable pltext.map ... " && \
-        %{exec_updmap} --disable pltext.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -868,5 +884,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langpolish

+ 17 - 3
t/texlive-collection-langportuguese/texlive-collection-langportuguese-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langportuguese
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Portuguese
 Summary(ja): TeX Live: Portuguese
 Name: texlive-collection-langportuguese
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -130,6 +130,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -140,6 +145,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -184,5 +192,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langportuguese

+ 17 - 3
t/texlive-collection-langspanish/texlive-collection-langspanish-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langspanish
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Spanish
 Summary(ja): TeX Live: Spanish
 Name: texlive-collection-langspanish
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -141,6 +141,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -151,6 +156,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -195,5 +203,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langspanish

+ 17 - 3
t/texlive-collection-langswedish/texlive-collection-langswedish-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langswedish
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Swedish
 Summary(ja): TeX Live: Swedish
 Name: texlive-collection-langswedish
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -131,6 +131,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -141,6 +146,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -185,5 +193,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langswedish

+ 17 - 3
t/texlive-collection-langtibetan/texlive-collection-langtibetan-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langtibetan
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Tibetan
 Summary(ja): TeX Live: Tibetan
 Name: texlive-collection-langtibetan
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -197,6 +197,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -207,6 +212,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -248,5 +256,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langtibetan

+ 49 - 27
t/texlive-collection-langvietnamese/texlive-collection-langvietnamese-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-langvietnamese
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Vietnamese
 Summary(ja): TeX Live: Vietnamese
 Name: texlive-collection-langvietnamese
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -787,6 +787,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -797,6 +802,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -825,63 +833,67 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map arevvn.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable arevvn.map ... " && \
-        %{exec_updmap} --enable Map arevvn.map >/dev/null 2>&1 && \
+        %{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} --enable Map chartervn.map >/dev/null 2>&1 && \
+        %{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} --enable Map cmbrightvn.map >/dev/null 2>&1 && \
+        %{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} --enable Map comicvn.map >/dev/null 2>&1 && \
+        %{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} --enable Map concretevn.map >/dev/null 2>&1 && \
+        %{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} --enable Map grotesqvn.map >/dev/null 2>&1 && \
+        %{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} --enable Map mscorevn.map >/dev/null 2>&1 && \
+        %{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} --enable Map txttvn.map >/dev/null 2>&1 && \
+        %{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} --enable Map urwvn.map >/dev/null 2>&1 && \
+        %{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} --enable MixedMap vnrother.map >/dev/null 2>&1 && \
+        %{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} --enable MixedMap vnrtext.map >/dev/null 2>&1 && \
+        %{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} --enable Map vntopia.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable Map 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."
 
 exit 0
 
@@ -895,63 +907,67 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^Map arevvn.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable arevvn.map ... " && \
-        %{exec_updmap} --disable arevvn.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable chartervn.map ... " && \
-        %{exec_updmap} --disable chartervn.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable cmbrightvn.map ... " && \
-        %{exec_updmap} --disable cmbrightvn.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable comicvn.map ... " && \
-        %{exec_updmap} --disable comicvn.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable concretevn.map ... " && \
-        %{exec_updmap} --disable concretevn.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable grotesqvn.map ... " && \
-        %{exec_updmap} --disable grotesqvn.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable mscorevn.map ... " && \
-        %{exec_updmap} --disable mscorevn.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable txttvn.map ... " && \
-        %{exec_updmap} --disable txttvn.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable urwvn.map ... " && \
-        %{exec_updmap} --disable urwvn.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable vnrother.map ... " && \
-        %{exec_updmap} --disable vnrother.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable vnrtext.map ... " && \
-        %{exec_updmap} --disable vnrtext.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable vntopia.map ... " && \
-        %{exec_updmap} --disable vntopia.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -964,5 +980,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langvietnamese

+ 33 - 11
t/texlive-collection-latex/texlive-collection-latex-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-latex
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Basic LaTeX packages
 Summary(ja): TeX Live: Basic LaTeX packages
 Name: texlive-collection-latex
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL, Public Domain, GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -2137,6 +2137,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -2147,6 +2152,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -2175,23 +2183,27 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map charter.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable charter.map ... " && \
-        %{exec_updmap} --enable Map charter.map >/dev/null 2>&1 && \
+        %{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} --enable Map fpls.map >/dev/null 2>&1 && \
+        %{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} --enable Map pazo.map >/dev/null 2>&1 && \
+        %{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} --enable Map utopia.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable Map 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 fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -2208,23 +2220,27 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^Map charter.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable charter.map ... " && \
-        %{exec_updmap} --disable charter.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable fpls.map ... " && \
-        %{exec_updmap} --disable fpls.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable pazo.map ... " && \
-        %{exec_updmap} --disable pazo.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable utopia.map ... " && \
-        %{exec_updmap} --disable utopia.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -2237,5 +2253,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-latex

+ 17 - 3
t/texlive-collection-latex3/texlive-collection-latex3-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-latex3
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: LaTeX3 packages
 Summary(ja): TeX Live: LaTeX3 packages
 Name: texlive-collection-latex3
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -251,6 +251,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -261,6 +266,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -302,5 +310,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-latex3

+ 31 - 9
t/texlive-collection-latexextra/texlive-collection-latexextra-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-latexextra
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: LaTeX supplementary packages
 Summary(ja): TeX Live: LaTeX supplementary packages
 Name: texlive-collection-latexextra
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_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/
@@ -8533,6 +8533,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -8543,6 +8548,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -8571,18 +8579,22 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map epiolmec.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable epiolmec.map ... " && \
-        %{exec_updmap} --enable Map epiolmec.map >/dev/null 2>&1 && \
+        %{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} --enable MixedMap esint.map >/dev/null 2>&1 && \
+        %{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} --enable MixedMap manfnt.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable MixedMap 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."
 
 exit 0
 
@@ -8596,18 +8608,22 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^Map epiolmec.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable epiolmec.map ... " && \
-        %{exec_updmap} --disable epiolmec.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable esint.map ... " && \
-        %{exec_updmap} --disable esint.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable manfnt.map ... " && \
-        %{exec_updmap} --disable manfnt.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -8620,5 +8636,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-latexextra

+ 17 - 3
t/texlive-collection-latexrecommended/texlive-collection-latexrecommended-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-latexrecommended
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: LaTeX recommended packages
 Summary(ja): TeX Live: LaTeX recommended packages
 Name: texlive-collection-latexrecommended
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_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/
@@ -2407,6 +2407,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -2417,6 +2422,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -2458,5 +2466,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-latexrecommended

+ 17 - 3
t/texlive-collection-luatex/texlive-collection-luatex-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-luatex
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: LuaTeX packages
 Summary(ja): TeX Live: LuaTeX packages
 Name: texlive-collection-luatex
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: Public Domain, Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -195,6 +195,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -205,6 +210,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -246,5 +254,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-luatex

+ 29 - 7
t/texlive-collection-mathextra/texlive-collection-mathextra-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-mathextra
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Advanced math typesetting
 Summary(ja): TeX Live: Advanced math typesetting
 Name: texlive-collection-mathextra
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL, GPL+, Knuth, LGPLv2+, Freely redistributable without restriction, Public Domain, BSD
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -649,6 +649,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -659,6 +664,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -687,13 +695,17 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap stmaryrd.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable stmaryrd.map ... " && \
-        %{exec_updmap} --enable MixedMap stmaryrd.map >/dev/null 2>&1 && \
+        %{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} --enable MixedMap yhmath.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable MixedMap 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 fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -710,13 +722,17 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^MixedMap stmaryrd.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable stmaryrd.map ... " && \
-        %{exec_updmap} --disable stmaryrd.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --disable 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: disable yhmath.map ... " && \
-        %{exec_updmap} --disable yhmath.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -729,5 +745,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-mathextra

+ 17 - 3
t/texlive-collection-metapost/texlive-collection-metapost-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-metapost
 
 %bcond_with firstbuild
 
@@ -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: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL, Public Domain, GPL+, LGPLv2+, No Info, Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -908,6 +908,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -918,6 +923,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -962,5 +970,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-metapost

+ 27 - 5
t/texlive-collection-music/texlive-collection-music-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-music
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Music typesetting
 Summary(ja): TeX Live: Music typesetting
 Name: texlive-collection-music
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL, GPL+, No Info
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -694,6 +694,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -704,6 +709,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -732,8 +740,12 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap musix.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable musix.map ... " && \
-        %{exec_updmap} --enable MixedMap musix.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable MixedMap 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."
 
 exit 0
 
@@ -747,8 +759,12 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^MixedMap musix.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable musix.map ... " && \
-        %{exec_updmap} --disable musix.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -761,5 +777,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-music

+ 27 - 5
t/texlive-collection-omega/texlive-collection-omega-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-omega
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: Omega
 Summary(ja): TeX Live: Omega
 Name: texlive-collection-omega
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL, No Info, GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -677,6 +677,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -687,6 +692,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -715,8 +723,12 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map omega.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable omega.map ... " && \
-        %{exec_updmap} --enable Map omega.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable Map 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 fmtutil ... " && %{exec_fmtutil} && echo "done."
@@ -733,8 +745,12 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^Map omega.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable omega.map ... " && \
-        %{exec_updmap} --disable omega.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -747,5 +763,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-omega

+ 27 - 5
t/texlive-collection-pictures/texlive-collection-pictures-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-pictures
 
 %bcond_with firstbuild
 
@@ -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: 1%{?_dist_release}
+Release: 2%{?_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/
@@ -1317,6 +1317,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -1327,6 +1332,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -1355,8 +1363,12 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! MixedMap xypic.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable xypic.map ... " && \
-        %{exec_updmap} --enable MixedMap xypic.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable MixedMap 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."
 
 exit 0
 
@@ -1370,8 +1382,12 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^MixedMap xypic.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable xypic.map ... " && \
-        %{exec_updmap} --disable xypic.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -1384,5 +1400,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-pictures

+ 17 - 3
t/texlive-collection-plainextra/texlive-collection-plainextra-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-plainextra
 
 %bcond_with firstbuild
 
@@ -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: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: No Info, Public Domain, Freely redistributable without restriction, LPPL
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -321,6 +321,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -331,6 +336,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -372,5 +380,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-plainextra

+ 17 - 3
t/texlive-collection-pstricks/texlive-collection-pstricks-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-pstricks
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: PSTricks packages
 Summary(ja): TeX Live: PSTricks packages
 Name: texlive-collection-pstricks
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL, GPL+, LGPLv2+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -1433,6 +1433,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -1443,6 +1448,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -1484,5 +1492,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-pstricks

+ 17 - 3
t/texlive-collection-publishers/texlive-collection-publishers-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-publishers
 
 %bcond_with firstbuild
 
@@ -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: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: Freely redistributable without restriction, LPPL, No Info, Public Domain, GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -1392,6 +1392,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -1402,6 +1407,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -1443,5 +1451,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-publishers

+ 27 - 5
t/texlive-collection-science/texlive-collection-science-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-science
 
 %bcond_with firstbuild
 
@@ -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: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL, LGPLv2+, GPL+, Public Domain, Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -671,6 +671,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -681,6 +686,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -709,8 +717,12 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map chemarrow.map" && \
         echo -n "    " && \
         echo -n "Running updmap: enable chemarrow.map ... " && \
-        %{exec_updmap} --enable Map chemarrow.map >/dev/null 2>&1 && \
+        %{exec_updmap} --nomkmap --enable Map 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."
 
 exit 0
 
@@ -724,8 +736,12 @@ if [ "$1" = 0 ]; then
     %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^Map chemarrow.map" && \
         echo -n "    " && \
         echo -n "Running updmap: disable chemarrow.map ... " && \
-        %{exec_updmap} --disable chemarrow.map >/dev/null 2>&1 && \
+        %{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."
 
 fi
 
@@ -738,5 +754,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-science

+ 17 - 3
t/texlive-collection-texinfo/texlive-collection-texinfo-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-texinfo
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: GNU Texinfo
 Summary(ja): TeX Live: GNU Texinfo
 Name: texlive-collection-texinfo
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: GPL+
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -136,6 +136,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -146,6 +151,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -179,5 +187,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-texinfo

+ 17 - 3
t/texlive-collection-xetex/texlive-collection-xetex-vl.spec

@@ -1,6 +1,6 @@
 ## -*- coding: utf-8-unix -*-
-## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: 
-## tlpdb2rpmspec.sh collection-basic
+## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: 
+## tlpdb2rpmspec collection-xetex
 
 %bcond_with firstbuild
 
@@ -28,7 +28,7 @@ Summary: TeX Live: XeTeX packages
 Summary(ja): TeX Live: XeTeX packages
 Name: texlive-collection-xetex
 Version: 2009
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LPPL, GPL+, OFSFLD, Public Domain, ASL 2.0, Freely redistributable without restriction
 Group: Applications/Publishing
 URL:http://www.tug.org/texlive/
@@ -633,6 +633,11 @@ for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixsc
     %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
 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}
+done
+
 ## remove asymptote directries, which provides asymptote package
 find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # find %{buildroot} -name "Makefile" | xargs %__rm -f
@@ -643,6 +648,9 @@ find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
 # ## remove tex4ht
 # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf
 
+## remove arch dependent binaries
+%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+
 ## remove unpackaging files
 find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
 find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f
@@ -687,5 +695,11 @@ exit 0
 %defattr(-,root,root)
 
 %changelog
+* 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)
+- fixed perl path
+- improved updmap process in %%post and %%postun
+
 * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
 - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-xetex

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