install-assist-AdobeReader_jpn-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. %define pkgname AdobeReader_jpn
  2. %define pkgversion 9.3.4
  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}
  6. Summary(ja): %{pkgname} のインストールを補助するパッケージ
  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 Aug 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.3.4-1
  56. - new upstream release
  57. * Wed Jun 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.3.3-1
  58. - new upstream release
  59. * Fri Apr 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.3.2-1
  60. - new upstream release
  61. * Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.3.1-2
  62. - changed %%{dlurl} to http
  63. * Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.3.1-1
  64. - new upstream release
  65. * Wed Jan 13 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.3-1
  66. - new upstream release
  67. * Sat Oct 17 2009 Munehiro Yamamoto <munepi@vinelinux.org> 9.2-1
  68. - new upstream release
  69. * Tue Aug 18 2009 Munehiro Yamamoto <munepi@vinelinux.org> 9.1.3-1
  70. - new upstream release
  71. * Sat Jul 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 9.1.2-3
  72. - added pre-allocate in %%posttrans for x86_64
  73. * Fri Jul 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 9.1.2-2
  74. - setup for x86_64
  75. * Fri Jun 19 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 9.1.2-1
  76. - new upstream release
  77. * Sun May 31 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 9.1.0-4
  78. - drop x86_64 from ExclusiveArch
  79. * Sat May 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 9.1.0-3
  80. - change self-build-setup from PreReq to Requires(post)
  81. * Thu May 14 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 9.1.0-2
  82. - switch PreReq: to self-build-setup >= 0.9.0
  83. - add ExclusiveArch: %%{ix86} x86_64
  84. * Fri May 08 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 9.1.0-1
  85. - initial build for Vine Linux.