vine-app-install-vl.spec 4.4 KB

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