install-assist-AdobeReader_jpn-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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: 1%{?_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. %ifarch x86_64
  24. Requires: compat32-libcanberra-gtk2
  25. Requires: compat32-gtk2-engines
  26. Requires: compat32-mesa-libGLU
  27. Requires(post): nspluginwrapper
  28. %endif
  29. Packager: kazutaka, munepi
  30. %description
  31. Adobe Reader is an application to easily view, browse and
  32. print PDF files.
  33. If you install this package, it automaticaly downloads
  34. required files to install %{pkgname}.
  35. And the downloaded files are automatically installed if
  36. installation is executed by apt-get command or synaptic
  37. package manager.
  38. %description -l ja
  39. Adobe Reader は PDF (Portable Document Format)ファイルを表示、
  40. 閲覧、および印刷するためのソフトウェアです。
  41. このパッケージをインストールすると、自動的に %{pkgname}
  42. のインストールに必要な rpm ファイルをダウンロードします。
  43. また apt-get コマンドや synapticパッケージマネージャから実行
  44. した場合は、ダウンロードした rpm ファイルのインストールも自
  45. 動的に行います。
  46. %posttrans
  47. /usr/lib/rpm/get-binary-rpm.sh %{name} %{dlurl}
  48. %ifarch x86_64
  49. /usr/lib/rpm/pre-allocate-rpm.sh AdbeRdr%{pkgversion}-1_i486linux_jpn
  50. /usr/bin/mozilla-plugin-config -i
  51. exit 0
  52. %endif
  53. %files
  54. %changelog
  55. * Fri Mar 11 2011 Munehiro Yamamoto <munepi@vinelinux.org> 9.4.2-1
  56. - new upstream release
  57. * Sun Dec 05 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.4.1-1
  58. - new upstream release
  59. * Thu Oct 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.4-1
  60. - new upstream release
  61. * Fri Aug 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.3.4-1
  62. - new upstream release
  63. * Wed Jun 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.3.3-1
  64. - new upstream release
  65. * Fri Apr 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.3.2-1
  66. - new upstream release
  67. * Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.3.1-2
  68. - changed %%{dlurl} to http
  69. * Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.3.1-1
  70. - new upstream release
  71. * Wed Jan 13 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.3-1
  72. - new upstream release
  73. * Sat Oct 17 2009 Munehiro Yamamoto <munepi@vinelinux.org> 9.2-1
  74. - new upstream release
  75. * Tue Aug 18 2009 Munehiro Yamamoto <munepi@vinelinux.org> 9.1.3-1
  76. - new upstream release
  77. * Sat Jul 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 9.1.2-3
  78. - added pre-allocate in %%posttrans for x86_64
  79. * Fri Jul 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 9.1.2-2
  80. - setup for x86_64
  81. * Fri Jun 19 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 9.1.2-1
  82. - new upstream release
  83. * Sun May 31 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 9.1.0-4
  84. - drop x86_64 from ExclusiveArch
  85. * Sat May 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 9.1.0-3
  86. - change self-build-setup from PreReq to Requires(post)
  87. * Thu May 14 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 9.1.0-2
  88. - switch PreReq: to self-build-setup >= 0.9.0
  89. - add ExclusiveArch: %%{ix86} x86_64
  90. * Fri May 08 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 9.1.0-1
  91. - initial build for Vine Linux.