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