--- /dev/null
+--- nautilus-dropbox-0.6.3/dropbox.in~ 2010-06-15 02:36:52.000000000 +0300
++++ nautilus-dropbox-0.6.3/dropbox.in 2010-07-08 20:55:18.697946297 +0300
+@@ -524,7 +524,10 @@
+ return newmeth
+
+ def start_dropbox():
+- db_path = os.path.expanduser(u"~/.dropbox-dist/dropboxd").encode(sys.getfilesystemencoding())
++ # first try dropboxd from system, fallback to user install
++ db_path = "/usr/bin/dropboxd"
++ if not os.access(db_path, os.X_OK):
++ db_path = os.path.expanduser(u"~/.dropbox-dist/dropboxd").encode(sys.getfilesystemencoding())
+ if os.access(db_path, os.X_OK):
+ f = open("/dev/null", "w")
+ # we don't reap the child because we're gonna die anyway, let init do it
Group: X11/Applications
Source0: http://linux.getdropbox.com/packages/%{name}-%{version}.tar.bz2
# Source0-md5: aed416ff7876c8bd6a4690c8e8529db1
+Patch0: dropboxd-path.patch
URL: http://getdropbox.com/
BuildRequires: glib2-devel >= 1:2.14.0
BuildRequires: gtk+2-devel >= 2:2.12.0
Requires(post,postun): gtk+2
Requires(post,postun): hicolor-icon-theme
Requires: nautilus >= 2.16.0
-Requires: wget >= 1.10.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q
+%patch0 -p1
%build
%configure \