rpminstall-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. Summary: rpm package installer
  2. Summary(ja): RPM パッケージのインストーラ
  3. Name: rpminstall
  4. Version: 1.0.3
  5. Release: 3%{?_dist_release}
  6. Source0: %{name}-%{version}.tar.bz2
  7. License: GPL
  8. Group: Applications/Administration
  9. #URL:
  10. Requires: gambas2-runtime >= 1.9.48
  11. Requires: gambas2-gb-gui >= 1.9.48
  12. Requires: gambas2-gb-form >= 1.9.48
  13. Requires: gambas2-gb-gtk >= 1.9.48
  14. Requires: gksu, xdg-utils
  15. BuildRequires: gambas2-ide >= 1.9.48
  16. #BuildArch: noarch
  17. AutoReqProv: no
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  19. Packager: kazutaka
  20. %description
  21. RPM Install is a symple GUI tool to install RPM packages.
  22. This program is developed with Gambas.
  23. If you are using KDE, install gambas2-gb-qt sub package and then
  24. this program switch to use Qt toolkit.
  25. %description -l ja
  26. RPM Install は RPM パッケージのインストール用のシンプルな GUI
  27. ツールです。
  28. このプログラムは Gambas で開発されています。
  29. KDE を使っている場合は、gambas2-gb-qt サブパッケージをインス
  30. トールすると、ツールキットに Qt が使用されるようになります。
  31. %prep
  32. %setup -q -n rpminstall
  33. %build
  34. pushd src/%{name}
  35. %{_bindir}/gbc2 -a -t -p
  36. %{_bindir}/gba2
  37. popd
  38. %install
  39. %{__rm} -rf ${RPM_BUILD_ROOT}
  40. %{__install} -d ${RPM_BUILD_ROOT}/%{_bindir}
  41. %{__install} -d ${RPM_BUILD_ROOT}/%{_prefix}/lib/rpminstall
  42. %{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps
  43. %{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/applications
  44. %{__install} -m 755 src/%{name}/rpminstall.gambas ${RPM_BUILD_ROOT}/%{_bindir}/rpminstall
  45. %{__install} -m 755 apt.sh ${RPM_BUILD_ROOT}/%{_prefix}/lib/rpminstall/apt.sh
  46. %{__install} -m 644 src/%{name}/rpminstall.png ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps/rpminstall.png
  47. %{__install} -m 644 rpminstall.desktop ${RPM_BUILD_ROOT}%{_datadir}/applications/rpminstall.desktop
  48. %clean
  49. %{__rm} -rf ${RPM_BUILD_ROOT}
  50. %files
  51. %defattr(-,root,root)
  52. %doc AUTHORS COPYING README ChangeLog help
  53. %{_bindir}/rpminstall
  54. %{_prefix}/lib/rpminstall
  55. %{_datadir}/pixmaps/%{name}.png
  56. %{_datadir}/applications/%{name}.desktop
  57. %changelog
  58. * Mon Jan 18 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.0.3-3
  59. - change %%{_libdir} to %%{_prefix}/lib (to use same directory on x86_64)
  60. * Mon Jan 18 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.0.3-2
  61. - remove BuildArch: noarch (<BTS:VineLinux:883>)
  62. * Sun Jul 26 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.3-1
  63. - source update
  64. - change source archive structure
  65. - add documents
  66. * Sun Jul 19 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.2-1
  67. - source update: fixes for <BTS:VineLinux:0725>
  68. - allow to install ix86.rpm on x86_64 system
  69. - quote installation file path to handle space-contained filenames
  70. - update Source1: run apt-get command with eval
  71. * Thu May 07 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.1-1
  72. - source update
  73. - add Packager tag
  74. * Sat May 02 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.0-1
  75. - source update
  76. - add html help file
  77. - add Requires: xdg-utils
  78. * Sat Mar 21 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.0-1
  79. - source update.
  80. * Sat Jun 21 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.2-1
  81. - source update.
  82. * Sat May 17 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.1-1
  83. - source update.
  84. * Thu May 15 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.0-1
  85. - source update.
  86. - add Source1 to Source3
  87. (don't include in source archive to minimize executable file size)
  88. * Fri May 02 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.2-1
  89. - source update.
  90. * Sat Apr 26 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.1-1
  91. - source update.
  92. - add Requires: gksu
  93. * Tue Apr 15 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.0-1
  94. - source update.
  95. * Tue Apr 15 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1.4-1
  96. - source update.
  97. - add %%{_libdir}/rpminstall/rpm.sh
  98. * Sun Apr 13 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1.3-1
  99. - source update.
  100. * Sun Apr 13 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1.2-1
  101. - source update.
  102. * Sat Apr 05 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1.1-1
  103. - initial build for Vine Linux