1 |
Summary: Dropbox extension for Nautilus |
2 |
Name: nautilus-dropbox |
3 |
Version: 0.7.1 |
4 |
Release: %mkrel 1 |
5 |
Source0: http://linux.dropbox.com/packages/%name-%version.tar.bz2 |
6 |
License: GPLv2+ and CC-BY-ND |
7 |
Group: Graphical desktop/GNOME |
8 |
Url: http://dropbox.com/ |
9 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
10 |
BuildRequires: nautilus-devel libnotify-devel pygtk2.0-devel python-docutils |
11 |
Requires: nautilus wget libnotify |
12 |
Suggests: python-gpgme |
13 |
|
14 |
%description |
15 |
Dropbox extension for Nautilus. |
16 |
|
17 |
%files |
18 |
%defattr(-,root,root) |
19 |
%doc README.urpmi |
20 |
%_datadir/nautilus-dropbox |
21 |
%_libdir/nautilus/extensions-2.0/libnautilus-dropbox.so |
22 |
%_iconsdir/hicolor/*/*/* |
23 |
%_bindir/* |
24 |
%_datadir/applications/* |
25 |
%_mandir/* |
26 |
|
27 |
#-------------------------------------------------------------------- |
28 |
|
29 |
%prep |
30 |
%setup -q |
31 |
|
32 |
%build |
33 |
%configure2_5x --disable-static |
34 |
%make |
35 |
|
36 |
%install |
37 |
rm -rf %{buildroot} |
38 |
%{makeinstall_std} |
39 |
|
40 |
rm -f %buildroot%_libdir/nautilus/extensions-2.0/*.la |
41 |
rm -f %buildroot%_iconsdir/hicolor/*/*/*.icon |
42 |
|
43 |
# (dams) |
44 |
# conflict with libz dowloaded by the package and with libz installed on system |
45 |
# need to remove the one installed by the package to have GUI working |
46 |
cat > README.urpmi << EOF |
47 |
|
48 |
-------------------------- Description ------------------------------- |
49 |
|
50 |
This package allows you to configure your computer to make a |
51 |
synchronization between your Dropbox account and the directory |
52 |
of your choice. A GUI is proposed and a deamon will be launched. |
53 |
|
54 |
This package only contains the tool to download the Dropbox program! |
55 |
Dropbox programm will be updated by itself! |
56 |
|
57 |
---------------------------- Warning --------------------------------- |
58 |
|
59 |
To start the daemon: |
60 |
- $ dropbox start -i |
61 |
As there is a conflict between 'libz' downloaded by dropbox and 'libz' |
62 |
installed on the system: |
63 |
- $ dropbox stop |
64 |
- rm -f ~/.dropbox-dist/libz.so.1 |
65 |
- $ dropbox start |
66 |
For more help: |
67 |
- $ dropbox help |
68 |
In case you would encounter a problem again, check that an update did |
69 |
not download again 'libz.so.1' in '~/.dropbox-dist/'. |
70 |
EOF |
71 |
|
72 |
%clean |
73 |
rm -rf %{buildroot} |