vine-app-install-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. Summary: Add or remove desktop application
  2. Summary(ja): デスクトップ向けアプリケーションの追加・削除
  3. Name: vine-app-install
  4. Version: 1.1.1
  5. Release: 1%{?_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: vine-app-install-data, gksu
  15. BuildRequires: gambas2-ide >= 1.9.48
  16. Requires: apt, synaptic, gnome-icon-theme
  17. #BuildArch: noarch
  18. AutoReqProv: no
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. Packager: kazutaka
  21. %description
  22. vine-app-install is a tool to install and/or uninstall the
  23. desktop applications with GUI.
  24. This program is developed with Gambas.
  25. If you are using KDE, install gambas2-gb-qt sub package and then
  26. this program switch to use Qt toolkit.
  27. %description -l ja
  28. vine-app-install は、デスクトップ向けの一般的なアプリケーションを
  29. GUI からインストール、アンインストールできるツールです。
  30. このプログラムは Gambas で開発されています。
  31. KDE を使っている場合は、gambas2-gb-qt サブパッケージをインストール
  32. すると、ツールキットに Qt が使用されるようになります。
  33. %prep
  34. %setup -q
  35. %build
  36. pushd src/%{name}
  37. %{_bindir}/gbc2 -a -t -p
  38. %{_bindir}/gba2
  39. popd
  40. %install
  41. %{__rm} -rf ${RPM_BUILD_ROOT}
  42. %{__install} -d ${RPM_BUILD_ROOT}/%{_bindir}
  43. %{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/applications
  44. %{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps
  45. %{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
  46. %{__install} -m 755 src/%{name}/%{name}.gambas ${RPM_BUILD_ROOT}/%{_bindir}/%{name}
  47. %{__install} -m 755 src/%{name}/%{name}.png ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps
  48. %{__install} -m 644 %{name}.desktop ${RPM_BUILD_ROOT}/%{_datadir}/applications
  49. %clean
  50. %{__rm} -rf ${RPM_BUILD_ROOT}
  51. %files
  52. %defattr(-,root,root)
  53. %doc AUTHORS COPYING README ChangeLog help
  54. %{_bindir}/%{name}
  55. %{_datadir}/%{name}
  56. %{_datadir}/applications/%{name}.desktop
  57. %{_datadir}/pixmaps/%{name}.png
  58. %changelog
  59. * Thu Apr 22 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.1.1-1
  60. - source update
  61. - do not show unavailable packages (<BTS:wishes:236)>
  62. - update help document
  63. * Sat Feb 06 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.1.0-1
  64. - source update
  65. - add Requires: gksu (for switching to synaptic)
  66. * Mon Jan 18 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.0.2-2
  67. - remove BuildArch: noarch (<BTS:VineLinux:883>)
  68. * Sun Aug 16 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.2-1
  69. - source update (fix for <BTS:VineLinux:0750>)
  70. * Mon Jul 27 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.1-1
  71. - source update
  72. * Sun Jul 26 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.0-1
  73. - source update
  74. - change source archive structure
  75. - add documents
  76. * Wed Jun 24 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.3-1
  77. - source update
  78. * Mon Jun 15 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.2-1
  79. - source update
  80. * Thu Jun 04 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.1-1
  81. - source update
  82. * Thu May 21 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.0-1
  83. - source update
  84. * Tue May 12 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.0-1
  85. - source update
  86. * Mon May 11 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.1-1
  87. - source update
  88. - update application icon (thanks to TANAKA-san)
  89. * Mon May 04 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.0-1
  90. - source update
  91. * Mon May 04 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.1-1
  92. - source update
  93. - add application icon
  94. * Sun May 03 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.0-1
  95. - source update
  96. * Fri May 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1.1-1
  97. - source update
  98. - add Requires: vine-app-install-data
  99. * Wed Apr 29 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1.0-1
  100. - initial build for Vine Linux