vine-app-install-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. Summary: Add or remove desktop application
  2. Summary(ja): デスクトップ向けアプリケーションの追加・削除
  3. Name: vine-app-install
  4. Version: 1.2.0
  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. * Sun Oct 10 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.2.0-1
  60. - source update
  61. - add Fonts category
  62. * Thu Apr 22 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.1.1-1
  63. - source update
  64. - do not show unavailable packages (<BTS:wishes:236)>
  65. - update help document
  66. * Sat Feb 06 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.1.0-1
  67. - source update
  68. - add Requires: gksu (for switching to synaptic)
  69. * Mon Jan 18 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.0.2-2
  70. - remove BuildArch: noarch (<BTS:VineLinux:883>)
  71. * Sun Aug 16 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.2-1
  72. - source update (fix for <BTS:VineLinux:0750>)
  73. * Mon Jul 27 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.1-1
  74. - source update
  75. * Sun Jul 26 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.0-1
  76. - source update
  77. - change source archive structure
  78. - add documents
  79. * Wed Jun 24 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.3-1
  80. - source update
  81. * Mon Jun 15 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.2-1
  82. - source update
  83. * Thu Jun 04 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.1-1
  84. - source update
  85. * Thu May 21 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.0-1
  86. - source update
  87. * Tue May 12 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.0-1
  88. - source update
  89. * Mon May 11 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.1-1
  90. - source update
  91. - update application icon (thanks to TANAKA-san)
  92. * Mon May 04 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.0-1
  93. - source update
  94. * Mon May 04 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.1-1
  95. - source update
  96. - add application icon
  97. * Sun May 03 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.0-1
  98. - source update
  99. * Fri May 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1.1-1
  100. - source update
  101. - add Requires: vine-app-install-data
  102. * Wed Apr 29 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1.0-1
  103. - initial build for Vine Linux