gnome-do-vl.spec 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. %define mainver 0.8.3
  2. %define build_vine5 %( [ "%{?_dist_release}" == "vl5" ] && echo 1 || echo 0)
  3. Name: gnome-do
  4. Version: 0.8.3.1
  5. Release: 4%{?_dist_release}
  6. Summary: An intelligent launcher tool for Gnome
  7. Summary(ja): Gnome 用の高機能ランチャー
  8. License: GPLv3+
  9. Group: Applications/Accessories
  10. URL: http://do.davebsd.com/
  11. Source0: http://edge.launchpad.net/do/0.8/%{mainver}/+download/gnome-do-%{version}.tar.gz
  12. # https://bugs.launchpad.net/do/+bug/634556
  13. # https://bugs.launchpad.net/do/+bug/634550
  14. Patch0: gnome-do-0.8.3.1-mono-2.8.patch
  15. Patch1: gnome-do-0.8.3.1-gdk-build-fix.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  17. # Various Mono dependencies are not available for ppc64; see bug 241850.
  18. ExcludeArch: ppc64
  19. BuildRequires: mono-devel, mono-addins
  20. BuildRequires: desktop-file-utils
  21. BuildRequires: ndesk-dbus
  22. BuildRequires: ndesk-dbus-glib
  23. BuildRequires: gtk-sharp2
  24. BuildRequires: notify-sharp-devel
  25. BuildRequires: gnome-sharp2, gnome-desktop-sharp2 >= 2.26
  26. BuildRequires: gnome-keyring-sharp-devel
  27. BuildRequires: gettext
  28. BuildRequires: perl-XML-Parser
  29. BuildRequires: intltool
  30. BuildRequires: gtk2-devel
  31. BuildRequires: desktop-file-utils
  32. BuildRequires: wnck-sharp
  33. BuildRequires: gconf-sharp2
  34. BuildRequires: rsvg2-sharp
  35. Requires(pre): GConf2
  36. Requires(post): GConf2
  37. Requires(preun): GConf2
  38. Requires: gnome-keyring-sharp, gnome-desktop-sharp2
  39. Requires: pkgconfig
  40. Packager: kazutaka
  41. %description
  42. GNOME Do (Do) is an intelligent launcher tool that makes performing
  43. common tasks on your computer simple and efficient. Do not only
  44. allows you to search for items in your desktop environment
  45. (e.g. applications, contacts, bookmarks, files, music), it also
  46. allows you to specify actions to perform on search results
  47. (e.g. run, open, email, chat, play).
  48. %description -l ja
  49. GNOME Do (Do) は高機能なランチャーツールです。 PC を使った一
  50. 般的なタスクをシンプルかつ効率的に実行できるようにします。Do
  51. はデスクトップ環境の様々なアイテム(例えばアプリケーションや
  52. 連絡先、ブックマーク、ファイル、音楽等)の検索だけでなく、検索
  53. した結果をどう操作するのか(例えば開く、メールに添付、チャット、
  54. 再生する等)を指定することができます。
  55. %package devel
  56. Summary: Development files for GNOME Do
  57. SUmmary(ja): GNOME Do の開発用ファイル
  58. Group: Development/Libraries
  59. Requires: %{name} = %{version}-%{release}
  60. Requires: pkgconfig
  61. %description devel
  62. Development files for GNOME Do
  63. %description devel -l ja
  64. GNOME Do の開発用ファイルです。
  65. %prep
  66. %setup -q
  67. %if !%{build_vine5}
  68. %patch0 -p0 -b .mono28-fix
  69. %patch1 -p1 -b .gdkbuild-fix
  70. %endif
  71. %build
  72. %configure
  73. make %{?_smp_mflags}
  74. %install
  75. rm -rf ${RPM_BUILD_ROOT}
  76. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  77. make install DESTDIR=${RPM_BUILD_ROOT}
  78. desktop-file-install \
  79. --dir ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart \
  80. --add-only-show-in=GNOME \
  81. ${RPM_BUILD_ROOT}%{_datadir}/applications/gnome-do.desktop
  82. desktop-file-install --delete-original \
  83. --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
  84. --remove-category Application \
  85. ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
  86. #own this dir:
  87. mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/%{name}
  88. %find_lang %{name}
  89. %pre
  90. if [ "$1" -gt 1 ]; then
  91. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  92. gconftool-2 --makefile-uninstall-rule \
  93. %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
  94. fi
  95. %post
  96. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  97. gconftool-2 --makefile-install-rule \
  98. %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
  99. touch --no-create %{_datadir}/icons/hicolor
  100. if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
  101. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  102. fi
  103. %preun
  104. if [ "$1" -eq 0 ]; then
  105. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  106. gconftool-2 --makefile-uninstall-rule \
  107. %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
  108. fi
  109. %postun
  110. touch --no-create %{_datadir}/icons/hicolor
  111. if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
  112. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  113. fi
  114. %clean
  115. rm -rf ${RPM_BUILD_ROOT}
  116. %files -f %{name}.lang
  117. %defattr(-,root,root,-)
  118. %doc AUTHORS COPYING COPYRIGHT
  119. %{_bindir}/gnome-do/
  120. %{_libdir}/gnome-do/
  121. %{_datadir}/gnome-do/
  122. %config(noreplace) %{_sysconfdir}/xdg/autostart/gnome-do.desktop
  123. %config(noreplace) %{_sysconfdir}/gconf/schemas/*
  124. %{_datadir}/icons/hicolor/*/apps/gnome-do.*
  125. %{_datadir}/applications/*
  126. %files devel
  127. %defattr(-,root,root,-)
  128. %{_libdir}/pkgconfig/*
  129. %changelog
  130. * Sat Nov 06 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.8.3.1-4
  131. - add Patch0 & 1 to fix compilation error (Seed only)
  132. * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.3.1-3
  133. - rebuild with rpm-4.8.1 for pkg-config file
  134. - add BuildRequires: gconf-sharp2, rsvg2-sharp
  135. * Mon Jul 26 2010 Shu KONNO <owa@bg.wakwak.com> 0.8.3.1-2
  136. - rebuilt with mono-addins-0.5
  137. * Sun Jan 10 2010 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.3.1-1
  138. - new upstream release
  139. * Fri Jul 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.2-1
  140. - new upstream release
  141. - drop Patch0 (merged in upstream)
  142. * Fri Jun 12 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.1.3-3
  143. - change Group to Applications/Accessories
  144. * Fri Jun 12 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.8.1.3-2
  145. - add BuildRequires: wnck-sharp
  146. * Thu Jun 11 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.1.3-1
  147. - initial build for Vine Linux based on fedora development
  148. * Fri Apr 10 2009 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org> - 0.8.1.3-5
  149. - Fix .desktop issue, install in both autostart and applications
  150. - Rebuild for new gnome-desktop-sharp
  151. - Add missing gnome-desktop-sharp requires
  152. - Fix Ndesk-dbus Requires
  153. * Wed Apr 01 2009 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org> - 0.8.1.3-3
  154. - Add patch to fix issue where applications wasn't being indexed
  155. * Tue Mar 17 2009 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org> - 0.8.1.3-2
  156. - New upstream release
  157. * Tue Mar 3 2009 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org> - 0.8.0-4
  158. - Own _datadir/gnome-do
  159. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-3
  160. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  161. * Sat Feb 7 2009 Michel Salim <salimma@fedoraproject.org> - 0.8.0-2
  162. - Rebuild against new mono-addins
  163. * Fri Jan 30 2009 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org> - 0.8.0-1
  164. - New upstream release
  165. * Thu Jan 29 2009 Michel Salim <salimma@fedoraproject.org> - 0.6.1.0-3
  166. - Remove Tomboy dependency (bz #481183)
  167. - Updated description, from Do
  168. * Mon Oct 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.6.1.0-2
  169. - rebuild against new gnome-sharp
  170. * Wed Oct 08 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org> - 0.6.1.0-1
  171. - New Upstream Release
  172. * Fri Oct 03 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org> - 0.6.0.1-1
  173. - New upstream release
  174. * Wed Jun 11 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org> - 0.6.0.0-1
  175. - New upstream release
  176. * Wed Jun 11 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org> - 0.5.0.1-4
  177. - New upstream release
  178. - Add gnome-desktop-sharp dependency
  179. * Wed Jun 04 2008 Caol叩n McNamara <caolanm@redhat.com> - 0.4.2.0-2
  180. - rebuild for dependancies
  181. * Tue Apr 22 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org> - 0.4.2.0-1
  182. - New upstream release
  183. * Tue Apr 01 2008 David Nielsen <gnomeuser@gmail.com> - 0.4.0.1-2
  184. - #439793 - correct URL
  185. * Sat Mar 29 2008 David Nielsen <gnomeuser@gmail.com> - 0.4.0.1-1
  186. - Bump to 0.4.0.1
  187. - Hopefully bring an end to the endless dups of 432201
  188. * Thu Feb 21 2008 David Nielsen <david@lovesunix.net> - 0.3.1-2
  189. - Fix 432201
  190. * Thu Feb 21 2008 David Nielsen <david@lovesunix.net> - 0.3.1-1
  191. - Bump to 0.3.1
  192. * Wed Feb 06 2008 David Nielsen <david@lovesunix.net> - 0.3.0.1-5
  193. - #431589 - Force runtime dependency on ndesk-dbus(-glib)
  194. * Mon Feb 04 2008 David Nielsen <david@lovesunix.net> - 0.3.0.1-4
  195. - #431462 - Correctly pull in Tomboy runtime dependency
  196. * Fri Jan 25 2008 David Nielsen <david@lovesunix.net> - 0.3.0.1-3
  197. - autostart gnome-do in quiet mode with the user session
  198. - to invoke gnome-do use super+space
  199. * Tue Jan 22 2008 David Nielsen <david@lovesunix.net> - 0.3.0.1-2
  200. - Fix BuildRequires
  201. * Tue Jan 22 2008 David Nielsen <david@lovesunix.net> - 0.3.0.1-1
  202. - bump to 0.3.0.1
  203. - update patches
  204. * Sat Nov 17 2007 David Nielsen <david@lovesunix.net> - 0.0.2-2
  205. - updated libdir patch
  206. - cleaned up desktop-file-install invocation
  207. - correct BuildRequires
  208. * Mon Nov 12 2007 David Nielsen <david@lovesunix.net> - 0.0.2-1
  209. - Initial package