install-assist-AdobeReader_jpn-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. %define pkgname AdobeReader_jpn
  2. %define pkgversion 9.4.2
  3. #% define dlurl ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/%{pkgversion}/jpn/AdbeRdr%{pkgversion}-1_i486linux_jpn.rpm
  4. %define dlurl http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/%{pkgversion}/jpn/AdbeRdr%{pkgversion}-1_i486linux_jpn.rpm
  5. Summary: Package to assist installation of %{pkgname} (i486)
  6. Summary(ja): %{pkgname} (i486) のインストールを補助するパッケージ
  7. Name: install-assist-%{pkgname}
  8. Version: %{pkgversion}
  9. Release: 2%{?_dist_release}
  10. License: Commercial
  11. Group: Applications/Productivity
  12. ExclusiveArch: %{ix86} x86_64
  13. # Requires(posttrans) not yet implemented. So we use (post) instead.
  14. Requires(post): self-build-setup >= 0.9.0
  15. # Required packages for AdobeReader_jpn
  16. Requires: gtk2 >= 2.4.0
  17. Requires: gawk, grep, procps, atk,
  18. Requires: fontconfig, freetype2, pango
  19. Requires: libgcc, glib2, libstdc++34
  20. Requires: mesa-libGL, mesa-libGLU
  21. Requires: libX11, libXext, libXt
  22. Requires: libidn, libxml2, zlib
  23. %if %{?_dist_release} >= "vl7"
  24. Requires: pangox-compat
  25. %endif
  26. %ifarch x86_64
  27. Requires: compat32-libcanberra-gtk2
  28. Requires: compat32-gtk2-engines
  29. Requires: compat32-mesa-libGLU
  30. Requires: compat32-libxml2
  31. %if %{?_dist_release} >= "vl7"
  32. Requires: compat32-pangox-compat
  33. %endif
  34. Requires(post): nspluginwrapper
  35. %endif
  36. Packager: kazutaka, munepi
  37. %description
  38. Adobe Reader is an application to easily view, browse and
  39. print PDF files.
  40. If you install this package, it automaticaly downloads
  41. required files to install %{pkgname}.
  42. And the downloaded files are automatically installed if
  43. installation is executed by apt-get command or synaptic
  44. package manager.
  45. %description -l ja
  46. Adobe Reader は PDF (Portable Document Format)ファイルを表示、
  47. 閲覧、および印刷するためのソフトウェアです。
  48. このパッケージをインストールすると、自動的に %{pkgname}
  49. のインストールに必要な rpm ファイルをダウンロードします。
  50. また apt-get コマンドや synapticパッケージマネージャから実行
  51. した場合は、ダウンロードした rpm ファイルのインストールも自
  52. 動的に行います。
  53. %posttrans
  54. /usr/lib/rpm/get-binary-rpm.sh %{name} %{dlurl}
  55. %ifarch x86_64
  56. /usr/lib/rpm/pre-allocate-rpm.sh AdbeRdr%{pkgversion}-1_i486linux_jpn
  57. /usr/bin/mozilla-plugin-config -i
  58. exit 0
  59. %endif
  60. %files
  61. %changelog
  62. * Wed Dec 12 2012 Munehiro Yamamoto <munepi@vinelinux.org> 9.4.2-2
  63. - added R: {compat32-,}pangox-compat for vl7
  64. - added R: compat32-libxml2
  65. * Fri Mar 11 2011 Munehiro Yamamoto <munepi@vinelinux.org> 9.4.2-1
  66. - new upstream release
  67. * Sun Dec 05 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.4.1-1
  68. - new upstream release
  69. * Thu Oct 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.4-1
  70. - new upstream release
  71. * Fri Aug 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.3.4-1
  72. - new upstream release
  73. * Wed Jun 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.3.3-1
  74. - new upstream release
  75. * Fri Apr 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.3.2-1
  76. - new upstream release
  77. * Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.3.1-2
  78. - changed %%{dlurl} to http
  79. * Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.3.1-1
  80. - new upstream release
  81. * Wed Jan 13 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.3-1
  82. - new upstream release
  83. * Sat Oct 17 2009 Munehiro Yamamoto <munepi@vinelinux.org> 9.2-1
  84. - new upstream release
  85. * Tue Aug 18 2009 Munehiro Yamamoto <munepi@vinelinux.org> 9.1.3-1
  86. - new upstream release
  87. * Sat Jul 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 9.1.2-3
  88. - added pre-allocate in %%posttrans for x86_64
  89. * Fri Jul 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 9.1.2-2
  90. - setup for x86_64
  91. * Fri Jun 19 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 9.1.2-1
  92. - new upstream release
  93. * Sun May 31 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 9.1.0-4
  94. - drop x86_64 from ExclusiveArch
  95. * Sat May 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 9.1.0-3
  96. - change self-build-setup from PreReq to Requires(post)
  97. * Thu May 14 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 9.1.0-2
  98. - switch PreReq: to self-build-setup >= 0.9.0
  99. - add ExclusiveArch: %%{ix86} x86_64
  100. * Fri May 08 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 9.1.0-1
  101. - initial build for Vine Linux.